/* ====================================================================
   Cart Collective — main.css
   Deep Navy + Warm Gold, modern serif + sans pairing. Mobile-first.
   ==================================================================== */

:root {
    --color-primary: #1E3A5F;        /* Deep navy — CTAs, accents */
    --color-primary-dark: #15283F;   /* Hover state */
    --color-primary-soft: #E8EEF5;   /* Light wash */

    --color-gold: #C9A961;           /* Warm gold — eyebrow, highlights */
    --color-gold-soft: #F5EFDE;      /* Gold tint */

    --color-ink: #0A1628;            /* Headings, strong text */
    --color-body: #3D4A5C;           /* Body text */
    --color-muted: #8A94A3;          /* Secondary text, labels */

    --color-bg: #FBFBFC;             /* Page background — cool off-white */
    --color-surface: #FFFFFF;        /* Cards */
    --color-surface-alt: #F3F5F8;    /* Alt section background */
    --color-border: #E1E6ED;         /* Borders, dividers */

    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.06);
    --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.1);

    --max-width: 1140px;
    --nav-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-body);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-ink);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--color-primary-dark); }

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

/* ---------- Layout ---------- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }

.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-head p { font-size: 1.0625rem; color: var(--color-body); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}

/* ---------- Nav ---------- */

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(251, 251, 252, 0);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    z-index: 50;
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(251, 251, 252, 0.95);
    backdrop-filter: saturate(1.1) blur(8px);
    -webkit-backdrop-filter: saturate(1.1) blur(8px);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s ease;
}
.nav-logo:hover { color: #FFFFFF; }

.site-nav.scrolled .nav-logo,
.site-nav.scrolled .nav-logo:hover { color: var(--color-ink); }

.nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: inherit;
}

.nav-logo-tag {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    transition: color 0.25s ease;
}
.site-nav.scrolled .nav-logo-tag { color: var(--color-muted); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #FFFFFF;
    transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--color-gold); }

.site-nav.scrolled .nav-links a { color: var(--color-ink); }
.site-nav.scrolled .nav-links a:hover { color: var(--color-primary); }

.nav-cta {
    padding: 9px 18px;
    background: var(--color-primary);
    color: #fff !important;
    border-radius: var(--radius);
    transition: background 0.15s ease;
}
.nav-cta:hover {
    background: var(--color-primary-dark);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
}
.nav-toggle span {
    display: block;
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, background 0.25s ease;
}
.site-nav.scrolled .nav-toggle span { background: var(--color-ink); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 640px;
    padding: calc(var(--nav-height) + 100px) 0 120px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(10, 22, 40, 0.88) 0%,
            rgba(10, 22, 40, 0.82) 40%,
            rgba(10, 22, 40, 0.55) 70%,
            rgba(10, 22, 40, 0.25) 100%),
        linear-gradient(180deg,
            rgba(10, 22, 40, 0.3) 0%,
            transparent 25%,
            transparent 75%,
            rgba(10, 22, 40, 0.4) 100%);
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    max-width: 14ch;
    margin-bottom: 28px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(10, 22, 40, 0.3);
}
.hero-title .accent {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 500;
}

.hero-sub {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    max-width: 540px;
    margin-bottom: 36px;
    color: #FFFFFF;
    text-shadow: 0 1px 12px rgba(10, 22, 40, 0.35);
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-ghost.btn-ghost-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* ---------- Hero Visual (photo) ---------- */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 30px 70px -20px rgba(10, 22, 40, 0.28);
}

/* Legacy — kept harmless in case any usages remain */
.hv-card {
    position: absolute;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 24px 60px -16px rgba(10, 22, 40, 0.22);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--font-body);
    color: var(--color-ink);
}

.hv-back {
    top: 0;
    right: -6%;
    width: 64%;
    aspect-ratio: 3 / 4;
    transform: rotate(5deg);
    z-index: 1;
}

.hv-middle {
    top: 18%;
    left: -4%;
    width: 60%;
    aspect-ratio: 4 / 5;
    transform: rotate(-6deg);
    z-index: 2;
}

.hv-front {
    bottom: -2%;
    right: 8%;
    width: 54%;
    aspect-ratio: 1 / 1.15;
    transform: rotate(3deg);
    z-index: 3;
}

/* ---- Card 1: Editorial ---- */

.hv-hero {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 70% 30%, rgba(201, 169, 97, 0.25), transparent 60%),
        linear-gradient(135deg, #243F66, var(--color-primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hv-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 160%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 60%);
}
.hv-hero-icon {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1;
}

.hv-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.hv-dot-sm {
    width: 5px;
    height: 5px;
    background: var(--color-gold);
    border-radius: 50%;
}

.hv-headline {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-ink);
    margin: 0;
    letter-spacing: -0.01em;
}
.hv-headline-sm {
    font-size: 0.95rem;
}

.hv-sub {
    font-size: 0.75rem;
    color: var(--color-body);
    line-height: 1.4;
    margin: -4px 0 0;
}

.hv-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}
.hv-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #324F7A);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0;
}

/* ---- Card 2: Newsletter ---- */

.hv-nl-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2px;
}
.hv-nl-brand {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
.hv-nl-issue {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.hv-nl-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
}

.hv-thumb {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--color-gold-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-thumb svg {
    width: 24px;
    height: 24px;
}

.hv-nl-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.hv-nl-body strong {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-ink);
    letter-spacing: -0.005em;
}
.hv-nl-brand-s {
    font-size: 0.6875rem;
    color: var(--color-muted);
}

.hv-stars {
    display: flex;
    gap: 2px;
    margin-top: 3px;
}
.hv-stars svg {
    width: 10px;
    height: 10px;
    fill: var(--color-gold);
}

.hv-nl-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

/* ---- Card 3: Product ---- */

.hv-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 50% 70%, rgba(201, 169, 97, 0.12), transparent 60%),
        var(--color-surface-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-product-img svg {
    width: 48%;
    height: 48%;
}

.hv-product-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.hv-product-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}

.hv-product-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.hv-badge {
    background: var(--color-gold-soft);
    color: #8A6D2E;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hv-product-brand {
    font-size: 0.6875rem;
    color: var(--color-muted);
}

.hv-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.hv-price {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ink);
}

.hv-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}
.hv-cta svg {
    width: 12px;
    height: 12px;
}

/* ---- Floating accent ---- */

.hv-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--color-gold);
    border-radius: 50%;
    top: 15%;
    right: 30%;
    opacity: 0.14;
    filter: blur(28px);
    z-index: 0;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    min-height: 48px;  /* iOS tap target */
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--color-ink);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

.btn-full { width: 100%; }

/* ---------- Cards (What We Do) ---------- */

.what-we-do { background: var(--color-surface-alt); }

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--color-surface-alt);
}

.card-body { padding: 28px 32px 32px; }

.card h3 { font-size: 1.3rem; margin-bottom: 10px; }

.card p {
    font-size: 0.9375rem;
    color: var(--color-body);
    margin: 0;
}

/* ---------- Services Grid ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    padding: 32px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.service:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service h3 { font-size: 1.1rem; margin-bottom: 8px; }

.service p {
    font-size: 0.9375rem;
    color: var(--color-body);
    margin: 0;
}

/* ---------- About ---------- */

.about { background: var(--color-surface-alt); }

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-copy h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
.about-copy p { font-size: 1.0625rem; }

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fact {
    background: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.fact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.fact-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-ink);
}

/* ---------- Contact ---------- */

.contact { background: var(--color-bg); }

.contact-form { max-width: 560px; margin: 0 auto; }

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    tab-index: -1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
}
.contact-form label span {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    font-family: var(--font-body);
    font-size: 16px;  /* 16px prevents iOS zoom-on-focus */
    color: var(--color-ink);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-direct {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9375rem;
    color: var(--color-muted);
}

.contact-success {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.4s ease;
}
.contact-success svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: block;
    stroke: var(--color-gold);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-ink);
}
.contact-success p {
    color: var(--color-body);
    margin: 0;
    font-size: 1rem;
}

.contact-error {
    max-width: 560px;
    margin: 0 auto 16px;
    padding: 16px 20px;
    background: #FDECEC;
    border: 1px solid #F5C6C6;
    border-radius: var(--radius);
    color: #8B2E2E;
    font-size: 0.9375rem;
    text-align: center;
}
.contact-error a { color: #8B2E2E; text-decoration: underline; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--color-ink);
    color: #C8CFD9;
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.footer-brand p {
    color: #9FA7B3;
    margin: 0;
    font-size: 0.9375rem;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-legal a {
    color: #C8CFD9;
    font-size: 0.9375rem;
}
.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: #7A8390;
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-page {
    padding: calc(var(--nav-height) + 60px) 0 100px;
    max-width: 760px;
    margin: 0 auto;
}

.legal-page h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }

.legal-page .legal-meta {
    color: var(--color-muted);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
    font-size: 1rem;
    color: var(--color-body);
}

.legal-page ul { padding-left: 20px; }

/* ---------- Responsive — Tablet ---------- */

@media (max-width: 900px) {
    .section { padding: 72px 0; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: left;
    }
    .hero-visual {
        max-width: 400px;
        order: 2;
    }

    .cards-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .cards-3 .card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ---------- Responsive — Mobile ---------- */

@media (max-width: 700px) {
    body { font-size: 16px; }

    .container { padding: 0 20px; }

    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }

    .nav-toggle { display: block; }
    .nav-links a { font-size: 1rem; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-110%);
        transition: transform 0.25s ease;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a {
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        min-height: 48px;
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta { text-align: center; margin-top: 8px; min-height: 48px; }

    .hero { padding: calc(var(--nav-height) + 48px) 0 72px; }
    .hero-grid { gap: 36px; }
    .hero-title { font-size: 2.25rem; max-width: 100%; }
    .hero-sub { font-size: 1rem; }

    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }

    .hero-visual {
        max-width: 320px;
    }

    .cards-3,
    .services-grid {
        grid-template-columns: 1fr;
    }
    .cards-3 .card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .card-body { padding: 24px; }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .form-row { grid-template-columns: 1fr; }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
    }

    .site-footer { padding: 56px 0 24px; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 2rem; }
    .section-head h2 { font-size: 1.75rem; }
    .nav-logo-tag { display: none; }
    .nav-logo-icon { width: 32px; height: 32px; }
    .nav-logo-name { font-size: 1.05rem; }
}
