/* Home hero: kept separate from the exported Elementor styles. */
.elmwood-premium-hero {
    --hero-ivory: #f6f2e9;
    --hero-sage: #bfd3bb;
    --hero-gold: #d1bb8d;
    position: relative;
    isolation: isolate;
    display: flex;
    width: calc(100% - 40px);
    min-height: clamp(820px, calc(100svh - 32px), 1060px);
    margin: 16px auto 0;
    overflow: hidden;
    border-radius: 24px;
    background: #102f29;
    color: var(--hero-ivory);
    font-family: 'Sora', Arial, sans-serif;
}

.elmwood-premium-hero,
.elmwood-premium-hero * {
    box-sizing: border-box;
}

.elmwood-premium-hero .elmwood-hero-photo,
.elmwood-premium-hero::before,
.elmwood-premium-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.elmwood-premium-hero .elmwood-hero-photo {
    z-index: -3;
    max-width: none;
    object-fit: cover;
    object-position: right center;
}

.elmwood-premium-hero::before {
    content: '';
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(13, 40, 34, .64) 0%, rgba(16, 47, 41, .52) 26%, rgba(16, 47, 41, .3) 44%, rgba(16, 47, 41, .08) 60%, rgba(16, 47, 41, 0) 74%);
}

.elmwood-premium-hero::after {
    content: '';
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 24, 20, .14), transparent 24%, transparent 66%, rgba(6, 24, 20, .52));
    border: 1px solid rgba(246, 242, 233, .12);
    border-radius: inherit;
}

.elmwood-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 52px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 174px clamp(32px, 4vw, 76px) 42px;
}

.elmwood-hero-content {
    width: 54%;
    max-width: 680px;
    margin: auto 0;
    text-shadow: 0 2px 20px rgba(8, 28, 22, .6);
}

.elmwood-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #f3e5bd;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.elmwood-hero-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--hero-gold);
    box-shadow: 0 0 0 5px rgba(209, 187, 141, .09);
}

.elmwood-premium-hero .elmwood-hero-title {
    margin: 24px 0;
    color: var(--hero-ivory);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 4.1vw, 74px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-transform: none;
}

.elmwood-hero-title > span,
.elmwood-hero-title > em {
    display: block;
}

.elmwood-hero-title > em {
    color: var(--hero-sage);
    font-family: inherit;
    font-weight: 400;
    letter-spacing: -.055em;
}

.elmwood-premium-hero .elmwood-hero-description {
    max-width: 440px;
    margin: 0;
    color: #d5dfd9;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
}

.elmwood-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 30px;
}

.elmwood-premium-hero a {
    text-decoration: none;
}

.elmwood-premium-hero .elmwood-hero-book {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 60px;
    padding: 8px 9px 8px 26px;
    border: 1px solid #f5dfa1;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8e29e 0%, #e1bf6d 100%);
    color: #0e2d24;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.015em;
    box-shadow: 0 10px 28px rgba(225, 191, 109, .24);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.elmwood-hero-book .elmwood-hero-arrow {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: #10352b;
    color: #fdf8eb;
    overflow: hidden;
    box-shadow: inset 0 0 0 1.5px rgba(248, 226, 158, .35);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.elmwood-hero-book .elmwood-hero-arrow::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1.5px solid rgba(248, 226, 158, .65);
    opacity: 0;
    pointer-events: none;
    animation: eh-derma-pulse 2.6s ease-out infinite;
}

.elmwood-hero-book .elmwood-hero-arrow .eh-dermascope-icon {
    width: 21px;
    height: 21px;
    transform-origin: center center;
    animation: eh-derma-scan 3.4s ease-in-out infinite;
}

.elmwood-hero-book:hover .elmwood-hero-arrow {
    background: #0b251d;
    box-shadow: inset 0 0 0 1.5px rgba(248, 226, 158, .75), 0 0 12px rgba(248, 226, 158, .35);
    transform: scale(1.06);
}

.elmwood-hero-book:hover .elmwood-hero-arrow .eh-dermascope-icon {
    transform: scale(1.12) rotate(-8deg);
}

@keyframes eh-derma-pulse {
    0% {
        transform: scale(.72);
        opacity: .85;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes eh-derma-scan {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(1px, -1px) rotate(-6deg) scale(1.06);
    }
    50% {
        transform: translate(-1px, 1px) rotate(4deg) scale(1.1);
    }
    75% {
        transform: translate(1px, 0) rotate(-3deg) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .elmwood-hero-book .elmwood-hero-arrow::after,
    .elmwood-hero-book .elmwood-hero-arrow .eh-dermascope-icon {
        animation: none;
    }
}

.elmwood-premium-hero .elmwood-hero-risk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 60px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: linear-gradient(135deg, #c02626, #991b1b);
    box-shadow: 0 6px 20px rgba(185, 28, 28, .35);
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.elmwood-premium-hero .elmwood-hero-risk svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #ffffff;
}

.elmwood-premium-hero .elmwood-hero-risk:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: rgba(255, 255, 255, .45);
    box-shadow: 0 8px 26px rgba(220, 38, 38, .45);
    transform: translateY(-2px);
    color: #ffffff;
}

.elmwood-hero-arrow svg,
.elmwood-hero-services svg,
.elmwood-hero-clinic-arrow svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.elmwood-premium-hero .elmwood-hero-book:hover {
    background: linear-gradient(135deg, #fbe9b2 0%, #e8c97a 100%);
    color: #0b251d;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(225, 191, 109, .34);
}

.elmwood-hero-services:hover svg {
    transform: translateX(3px);
}

.elmwood-premium-hero .elmwood-hero-services {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 60px;
    padding: 10px 24px;
    border: 1px solid rgba(226, 240, 229, .72);
    border-radius: 999px;
    background: linear-gradient(135deg, #d8eadc 0%, #b7d4be 100%);
    box-shadow: 0 8px 24px rgba(14, 45, 36, .28);
    color: #0e2d24;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.elmwood-premium-hero .elmwood-hero-services:hover {
    background: linear-gradient(135deg, #e6f2e8 0%, #c6dfc9 100%);
    border-color: rgba(246, 242, 233, .92);
    box-shadow: 0 12px 28px rgba(14, 45, 36, .36);
    transform: translateY(-2px);
    color: #0b251d;
}

.elmwood-premium-hero .elmwood-hero-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 26px 0 0;
    color: #d6e2dc;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
}

.elmwood-hero-contact > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #f4dc96;
}

.elmwood-premium-hero .elmwood-hero-contact a {
    min-height: 32px;
    padding: 2px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: #f4dc96;
    text-underline-offset: 4px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.elmwood-premium-hero .elmwood-hero-contact a:hover {
    color: #f4dc96;
    text-decoration-color: #ffffff;
}

.elmwood-hero-footer {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
}

.elmwood-hero-credentials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(246, 242, 233, .28);
}

.elmwood-hero-credential {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0 28px;
    border-left: 1px solid rgba(246, 242, 233, .18);
}

.elmwood-hero-credential:first-child {
    padding-left: 0;
    border-left: 0;
}

.elmwood-hero-credential:last-child {
    padding-right: 0;
}

.elmwood-hero-credential dt {
    order: 1;
    color: #c8d4cc;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
}

.elmwood-hero-credential dd {
    margin: 0;
    color: var(--hero-ivory);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 2.8vw, 42px);
    line-height: 1.08;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.elmwood-hero-rating-star {
    color: var(--hero-gold);
    font-size: 16px;
    vertical-align: 3px;
}

.elmwood-premium-hero .elmwood-hero-clinic {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 330px;
    padding: 10px;
    border: 1px solid rgba(246, 242, 233, .44);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(246, 242, 233, .16), rgba(17, 47, 40, .46));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
    backdrop-filter: blur(24px) saturate(125%);
    -webkit-backdrop-filter: blur(24px) saturate(125%);
    color: var(--hero-ivory);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.elmwood-hero-clinic-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(246, 242, 233, .2);
    border-radius: 13px;
    background: #102f29;
    object-fit: cover;
}

.elmwood-premium-hero .elmwood-hero-clinic-details {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 6px 8px;
    color: var(--hero-ivory);
}

.elmwood-hero-clinic-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elmwood-hero-clinic-copy small {
    color: #d1cebb;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.elmwood-hero-clinic-copy strong {
    color: var(--hero-ivory);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.elmwood-hero-clinic-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-left: auto;
    place-items: center;
    border: 1px solid rgba(246, 242, 233, .35);
    border-radius: 50%;
}

.elmwood-premium-hero .elmwood-hero-clinic:hover {
    transform: translateY(-3px);
    border-color: var(--hero-sage);
    background: linear-gradient(135deg, rgba(246, 242, 233, .2), rgba(17, 47, 40, .56));
    color: var(--hero-ivory);
}

.elmwood-premium-hero a:focus-visible {
    outline: 3px solid var(--hero-gold);
    outline-offset: 6px;
}

#services {
    scroll-margin-top: 110px;
}

/* Keep the existing navigation and booking flow, with a quieter glass finish. */
@media (min-width: 1025px) {
    #header #elementor-header-top .elementor-element-ebbd45a {
        border: 1px solid rgba(246, 242, 233, .18);
        border-radius: 999px;
        background: rgba(15, 43, 36, .54) !important;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    #header #elementor-header-top .menuzord-menu > li.menu-item > a {
        color: #f6f2e9;
        font-size: 12px;
        letter-spacing: .025em;
    }

    #header #elementor-header-top .elementor-element-8f45fc7 .btn {
        border: 1px solid #f5dfa1;
        background: linear-gradient(135deg, #f8e29e 0%, #e1bf6d 100%) !important;
        color: #0e2d24 !important;
        font-size: 13px;
        font-weight: 600;
        box-shadow: 0 6px 18px rgba(225, 191, 109, .22);
    }
}

@media (max-width: 1200px) {
    .elmwood-hero-inner {
        padding-right: 38px;
        padding-left: 38px;
    }

    .elmwood-hero-content {
        width: 70%;
    }

    .elmwood-hero-footer {
        gap: 28px;
    }

    .elmwood-hero-credential {
        padding-right: 12px;
        padding-left: 12px;
    }

    .elmwood-premium-hero .elmwood-hero-clinic {
        width: 290px;
    }

    .elmwood-hero-credentials {
        max-width: 100%;
    }

    .elmwood-hero-clinic-copy strong {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .elmwood-premium-hero {
        min-height: 780px;
        margin-top: 12px;
    }

    .elmwood-hero-inner {
        gap: 48px;
        padding-top: 72px;
    }

    .elmwood-hero-content {
        width: 80%;
        max-width: 630px;
    }

    .elmwood-premium-hero::before {
        background: linear-gradient(90deg, rgba(16, 47, 41, .55) 0%, rgba(16, 47, 41, .35) 36%, rgba(16, 47, 41, .12) 58%, rgba(16, 47, 41, 0) 76%);
    }

    .elmwood-hero-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .elmwood-hero-credentials {
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
    }

    .elmwood-premium-hero .elmwood-hero-clinic {
        position: static;
        width: 310px;
        max-width: 100%;
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .elmwood-premium-hero {
        width: calc(100% - 20px);
        min-height: 0;
        margin-top: 10px;
        border-radius: 18px;
    }

    .elmwood-premium-hero .elmwood-hero-photo {
        height: 430px;
        object-position: 72% center;
        opacity: .92;
    }

    .elmwood-premium-hero::before {
        background: linear-gradient(90deg, rgba(16, 47, 41, .48), rgba(16, 47, 41, .14)), linear-gradient(180deg, transparent 15%, rgba(16, 47, 41, .18) 38%, rgba(16, 47, 41, .88) 72%);
    }

    .elmwood-hero-inner {
        justify-content: flex-start;
        gap: 24px;
        padding: 58px 18px 26px;
    }

    .elmwood-hero-content {
        width: 100%;
        margin: 0;
    }

    .elmwood-hero-eyebrow {
        gap: 10px;
        max-width: none;
        font-size: 11.5px;
        letter-spacing: .12em;
    }

    .elmwood-premium-hero .elmwood-hero-title {
        margin: 24px 0;
        font-size: clamp(39px, 9.8vw, 58px);
        line-height: 1.13;
    }

    .elmwood-hero-title > span {
        max-width: 340px;
    }

    .elmwood-premium-hero .elmwood-hero-description {
        max-width: 320px;
        font-size: 13px;
        line-height: 1.9;
    }

    .elmwood-hero-actions {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 26px;
    }

    .elmwood-premium-hero .elmwood-hero-book {
        flex: 0 0 auto;
        min-height: 46px;
        gap: 6px;
        padding: 4px 4px 4px 13px;
        font-size: clamp(11px, 3.2vw, 12px);
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    .elmwood-hero-book .elmwood-hero-arrow {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .elmwood-hero-book .elmwood-hero-arrow .eh-dermascope-icon {
        width: 17px;
        height: 17px;
    }

    .elmwood-premium-hero .elmwood-hero-risk {
        flex: 0 0 auto;
        min-height: 46px;
        gap: 5px;
        padding: 6px 12px;
        font-size: clamp(11px, 3.2vw, 12px);
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    .elmwood-premium-hero .elmwood-hero-risk svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .elmwood-premium-hero .elmwood-hero-services {
        flex: 0 0 auto;
        min-height: 46px;
        gap: 6px;
        padding: 6px 14px;
        font-size: clamp(11px, 3.2vw, 12px);
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    .elmwood-premium-hero .elmwood-hero-contact {
        max-width: none;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 18px;
        font-size: clamp(11px, 3.1vw, 12.5px);
        white-space: nowrap;
    }

    .elmwood-hero-contact > svg {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .elmwood-premium-hero .elmwood-hero-contact a {
        min-height: 26px;
        font-size: clamp(12.5px, 3.6vw, 15px);
        font-weight: 700;
    }

    .elmwood-hero-footer {
        gap: 28px;
    }

    .elmwood-hero-credentials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 0;
        padding-top: 26px;
    }

    .elmwood-hero-credential {
        gap: 6px;
        padding: 0 16px;
    }

    .elmwood-hero-credential:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .elmwood-hero-credential dd {
        font-size: 26px;
    }

    .elmwood-premium-hero .elmwood-hero-clinic {
        width: 100%;
        align-self: stretch;
    }

}

@media (max-width: 767px) {
    /* About section: remove the large empty gap under the hero on phones. */
    .elementor-7010 .elementor-element.elementor-element-0e20f63 {
        --padding-top: 36px !important;
    }

    .elementor-7010 .elementor-element.elementor-element-913dfc7 {
        --min-height: 0px !important;
        --row-gap: 14px !important;
        gap: 14px !important;
    }

    .elementor-7010 .elementor-element.elementor-element-1603e47 {
        --width: 100% !important;
        --justify-content: flex-start !important;
        --align-items: stretch !important;
    }

    .elementor-7010 .elementor-element.elementor-element-8423ca3 {
        --width: 100% !important;
        --padding-top: 12px !important;
        --padding-bottom: 12px !important;
        --padding-left: 16px !important;
        --padding-right: 16px !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e > .elementor-widget-container {
        margin: 0 !important;
    }

    /* Call us card: icon and number inline in one compact row. */
    .elementor-7010 .elementor-element.elementor-element-7bb903e .icon-box-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 14px;
        text-align: left !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e .icon-wrapper {
        margin: 0 !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e .icon {
        margin: 0 !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e .icon-text {
        text-align: left !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e .content {
        margin: 0 !important;
    }

    .elementor-7010 .elementor-element.elementor-element-7bb903e .content h4 {
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elmwood-premium-hero *,
    .elmwood-premium-hero *::before,
    .elmwood-premium-hero *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
