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

:root {
    --navy:      #0A2E4D;
    --navy-light:#134B74;
    --mint:      #2DD4BF;
    --mint-dark: #14B8A6;
    --mint-light:#CCFBF1;
    --cream:     #F0FDFA;
    --white:     #FFFFFF;
    --gray-50:   #F8FAFC;
    --gray-100:  #F1F5F9;
    --gray-200:  #E2E8F0;
    --gray-400:  #94A3B8;
    --gray-500:  #64748B;
    --gray-700:  #334155;
    --gray-900:  #0F172A;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(10,46,77,.08);
    --shadow-md: 0 4px 20px rgba(10,46,77,.10);
    --shadow-lg: 0 12px 40px rgba(10,46,77,.14);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
label { font-weight: 500; font-size: .875rem; color: var(--gray-700); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--navy); color: var(--white);
    padding: .5rem 1rem; border-radius: var(--radius-sm);
    z-index: 9999; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--font-display);
    font-size: 1.15rem; color: var(--navy);
}
.logo-icon { color: var(--navy); flex-shrink: 0; }
.logo-accent { color: var(--mint-dark); }

.nav-links {
    display: flex; align-items: center; gap: .25rem;
    font-size: .9375rem; font-weight: 500;
}
.nav-links a {
    padding: .5rem .875rem; border-radius: var(--radius-sm);
    color: var(--gray-700); transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }

.mobile-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--gray-100); }
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block; width: 20px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }
.mobile-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600; font-size: .9375rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--navy); color: var(--white);
    box-shadow: 0 4px 14px rgba(10,46,77,.3);
}
.btn-primary:hover { background: var(--navy-light); box-shadow: 0 6px 20px rgba(10,46,77,.35); }

.btn-secondary {
    background: var(--white); color: var(--navy);
    border: 2px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--gray-50); }

.btn-mint {
    background: var(--mint); color: var(--navy);
    box-shadow: 0 4px 14px rgba(45,212,191,.4);
}
.btn-mint:hover { background: var(--mint-dark); color: var(--white); box-shadow: 0 6px 20px rgba(45,212,191,.5); }

.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn-small { padding: .5rem 1rem; font-size: .8125rem; border-radius: var(--radius-sm); }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--navy);
    overflow: hidden;
    padding: 5rem 0 4rem;
    min-height: 85vh;
    display: flex; align-items: center;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45,212,191,.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(45,212,191,.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(45,212,191,.15); color: var(--mint);
    padding: .4rem .875rem; border-radius: 50px;
    font-size: .8125rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    line-height: 1.1; color: var(--white);
    margin-bottom: 1.25rem;
}
.text-mint { color: var(--mint); }

.hero-subtitle {
    font-size: 1.125rem; color: rgba(255,255,255,.75);
    max-width: 480px; margin-bottom: 2rem; line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2.5rem; }

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.trust-item {
    display: flex; align-items: center; gap: .5rem;
    color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500;
}
.trust-item svg { color: var(--mint); flex-shrink: 0; }

/* Hero visual cards */
.hero-visual { position: relative; height: 480px; }
.hero-card {
    position: absolute; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card-1 { width: 260px; height: 320px; top: 0; right: 0; }
.hero-card-2 { width: 220px; height: 270px; bottom: 40px; left: 0; }
.card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(10,46,77,.85), transparent);
    color: var(--white); font-weight: 600; font-size: .9375rem;
}
.hero-stat {
    position: absolute; bottom: 0; right: 40px;
    background: var(--mint); color: var(--navy);
    padding: 1rem 1.5rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); text-align: center;
}
.stat-number { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.stat-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── Section shared ─────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: .8125rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--mint-dark); margin-bottom: .625rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    color: var(--navy); line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.0625rem; color: var(--gray-500);
    max-width: 560px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── Intro ──────────────────────────────────────────── */
.intro { padding: 6rem 0; background: var(--white); }
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.intro-image {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-text .section-title { margin-top: .5rem; }
.intro-text p { color: var(--gray-700); margin-bottom: 1rem; line-height: 1.75; }
.intro-features { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .875rem; }
.intro-feature {
    display: flex; align-items: center; gap: .75rem;
    font-weight: 500; color: var(--gray-900);
}
.feature-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--mint-light); color: var(--navy);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}

/* ── Services ───────────────────────────────────────── */
.services {
    padding: 6rem 0;
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--mint);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem; color: var(--navy);
    margin-bottom: .625rem;
}
.service-card p { color: var(--gray-500); font-size: .9375rem; line-height: 1.7; }

/* ── Why Us ─────────────────────────────────────────── */
.why-us { padding: 6rem 0; background: var(--white); }
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.why-intro { color: var(--gray-500); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 2rem; }
.why-features { display: flex; flex-direction: column; gap: 1.75rem; }
.why-feature {
    display: flex; gap: 1.25rem;
}
.why-feature-num {
    font-family: var(--font-display);
    font-size: 2rem; color: var(--mint);
    line-height: 1; flex-shrink: 0; opacity: .7;
}
.why-feature h4 {
    font-size: 1.0625rem; color: var(--navy);
    margin-bottom: .25rem;
}
.why-feature p { color: var(--gray-500); font-size: .9375rem; line-height: 1.65; }

.why-visual { position: relative; height: 560px; }
.why-image-main {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); height: 100%;
}
.why-image-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-accent {
    position: absolute; bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    background: var(--mint); color: var(--navy);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
}

/* ── CTA Banner ─────────────────────────────────────── */
.cta-banner {
    padding: 5rem 0;
    background: var(--navy);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(45,212,191,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white); line-height: 1.2; margin-bottom: .75rem;
}
.cta-subtitle { color: rgba(255,255,255,.7); font-size: 1.0625rem; max-width: 520px; line-height: 1.7; }
.cta-actions { flex-shrink: 0; }

/* ── Contact ────────────────────────────────────────── */
.contact { padding: 6rem 0; background: var(--gray-50); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.contact-info p { color: var(--gray-500); line-height: 1.75; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--mint-light); color: var(--navy);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.contact-item strong { display: block; color: var(--navy); font-size: .9375rem; margin-bottom: .125rem; }
.contact-item span, .contact-item a { color: var(--gray-500); font-size: .9375rem; line-height: 1.6; }
.contact-item a:hover { color: var(--mint-dark); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.contact-form h3, .form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem; color: var(--navy); margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: .375rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .9375rem;
    color: var(--gray-900); background: var(--gray-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(45,212,191,.15);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { text-align: center; font-size: .8125rem; color: var(--gray-400); margin-top: .875rem; }

/* Success state */
.form-success { text-align: center; padding: 1rem 0; }
.form-success .success-icon { color: var(--mint-dark); margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: .625rem; }
.form-success p { color: var(--gray-500); margin-bottom: 1.5rem; font-size: .9375rem; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
    background: var(--navy); color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem; padding-bottom: 3rem;
}
.logo-light { color: var(--white); }
.logo-light .logo-accent { color: var(--mint); }
.footer-brand p { margin-top: 1rem; font-size: .9375rem; line-height: 1.7; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
    color: var(--white); font-size: .9375rem; font-weight: 700;
    margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em;
}
.footer-links ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .9375rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--mint); }
.footer-contact p { font-size: .9375rem; line-height: 1.7; }
.footer-contact a { color: var(--mint); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: .8125rem; color: rgba(255,255,255,.4);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }
    .hero { min-height: auto; padding: 4rem 0 3rem; }
    .intro-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-visual { height: 360px; order: -1; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column; padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%); opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-links a { padding: .75rem 0; width: 100%; }
    .mobile-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrap { padding: 1.5rem; }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
