/* ============================================
   Jax Ops — Tidewater Design System
   Navy + brass palette · Newsreader + Geist typography
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Tidewater core palette */
    --color-bg-dark: #10243A;
    --color-bg-deeper: #0A1828;
    --color-accent: #C49B3C;
    --color-accent-soft: #E8D199;
    --color-accent-tint: rgba(196,155,60,0.14);
    --color-accent-border: rgba(196,155,60,0.32);
    --color-text-on-dark: #ECEFF3;
    --color-mute-on-dark: #8FA0B4;
    --color-card-bg: #FFFFFF;
    --color-card-border: #E7E9EE;
    --color-page-bg: #F7F6F2;
    --color-page-bg-alt: #EEEDE7;
    --color-body-text: #0F1C2D;
    --color-body-mute: #5A6675;
    --color-on-accent: #10243A;

    /* Status */
    --color-urgent: #C0392B;
    --color-urgent-bg: rgba(192,57,43,0.08);
    --color-success: #2E7D5F;
    --color-success-bg: rgba(46,125,95,0.08);

    /* Aliases used across legacy class rules */
    --color-white: #FFFFFF;
    --color-black: #0F1C2D;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #5A6675;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    --color-surface-1: var(--color-card-bg);
    --color-surface-2: var(--color-page-bg-alt);
    --color-surface-alt: var(--color-page-bg-alt);
    --color-dark: var(--color-bg-dark);
    --color-dark-surface: var(--color-bg-deeper);

    --color-accent-dark: #A07F2A;
    --color-accent-light: #D9B96A;
    --color-accent-glow: rgba(196,155,60,0.14);
    --color-accent-bg: var(--color-card-bg);
    --color-gold: var(--color-accent);
    --color-gold-dark: var(--color-accent-dark);
    --color-gold-light: var(--color-accent-soft);

    /* Borders & shadows */
    --border-default: 1px solid var(--color-card-border);
    --shadow-sm: 0 1px 2px rgba(16,36,58,0.06);
    --shadow-md: 0 4px 6px -1px rgba(16,36,58,0.07), 0 2px 4px -2px rgba(16,36,58,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(16,36,58,0.08), 0 4px 10px -4px rgba(16,36,58,0.04);
    --shadow-feature: 0 20px 60px -20px rgba(16,36,58,0.35);
    --shadow-card-hover: 0 14px 36px -20px rgba(16,36,58,0.28);
    --shadow-brass: 0 10px 28px -10px rgba(196,155,60,0.6);
    --shadow-white: 0 10px 28px -10px rgba(0,0,0,0.35);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-body-text);
    background: var(--color-page-bg);
    overflow-x: hidden;
}

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

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}
a:hover { opacity: 0.82; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-body-text);
    letter-spacing: -0.01em;
}

h1 { font-size: 5.5rem; line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: 3.5rem; line-height: 1.05; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }

p { font-family: 'Geist', sans-serif; }

/* Accent word inside H1/H2/H3 — italic brass */
h1 span, h2 span, h3 span,
.section-title span,
.hero h1 span,
.page-hero h1 span,
.cta-banner h2 span {
    color: var(--color-accent);
    font-style: italic;
    font-weight: inherit;
}

/* --- Eyebrow pill (used on hero, sub-pages) --- */
.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--color-accent-tint);
    color: var(--color-accent);
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent-border);
    backdrop-filter: blur(4px);
}

.hero-badge svg, .eyebrow svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* --- Section label (no pill, just brass text) --- */
.section-label {
    display: inline-block;
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

/* --- Section title + divider --- */
.section-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--color-body-text);
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 20px;
    border-radius: 2px;
}

.section-title.center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    color: var(--color-body-mute);
    max-width: 640px;
    line-height: 1.7;
    margin-top: 28px;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 56px;
}

.section { padding: 96px 0; background: var(--color-page-bg); }
.section-alt { background: var(--color-page-bg-alt); }

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-on-dark);
}

.section-dark .section-subtitle { color: var(--color-mute-on-dark); }

.text-center { text-align: center; }

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

.grid-3-3-2 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.grid-3-3-2 > * { grid-column: span 2; }
.grid-3-3-2 > :nth-child(7) { grid-column: 2 / span 2; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary,
.btn-gold {
    background: var(--color-accent);
    color: var(--color-on-accent);
    box-shadow: var(--shadow-brass);
}

.btn-primary:hover,
.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -10px rgba(196,155,60,0.72);
    color: var(--color-on-accent);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--color-text-on-dark);
    border-color: rgba(236,239,243,0.35);
}

.btn-outline:hover {
    background: rgba(236,239,243,0.06);
    border-color: var(--color-text-on-dark);
    color: var(--color-text-on-dark);
    opacity: 1;
}

.btn-white {
    background: #FFFFFF;
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-white);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -10px rgba(0,0,0,0.45);
    color: var(--color-bg-dark);
    opacity: 1;
}

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn:disabled,
.btn[aria-busy="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Header / Utility Bar / Nav --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-top {
    background: var(--color-bg-deeper);
    color: var(--color-mute-on-dark);
    padding: 11px 0;
    font-family: 'Geist', sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--color-text-on-dark);
    transition: color var(--transition-fast);
}

.header-top a:hover { color: var(--color-accent); opacity: 1; }

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-main {
    background: var(--color-card-bg);
    padding: 18px 0;
    border-bottom: 1px solid var(--color-card-border);
    transition: padding var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled .header-main {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo img,
.logo-mark {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.logo-text small {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-body-mute);
    margin-top: 5px;
}

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

.nav a {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-body-text);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav a:hover {
    background: var(--color-accent-tint);
    color: var(--color-accent);
    opacity: 1;
}

.nav a.active {
    background: var(--color-accent-tint);
    color: var(--color-accent);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.header-phone svg {
    width: 14px;
    height: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-body-text);
    margin: 5px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* --- Hero (home) --- */
.hero {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: 96px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/paint-room-ladder.jpg') center/cover no-repeat;
    opacity: 0.12;
    filter: grayscale(0.4) contrast(0.9);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(196,155,60,0.18) 0%, transparent 60%),
        linear-gradient(rgba(16,36,58,0.9), rgba(10,24,40,0.95));
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge { margin-bottom: 32px; }

.hero h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 88px;
    font-weight: 500;
    color: var(--color-text-on-dark);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero-text {
    font-family: 'Geist', sans-serif;
    color: var(--color-mute-on-dark);
    font-size: 17px;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    gap: 32px;
    max-width: 700px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(236,239,243,0.13);
}

.hero-stat { text-align: center; flex: 1; }

.hero-stat-number {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 56px;
    font-weight: 500;
    font-style: italic;
    color: var(--color-accent);
    line-height: 1;
}

.hero-stat-label {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: var(--color-mute-on-dark);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* --- Page hero (sub-pages: services, plan, contact, request, about) --- */
.page-hero {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: 120px 0 110px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/cabinet-hinge.png') center/cover no-repeat;
    opacity: 0.12;
    filter: grayscale(0.4) contrast(0.9);
    z-index: 0;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(196,155,60,0.16) 0%, transparent 65%),
        linear-gradient(rgba(16,36,58,0.92), rgba(10,24,40,0.96));
    z-index: 1;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 80px;
    font-weight: 500;
    color: var(--color-text-on-dark);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.page-hero p {
    font-family: 'Geist', sans-serif;
    font-size: 17px;
    color: var(--color-mute-on-dark);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Trust Strip --- */
.credential-bar {
    background: var(--color-bg-deeper);
    color: var(--color-text-on-dark);
    padding: 22px 0;
    border-top: 1px solid rgba(196,155,60,0.18);
}

.credential-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: var(--color-text-on-dark);
    font-weight: 500;
}

.credential-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
}

/* --- EPA Lead-Safe Certification banner --- */
.cert-banner { padding: 56px 0; }

.cert-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    max-width: 880px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.cert-card-badge { width: 120px; height: auto; flex-shrink: 0; }

.cert-card-text h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-body-text);
    margin: 0 0 8px;
    line-height: 1.25;
}

.cert-card-text p {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: var(--color-body-mute);
    line-height: 1.6;
    margin: 0 0 10px;
}

.cert-card-link {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}
.cert-card-link:hover { text-decoration: underline; }

/* Inline badge for individual service cards */
.cert-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--color-accent-glow);
    border: 1px solid var(--color-accent-border);
    border-radius: 8px;
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: var(--color-body-mute);
    line-height: 1.5;
}
.cert-inline img { width: 56px; height: auto; flex-shrink: 0; }
.cert-inline a { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.cert-inline a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .cert-card { flex-direction: column; text-align: center; gap: 20px; padding: 24px; }
}

/* --- Cards (service/plan/feature) --- */
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 34px 30px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-accent { border-left: 3px solid var(--color-accent); }

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

/* Banner thumbnail at the top of a service card.
   Bleeds edge-to-edge past the card's 30px horizontal / 34px top padding.
   Requires .card to have overflow: hidden so the thumb is clipped to the
   card's rounded corners. max-width: none overrides the base img rule. */
.card-thumb {
    display: block;
    width: calc(100% + 60px);
    max-width: none;
    margin: -34px -30px 26px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--color-card-border);
    background: var(--color-page-bg-alt);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--color-accent-tint);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.card h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.card p {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: var(--color-body-mute);
    line-height: 1.6;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.card-heading .card-icon { margin: 0; flex-shrink: 0; }
.card-heading h3 { margin: 0; }

/* --- Process / Four Steps --- */
.process-section {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: 96px 0 88px;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(196,155,60,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.process-section .container { position: relative; z-index: 1; }

.process-section .section-title,
.process-section h1, .process-section h2, .process-section h3 { color: var(--color-text-on-dark); }
.process-section .section-subtitle { color: var(--color-mute-on-dark); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 72px;
}

.process-step { text-align: center; }

.process-number {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 92px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent);
    opacity: 0.55;
    line-height: 0.9;
    margin-bottom: 14px;
}

.process-step h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 14px;
}

.process-step p {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: var(--color-mute-on-dark);
    line-height: 1.6;
}

/* --- About section (image + content two-column) --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    object-fit: cover;
    box-shadow: var(--shadow-feature);
    background: var(--color-page-bg-alt);
}

.about-content { display: flex; flex-direction: column; }

.about-content .section-subtitle,
.about-content p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    color: var(--color-body-mute);
    line-height: 1.7;
    margin-top: 28px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    color: var(--color-body-text);
    line-height: 1.5;
}

.about-list li svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Work Gallery (Services in Practice) --- */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.work-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 14px 36px -20px rgba(16,36,58,0.28);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.work-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px -20px rgba(16,36,58,0.4);
}

.work-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.work-card-body { padding: 22px 24px 24px; }

.work-card h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 6px;
}

.work-card p {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    color: var(--color-body-mute);
    line-height: 1.55;
}

/* --- Values (4-card grid with top brass border) --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.value-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 36px 30px 40px;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 1px 2px rgba(16,36,58,0.05);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.value-card h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.value-card p {
    font-family: 'Geist', sans-serif;
    font-size: 14.5px;
    color: var(--color-body-mute);
    line-height: 1.65;
}

/* --- Family (3-card grid with thumb strip + you-are-here) --- */
.family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.family-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.family-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.family-card.current { border-left: 3px solid var(--color-accent); }

.family-card-thumb {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--color-card-border);
}

.family-card:not(.current) .family-card-thumb {
    filter: saturate(0.92);
}

.family-card-body {
    padding: 36px 32px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.family-card .card-icon { margin-bottom: 22px; }

.family-card h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 14px;
}

.family-card p {
    font-family: 'Geist', sans-serif;
    font-size: 14.5px;
    color: var(--color-body-mute);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 24px;
}

/* --- Plan / Pricing Cards (service plan page) --- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.plan-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.plan-card.featured {
    border-top: 3px solid var(--color-accent);
    background: linear-gradient(180deg, rgba(196,155,60,0.04) 0%, var(--color-card-bg) 60%);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-family: 'Geist', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.plan-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 8px;
}

.plan-tagline {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: var(--color-body-mute);
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: var(--border-default);
}

.plan-price-amount {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-accent);
    line-height: 1;
}

.plan-price-period {
    font-family: 'Geist', sans-serif;
    color: var(--color-body-mute);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-family: 'Geist', sans-serif;
    color: var(--color-body-text);
    font-size: 0.95rem;
}

.plan-features li svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.plan-features li.muted {
    color: var(--color-body-mute);
    opacity: 0.6;
}

.plan-features li.muted svg { color: var(--color-body-mute); }

.plan-card .btn { width: 100%; }

/* --- Areas / Coverage --- */
.areas-section {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: 96px 0;
    overflow: hidden;
    text-align: center;
}

.areas-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(196,155,60,0.16) 0%, transparent 60%);
    pointer-events: none;
}

.areas-section .container { position: relative; z-index: 2; }

.areas-section .section-title { color: var(--color-text-on-dark); }
.areas-section .section-subtitle { color: var(--color-mute-on-dark); }

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1100px;
    margin: 56px auto 0;
}

.area-tag {
    padding: 12px 22px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(236,239,243,0.2);
    background: rgba(255,255,255,0.04);
    color: var(--color-text-on-dark);
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.area-tag:hover {
    background: rgba(196,155,60,0.12);
    border-color: var(--color-accent-border);
    color: var(--color-accent-soft);
}

/* --- CTA Banner / CTA Band --- */
.cta-banner {
    position: relative;
    background: var(--color-bg-dark);
    background-image: radial-gradient(ellipse at 50% 50%, rgba(196,155,60,0.18) 0%, transparent 70%);
    color: var(--color-text-on-dark);
    padding: 88px 0;
    overflow: hidden;
    text-align: center;
}

.cta-banner .container { position: relative; z-index: 2; }

.cta-banner h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    color: var(--color-text-on-dark);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}

.cta-banner h2 span {
    color: var(--color-accent-soft);
    font-style: italic;
}

.cta-banner p {
    font-family: 'Geist', sans-serif;
    color: var(--color-mute-on-dark);
    font-size: 16px;
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto 32px;
}

/* --- Footer --- */
.footer {
    background: var(--color-bg-deeper);
    color: var(--color-mute-on-dark);
    padding: 64px 0 36px;
    font-family: 'Geist', sans-serif;
}

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

.footer-brand .logo-text {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--color-text-on-dark);
    line-height: 1;
}

.footer-brand .logo-text small {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 6px;
}

.footer-brand p {
    font-family: 'Geist', sans-serif;
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 320px;
    color: var(--color-mute-on-dark);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(236,239,243,0.13);
    border-radius: var(--radius-full);
    color: var(--color-mute-on-dark);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: rgba(196,155,60,0.08);
    opacity: 1;
}

.footer-col h4 {
    font-family: 'Geist', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-on-dark);
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li,
.footer-col a {
    font-family: 'Geist', sans-serif;
    font-size: 13.5px;
    color: var(--color-mute-on-dark);
    line-height: 1.5;
}

.footer-col a:hover { color: var(--color-text-on-dark); opacity: 1; }

.footer-bottom {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid rgba(236,239,243,0.13);
    display: flex;
    justify-content: space-between;
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    color: var(--color-mute-on-dark);
}

.footer-bottom a { color: var(--color-mute-on-dark); }
.footer-bottom a:hover { color: var(--color-text-on-dark); opacity: 1; }

.footer-legal {
    display: flex;
    gap: 22px;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Forms --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

/* Contact info column (contact page) */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--color-accent-tint);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.contact-info-item h4 {
    font-family: 'Geist', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-info-item p {
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    color: var(--color-body-text);
    line-height: 1.55;
    margin: 0;
}

.contact-info-item p a {
    color: var(--color-body-text);
    font-weight: 600;
}

.contact-info-item p a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-body-text);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--color-urgent);
    margin-left: 2px;
}

.form-group .help-text {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 0.825rem;
    color: var(--color-body-mute);
    margin-top: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: var(--border-default);
    border-radius: var(--radius-sm);
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    color: var(--color-body-text);
    background: var(--color-card-bg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-tint);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus),
.form-group textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: var(--color-urgent);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

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

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Urgency radio segmented control */
.urgency-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.urgency-option { position: relative; }

.urgency-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.urgency-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-sm);
    background: var(--color-card-bg);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: 'Geist', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-body-text);
    text-align: center;
    margin-bottom: 0;
}

.urgency-option label small {
    font-weight: 400;
    color: var(--color-body-mute);
    font-size: 0.75rem;
}

.urgency-option input:checked + label {
    border-color: var(--color-accent);
    background: var(--color-accent-tint);
    color: var(--color-accent);
}

.urgency-option input[value="emergency"]:checked + label {
    border-color: var(--color-urgent);
    background: var(--color-urgent-bg);
    color: var(--color-urgent);
}

/* File upload */
.file-upload {
    border: 2px dashed var(--color-card-border);
    border-radius: var(--radius-sm);
    padding: 32px 20px;
    text-align: center;
    background: var(--color-page-bg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--color-accent);
    background: var(--color-accent-tint);
}

.file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-icon { color: var(--color-body-mute); margin-bottom: 8px; }
.file-upload-icon svg { width: 32px; height: 32px; margin: 0 auto; }

.file-upload-text {
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-body-text);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-family: 'Geist', sans-serif;
    font-size: 0.8rem;
    color: var(--color-body-mute);
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--color-card-bg);
    border: var(--border-default);
    border-radius: var(--radius-sm);
    font-family: 'Geist', sans-serif;
    font-size: 0.875rem;
}

.file-list-item-name {
    color: var(--color-body-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-list-item-size {
    color: var(--color-body-mute);
    font-size: 0.8rem;
    margin-left: 8px;
    flex-shrink: 0;
}

.file-list-item button {
    background: none;
    border: none;
    color: var(--color-body-mute);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.file-list-item button:hover { color: var(--color-urgent); }

/* Form status messages */
.form-status {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: 'Geist', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-status.visible { display: block; }

.form-status.success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-status.error {
    background: var(--color-urgent-bg);
    color: var(--color-urgent);
    border: 1px solid var(--color-urgent);
}

/* --- FAQ accordion --- */
.faq-list {
    max-width: 880px;
    margin: 56px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-card-bg);
    border: var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: var(--color-card-bg);
    border: none;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-body-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
    text-align: left;
}

.faq-question:hover { background: var(--color-page-bg); }

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-body-mute);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-family: 'Geist', sans-serif;
    color: var(--color-body-mute);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Confirmation --- */
.confirmation {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 24px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--color-accent-tint);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-icon svg { width: 40px; height: 40px; }

/* --- Responsive --- */
@media (max-width: 1280px) {
    .container, .container-narrow { padding: 0 40px; }
    .hero h1 { font-size: 72px; }
    .page-hero h1 { font-size: 64px; }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .page-hero h1 { font-size: 52px; }
    .section-title, .cta-banner h2 { font-size: 44px; }
    .process-number { font-size: 72px; }
    .grid-4, .process-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .work-gallery, .family-grid, .plan-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; max-width: 460px; }
}

@media (max-width: 768px) {
    .container, .container-narrow { padding: 0 20px; }
    .header-top { display: none; }
    .header-main { padding: 12px 0; }
    .header-phone { display: none; }
    .logo img, .logo-mark { width: 36px; }
    .logo-text { font-size: 20px; }
    .logo-text small { font-size: 9px; }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-card-bg);
        padding: 16px;
        border-top: var(--border-default);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    .nav.open { display: flex; }
    .nav a { width: 100%; padding: 12px 16px; }
    .nav-toggle { display: block; }

    .hero { padding: 64px 0 56px; }
    .hero h1 { font-size: 40px; line-height: 1.05; }
    .hero-text { font-size: 16px; margin-bottom: 32px; }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 40px;
        padding-top: 32px;
    }
    .hero-stat { flex: 0 0 calc(50% - 12px); }
    .hero-stat-number { font-size: 40px; }

    .page-hero { padding: 80px 0 64px; }
    .page-hero h1 { font-size: 40px; }
    .page-hero p { font-size: 15px; }

    .section { padding: 64px 0; }
    .section-title, .cta-banner h2, h2 { font-size: 32px; }
    h1 { font-size: 40px; }

    .grid-2, .grid-3, .grid-3-3-2, .grid-4,
    .process-grid, .work-gallery, .values-grid, .family-grid,
    .about-grid, .contact-grid, .plan-grid {
        grid-template-columns: 1fr;
    }
    .grid-3-3-2 > *,
    .grid-3-3-2 > :nth-child(7) { grid-column: auto; }

    .about-grid { gap: 40px; }
    .about-image { max-width: 100%; }

    .credential-bar .container { gap: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { justify-content: center; }

    .form-row { grid-template-columns: 1fr; }
    .urgency-group { grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
    .container, .container-narrow { padding: 0 16px; }
    .hero h1 { font-size: 32px; }
    .page-hero h1 { font-size: 32px; }
    .cta-banner h2, h2, .section-title { font-size: 28px; }
    .process-number { font-size: 60px; }
    .hero-badge {
        font-size: 11px;
        letter-spacing: 0.1em;
        padding: 7px 14px;
    }
}
