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

:root {
    --teal:        #0d7c8c;
    --teal-dark:   #0a6370;
    --teal-light:  #e8f4f6;
    --slate:       #334155;
    --slate-light: #64748b;
    --slate-muted: #94a3b8;
    --bg:          #fafbfc;
    --bg-alt:      #f1f5f9;
    --white:       #ffffff;
    --nav-h:       72px;
    --radius:      8px;
    --transition:  0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ───────────────────────────────────── */
.serif-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--slate);
    margin-bottom: 20px;
}

.section-header { text-align: center; margin-bottom: 64px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

.btn-light { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn-light:hover { background: var(--teal-light); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ───────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: box-shadow var(--transition), background var(--transition);
}

.nav.scrolled {
    background: rgba(250,251,252,0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--slate);
    letter-spacing: -0.01em;
}

.logo svg { color: var(--teal); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--slate-light);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--teal); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate);
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,43,60,0.92) 0%, rgba(15,43,60,0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
    max-width: 720px;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-muted);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: bobble 2s ease-in-out infinite;
}

@keyframes bobble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ─────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

/* ── Services Grid ────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-top: 2px solid transparent;
    transition: all var(--transition);
}

.service-card:hover { border-top-color: var(--teal); }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--teal-light);
    border-radius: var(--radius);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--slate-light);
    line-height: 1.7;
}

/* ── Process Timeline ─────────────────────────────── */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--teal), transparent);
    opacity: 0.3;
}

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

.step-number {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--teal);
    border: 1px solid var(--teal);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 12px;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--slate-light);
    line-height: 1.7;
}

/* ── About ────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 24px; }

.about-content p {
    font-size: 0.95rem;
    color: var(--slate-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--bg-alt);
}

.stat { text-align: left; }

.stat-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--teal);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-muted);
    letter-spacing: 0.04em;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); }

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px 20px;
    background: linear-gradient(to top, rgba(15,43,60,0.8), transparent);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--slate-light); margin-bottom: 40px; font-size: 0.95rem; }

.contact-details { display: flex; flex-direction: column; gap: 28px; }

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

.contact-item svg { flex-shrink: 0; margin-top: 2px; }

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 4px;
}

.contact-item p { font-size: 0.9rem; color: var(--slate-light); line-height: 1.6; }
.contact-item a:hover { color: var(--teal-dark); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--slate);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--slate);
    background: var(--bg);
    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(--teal);
    box-shadow: 0 0 0 3px rgba(13,124,140,0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: var(--teal-light);
    border-radius: var(--radius);
    color: var(--teal-dark);
    font-size: 0.9rem;
}

.form-success svg { flex-shrink: 0; color: var(--teal); }

/* ── Map ──────────────────────────────────────────── */
.map-section { height: 380px; filter: grayscale(0.4); }

/* ── Footer ───────────────────────────────────────── */
.footer { padding: 64px 0 0; }

.logo-light { color: var(--white); }
.logo-light svg { color: var(--teal); }

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

.footer-brand .logo { margin-bottom: 16px; }

.footer-tagline {
    font-size: 0.88rem;
    color: var(--slate-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--slate-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }

.footer-contact p { font-size: 0.88rem; color: var(--slate-muted); line-height: 1.8; }

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p { font-size: 0.8rem; color: var(--slate-muted); }

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

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
    .process-timeline::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(250,251,252,0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: none;
    }

    .nav-links.open {
        max-height: 420px;
        padding: 16px 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .nav-links li:last-child { padding: 8px 24px 16px; }

    .hero { min-height: 80vh; }
    .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-top: none; border-left: 2px solid transparent; }
    .service-card:hover { border-left-color: var(--teal); }

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

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 300px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 260px; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content { padding-left: 16px; padding-right: 16px; }
    .about-stats { flex-direction: column; gap: 20px; }
}
