/* ===========================================================
   Sanctuary Forward — styles.css
   Single-page responsive site
   =========================================================== */

:root {
    --green-900: #143d31;
    --green-700: #1d4f3f;
    --green-500: #2a6e58;
    --orange-500: #ee7c2b;
    --orange-600: #d96a1d;
    --lime-400: #a8d05f;
    --lime-300: #b9d96a;
    --cream-100: #faf5ec;
    --cream-200: #f3ecdb;
    --gray-900: #1f1f1f;
    --gray-700: #3a3a3a;
    --gray-500: #6c6c6c;
    --gray-300: #d8d8d8;
    --gray-200: #ececec;
    --gray-100: #f6f6f6;
    --white: #ffffff;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 61, 49, 0.06), 0 2px 6px rgba(20, 61, 49, 0.04);
    --shadow-md: 0 6px 18px rgba(20, 61, 49, 0.08);

    --container: 1200px;
    --header-h: 76px;

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 96px 0; }
.bg-cream { background: var(--cream-100); }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.two-col.reverse .col-image,
.two-col.reverse .collage { order: -1; }

.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--gray-700); }
.muted { color: var(--gray-500); }
.text-green { color: var(--green-700); }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 14px;
}
.col-text > h2,
.col-text > h3 { color: var(--green-700); margin-bottom: 18px; }
.col-text > p { margin-bottom: 18px; }
.col-text > p:last-of-type { margin-bottom: 28px; }
.col-text-muted p { color: var(--gray-500); font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--orange-500);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(238, 124, 43, 0.28);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 4px 14px rgba(20, 61, 49, 0.05);
}
.nav-wrap {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
}
.logo-img { height: 70px; width: auto; display: block; transition: opacity 0.5s var(--ease); }
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.logo-text { display: inline-flex; gap: 6px; }
.logo-green { color: var(--green-700); }
.logo-orange { color: var(--orange-500); }
.logo-light .logo-light-green { color: var(--white); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.primary-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 6px 0;
    transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--green-700); }
.nav-link.active { color: var(--green-700); }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--orange-500);
    border-radius: 2px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--green-700);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: clamp(420px, 70vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    margin: 24px;
    border-radius: var(--radius-lg);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/newImages/homebgRemoved.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,61,49,0.25) 0%, rgba(20,61,49,0.55) 100%);
}
.hero-content {
    position: relative;
    text-align: center;
    padding: 64px 24px;
}
.hero-content h1 { color: var(--white); margin-bottom: 16px; }
.hero-sub { color: rgba(255,255,255,0.92); font-size: clamp(1rem, 1.6vw, 1.25rem); margin-bottom: 36px; }

/* ---------- Founder ---------- */
.img-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    background: var(--gray-200);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}
.img-founder { background-image: url('images/nicoleRay2.png'); aspect-ratio: 1 / 1; }

/* ---------- What We Do (single composed image) ---------- */
.img-whatwedo {
    background-image: url('images/newImages/whatwedo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    box-shadow: none;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
}

/* ---------- Programs ---------- */
.programs-intro { padding-bottom: 32px; }
.program-block { padding: 56px 0; }
.img-haven   { background-image: url('images/newImages/havenWomen.jpg'); aspect-ratio: 5/4; }
.img-pathway { background-image: url('images/newImages/pathwayMen.png'); aspect-ratio: 5/4; }

.feature-list { display: grid; gap: 10px; margin-top: 8px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.9375rem;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature-list li:hover { border-color: var(--orange-500); transform: translateX(2px); }
.feat-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff1e6, #ffd9b8);
    position: relative;
}
.feat-icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--orange-500);
    opacity: 0.85;
}

/* ---------- Core Components ---------- */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .muted { max-width: 640px; margin: 12px auto 0; }
.section-head .col-text > h2 { margin-bottom: 0; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-500);
}
.card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--cream-100);
    color: var(--green-700);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.card-icon img { width: 100%; height: 100%; object-fit: contain; }
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--green-700); color: var(--white); }
.card h4 { color: var(--green-700); font-weight: 600; }
.card-text { display: flex; flex-direction: column; gap: 4px; }
.card-text p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.45; margin: 0; }
.core-closing {
    margin-top: 32px;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-700);
}

/* ---------- Mission ---------- */
.mission .col-text > h2 { margin-bottom: 22px; }

/* ---------- Values / Vision / Promise ---------- */
.vvp-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
}
.vvp-stack { display: grid; gap: 24px; }
.vvp-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.vvp-card-body { padding: 28px; }
.vvp-card h4 { font-size: 1.125rem; margin-bottom: 10px; }
.vvp-card p { font-size: 0.9375rem; line-height: 1.65; }

.vvp-values {
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 460px;
    display: block;
}
.vvp-values .img-values {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/newImages/valuesBg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.vvp-values .vvp-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 56px 28px 28px;
    background: linear-gradient(to top, rgba(20,61,49,0.96) 0%, rgba(20,61,49,0.88) 55%, rgba(20,61,49,0) 100%);
}
.vvp-values h4, .vvp-values p { color: var(--white); }

.vvp-vision { background: var(--lime-400); color: var(--green-900); }
.vvp-vision h4, .vvp-vision p { color: var(--green-900); }

.vvp-promise { background: var(--green-700); color: var(--white); }
.vvp-promise h4, .vvp-promise p { color: var(--white); }

/* ---------- Message ---------- */
.message .eyebrow { display: block; }
.message h2 { margin: 8px 0 18px; }

/* ---------- Board / Team ---------- */
.role { font-size: 0.875rem; color: var(--gray-500); }

.team-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}
.team-intro { max-width: 620px; }
.team-intro h2 { color: var(--green-900); margin: 14px 0 16px; }

.chip {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
}

.team-nav { display: flex; gap: 14px; flex-shrink: 0; }
.team-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.team-arrow svg { width: 20px; height: 20px; }
.team-arrow:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

.team-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }

.team-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.team-photo {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--cream-200), var(--gray-300));
    background-size: cover;
    background-position: center;
}
.team-info {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.team-info h4 { color: var(--gray-900); font-weight: 600; margin-bottom: 2px; }
.team-linkedin {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-900);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.team-linkedin svg { width: 18px; height: 18px; }
.team-linkedin:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

/* ---------- Partner CTA ---------- */
.partner-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-image: linear-gradient(135deg, rgba(20,61,49,0.82), rgba(20,61,49,0.72)), url('images/collabBg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 48px;
}
.partner-text h2 { color: var(--white); margin-bottom: 14px; }
.partner-text p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 480px; }
.partner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.partner-image {
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    background-image: url('images/newImages/collabImg.png');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

/* ---------- Contact ---------- */
.contact-title { color: var(--green-900); margin-bottom: 32px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-form-card {
    background: #eef1f9;
    border-radius: var(--radius-md);
    padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}
.field input,
.field textarea {
    font: inherit;
    width: 100%;
    padding: 13px 15px;
    background: #e2e8f4;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--gray-900);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-500); }
.field input:focus,
.field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--green-500);
}

.btn-send {
    align-self: flex-start;
    background: var(--green-900);
    color: var(--white);
    margin-top: 4px;
}
.btn-send:hover { background: var(--green-700); transform: translateY(-1px); }

.contact-visual {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    min-height: 380px;
    background-image:
        linear-gradient(to top, rgba(15,23,30,0.85) 0%, rgba(15,23,30,0.25) 55%, rgba(15,23,30,0.15) 100%),
        url('images/newImages/contactImg.png');
    background-size: cover;
    background-position: center;
}
.contact-chip {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
}
.contact-visual-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
}
.contact-visual-body h3 {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
.contact-visual-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-donate {
    background: var(--lime-400);
    color: var(--green-900);
    font-weight: 600;
}
.btn-donate:hover { background: var(--lime-300); transform: translateY(-1px); }
.contact-socials { display: flex; gap: 12px; }
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-900);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease);
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { background: var(--green-700); }

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 72px;
    text-align: center;
}
.method-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
}
.method-icon svg { width: 30px; height: 30px; }
.method h4 { color: var(--green-900); margin-bottom: 8px; }
.method p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.78);
    padding: 64px 0 24px;
    margin-top: 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 12px; max-width: 320px; font-size: 0.9375rem; }
.footer-col h5 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.78); transition: color 0.2s var(--ease); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--orange-500); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom small { color: rgba(255,255,255,0.6); }
.legal { display: flex; gap: 20px; }
.legal a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.legal a:hover { color: var(--white); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .section { padding: 72px 0; }
    .two-col { gap: 48px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .team-card { flex: 0 0 calc((100% - 24px) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .vvp-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-visual { min-height: 320px; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    /* Mobile nav */
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        background: var(--white);
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 12px 24px rgba(20,61,49,0.08);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .primary-nav ul li { width: 100%; }
    .nav-link {
        display: block;
        padding: 12px 8px;
        border-radius: var(--radius-sm);
    }
    .nav-link:hover { background: var(--cream-100); }
    .nav-link.active::after { display: none; }
    .nav-cta { width: 100%; margin-top: 8px; }

    /* Layout shifts */
    .hero { margin: 12px; min-height: 480px; }
    .section { padding: 56px 0; }
    .two-col, .two-col.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .two-col.reverse .col-image,
    .two-col.reverse .collage { order: 0; }

    .col-image { max-width: 480px; margin: 0 auto; }
    .collage { max-width: 380px; }

    .cards-grid { grid-template-columns: 1fr; }
    .team-head { flex-direction: column; align-items: flex-start; gap: 24px; }
    .team-card { flex: 0 0 calc((100% - 24px) / 2); }

    .contact-form-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }

    .partner-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 24px;
    }
    .partner-image { aspect-ratio: 16/10; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero { margin: 8px; border-radius: var(--radius-md); }
    .hero-content { padding: 48px 16px; }
    .btn-lg { padding: 13px 24px; }
    .feature-list li { padding: 12px 14px; font-size: 0.875rem; }
    .team-card { flex: 0 0 85%; }
    .logo-img { height: 55px; }

}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

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