/* =========================================================
   SECTION WRAPPER
========================================================= */

.service-area {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}


/* =========================================================
   DECORATIVE AIRFLOW LINE
========================================================= */

.airflow-wrap {
    position: relative;
    overflow: hidden;
    height: 0;
}

.airflow-svg {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 60px;
}

.airflow-path {
    fill: none;
    stroke: #57C96E;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 10 14;
    animation: flow 5s linear infinite;
    opacity: .55;
}

@keyframes flow {
    to {
        stroke-dashoffset: -240;
    }
}


/* =========================================================
   HERO
========================================================= */

.sa_title {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(24px, 6vw, 38px) clamp(16px, 5vw, 24px) 30px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #379B4C;
    background: #E6F8EA;

    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #57C96E;

    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: .5;
    }
}

.sa_title h1 {
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.14;
    margin: 0 0 14px;
    font-weight: 700;
}

.sa_title h1 em {
    font-style: normal;
    color: #C7A213;

    background: linear-gradient(
        180deg,
        transparent 62%,
        #FCF0C4 62%
    );

    padding: 0 2px;
}

.sa_title p {
    font-size: clamp(14.5px, 3vw, 16.5px);
    color: #5B655C;
    line-height: 1.6;

    max-width: 560px;
    margin: 0 auto 26px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;

    transform: translateY(-50%);
    pointer-events: none;

    width: 18px;
    height: 18px;

    color: #5B655C;
    transition: color .2s ease;
}

.search-box input {
    width: 100%;

    padding: 13px 42px 13px 44px;

    border-radius: 100px;
    border: 1.5px solid #EAE3C8;

    background: #fff;

    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    color: #1E271F;

    outline: none;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.search-box input:focus {
    border-color: #57C96E;

    box-shadow:
        0 0 0 4px #E6F8EA;
}

.search-box input:focus ~ svg {
    color: #57C96E;
}

.search-clear {
    appearance: none;
    border: none;
    background: #EAE3C8;
    color: #5B655C;

    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(.85);

    width: 22px;
    height: 22px;
    border-radius: 50%;

    font-size: 14px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition:
        opacity .18s ease,
        transform .18s ease,
        background .18s ease;
}

.search-clear[hidden] {
    display: none;
}

.search-clear.show {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.search-clear:hover {
    background: #E9C324;
    color: #1E271F;
}

.result-count {
    margin-top: 10px;
    font-size: 12.5px;
    color: #5B655C;
}

.result-count b {
    color: #379B4C;
}


/* =========================================================
   CITY GRID FOLD / SEE MORE
========================================================= */

.city-grid-wrap {
    position: relative;
    overflow: hidden;

    padding: 30px 0 50px;

    /*
     * Collapsed height.
     * Adjust this value to show more/less cities.
     */

    max-height: 470px;

    transition:
        max-height 0.85s cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   OPEN STATE
========================================================= */

.city-grid-wrap.is-open {
    max-height: 10000px;
}


/* =========================================================
   BOTTOM FADE
========================================================= */

.grid-fade {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 130px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 253, 246, 0),
            rgba(255, 253, 246, .82) 55%,
            rgba(255, 253, 246, 1) 100%
        );

    opacity: 1;

    transition:
        opacity .45s ease;
}


/* =========================================================
   HIDE FADE WHEN EXPANDED
========================================================= */

.city-grid-wrap.is-open .grid-fade {
    opacity: 0;
}


/* =========================================================
   SEE MORE AREA
========================================================= */

.see-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: -2px;

    position: relative;
    z-index: 10;
}


/* =========================================================
   SEE MORE BUTTON
========================================================= */

.see-more-btn {
    appearance: none;

    border: 1px solid rgba(35, 67, 120, .16);

    background: rgba(255, 255, 255, .92);

    color: #234378;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;

    padding: 13px 22px;

    border-radius: 999px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(35, 67, 120, .10),
        0 2px 8px rgba(0, 0, 0, .04);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;
}


/* =========================================================
   HOVER / FOCUS
========================================================= */

.see-more-btn:hover,
.see-more-btn:focus-visible {
    transform: translateY(-3px);

    background: #234378;

    color: #fff;

    border-color: #234378;

    box-shadow:
        0 14px 35px rgba(35, 67, 120, .20);
}

.see-more-btn:focus-visible {
    outline: 2px solid #234378;
    outline-offset: 3px;
}


/* =========================================================
   CLICK
========================================================= */

.see-more-btn:active {
    transform: translateY(-1px) scale(.98);
}


/* =========================================================
   ARROW
========================================================= */

.see-more-icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1);
}

.see-more-icon svg {
    width: 18px;
    height: 18px;

    display: block;
}


/* Rotate arrow when opened */

.city-grid-wrap.is-open
~ .see-more-wrap
.see-more-icon {
    transform: rotate(180deg);
}


/* =========================================================
   BUTTON TEXT ANIMATION
========================================================= */

.see-more-text {
    transition: opacity .2s ease;
}


/* =========================================================
   CITY GRID
========================================================= */

.city-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(150px, 1fr));

    gap: 10px;
}


/* =========================================================
   CITY CARD
========================================================= */

.city-card {
    /* Reset button defaults — cards are real <button> elements now
       so they're keyboard/screen-reader accessible out of the box. */
    appearance: none;
    font-family: inherit;
    text-align: left;
    width: 100%;

    display: flex;
    align-items: center;

    gap: 9px;

    background: #fff;

    border: 1px solid #EAE3C8;

    border-radius: 11px;

    padding: 11px 13px;

    font-size: 14px;
    font-weight: 500;
    color: #1E271F;

    cursor: pointer;

    opacity: 0;
    transform: translateY(10px) scale(.97);

    animation: rise .55s cubic-bezier(.22, 1, .36, 1) forwards;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.city-card:hover,
.city-card:focus-visible {
    transform: translateY(-3px);

    box-shadow:
        0 6px 20px rgba(30, 39, 31, 0.06);

    border-color: #E9C324;

    background: #FCF0C4;
}

.city-card:focus-visible {
    outline: 2px solid #57C96E;
    outline-offset: 2px;
}

.city-card .pin {
    flex: 0 0 auto;

    width: 20px;
    height: 20px;
}

.city-card.hidden {
    display: none;
}


/* =========================================================
   CITY CARD ANIMATION
========================================================= */

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    display: none;

    text-align: center;

    padding: 40px 20px;

    color: #5B655C;

    opacity: 0;
    transition: opacity .3s ease;
}

.empty-state.show {
    display: block;
    opacity: 1;
}

.empty-state strong {
    color: #1E271F;

    display: block;

    margin-bottom: 6px;

    font-size: 16px;
}


/* =========================================================
   CTA BAND
========================================================= */

.cta-band {
    margin: 52px auto 0;
    padding: 0 0 40px;
}

.cta-inner {
    background:
        linear-gradient(
            120deg,
            #E9C324 0%,
            #F0D45C 100%
        );

    border-radius: 22px;

    padding:
        clamp(24px, 5vw, 34px)
        clamp(20px, 5vw, 32px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    flex-wrap: wrap;

    position: relative;
    overflow: hidden;
}

.cta-inner::after {
    content: "";

    position: absolute;

    right: -40px;
    top: -40px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .22);
}

.cta-text {
    min-width: 220px;
    flex: 1 1 260px;
}

.cta-text h2 {
    font-size: clamp(20px, 4vw, 24px);

    margin: 0 0 4px;

    color: #1E271F;
}

.cta-text p {
    margin: 0;

    color: #4B4110;

    font-size: 14.5px;
}

.cta-buttons {
    display: flex;

    gap: 12px;

    position: relative;
    z-index: 1;

    flex-wrap: wrap;

    flex: 1 1 240px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 22px;

    border-radius: 100px;

    font-weight: 700;
    font-size: 14.5px;

    cursor: pointer;

    border: none;

    text-decoration: none;

    transition:
        transform .15s ease,
        box-shadow .15s ease;

    font-family: 'Inter', sans-serif;

    flex: 1 1 140px;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}


/* Dark button */

.btn-dark {
    background: #1E271F;
    color: #fff;
}

.btn-dark:hover {
    box-shadow:
        0 8px 18px rgba(30, 39, 31, .25);
}


/* Light button */

.btn-yellow {
    background: #e8cf27;
    color: #1E271F;
}

.btn-yellow:hover {
    box-shadow:
        0 8px 18px rgba(255, 255, 255, .5);
}


/* =========================================================
   FOOTNOTE
========================================================= */

.footnote {
    text-align: center;

    font-size: 12.5px;

    color: #5B655C;

    padding: 0 0 34px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .city-card {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 760px) {
    .cta-buttons {
        gap: 8px;
    }

    .search-box {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .city-grid-wrap {
        max-height: 390px;
    }

    .grid-fade {
        height: 110px;
    }

    .see-more-btn {
        min-width: 175px;

        padding: 12px 20px;

        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {
    .city-grid {
        grid-template-columns:
            repeat(auto-fill, minmax(130px, 1fr));

        gap: 8px;
    }

    .city-card {
        padding: 10px 11px;
        font-size: 13.5px;
    }

    .cta-inner {
        /* flex-direction: column; */
        align-items: stretch;
        text-align: center;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        flex: 1 1 auto;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    .city-grid-wrap {
        max-height: 350px;
    }

    .grid-fade {
        height: 100px;
    }

    .see-more-btn {
        min-width: 165px;

        padding: 11px 18px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {
    .city-grid {
        grid-template-columns:
            repeat(auto-fill, minmax(112px, 1fr));
    }
}


/* =========================================================
   CITY INFO MODAL
========================================================= */

.sa-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(30, 39, 31, .5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility 0s linear .25s;
}

.sa-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    transition:
        opacity .25s ease,
        visibility 0s linear;
}

.sa-modal {
    position: relative;

    width: 100%;
    max-width: 460px;

    background: #fff;

    border-radius: 20px;

    padding: 32px 28px 28px;

    box-shadow: 0 30px 70px rgba(30, 39, 31, .25);

    transform: translateY(16px) scale(.97);
    opacity: 0;

    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease;
}

.sa-modal-backdrop.show .sa-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.sa-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 32px;
    height: 32px;

    border: none;
    border-radius: 50%;

    background: #F4F0E0;
    color: #5B655C;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}

.sa-modal-close:hover {
    background: #EAE3C8;
    color: #1E271F;
}

.sa-modal-eyebrow {
    display: inline-block;

    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #379B4C;
    background: #E6F8EA;

    padding: 5px 12px;
    border-radius: 100px;

    margin-bottom: 12px;
}

.sa-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    padding-right: 30px;
}

.sa-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #5B655C;
    margin: 0 0 20px;
}

.sa-modal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;

    margin-bottom: 22px;
}

.sa-stat {
    background: #FAF8F0;
    border: 1px solid #EFEAD8;
    border-radius: 12px;
    padding: 10px 12px;
}

.sa-stat-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8A8168;
    margin-bottom: 4px;
}

.sa-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: #1E271F;
    line-height: 1.4;
}

.sa-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sa-modal-actions .btn {
    flex: 1 1 140px;
}

@media (max-width: 480px) {
    .sa-modal {
        padding: 26px 20px 22px;
        border-radius: 16px;
    }

    .sa-modal-title {
        font-size: 19px;
    }
}
