/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #0f172a; color: #f0fdf4; padding: .5rem 1rem;
    border-radius: 0 0 .5rem .5rem; z-index: 200; font-size: .875rem;
}
.skip-link:focus { top: 0; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --midnight: #0f172a;
    --midnight-light: #1e293b;
    --mint: #7dd3c0;
    --mint-light: #bdf0e6;
    --mint-pale: #e6faf5;
    --mint-50: #f0fdf9;
    --cream: #f8fafc;
    --warm-white: #fefcf7;
    --text: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --radius: .75rem;
    --radius-lg: 1.25rem;
    --shadow: 0 1px 3px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.06);
    --shadow-lg: 0 4px 24px rgba(15,23,42,.10), 0 1px 4px rgba(15,23,42,.06);
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; border-radius: 100px;
    font-weight: 500; font-size: .9375rem;
    transition: background .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: #0f172a; color: #f0fdf4;
    border: 2px solid #0f172a;
}
.btn-primary:hover { background: #1e293b; border-color: #1e293b; }
.btn-secondary {
    background: transparent; color: #0f172a;
    border: 2px solid #0f172a;
}
.btn-secondary:hover { background: #f0fdf4; }
.btn-small { padding: .5rem 1.25rem; font-size: .8125rem; }
.btn-white { background: #fff; color: #0f172a; border: 2px solid #fff; }
.btn-white:hover { background: #f0fdf4; border-color: #bdf0e6; }
.btn-outline-white {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Tags ───────────────────────────────────────── */
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: #0d9488; background: var(--mint-pale);
    padding: .375rem .875rem; border-radius: 100px;
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; color: #0f172a; }
.section-sub { font-size: 1.0625rem; color: var(--text-muted); max-width: 560px; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248,250,252,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: .625rem; }
.logo-icon { flex-shrink: 0; }
.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700; font-size: 1.125rem; color: #0f172a;
}
.logo-text--light { color: #f8fafc; }
.nav { position: relative; }
.nav-toggle {
    display: none; padding: .5rem; color: #0f172a;
    border-radius: .5rem;
}
.nav-menu {
    display: flex; align-items: center; gap: .25rem;
}
.nav-menu a {
    padding: .5rem .875rem; border-radius: 100px;
    font-size: .9375rem; font-weight: 500; color: var(--text-muted);
    transition: color .15s, background .15s;
}
.nav-menu a:hover { color: #0f172a; background: var(--mint-pale); }
.nav-menu .btn { margin-left: .5rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 60%, #1e3a5c 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex; align-items: center;
}
.hero-bg-pattern {
    position: absolute; inset: 0; opacity: .06;
    background-image: radial-gradient(circle at 25% 25%, #7dd3c0 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, #7dd3c0 1px, transparent 1px);
    background-size: 48px 48px, 32px 32px;
    pointer-events: none;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    padding: 5rem 0; position: relative; z-index: 1;
}
.hero-content { color: #f8fafc; }
.hero-badge {
    display: inline-block; font-size: .75rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: #7dd3c0; background: rgba(125,211,192,.12);
    border: 1px solid rgba(125,211,192,.25);
    padding: .375rem .875rem; border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700; line-height: 1.15;
    color: #f8fafc; margin-bottom: 1.25rem;
}
.hero-headline em {
    font-style: italic; color: #7dd3c0;
}
.hero-sub {
    font-size: 1.0625rem; line-height: 1.7;
    color: #94a3b8; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-image { position: relative; }
.hero-image img {
    width: 100%; height: 620px; object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.hero-image::after {
    content: '';
    position: absolute; inset: 1.5rem -1.5rem -1.5rem 0;
    border: 2px solid rgba(125,211,192,.3);
    border-radius: var(--radius-lg); z-index: -1;
}

/* ── Pillars ────────────────────────────────────────────── */
.pillars { padding: 5rem 0; background: var(--cream); }
.pillars-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.pillar-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 2.25rem; border: 1px solid var(--border);
    transition: box-shadow .2s, transform .2s;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pillar-icon {
    width: 56px; height: 56px; border-radius: 1rem;
    background: var(--mint-pale);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.pillar-card h3 { font-size: 1.25rem; margin-bottom: .625rem; }
.pillar-card p { color: var(--text-muted); font-size: .9375rem; line-height: 1.65; }

/* ── Services ───────────────────────────────────────────── */
.services { padding: 6rem 0; background: #fff; }
.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.service-card {
    display: grid; grid-template-columns: 200px 1fr;
    background: var(--cream); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
    transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.service-card-body h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.service-card-body p { color: var(--text-muted); font-size: .9375rem; line-height: 1.65; }
.services-note {
    text-align: center; color: var(--text-muted);
    font-size: .875rem; font-style: italic;
}

/* ── About ──────────────────────────────────────────────── */
.about { padding: 6rem 0; background: linear-gradient(180deg, var(--cream) 0%, var(--mint-50) 100%); }
.about-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.about-images { position: relative; }
.about-img-main img {
    width: 100%; height: 560px; object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-img-accent {
    position: absolute; bottom: -2rem; right: -1.5rem;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid #fff;
}
.about-img-accent img { width: 300px; height: 200px; object-fit: cover; }
.about-content .section-tag { margin-bottom: 1rem; }
.about-content .section-title { margin-bottom: 1.25rem; }
.about-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.about-stats {
    display: flex; gap: 2.5rem; margin: 2rem 0;
    padding: 1.5rem 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem; font-weight: 700; color: #0d9488;
}
.stat-label { font-size: .8125rem; color: var(--text-muted); }
.about-content .btn { margin-top: 1rem; }

/* ── Gallery ────────────────────────────────────────────── */
.gallery { padding: 6rem 0; background: #fff; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── CTA ────────────────────────────────────────────────── */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 50%, #1e3a5c 100%);
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; inset: 0; opacity: .05;
    background-image: radial-gradient(circle at 20% 80%, #7dd3c0 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, #7dd3c0 1px, transparent 1px);
    background-size: 40px 40px, 28px 28px;
    pointer-events: none;
}
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 3rem; position: relative; z-index: 1;
    flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-content .section-tag { color: #7dd3c0; background: rgba(125,211,192,.12); border: 1px solid rgba(125,211,192,.25); }
.cta-content .section-title { color: #f8fafc; margin-bottom: .75rem; }
.cta-content p { color: #94a3b8; font-size: 1.0625rem; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact { padding: 6rem 0; background: var(--cream); }
.contact-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.contact-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.7; 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: 48px; height: 48px; border-radius: .75rem;
    background: var(--mint-pale); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #0d9488;
}
.contact-item strong { display: block; font-size: .9375rem; margin-bottom: .125rem; }
.contact-item span, .contact-item a {
    color: var(--text-muted); font-size: .9375rem; line-height: 1.6;
}
.contact-item a:hover { color: #0d9488; text-decoration: underline; }

/* ── Form ───────────────────────────────────────────────── */
.contact-form-wrap {
    background: #fff; border-radius: var(--radius-lg);
    padding: 2.5rem; border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    font-size: 1.5rem; margin-bottom: .375rem;
}
.form-note { color: var(--text-muted); font-size: .875rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.125rem; }
.form-group label {
    font-size: .8125rem; font-weight: 600;
    color: #334155; letter-spacing: .02em;
}
.form-group input, .form-group select, .form-group textarea {
    padding: .75rem 1rem; border-radius: .625rem;
    border: 1.5px solid var(--border);
    font-family: inherit; font-size: .9375rem;
    color: #0f172a; background: var(--cream);
    transition: border-color .15s, box-shadow .15s;
    outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #7dd3c0; box-shadow: 0 0 0 3px rgba(125,211,192,.2);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    display: flex; align-items: center; gap: .75rem;
    margin-top: 1rem; padding: 1rem; border-radius: .625rem;
    background: var(--mint-pale); color: #0f172a;
    font-size: .9375rem; font-weight: 500;
}
.form-success[hidden] { display: none; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #0f172a; color: #94a3b8; padding: 4rem 0 0; }
.footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
}
.footer-brand p { margin-top: .75rem; font-size: .9375rem; line-height: 1.6; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-links strong, .footer-contact strong {
    color: #f8fafc; font-size: .875rem; font-weight: 600;
    margin-bottom: .25rem;
}
.footer-links a, .footer-contact a {
    font-size: .9375rem; color: #94a3b8;
    transition: color .15s;
}
.footer-links a:hover, .footer-contact a:hover { color: #7dd3c0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
}
.footer-bottom p { font-size: .8125rem; color: #64748b; text-align: center; }

/* ── Back to Top ────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: #0f172a; color: #7dd3c0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(1rem);
    transition: opacity .25s, transform .25s;
    pointer-events: none; z-index: 50;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #1e293b; }

/* ── Scroll Reveal (progressive enhancement) ───────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0; transform: translateY(1.5rem);
        transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding: 4rem 0; text-align: center; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-image img { height: 420px; }
    .hero-image::after { display: none; }
    .pillars-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { grid-template-columns: 160px 1fr; }
    .about-inner { grid-template-columns: 1fr; }
    .about-images { max-width: 480px; margin: 0 auto; }
    .about-img-accent { right: -.75rem; bottom: -1.25rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-menu {
        display: none; flex-direction: column;
        position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
        background: #fff; border: 1px solid var(--border);
        border-radius: var(--radius); padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu a { padding: .75rem 1rem; width: 100%; text-align: center; }
    .nav-menu .btn { margin-left: 0; justify-content: center; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero-headline { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .service-card { grid-template-columns: 1fr; }
    .service-card-img img { height: 200px; }
    .about-img-main img { height: 360px; }
    .about-img-accent img { width: 200px; height: 140px; }
    .about-stats { flex-direction: column; gap: 1.25rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
