/* ==========================
FONTS
========================== */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================
GLOBAL VARIABLES
========================== */

:root {
    /* Colors */
    --clr_primary: #3a4632;
    --clr_primary_dark: #2a3324;
    --clr_heading: #141414;
    --clr_text: #2b2b2b;
    --clr_text_muted: #5c5c5c;
    --clr_bg: #ffffff;
    --clr_bg_light: #f7f5f1;
    --clr_border: #e3dfd7;
    --clr_white: #ffffff;
    --clr_light_txt: #f3eee6;
    --clr_sage: #d5d9bd;

    /* Fonts */
    --font_heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font_body: 'Manrope', Arial, Helvetica, sans-serif;

    /* Typography scale */
    --fs_h1: clamp(40px, 5.2vw, 76px);
    --fs_h2: clamp(32px, 3.6vw, 52px);
    --fs_h3: clamp(22px, 2vw, 28px);
    --fs_body: 16px;
    --fs_small: 14px;
    --fs_lead: clamp(16px, 1.3vw, 19px);
    --fs_tag: clamp(12px, 1vw, 15px);
    --lh_heading: 1.05;
    --lh_body: 1.6;

    /* Layout */
    --container_w: 1320px;
    --gutter: clamp(16px, 5.5vw, 72px);
    --sec_pad: clamp(64px, 8vw, 120px);
    --sec_pad_sm: clamp(40px, 5vw, 72px);
    --header_h: 76px;
    --logo_h: 56px;

    /* Buttons */
    --btn_h: 48px;
    --btn_pad_x: 28px;
    --btn_radius: 100px;
    --btn_fs: 15px;

    /* Misc */
    --img_radius: 16px;
    --img_radius_sm: 6px;
    --transition: 0.3s ease;
}

/* ==========================
GLOBAL STYLES
========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header_h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font_body);
    font-size: var(--fs_body);
    font-weight: 400;
    line-height: var(--lh_body);
    color: var(--clr_text);
    background-color: var(--clr_bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font_heading);
    font-weight: 600;
    line-height: var(--lh_heading);
    color: var(--clr_heading);
}

h1 {
    font-size: var(--fs_h1);
}

h2 {
    font-size: var(--fs_h2);
}

h3 {
    font-size: var(--fs_h3);
}

p {
    margin: 0;
}

/* Container */
.site_container {
    width: 100%;
    max-width: calc(var(--container_w) + (var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Section spacing */
.sec_pad {
    padding-block: var(--sec_pad);
}

/* Eyebrow / small label above section headings */
.sec_tag {
    margin-bottom: 14px;
    font-family: var(--font_body);
    font-size: var(--fs_tag);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr_heading);
}

/* Eyebrow with a decorative line after it */
.sec_tag_line {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sec_tag_line::after {
    content: '';
    flex-shrink: 0;
    width: clamp(56px, 7vw, 96px);
    height: 1px;
    background-color: currentColor;
    opacity: 0;
}

/* Centered section heading block (eyebrow gets a line on both sides) */
.sec_center {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.sec_center .sec_tag_line {
    justify-content: center;
}

.sec_center .sec_tag_line::before {
    content: '';
    flex-shrink: 0;
    width: clamp(56px, 7vw, 96px);
    height: 1px;
    background-color: currentColor;
    opacity: 0;
}

.sec_center .sec_txt {
    max-width: 40em;
    margin-inline: auto;
}

/* Removes top padding when a section continues the same background as the one above */
.sec_pad.sec_join {
    padding-top: 0;
}

/* Section paragraph */
.sec_txt {
    margin-top: 18px;
    font-size: var(--fs_body);
    line-height: var(--lh_body);
    color: var(--clr_text);
}

/* Small card / item description */
.card_txt {
    margin-top: 10px;
    font-size: var(--fs_small);
    line-height: 1.7;
    color: var(--clr_text_muted);
}

/* Button */
.global_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: var(--btn_h);
    padding: 0 var(--btn_pad_x);
    font-family: var(--font_body);
    font-size: var(--btn_fs);
    font-weight: 500;
    line-height: 1;
    color: var(--clr_white);
    white-space: nowrap;
    background-color: var(--clr_primary);
    border: 1px solid var(--clr_primary);
    border-radius: var(--btn_radius);
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.global_btn:hover,
.global_btn:focus-visible {
    color: var(--clr_white);
    background-color: var(--clr_primary_dark);
    border-color: var(--clr_primary_dark);
}

.global_btn .btn_icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.global_btn:hover .btn_icon {
    transform: translateX(4px);
}

/* Button colour variants for dark backgrounds (same size, shape and hover) */
.btn_light {
    color: var(--clr_primary_dark);
    background-color: var(--clr_sage);
    border-color: var(--clr_sage);
}

.btn_light:hover,
.btn_light:focus-visible {
    color: var(--clr_primary_dark);
    background-color: var(--clr_light_txt);
    border-color: var(--clr_light_txt);
}

.btn_outline_light {
    color: var(--clr_light_txt);
    background-color: transparent;
    border-color: rgba(243, 238, 230, 0.6);
}

.btn_outline_light:hover,
.btn_outline_light:focus-visible {
    color: var(--clr_primary_dark);
    background-color: var(--clr_light_txt);
    border-color: var(--clr_light_txt);
}

:focus-visible {
    outline: 2px solid var(--clr_primary);
    outline-offset: 3px;
}

/* Text link with arrow */
.txt_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    font-size: var(--fs_small);
    font-weight: 500;
    color: var(--clr_heading);
    border-bottom: 1px solid currentColor;
    transition: color var(--transition);
}

.txt_link .btn_icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.txt_link:hover {
    color: var(--clr_primary);
}

.txt_link:hover .btn_icon {
    transform: translateX(4px);
}

/* Visually hidden, still read by screen readers */
.sr_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Form fields */
.form_input {
    display: block;
    width: 100%;
    min-height: var(--btn_h);
    padding: 12px 16px;
    font-family: var(--font_body);
    font-size: var(--fs_small);
    line-height: 1.4;
    color: var(--clr_text);
    background-color: var(--clr_white);
    border: 1px solid var(--clr_border);
    border-radius: var(--img_radius_sm);
    transition: border-color var(--transition);
}

.form_input::placeholder {
    color: var(--clr_text_muted);
    opacity: 0.8;
}

.form_input:focus {
    outline: none;
    border-color: var(--clr_primary);
}

.form_textarea {
    min-height: 130px;
    resize: vertical;
}

/* ==========================
HEADER STYLES
========================== */

.site_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--clr_bg_light);
    border-bottom: 1px solid var(--clr_border);
}

.header_wrap {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    column-gap: 32px;
    align-items: center;
    min-height: var(--header_h);
}

/* Logo */
.header_logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    flex-shrink: 0;
}

.header_logo img {
    width: auto;
    height: var(--logo_h);
    max-width: 200px;
    object-fit: contain;
}

/* Navigation (desktop) */
.nav_wrap {
    display: contents;
}

.nav_list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav_link {
    display: inline-block;
    padding: 6px 0;
    font-size: var(--fs_small);
    font-weight: 500;
    color: var(--clr_heading);
    white-space: nowrap;
    transition: color var(--transition);
}

.nav_link:hover,
.nav_link:focus-visible {
    color: var(--clr_primary);
}

.header_btn {
    justify-self: end;
}

/* Mobile toggle (hidden on desktop) */
.nav_toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nav_toggle_btn {
    display: none;
}

/* Header - Laptop */
@media (max-width: 1279px) {
    .header_wrap {
        column-gap: 24px;
    }

    .nav_list {
        gap: 20px;
    }

    .header_btn {
        --btn_pad_x: 22px;
        --btn_fs: 14px;
    }
}

/* Header - Tablet & Mobile */
@media (max-width: 1099px) {
    :root {
        --header_h: 68px;
        --logo_h: 42px;
    }

    .header_wrap {
        position: relative;
        display: flex;
        justify-content: space-between;
    }

    .nav_toggle_btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        cursor: pointer;
    }

    .nav_toggle_icon,
    .nav_toggle_icon::before,
    .nav_toggle_icon::after {
        display: block;
        width: 24px;
        height: 1.5px;
        background-color: var(--clr_heading);
        transition: transform var(--transition), background-color var(--transition);
    }

    .nav_toggle_icon {
        position: relative;
    }

    .nav_toggle_icon::before,
    .nav_toggle_icon::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .nav_toggle_icon::before {
        top: -7px;
    }

    .nav_toggle_icon::after {
        top: 7px;
    }

    .nav_toggle:checked ~ .nav_toggle_btn .nav_toggle_icon {
        background-color: transparent;
    }

    .nav_toggle:checked ~ .nav_toggle_btn .nav_toggle_icon::before {
        transform: translateY(7px) rotate(45deg);
    }

    .nav_toggle:checked ~ .nav_toggle_btn .nav_toggle_icon::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav_toggle:focus-visible ~ .nav_toggle_btn {
        outline: 2px solid var(--clr_primary);
        outline-offset: 2px;
    }

    /* Dropdown panel */
    .nav_wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background-color: var(--clr_bg_light);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
        transition: max-height 0.4s ease, visibility 0.4s ease;
    }

    .nav_toggle:checked ~ .nav_wrap {
        max-height: calc(100vh - var(--header_h));
        overflow-y: auto;
        visibility: visible;
        border-top: 1px solid var(--clr_border);
    }

    .main_nav {
        padding: 8px var(--gutter) 0;
    }

    .nav_list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav_list li + li {
        border-top: 1px solid var(--clr_border);
    }

    .nav_link {
        display: block;
        padding: 14px 0;
        font-size: var(--fs_body);
    }

    .header_btn {
        display: flex;
        width: calc(100% - (var(--gutter) * 2));
        margin: 12px var(--gutter) 24px;
    }
}

/* Header - Small Mobile */
@media (max-width: 575px) {
    :root {
        --logo_h: 38px;
    }

    .header_logo img {
        max-width: 160px;
    }
}

/* ==========================
HERO SECTION
========================== */

.hero_sec {
    /* Replace this path with the final hero background image */
    --hero_bg: url('../images/hero.png');
    --hero_fade: 250, 248, 244;

    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(480px, 36vw, 640px);
    padding-block: clamp(48px, 4.5vw, 72px);
    overflow: hidden;
    background-color: var(--clr_bg_light);
    background-image: var(--hero_bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Soft cream fade on the left for text readability */
.hero_sec::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(var(--hero_fade), 0.96) 0%,
            rgba(var(--hero_fade), 0.88) 24%,
            rgba(var(--hero_fade), 0.6) 38%,
            rgba(var(--hero_fade), 0.22) 50%,
            rgba(var(--hero_fade), 0) 60%);
}

.hero_wrap {
    position: relative;
    z-index: 2;
}

.hero_txt {
    max-width: 720px;
}

.hero_head {
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.005em;
    text-transform: uppercase;  
      font-size: 5.2vw;  
        font-family: 'Cormorant Garamond';
}

.hero_desc {
    max-width: 26em;
    margin-top: 20px;
    font-size: var(--fs_lead);
    line-height: 1.55;
    color: var(--clr_text);
}

.hero_btn {
    margin-top: 24px;
}

/* Feature items */
.hero_feats {
    display: flex;
    align-items: center;
    margin: clamp(32px, 3.2vw, 44px) 0 0;
    padding: 0;
    list-style: none;
}

.hero_feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: clamp(16px, 1.7vw, 24px);
    font-size: var(--fs_small);
    line-height: 1.4;
    color: var(--clr_text);
}

.hero_feat:first-child {
    padding-left: 0;
}

.hero_feat + .hero_feat {
    border-left: 1px solid rgba(20, 20, 20, 0.2);
}

.hero_feat_icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    color: var(--clr_heading);
}

/* Hero - Tablet */
@media (max-width: 991px) {
    .hero_sec {
        min-height: 520px;
        background-position: 70% center;
    }

    .hero_sec::before {
        background: linear-gradient(90deg,
                rgba(var(--hero_fade), 0.95) 0%,
                rgba(var(--hero_fade), 0.85) 40%,
                rgba(var(--hero_fade), 0.45) 65%,
                rgba(var(--hero_fade), 0.1) 85%);
    }
}

/* Hero - Mobile */
@media (max-width: 767px) {
    .hero_sec {
        min-height: 0;
        padding-block: 56px;
    }

    .hero_sec::before {
        background: linear-gradient(90deg,
                rgba(var(--hero_fade), 0.93) 0%,
                rgba(var(--hero_fade), 0.82) 60%,
                rgba(var(--hero_fade), 0.55) 100%);
    }

    .hero_feats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }

    .hero_feat {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-inline: 12px;
        font-size: 13px;
    }
}

/* Hero - Small Mobile */
@media (max-width: 575px) {
    .hero_head {
        font-size: clamp(34px, 10vw, 44px);
    }

    .hero_btn {
        width: 100%;
    }

    .hero_feat {
        padding-inline: 10px;
        font-size: 12px;
    }

    .hero_feat_icon {
        width: 28px;
        height: 28px;
    }
}

/* ==========================
ABOUT BOTOX SECTION
========================== */

.about_sec {
    --about_curve: clamp(48px, 7vw, 110px);

  
}

.about_wrap {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

/* Image - large curve on top-left and bottom-right corners */
.about_img {
    aspect-ratio: 5 / 6;
    overflow: hidden;
    border-radius: var(--about_curve) 0 var(--about_curve) 0;
    background-color: var(--clr_border);
}

.about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.about_txt .sec_txt {
    max-width: 34em;
}

/* Feature items */
.about_feats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 20px clamp(20px, 3vw, 44px);
    margin: clamp(28px, 3vw, 40px) 0 0;
    padding: 0;
    list-style: none;
}

.about_feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs_small);
    line-height: 1.4;
    color: var(--clr_text);
}

.about_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--clr_heading);
    border: 1px solid rgba(20, 20, 20, 0.35);
    border-radius: 50%;
}

.about_icon svg {
    width: 22px;
    height: 22px;
}

/* About - Laptop */
@media (max-width: 1199px) {
    .about_feats {
        grid-template-columns: repeat(2, minmax(0, max-content));
    }
}

/* About - Tablet */
@media (max-width: 991px) {
    .about_wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .about_img {
        width: 100%;
        max-width: 520px;
        aspect-ratio: 4 / 3;
    }

    .about_feats {
        grid-template-columns: repeat(3, minmax(0, max-content));
    }
}

/* About - Mobile */
@media (max-width: 767px) {
    .about_feats {
        grid-template-columns: repeat(2, minmax(0, max-content));
    }
}

/* About - Small Mobile */
@media (max-width: 575px) {
    .about_img {
        aspect-ratio: 1 / 1;
    }

    .about_feats {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* ==========================
RESULTS SECTION
========================== */

.results_sec {
    background-color: var(--clr_bg_light);
}

.results_wrap {
    display: grid;
    grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 3vw, 48px);
}

.results_txt .sec_txt {
    max-width: 25em;
}

.results_btn {
    margin-top: 26px;
}

/* Before & After grid - 3 pairs, 6 equal image boxes */
.before_after {
    --ba_gap: 12px;

    width: 100%;
}

.ba_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ba_gap);
}

.ba_pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--ba_gap);
}

.ba_item {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--img_radius_sm);
    background-color: var(--clr_border);
}

.ba_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba_tag {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--clr_heading);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
}

.ba_after .ba_tag {
    font-weight: 500;
}

.ba_label {
    grid-column: 1 / -1;
    margin-top: 14px;
    font-family: var(--font_body);
    font-size: var(--fs_small);
    font-weight: 500;
    line-height: 1.4;
    color: var(--clr_heading);
}

/* Results - Laptop */
@media (max-width: 1199px) {
    .before_after {
        --ba_gap: 10px;
    }

    .ba_tag {
        left: 6px;
        bottom: 6px;
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* Results - Tablet */
@media (max-width: 991px) {
    .results_wrap {
        grid-template-columns: 1fr;
    }

    .results_txt .sec_txt {
        max-width: 34em;
    }
}

/* Results - Mobile */
@media (max-width: 767px) {
    .before_after {
        max-width: 480px;
    }

    .ba_grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .ba_label {
        margin-top: 10px;
    }
}

/* Results - Small Mobile */
@media (max-width: 575px) {
    .results_btn {
        width: 100%;
    }

    .before_after {
        --ba_gap: 8px;
    }
}

/* ==========================
TREATMENT AREAS SECTION
========================== */

/* .areas_sec {
    background-color: var(--clr_bg_light);
} */

.areas_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.areas_intro {
    max-width: 640px;
}

.areas_intro .sec_txt {
    max-width: 30em;
}

.areas_btn {
    flex-shrink: 0;
}

.areas_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: clamp(32px, 3.4vw, 52px);
    margin: clamp(40px, 4vw, 60px) 0 0;
    padding: 0;
    list-style: none;
}

.area_item {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 28px);
    padding: 8px clamp(16px, 2.2vw, 32px) 12px;
    border-left: 1px solid var(--clr_border);
}

.area_item:nth-child(4n + 1) {
    padding-left: 0;
    border-left: 0;
}

.area_icon {
    flex-shrink: 0;
    width: clamp(48px, 4.4vw, 64px);
    height: clamp(48px, 4.4vw, 64px);
    object-fit: contain;
}

.area_desc {
    margin-top: 10px;
    font-size: var(--fs_small);
    line-height: 1.7;
    color: var(--clr_text_muted);
}

/* Treatment Areas - Laptop */
@media (max-width: 1199px) {
    .area_item {
        flex-direction: column;
    }
}

/* Treatment Areas - Tablet */
@media (max-width: 991px) {
    .areas_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area_item {
        flex-direction: row;
    }

    .area_item:nth-child(4n + 1) {
        padding-left: clamp(16px, 2.2vw, 32px);
        border-left: 1px solid var(--clr_border);
    }

    .area_item:nth-child(2n + 1) {
        padding-left: 0;
        border-left: 0;
    }
}

/* Treatment Areas - Mobile */
@media (max-width: 767px) {
    .areas_head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

/* Treatment Areas - Small Mobile */
@media (max-width: 575px) {
    .areas_btn {
        width: 100%;
    }

    .areas_grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .area_item,
    .area_item:nth-child(4n + 1),
    .area_item:nth-child(2n + 1) {
        padding: 20px 0;
        border-left: 0;
    }

    .area_item + .area_item {
        border-top: 1px solid var(--clr_border);
    }
}

/* ==========================
PROCESS SECTION
========================== */

.process_sec {
    --process_img_w: 0.34;

    display: grid;
    grid-template-columns: calc(var(--process_img_w) * 100%) minmax(0, 1fr);
    background-color: var(--clr_bg_light);
}

/* Image runs flush to the left edge of the screen */
.process_img {
    position: relative;
    min-height: 100%;
}

.process_img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: var(--clr_border);
}

/* Right edge lines up with the global container */
.process_txt {
    padding-block: var(--sec_pad_sm);
    padding-left: clamp(32px, 4vw, 64px);
    padding-right: max(var(--gutter), calc((100% / (1 - var(--process_img_w)) - var(--container_w)) / 2));
}

.process_steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 32px;
    margin: clamp(28px, 3vw, 44px) 0 0;
    padding: 0;
    list-style: none;
}

.process_step {
    padding-inline: clamp(16px, 2vw, 28px);
    border-left: 1px solid var(--clr_border);
}

.process_step:first-child {
    padding-left: 0;
    border-left: 0;
}

.process_step:last-child {
    padding-right: 0;
}

.step_num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(46px, 3.8vw, 54px);
    height: clamp(46px, 3.8vw, 54px);
    margin-bottom: 18px;
    font-size: var(--fs_body);
    font-weight: 500;
    color: var(--clr_heading);
    border: 1px solid var(--clr_heading);
    border-radius: 50%;
}

/* Process - Laptop */
@media (max-width: 1199px) {
    .process_steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process_step:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .process_step:nth-child(even) {
        padding-right: 0;
    }
}

/* Process - Tablet */
@media (max-width: 991px) {
    .process_sec {
        grid-template-columns: minmax(0, 1fr);
    }

    .process_img {
        aspect-ratio: 16 / 9;
        max-height: 460px;
    }

    .process_txt {
        padding-inline: var(--gutter);
    }
}

/* Process - Small Mobile */
@media (max-width: 575px) {
    .process_img {
        aspect-ratio: 4 / 3;
    }

    .process_steps {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .process_step,
    .process_step:nth-child(odd),
    .process_step:nth-child(even) {
        padding: 20px 0;
        border-left: 0;
    }

    .process_step + .process_step {
        border-top: 1px solid var(--clr_border);
    }

    .step_num {
        margin-bottom: 14px;
    }
}

/* ==========================
CONTACT SECTION
========================== */

.contact_sec {
    /* Replace this path with the final contact section image */
    --contact_bg: url('../images/contact-bg.jpg');
    --contact_fade: 255, 255, 255;


    position: relative;
    padding-block: var(--sec_pad_sm);
    overflow: hidden;
    background-color: rgb(var(--contact_fade));
}

/* Left image + soft white fade layered on top of it */
.contact_sec::before,
.contact_sec::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    pointer-events: none;
}

.contact_sec::before {
    background-image: var(--contact_bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Transparent over the image, easing into solid white at its right edge */
.contact_sec::after {
    background: linear-gradient(90deg,
            rgba(var(--contact_fade), 0) 0%,
            rgba(var(--contact_fade), 0) 30%,
            rgba(var(--contact_fade), 0.25) 48%,
            rgba(var(--contact_fade), 0.6) 66%,
            rgba(var(--contact_fade), 0.88) 82%,
            rgb(var(--contact_fade)) 100%);
}

.contact_wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 27%) minmax(0, 1fr) minmax(0, 40%);
    align-items: center;
    column-gap: clamp(32px, 3vw, 48px);
}

.contact_txt {
    grid-column: 2;
}

/* No form in the section: move the text block to the right, clear of the image */
@media (min-width: 992px) {
    .contact_wrap:not(:has(.contact_form)) .contact_txt {
        grid-column: 2 / -1;
        justify-self: end;
        max-width: 560px;
    }
}

.contact_form {
    grid-column: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(20px, 2.2vw, 32px);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--img_radius_sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.form_full {
    grid-column: 1 / -1;
}

.contact_btn {
    width: 100%;
    margin-top: 4px;
}

/* Contact - Laptop */
@media (max-width: 1199px) {
    .contact_sec::before,
    .contact_sec::after {
        width: 36%;
    }

    .contact_wrap {
        grid-template-columns: minmax(0, 22%) minmax(0, 1fr) minmax(0, 46%);
    }
}

/* Contact - Tablet */
@media (max-width: 991px) {
    .contact_sec {
        padding-top: 0;
    }

    /* Image becomes a top banner that fades downwards into white */
    .contact_sec::before,
    .contact_sec::after {
        width: 100%;
        bottom: auto;
        height: 300px;
    }

    .contact_sec::after {
        background: linear-gradient(180deg,
                rgba(var(--contact_fade), 0) 0%,
                rgba(var(--contact_fade), 0) 35%,
                rgba(var(--contact_fade), 0.35) 55%,
                rgba(var(--contact_fade), 0.8) 78%,
                rgb(var(--contact_fade)) 100%);
    }

    .contact_wrap {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
        padding-top: 260px;
    }

    .contact_txt,
    .contact_form {
        grid-column: 1;
    }

    .contact_txt .sec_txt {
        max-width: 34em;
    }
}

/* Contact - Small Mobile */
@media (max-width: 575px) {
    .contact_sec::before,
    .contact_sec::after {
        height: 240px;
    }

    .contact_wrap {
        padding-top: 200px;
    }

    .contact_form {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

/* ==========================
FAQ SECTION
========================== */

.faq_sec {
    --faq_speed: 0.4s;
    --faq_ease: cubic-bezier(0.4, 0, 0.2, 1);

   
}

.faq_wrap {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    align-items: start;
    gap: clamp(40px, 6vw, 96px);
}

.faq_intro .sec_txt {
    max-width: 26em;
}

.faq_link {
    margin-top: 28px;
}

.faq_item {
    border-bottom: 1px solid var(--clr_border);
}

.faq_q {
    margin: 0;
    font: inherit;
}

/* Whole question row is the trigger */
.faq_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 20px 0;
    font-family: var(--font_body);
    font-size: var(--fs_body);
    font-weight: 500;
    line-height: 1.5;
    color: var(--clr_heading);
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color var(--transition);
}

.faq_btn:hover {
    color: var(--clr_primary);
}

/* Plus icon - the vertical bar rotates flat to form a minus */
.faq_icon {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.faq_icon::before,
.faq_icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background-color: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--faq_speed) var(--faq_ease);
}

.faq_icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq_btn[aria-expanded="true"] .faq_icon::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Smooth height animation (0fr -> 1fr) */
.faq_panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows var(--faq_speed) var(--faq_ease), visibility var(--faq_speed);
}

.faq_item.is_open .faq_panel {
    grid-template-rows: 1fr;
    visibility: visible;
}

.faq_inner {
    min-height: 0;
    overflow: hidden;
}

.faq_inner .card_txt {
    margin: 0;
    padding: 0 40px 22px 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--faq_speed) var(--faq_ease), transform var(--faq_speed) var(--faq_ease);
}

.faq_item.is_open .faq_inner .card_txt {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .faq_panel,
    .faq_inner .card_txt,
    .faq_icon::before,
    .faq_icon::after {
        transition: none;
    }
}

/* FAQ - Desktop: left intro stays in view (below the sticky header) while the
   questions scroll with the page; it stops at the end of .faq_wrap */
@media (min-width: 992px) {
    .faq_intro {
        position: sticky;
        top: calc(var(--header_h) + 32px);
    }
}

/* FAQ - Tablet */
@media (max-width: 991px) {
    .faq_wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .faq_intro .sec_txt {
        max-width: 34em;
    }
}

/* FAQ - Small Mobile */
@media (max-width: 575px) {
    .faq_btn {
        gap: 16px;
        padding: 18px 0;
        font-size: 15px;
    }

    .faq_inner .card_txt {
        padding-right: 0;
    }
}

/* ==========================
TEAM SECTION
========================== */





.team_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 24px);
    margin-top: clamp(40px, 4vw, 56px);
}

.team_card {
    display: flex;
    flex-direction: column;
    padding: clamp(12px, 1.1vw, 16px);
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--clr_border);
    border-radius: var(--img_radius_sm);
}

.team_img {
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--clr_border);
}

.team_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team_body {
    padding: 24px 6px 12px;
}

.team_role {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--clr_text_muted);
}

/* Short divider under the role */
.team_role::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 18px;
    background-color: currentColor;
    opacity: 0.5;
}

.team_body .card_txt {
    margin-top: 18px;
}

/* Team - Tablet */
@media (max-width: 991px) {
    .team_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Team - Small Mobile */
@media (max-width: 575px) {
    .team_grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin-inline: auto;
    }
}

/* ==========================
CTA SECTION
========================== */

.cta_sec {
    padding: 50px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background-color: #1c261e;
    background-image:
        radial-gradient(ellipse 45% 70% at 88% 12%, rgba(176, 186, 150, 0.4), transparent 70%),
        radial-gradient(ellipse 40% 55% at 95% 95%, rgba(150, 162, 128, 0.3), transparent 70%),
        linear-gradient(115deg, #19221b 0%, #202b23 38%, #2f3b30 62%, #4a5642 100%);
}

.cta_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px auto;
    align-items: center;
    column-gap: clamp(40px, 6vw, 96px);
}

.cta_sec .sec_tag {
    color: rgba(243, 238, 230, 0.75);
}

.cta_sec h2 {
    max-width: 9em;
    color: var(--clr_light_txt);
}

.cta_sec .sec_txt {
    max-width: 30em;
    color: rgba(243, 238, 230, 0.85);
}

/* Vertical line between text and buttons */
.cta_divider {
    align-self: stretch;
    width: 1px;
    background-color: rgba(243, 238, 230, 0.3);
}

.cta_actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* CTA - Tablet */
@media (max-width: 991px) {
    .cta_wrap {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 32px;
    }

    .cta_divider {
        display: none;
    }

    .cta_actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* CTA - Small Mobile */
@media (max-width: 575px) {
    .cta_actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================
FOOTER SECTION
========================== */

.footer_sec {
    color: var(--clr_white);
    background-color: var(--clr_primary);
}

.footer_sec .footer_title {
    color: var(--clr_white);
}

.footer_sec :focus-visible {
    outline-color: var(--clr_white);
}

.footer_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 3vw, 64px);
    padding-block: var(--sec_pad_sm);
}

.footer_logo {
    display: inline-block;
}

.footer_logo img {
    width: auto;
    height: 56px;
    max-width: 220px;
    object-fit: contain;
    /* Shows the dark transparent logo in white on the green footer */
    filter: brightness(0) invert(1);
}

.footer_text {
    max-width: 22em;
    margin-top: 18px;
    font-size: var(--fs_small);
    line-height: 1.7;
    color: var(--clr_white);
}

.footer_title + .footer_text {
    margin-top: 14px;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.footer_links a,
.copy_links a {
    font-size: var(--fs_small);
    color: var(--clr_white);
    transition: color var(--transition);
}

.footer_links a:hover,
.footer_links a:focus-visible,
.copy_links a:hover,
.copy_links a:focus-visible {
    color: var(--clr_sage);
}

/* Newsletter - button drops below the field when the column is narrow */
.footer_form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer_input {
    flex: 1 1 180px;
    min-width: 0;
}

.footer_btn {
    flex: 0 0 auto;
}

/* Copyright bar */
.copy_bar {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.copy_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 32px;
    padding-block: 22px;
}

.copy_txt {
    font-size: 13px;
    color: var(--clr_white);
}

.copy_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.copy_links a {
    font-size: 13px;
}

/* Footer - Laptop */
@media (max-width: 1199px) {
    .footer_btn {
        flex: 1 1 100%;
    }
}

/* Footer - Tablet */
@media (max-width: 991px) {
    .footer_wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    /* Brand on its own row, the two link columns side by side below */
    .footer_brand {
        grid-column: 1 / -1;
    }

    .footer_btn {
        flex: 0 0 auto;
    }
}

/* Footer - Mobile */
@media (max-width: 575px) {
    .footer_wrap {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 36px;
    }

    .footer_logo img {
        height: 48px;
    }

    .footer_btn {
        flex: 1 1 100%;
    }

    .copy_wrap {
        flex-direction: column;
        text-align: center;
    }

    .copy_links {
        justify-content: center;
    }
}

/* ==========================
EXIT INTENT POPUP
========================== */

.ep_overlay {
    --ep_speed: 0.4s;
    --ep_ease: cubic-bezier(0.4, 0, 0.2, 1);

    position: fixed;
    inset: 0;
    /* Above the sticky header (1000) and any other page layer */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(20, 20, 20, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ep_speed) var(--ep_ease), visibility var(--ep_speed);
}

.ep_overlay.is_open {
    opacity: 1;
    visibility: visible;
}

/* The embedded form script (form_embed.js) sets visibility: visible and
   pointer-events: auto inline on its iframe, which leaves an invisible form
   catching clicks while the popup is closed. !important beats those inline styles. */
.ep_overlay:not(.is_open),
.ep_overlay:not(.is_open) * {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Stops the page behind the popup from scrolling */
html.ep_lock,
html.ep_lock body {
    overflow: hidden;
}

/* Keeps the scrollbar space so the page doesn't shift sideways */
html.ep_lock {
    scrollbar-gutter: stable;
}

.ep_box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 3.4vw, 44px);
    background-color: var(--clr_bg_light);
    border-radius: var(--img_radius_sm);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    transition: opacity var(--ep_speed) var(--ep_ease), transform var(--ep_speed) var(--ep_ease);
}

.ep_overlay.is_open .ep_box {
    opacity: 1;
    transform: none;
}

/* Close button - two lines forming an X */
.ep_close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--clr_heading);
    background-color: var(--clr_white);
    border: 1px solid var(--clr_border);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.ep_close:hover,
.ep_close:focus-visible {
    color: var(--clr_white);
    background-color: var(--clr_primary);
    border-color: var(--clr_primary);
}

.ep_close_icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.ep_close_icon::before,
.ep_close_icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background-color: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ep_close_icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ep_head {
    padding-right: 40px;
}

.ep_title {
    font-size: clamp(28px, 2.6vw, 38px);
}

.ep_desc {
    margin-top: 12px;
    max-width: 30em;
}

.ep_form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(20px, 2.2vw, 28px);
}

.ep_textarea {
    min-height: 140px;
}

.ep_submit {
    width: 100%;
    margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .ep_overlay,
    .ep_box {
        transition: none;
    }
}

/* Exit Popup - Small Mobile */
@media (max-width: 575px) {
    .ep_overlay {
        padding: 16px;
    }

    .ep_box {
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        padding: 28px 20px 24px;
    }

    .ep_close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .ep_form {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .ep_textarea {
        min-height: 120px;
    }
}

/* ==========================
NEW PATIENT OFFER SECTION
========================== */

/* Same dark green background as the CTA section */
.offer_sec {
    position: relative;
    overflow: hidden;
    background-color: #1c261e;
    background-image:
        radial-gradient(ellipse 45% 70% at 88% 12%, rgba(176, 186, 150, 0.4), transparent 70%),
        radial-gradient(ellipse 40% 55% at 95% 95%, rgba(150, 162, 128, 0.3), transparent 70%),
        linear-gradient(115deg, #19221b 0%, #202b23 38%, #2f3b30 62%, #4a5642 100%);
}
.offer_sec .card_txt {
    max-width: 40em;
    color: rgba(243, 238, 230, 0.85);
}
.offer_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
}

.offer_sec .sec_tag {
    color: rgba(243, 238, 230, 0.75);
}

.offer_sec h2 {
    max-width: 13em;
    color: var(--clr_light_txt);
}

.offer_sec .sec_txt {
    max-width: 32em;
    color: rgba(243, 238, 230, 0.85);
}

.offer_btn {
    margin-top: 28px;
}

/* Price card */
.offer_price {
    min-width: 300px;
    padding: clamp(32px, 4vw, 52px) clamp(40px, 5vw, 72px);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(243, 238, 230, 0.3);
    border-radius: var(--img_radius);
}

.offer_amount {
    font-family: var(--font_heading);
    font-size: clamp(72px, 9vw, 128px);
    font-weight: 600;
    line-height: 1;
    color: var(--clr_sage);
}

.offer_unit {
    margin-top: 14px;
    font-size: var(--fs_tag);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr_light_txt);
}

/* Short divider above the unit text */
.offer_unit::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin: 0 auto 14px;
    background-color: rgba(243, 238, 230, 0.4);
}

/* Offer - Tablet */
@media (max-width: 991px) {
    .offer_wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .offer_price {
        justify-self: start;
    }
}

/* Offer - Small Mobile */
@media (max-width: 575px) {
    .offer_btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        padding-block: 12px;
    }

    .offer_price {
        justify-self: stretch;
        min-width: 0;
    }
}

/* ==========================
FLOATING CALL NOW BUTTON + POPUP
========================== */

.call_icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Floating button - below the popups (9999), above page content */
.call_float {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 900;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.25);
}

/* Popup - overlay, box, close button and animation come from the .ep_* styles */
.call_popup_wrap {
    max-width: 460px;
    text-align: center;
}

.call_popup_wrap .sec_txt {
    max-width: 24em;
    margin-inline: auto;
}

.call_popup_phone {
    display: inline-block;
    margin-top: 22px;
    font-family: var(--font_heading);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--clr_heading);
    transition: color var(--transition);
}

.call_popup_phone:hover,
.call_popup_phone:focus-visible {
    color: var(--clr_primary);
}

.call_popup_btn {
    display: flex;
    width: 100%;
    margin-top: 22px;
}

.call_popup_dismiss {
    margin-top: 14px;
    padding: 6px 10px;
    font-family: var(--font_body);
    font-size: var(--fs_small);
    color: var(--clr_text_muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color var(--transition);
}

.call_popup_dismiss:hover,
.call_popup_dismiss:focus-visible {
    color: var(--clr_heading);
}

/* Call Now - Small Mobile */
@media (max-width: 575px) {
    .call_float {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        --btn_h: 44px;
        --btn_pad_x: 20px;
    }
}
