/* Site-specific additions - loaded after style.css */

/* honeypot: hidden from people, visible to bots */
.hide-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* keeps the before/after next to the booking form fully visible */
.min-h-700 {
    min-height: 700px;
}

/* service cards */
#Services .hover {
    border: solid 1px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

#Services .hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .09);
}

/* before & after gallery */
#Results .images-group a {
    transition: transform .3s ease;
}

#Results .images-group a:hover {
    transform: translateY(-5px);
}

#Results .images-group img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* patient story video */
#Story video {
    max-height: 70vh;
    background: #000;
}

/* booking form success panel */
#booking_success h3 {
    color: #96c346;
}

@media only screen and (max-width: 992px) {
    .min-h-700 {
        min-height: 420px;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 760px;
    height: 100svh;
    max-height: 1000px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #17120b;
    padding: 0;
}

.hero-media,
.hero-slide,
.hero-scrim {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 7s linear;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide[data-slide="1"] { background-image: url(../images/hero/1-sm.jpg); }
.hero-slide[data-slide="2"] { background-image: url(../images/hero/2-sm.jpg); }
.hero-slide[data-slide="3"] { background-image: url(../images/hero/3-sm.jpg); }

/* legibility scrim: heavier where the copy sits */
.hero-scrim {
    background:
        linear-gradient(to top, rgba(12, 9, 5, .92) 0%, rgba(12, 9, 5, .35) 45%, rgba(12, 9, 5, .25) 100%),
        linear-gradient(to right, rgba(12, 9, 5, .85) 0%, rgba(12, 9, 5, .45) 55%, rgba(12, 9, 5, .15) 100%);
}

html[dir="rtl"] .hero-scrim {
    background:
        linear-gradient(to top, rgba(12, 9, 5, .92) 0%, rgba(12, 9, 5, .35) 45%, rgba(12, 9, 5, .25) 100%),
        linear-gradient(to left, rgba(12, 9, 5, .85) 0%, rgba(12, 9, 5, .45) 55%, rgba(12, 9, 5, .15) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 90px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 18px;
    border: solid 1px rgba(255, 255, 255, .35);
    border-radius: 100px;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2.6rem, 6.4vw, 5.1rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}

.hero-lead {
    max-width: 30em;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.5vw, 1.175rem);
    line-height: 1.7;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.hero-btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .45);
}

.hero-btn-ghost {
    border: solid 1px rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-trust li {
    position: relative;
    padding-inline-start: 22px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 600;
}

.hero-trust li:before {
    content: "\f00c";
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 12px;
    color: var(--primary-color);
}

.hero-dots {
    position: absolute;
    inset-inline-end: 40px;
    bottom: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: solid 1px rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease, border-radius .25s ease;
}

.hero-dots button.is-active {
    width: 30px;
    border-radius: 100px;
    background: #fff;
}

@media only screen and (min-width: 993px) {
    .hero-slide[data-slide="1"] { background-image: url(../images/hero/1-lg.jpg); }
    .hero-slide[data-slide="2"] { background-image: url(../images/hero/2-lg.jpg); }
    .hero-slide[data-slide="3"] { background-image: url(../images/hero/3-lg.jpg); }

    /* RTL puts the copy on the right, so use frames with the subject on the left */
    html[dir="rtl"] .hero-slide[data-slide="1"] { background-image: url(../images/hero/1-lg-rtl.jpg); }
    html[dir="rtl"] .hero-slide[data-slide="2"] { background-image: url(../images/hero/2-lg-rtl.jpg); }
    html[dir="rtl"] .hero-slide[data-slide="3"] { background-image: url(../images/hero/3-lg-rtl.jpg); }

    .hero-scrim {
        background:
            linear-gradient(to right, rgba(12, 9, 5, .90) 0%, rgba(12, 9, 5, .60) 42%, rgba(12, 9, 5, 0) 78%),
            linear-gradient(to top, rgba(12, 9, 5, .45) 0%, rgba(12, 9, 5, 0) 40%);
    }

    html[dir="rtl"] .hero-scrim {
        background:
            linear-gradient(to left, rgba(12, 9, 5, .90) 0%, rgba(12, 9, 5, .60) 42%, rgba(12, 9, 5, 0) 78%),
            linear-gradient(to top, rgba(12, 9, 5, .45) 0%, rgba(12, 9, 5, 0) 40%);
    }
}

@media only screen and (max-width: 992px) {
    .hero {
        min-height: 640px;
        max-height: none;
    }

    .hero-inner {
        /* extra bottom padding lifts the copy clear of the floating call buttons */
        padding: 110px 0 130px;
    }

    .hero-dots {
        inset-inline-end: 0;
        inset-inline-start: 0;
        bottom: 24px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity .3s ease;
        transform: none;
    }
}

/* hero: keep copy and buttons inside the viewport on small screens */
.hero-inner,
.hero-inner .container,
.hero-inner .row,
.hero-inner [class*="col-"] {
    min-width: 0;
}

.hero-lead {
    max-width: min(30em, 100%);
}

@media only screen and (max-width: 575px) {
    .hero-actions {
        gap: 12px;
    }

    .hero-actions .hero-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 15px 20px;
    }

    .hero-trust {
        gap: 8px 18px;
    }

    .hero-trust li {
        font-size: 13px;
    }
}

/* the testimonials container-fluid row is wider than the viewport and
   pushes the whole page sideways on phones */
#wrapper {
    overflow-x: hidden;
}
