/* ==========================================================================
   JJ Women's Hostel — Premium Stylesheet
   ========================================================================== */

:root {
    /* Brand palette */
    --purple: #7b4185;
    --purple-deep: #5a2e63;
    --purple-dark: #3d1f45;
    --purple-light: #b444ce;
    --gold: #f6c72c;
    --gold-deep: #d9a900;

    /* Neutrals */
    --ink: #241a28;
    --body: #5a5262;
    --muted: #8a8294;
    --cream: #faf7fb;
    --surface: #ffffff;
    --line: #ece6ef;

    /* Effects */
    --grad: linear-gradient(135deg, #8a4a95 0%, #5a2e63 100%);
    --grad-gold: linear-gradient(135deg, #f6c72c 0%, #d9a900 100%);
    --shadow-sm: 0 2px 10px rgba(61, 31, 69, 0.06);
    --shadow-md: 0 12px 34px rgba(61, 31, 69, 0.10);
    --shadow-lg: 0 24px 60px rgba(61, 31, 69, 0.16);
    --radius: 18px;
    --radius-lg: 28px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 78px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--body);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

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

.container {
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--purple);
    color: #fff;
    padding: 10px 18px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 15px 32px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--purple-dark);
    box-shadow: 0 10px 26px rgba(217, 169, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(217, 169, 0, 0.45);
}

.btn-primary.full {
    width: 100%;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--purple);
    font-weight: 600;
    margin-top: 8px;
}

.link-arrow svg {
    transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.4s;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    height: 100%;
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    padding: 9px 16px;
    border-radius: 100px;
    position: relative;
    transition: color 0.25s, background 0.25s;
}

.nav-links a:not(.btn-call):hover {
    color: var(--purple);
    background: rgba(123, 65, 133, 0.07);
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad);
    color: #fff !important;
    padding: 11px 22px !important;
    border-radius: 100px;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 8px 20px rgba(90, 46, 99, 0.28);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(90, 46, 99, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--purple);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 82vw);
    height: 100dvh;
    background: var(--grad);
    z-index: 1200;
    padding: 90px 34px 34px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: right 0.45s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-call {
    margin-top: 22px;
    background: var(--grad-gold);
    color: var(--purple-dark) !important;
    text-align: center;
    border-radius: 100px;
    border-bottom: none !important;
    font-weight: 600;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 26px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 26, 40, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/home/slider/rectangle%2057.png') center/cover no-repeat;
    transform: scale(1.05);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(61, 31, 69, 0.82) 0%, rgba(90, 46, 99, 0.72) 45%, rgba(61, 31, 69, 0.9) 100%);
    z-index: -1;
}

.hero-slides {
    position: relative;
    width: min(820px, 100%);
    min-height: 260px;
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    padding: 7px 18px;
    border: 1px solid rgba(246, 199, 44, 0.4);
    border-radius: 100px;
    background: rgba(246, 199, 44, 0.08);
}

.hero-slide h1 {
    color: #fff;
    font-size: clamp(2.1rem, 6vw, 4.2rem);
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-slide p {
    max-width: 620px;
    margin: 22px auto 0;
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 42px;
}

.hero-dots button {
    width: 34px;
    height: 5px;
    border-radius: 100px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.hero-dots button.active {
    background: var(--gold);
    width: 48px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--grad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
    margin: -52px auto 0;
    position: relative;
    z-index: 5;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: min(1000px, 100% - 3rem);
    overflow: hidden;
}

.trust-item {
    padding: 26px 18px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
}

.trust-item span {
    font-size: 0.85rem;
    opacity: 0.88;
}

/* ---------- Section heads / kickers ---------- */
.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 14px;
}

.kicker.light {
    color: var(--gold-deep);
}

.section-head {
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
}

.section-head .lead {
    margin-top: 16px;
    font-size: 1.05rem;
}

/* ---------- Split (About / Why) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.split-text h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin-bottom: 18px;
}

.split-text p {
    margin-bottom: 16px;
}

.split-media {
    position: relative;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.split-media::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.reverse .split-media {
    order: -1;
}

.check-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 36px;
    color: var(--body);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---------- Facilities ---------- */
.facilities {
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.facility-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.facility-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--cream);
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.facility-card:hover .facility-img img {
    transform: scale(1.08);
}

.facility-card h3 {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.facility-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(61, 31, 69, 0.55));
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ---------- Location ---------- */
.location {
    background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.location-areas h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.area-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.area-list li:hover {
    transform: translateX(6px);
    border-color: var(--purple-light);
}

.area-list svg {
    color: var(--purple);
    flex-shrink: 0;
}

.area-list strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.98rem;
}

.area-list span {
    font-size: 0.85rem;
    color: var(--muted);
}

.location-map {
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--grad);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 199, 44, 0.18), transparent 70%);
}

.testi-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.testi-intro h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}

.testi-intro p {
    color: rgba(255, 255, 255, 0.85);
}

.testi-controls {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.testi-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s, transform 0.3s;
}

.testi-btn:hover {
    background: var(--gold);
    color: var(--purple-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.testi-viewport {
    overflow: hidden;
}

.testi-track {
    display: flex;
    transition: transform 0.6s var(--ease);
}

.testi-card {
    flex: 0 0 100%;
    background: #fff;
    color: var(--body);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.testi-card blockquote {
    font-size: clamp(1.02rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: var(--ink);
    font-style: italic;
}

.testi-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testi-card figcaption strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

.testi-card figcaption small {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---------- Contact ---------- */
.contact {
    background: var(--cream);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    align-items: center;
}

.contact-text h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    margin-bottom: 14px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--ink);
    padding: 12px 18px;
    background: var(--cream);
    border-radius: 100px;
    width: fit-content;
    transition: background 0.3s, transform 0.3s;
}

.contact-chip svg {
    color: var(--purple);
}

.contact-chip:hover {
    background: rgba(123, 65, 133, 0.08);
    transform: translateX(4px);
}

.contact-form {
    background: linear-gradient(160deg, #fbf9fc, #fff);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.field {
    position: relative;
    margin-bottom: 20px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 16px 16px 16px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    outline: none;
    resize: vertical;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
    padding-top: 20px;
}

.field label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--muted);
    font-size: 0.98rem;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
    transition: all 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(123, 65, 133, 0.1);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
    top: -9px;
    font-size: 0.76rem;
    color: var(--purple);
    font-weight: 500;
}

.err {
    display: none;
    color: #d64545;
    font-size: 0.8rem;
    margin-top: 6px;
}

.field.invalid input,
.field.invalid textarea {
    border-color: #d64545;
}

.field.invalid .err {
    display: block;
}

.form-note {
    text-align: center;
    color: var(--purple);
    font-weight: 500;
    margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--purple-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand img {
    display: inline-block;
    box-sizing: content-box;
    height: 42px;
    width: auto;
    margin-bottom: 18px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.footer-brand p {
    font-size: 0.92rem;
    max-width: 280px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.footer-col a,
.footer-col li {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-map iframe {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    filter: grayscale(0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Floating call ---------- */
.fab-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(90, 46, 99, 0.45);
    z-index: 900;
    animation: pulse 2.4s infinite;
    transition: transform 0.3s;
}

.fab-call:hover {
    transform: scale(1.08);
}

@keyframes pulse {
    0% { box-shadow: 0 12px 30px rgba(90, 46, 99, 0.45), 0 0 0 0 rgba(123, 65, 133, 0.5); }
    70% { box-shadow: 0 12px 30px rgba(90, 46, 99, 0.45), 0 0 0 16px rgba(123, 65, 133, 0); }
    100% { box-shadow: 0 12px 30px rgba(90, 46, 99, 0.45), 0 0 0 0 rgba(123, 65, 133, 0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .facility-grid { grid-template-columns: repeat(2, 1fr); }
    .split,
    .testi-inner,
    .contact-card,
    .location-grid { grid-template-columns: 1fr; }
    .location-map iframe { height: 320px; }
    .reverse .split-media { order: 0; }
    .split-media { max-width: 520px; margin-inline: auto; }
    .split-media::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testi-intro { text-align: center; }
    .testi-controls { justify-content: center; }
}

@media (max-width: 620px) {
    .container { width: calc(100% - 2.5rem); }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(2) { border-right: none; }
    .trust-item:nth-child(1),
    .trust-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
    .facility-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .facility-card { padding: 16px; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .gallery-item.wide,
    .gallery-item.tall { grid-column: auto; grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand p { margin-inline: auto; }
    .footer-col ul { justify-items: center; }
    .contact-chip { margin-inline: auto; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-cta a { width: 100%; }
}

@media (max-width: 400px) {
    .facility-grid { grid-template-columns: 1fr; }
}
