:root {
    --navy: #0a1628;
    --navy-light: #142240;
    --navy-mid: #1a2d4d;
    --gold: #c9a227;
    --gold-light: #e4c76b;
    --gold-soft: rgba(201, 162, 39, 0.12);
    --white: #f8f9fb;
    --gray: #8b95a8;
    --gray-dark: #4a5568;
    --text: #1a2332;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 24px 64px rgba(10, 22, 40, 0.14);
    --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.18);
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --max-width: 1200px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--gold); }

::selection { background: var(--gold-soft); color: var(--navy); }

.skip-link {
    position: absolute; top: -100%; left: 1rem; z-index: 9999;
    background: var(--gold); color: var(--navy); padding: 0.75rem 1.25rem;
    font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
    background: rgba(10, 22, 40, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}
.header-inner {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--white); }
.logo-mark {
    width: 44px; height: 44px; background: transparent; color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; border-radius: 50%;
    border: 2px solid var(--gold); box-shadow: var(--shadow-gold);
    transition: transform var(--transition), box-shadow var(--transition);
}
.logo:hover .logo-mark { transform: scale(1.05); box-shadow: 0 0 28px rgba(201,162,39,0.35); }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.primary-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.primary-nav a {
    color: rgba(248, 249, 251, 0.88); text-decoration: none;
    padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 500;
    border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition);
}
.primary-nav a:hover, .primary-nav a.active { background: var(--gold-soft); color: var(--gold-light); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--white);
    margin: 5px 0; transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block; padding: 0.9375rem 1.875rem;
    font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
    border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy); border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(201, 162, 39, 0.28);
    color: var(--navy);
}
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.08); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Hero */
.hero {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 45%, var(--navy-light) 100%);
    color: var(--white); padding: 5.5rem 1.5rem 6.5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(201,162,39,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(201,162,39,0.06) 0%, transparent 45%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4), transparent);
}
.hero-inner {
    position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.35rem, 5vw, 3.65rem);
    line-height: 1.12; margin-bottom: 1.35rem; letter-spacing: -0.02em;
}
.hero-lead { font-size: 1.125rem; color: rgba(248,249,251,0.92); margin-bottom: 2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.hero-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,22,40,0.25) 100%);
    pointer-events: none;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.hero-stat strong {
    display: block; font-family: var(--font-display); font-size: 1.35rem;
    color: var(--gold-light); margin-bottom: 0.25rem;
}
.hero-stat span { font-size: 0.875rem; color: rgba(248,249,251,0.65); line-height: 1.5; }

/* Sections */
section { padding: 5.5rem 1.5rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    margin-bottom: 1rem; color: var(--navy); letter-spacing: -0.015em;
}
.section-header p { color: var(--gray-dark); font-size: 1.0625rem; }
.section-dark {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white); position: relative;
}
.section-dark::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201,162,39,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.section-dark .section-inner { position: relative; z-index: 1; }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(248,249,251,0.75); }
.section-alt { background: linear-gradient(180deg, #eef1f6 0%, #e8ecf2 100%); }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
    background: var(--white); border-radius: var(--radius); padding: 0;
    box-shadow: var(--shadow); border: 1px solid rgba(10,22,40,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__body { padding: 1.75rem 2rem 2rem; }
.card__img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__img { transform: scale(1.03); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--navy); font-weight: 600; }
.card p { color: var(--gray-dark); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 0.75rem; }
.card a { font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--navy); }
.card a:hover { color: var(--gold); }
.section-dark .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); backdrop-filter: blur(8px); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(248,249,251,0.78); }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.process-step {
    position: relative; padding: 2rem 1.5rem 1.5rem;
    background: rgba(255,255,255,0.04); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color var(--transition), background var(--transition);
}
.process-step:hover { background: rgba(255,255,255,0.07); border-color: rgba(201,162,39,0.3); }
.process-step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: -1rem; left: 1.5rem;
    width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; box-shadow: var(--shadow-gold);
}
.process-step h3 { font-size: 1.125rem; margin-bottom: 0.625rem; color: var(--white); }
.process-step p { font-size: 0.9375rem; color: rgba(248,249,251,0.78); line-height: 1.65; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.work-item {
    border-radius: var(--radius); overflow: hidden; background: var(--white);
    box-shadow: var(--shadow); border: 1px solid rgba(10,22,40,0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}
.work-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-item img { width: 100%; height: 240px; object-fit: cover; }
.work-body { padding: 1.75rem; }
.work-body h3 { font-size: 1.2rem; margin-bottom: 0.625rem; color: var(--navy); line-height: 1.35; }
.work-body p { font-size: 0.9375rem; color: var(--gray-dark); line-height: 1.65; }
.work-tag {
    display: inline-block; background: var(--gold-soft); color: var(--gold);
    padding: 0.3rem 0.85rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; margin-bottom: 0.75rem;
}

/* Page hero */
.page-hero {
    position: relative; color: var(--white); padding: 5.5rem 1.5rem;
    background: var(--navy); overflow: hidden; min-height: 300px;
    display: flex; align-items: center;
}
.page-hero--img { background-size: cover; background-position: center; }
.page-hero--img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(10,22,40,0.72) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.page-hero h1 {
    font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.85rem);
    margin-bottom: 1rem; letter-spacing: -0.02em;
}
.page-hero p { color: rgba(248,249,251,0.92); max-width: 640px; font-size: 1.125rem; line-height: 1.65; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img {
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    border: 1px solid rgba(10,22,40,0.06);
}
.split h2 {
    font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2rem);
    color: var(--navy); margin-bottom: 1.125rem; letter-spacing: -0.01em;
}
.split p { color: var(--gray-dark); margin-bottom: 1.125rem; line-height: 1.75; }

.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.map-section { padding: 0 1.5rem 5rem; max-width: var(--max-width); margin: 0 auto; }
.map-container {
    border-radius: var(--radius-lg); overflow: hidden; height: 440px;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(10,22,40,0.08);
    background: #eef1f6;
}
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 1.5rem; }
.contact-visual img { width: 100%; min-height: 280px; object-fit: cover; }

.service-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin: 3rem 0; }
.service-showcase img {
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    width: 100%; aspect-ratio: 3/2; object-fit: cover;
}
.service-showcase h2 {
    font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2rem);
    color: var(--navy); margin-bottom: 1rem;
}
.service-showcase p { color: var(--gray-dark); margin-bottom: 1rem; line-height: 1.75; }

/* Content */
.content-section { padding: 4.5rem 1.5rem; }
.content-narrow { max-width: 780px; margin: 0 auto; }
.content-wide { max-width: var(--max-width); margin: 0 auto; }
.content-section h2 {
    font-family: var(--font-display); font-size: clamp(1.55rem, 2.5vw, 1.875rem);
    margin: 2.75rem 0 1rem; color: var(--navy);
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; color: var(--navy); font-weight: 600; }
.content-section p { margin-bottom: 1.25rem; color: var(--gray-dark); line-height: 1.75; }
.content-section ul, .content-section ol { margin: 0 0 1.5rem 1.5rem; color: var(--gray-dark); }
.content-section li { margin-bottom: 0.625rem; line-height: 1.65; }

.content-intro {
    max-width: 780px; margin: 0 auto 3rem; text-align: center;
}
.content-intro p { color: var(--gray-dark); font-size: 1.125rem; line-height: 1.75; }

.feature-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    margin: 3rem 0;
}
.feature-box {
    padding: 1.75rem; background: var(--white); border-radius: var(--radius);
    border: 1px solid rgba(10,22,40,0.06); box-shadow: var(--shadow);
}
.feature-box h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.9375rem; color: var(--gray-dark); margin: 0; line-height: 1.6; }

/* Contact */
.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
    max-width: var(--max-width); margin: 0 auto; padding: 4.5rem 1.5rem; align-items: start;
}
.contact-info h2 { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 1rem; color: var(--navy); }
.contact-info address { font-style: normal; line-height: 1.85; color: var(--gray-dark); margin-bottom: 1.5rem; }
.contact-info p { color: var(--gray-dark); line-height: 1.75; }
.contact-form-wrap {
    background: var(--white); padding: 2.25rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(10,22,40,0.06);
}
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9375rem; color: var(--navy); }
.form-field input, .form-field textarea {
    width: 100%; padding: 0.8125rem 1rem; border: 1px solid #d0d5de;
    border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
    background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field textarea:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-errors { background: #fef2f2; border: 1px solid #fecaca; padding: 1rem; border-radius: var(--radius); margin-bottom: 1.25rem; color: #991b1b; }
.form-errors ul { margin: 0; padding-left: 1.25rem; }
.form-success { background: #ecfdf5; border: 1px solid #a7f3d0; padding: 2rem; border-radius: var(--radius); color: #065f46; }
.form-success h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Pricing note */
.pricing-note {
    background: linear-gradient(90deg, var(--gold-soft), transparent);
    border-left: 4px solid var(--gold); padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0;
}
.pricing-note p { margin: 0; color: var(--navy); font-weight: 500; }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--navy) 0%, #060d18 100%);
    color: var(--white); padding: 4.5rem 1.5rem 2rem;
}
.footer-grid {
    max-width: var(--max-width); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 3rem;
}
.footer-logo { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.75rem; }
.footer-tagline { color: var(--gray); font-size: 0.9375rem; line-height: 1.65; }
.footer-links h2, .footer-contact h2 {
    font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gold); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links a { color: rgba(248,249,251,0.82); text-decoration: none; font-size: 0.9375rem; line-height: 2.1; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact address { font-style: normal; font-size: 0.9375rem; line-height: 1.85; color: rgba(248,249,251,0.82); }
.footer-contact a { color: rgba(248,249,251,0.82); }
.footer-bottom {
    max-width: var(--max-width); margin: 0 auto; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
    color: var(--gray); font-size: 0.875rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 22, 40, 0.97); backdrop-filter: blur(10px);
    color: var(--white); padding: 1.5rem; box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
}
.cookie-inner { max-width: var(--max-width); margin: 0 auto; }
.cookie-banner h2 { font-size: 1.125rem; margin-bottom: 0.5rem; font-family: var(--font-display); }
.cookie-banner p { font-size: 0.9375rem; color: rgba(248,249,251,0.88); margin-bottom: 1rem; line-height: 1.6; }
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 404 */
.error-page { text-align: center; padding: 6rem 1.5rem; min-height: 50vh; }
.error-page h1 { font-family: var(--font-display); font-size: 6rem; color: var(--gold); }
.error-page p { color: var(--gray-dark); margin: 1rem 0 2rem; }

/* Legal pages */
.legal-content h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--navy); }
.legal-content h3 { font-size: 1.125rem; margin: 1.75rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--gray-dark); line-height: 1.75; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1.25rem; }

.section-footer-note {
    margin-top: 2rem; text-align: center;
    color: var(--gray-dark); font-size: 1rem; line-height: 1.65;
}

@media (max-width: 960px) {
    .hero-inner, .split, .contact-layout, .work-grid, .service-showcase, .feature-row { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .primary-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--navy-light); flex-direction: column; padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .primary-nav.open { display: flex; }
    .site-header { position: relative; }
    .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 600px) {
    .process-steps, .footer-grid { grid-template-columns: 1fr; }
    section { padding: 3.5rem 1.5rem; }
    .work-item img { height: 200px; }
}
