/* Auto-generated from the original style.css during code reorganization.
   Grouped by component so each concern can be found and debugged independently. */

/* Includes video-thumb + play-btn styles used by the video modal feature */
/* ==========================================================
PROCEDURES
========================================================== */

/* ==========================================================
   PROCEDURES
========================================================== */

.procedures{

    position:relative;

    padding:140px 0;

    background:
        radial-gradient(circle at top right,
        rgba(0,168,150,.05),
        transparent 40%),
        linear-gradient(
            180deg,
            #F9FCFD 0%,
            #F5FAFB 100%
        );

    overflow:hidden;

}

.procedures::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    opacity:.35;

}

.procedure-grid{

    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:38px;

    margin-top:70px;

    align-items:stretch;

}

.procedure-card{

    position:relative;

    display:flex;

    flex-direction:column;

    height:100%;

    overflow:hidden;

    border-radius:28px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.98),
            rgba(255,255,255,.96)
        );

    border:1px solid rgba(10,105,120,.08);

    box-shadow:

        0 15px 45px rgba(0,0,0,.06),

        0 4px 12px rgba(10,105,120,.04);

    transition:

        transform .45s ease,

        box-shadow .45s ease,

        border-color .45s ease;

}

.procedure-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:

        linear-gradient(

            90deg,

            var(--secondary),

            var(--primary)

        );

    transform:scaleX(0);

    transform-origin:left;

    transition:.45s ease;

}

.procedure-card:hover{

    transform:

        translateY(-14px);

    border-color:

        rgba(10,105,120,.20);

    box-shadow:

        0 28px 70px rgba(0,0,0,.10),

        0 12px 30px rgba(10,105,120,.12);

}

.procedure-card:hover::before{

    transform:scaleX(1);

}


/* ==========================================================
   PROCEDURE IMAGE
========================================================== */

.video-thumb{

    position:relative;

    height:255px;

    overflow:hidden;

    cursor:pointer;

    background:#000;

}

.video-thumb::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            180deg,

            rgba(0,0,0,0) 20%,

            rgba(0,0,0,.12) 55%,

            rgba(0,0,0,.38) 100%

        );

    z-index:1;

    transition:.45s ease;

}

.video-thumb::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        radial-gradient(

            circle at center,

            rgba(255,255,255,.12),

            transparent 65%

        );

    opacity:0;

    transition:.45s ease;

    z-index:2;

}

.video-thumb img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transform:scale(1);

    transition:

        transform .8s ease,

        filter .45s ease;

}

.procedure-card:hover .video-thumb img{

    transform:scale(1.12);

    filter:brightness(1.05);

}

.procedure-card:hover .video-thumb::before{

    background:

        linear-gradient(

            180deg,

            rgba(0,0,0,.05) 0%,

            rgba(0,0,0,.18) 55%,

            rgba(0,0,0,.45) 100%

        );

}

.procedure-card:hover .video-thumb::after{

    opacity:1;

}

/* ==========================================================
   PLAY BUTTON
========================================================== */

.play-btn{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    width:82px;

    height:82px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    color:var(--primary);

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.45);

    box-shadow:

        0 18px 45px rgba(0,0,0,.22),

        0 0 0 10px rgba(255,255,255,.16);

    transition:

        transform .35s ease,

        background .35s ease,

        box-shadow .35s ease;

    z-index:3;

}

.play-btn i{

    margin-left:4px;

}

.procedure-card:hover .play-btn{

    transform:

        translate(-50%,-50%)

        scale(1.10);

    background:#ffffff;

    box-shadow:

        0 26px 60px rgba(0,0,0,.28),

        0 0 0 12px rgba(255,255,255,.18);

}


/* ==========================================================
   PROCEDURE CONTENT
========================================================== */

.procedure-info{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:30px;

}

.procedure-tag{

    display:inline-flex;

    align-items:center;

    gap:8px;

    width:max-content;

    padding:8px 16px;

    margin-bottom:18px;

    border-radius:999px;

    background:

        linear-gradient(
            135deg,
            #E9FAF9,
            #D8F7F4
        );

    color:var(--primary);

    font-size:12px;

    font-weight:700;

    letter-spacing:.6px;

    text-transform:uppercase;

}

.procedure-info h3{

    font-size:25px;

    font-weight:700;

    line-height:1.3;

    color:var(--dark);

    margin-bottom:14px;

}

.procedure-short{

    font-size:15px;

    line-height:1.75;

    color:#6F7E8D;

    margin-bottom:22px;

}

/* ==========================================================
   META CHIPS
========================================================== */

.procedure-meta{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin:0 0 24px;

}

.procedure-meta span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:9px 16px;

    border-radius:999px;

    background:#F4F8FA;

    border:1px solid rgba(10,105,120,.08);

    color:var(--primary);

    font-size:13px;

    font-weight:600;

    transition:.30s ease;

}

.procedure-card:hover .procedure-meta span{

    background:#ECFBFA;

    border-color:rgba(10,105,120,.18);

}

.procedure-meta i{

    color:var(--secondary);

    font-size:14px;

}

/* ==========================================================
   DESCRIPTION
========================================================== */

.procedure-info > p{

    flex:1;

    margin:0;

    color:var(--text);

    font-size:16px;

    line-height:1.9;

}

/* ==========================================================
   FEATURES
========================================================== */

.procedure-features{

    display:grid;

    gap:14px;

    margin:26px 0;

    padding-top:22px;

    border-top:1px solid rgba(10,105,120,.08);

}

.procedure-features span{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:15px;

    font-weight:500;

    color:var(--text);

}

.procedure-features i{

    display:flex;

    justify-content:center;

    align-items:center;

    width:24px;

    height:24px;

    border-radius:50%;

    background:rgba(0,168,150,.10);

    color:var(--secondary);

    font-size:13px;

    flex-shrink:0;

}

.procedure-tag{

display:inline-flex;

align-items:center;

padding:8px 16px;

border-radius:999px;

background:linear-gradient(135deg,#EAFBFA,#D8F7F4);

color:var(--primary);

font-size:12px;

font-weight:700;

letter-spacing:.5px;

text-transform:uppercase;

margin-bottom:18px;

width:max-content;

}

/* ==========================================================
   PROCEDURE BUTTON
========================================================== */

.procedure-card .doctor-btn{

    margin-top:auto;

    width:100%;

    min-height:56px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    border-radius:14px;

    font-weight:700;

    font-size:15px;

    letter-spacing:.3px;

    overflow:hidden;

    position:relative;

    transition:

        transform .30s ease,

        box-shadow .30s ease,

        background .30s ease;

}

.procedure-card .doctor-btn::after{

    content:"→";

    font-size:18px;

    transition:

        transform .30s ease;

}

.procedure-card:hover .doctor-btn{

    transform:translateY(-2px);

    box-shadow:

        0 12px 28px rgba(10,105,120,.18);

}

.procedure-card:hover .doctor-btn::after{

    transform:translateX(5px);

}

/* ==========================================================
   CARD INTERACTIONS
========================================================== */

.procedure-card{

    will-change:transform;

}

.procedure-card:hover .procedure-tag{

    background:

        linear-gradient(
            135deg,
            #DDFBF8,
            #C8F4EF
        );

}

.procedure-card:hover h3{

    color:var(--primary);

}

.procedure-card:hover .procedure-features i{

    transform:scale(1.08);

    transition:transform .30s ease;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1200px){

    .procedure-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:30px;

    }

}

@media (max-width:768px){

    .procedures{

        padding:90px 0;

    }

    .procedure-grid{

        grid-template-columns:1fr;

        gap:28px;

        margin-top:50px;

    }

    .video-thumb{

        height:220px;

    }

    .procedure-info{

        padding:24px;

    }

    .procedure-info h3{

        font-size:22px;

    }

    .procedure-meta{

        gap:10px;

    }

    .procedure-meta span{

        font-size:12px;

    }

}

@media (max-width:480px){

    .video-thumb{

        height:200px;

    }

    .play-btn{

        width:68px;

        height:68px;

        font-size:24px;

    }

    .procedure-card{

        border-radius:22px;

    }

    .procedure-info{

        padding:20px;

    }

    .procedure-card .doctor-btn{

        min-height:52px;

        font-size:14px;

    }

}



/* ==========================================================================
   "WATCH PROCEDURE" BUTTON
   --------------------------------------------------------------------------
   These were <a href="#"> — dead links that a keyboard or screen-reader
   user would have been told navigate somewhere, when in fact they open a
   dialog. They are now real <button> elements, so they need the browser's
   default button chrome removed to match the .doctor-btn anchors beside
   them.
   ========================================================================== */

button.doctor-btn{
    border:none;
    background:var(--secondary,#00C2B5);
    font-family:inherit;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
}

button.doctor-btn:focus-visible{
    outline:3px solid #0B7285;
    outline-offset:3px;
}

/* The video thumbnail is keyboard-operable too (role="button" is applied
   by js/video-modal.js) so it needs a visible focus ring. */

.video-thumb:focus-visible{
    outline:3px solid #00A7A0;
    outline-offset:4px;
    border-radius:16px;
}

.video-thumb{
    cursor:pointer;
}

/* Procedures with no recorded clip yet */

.video-thumb.no-video .play-btn{
    opacity:.55;
}
