/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', system-ui, sans-serif;
}

/* ─── 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.revealed { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 1; transform: none; }

/* ─── NAV ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(248,250,252,0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: background 0.3s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: baseline; gap: 8px; }
.nav-logo-mark {
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
    color: var(--teal-700); letter-spacing: -0.02em;
}
.nav-logo-text {
    font-family: var(--font-sans); font-size: 0.75rem; font-weight: 300;
    color: var(--slate-600); letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.8125rem; font-weight: 300; color: var(--slate-600);
    letter-spacing: 0.04em; transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--teal-600); }
.nav-cta {
    font-size: 0.8125rem; font-weight: 400; color: var(--teal-700) !important;
    border: 1px solid var(--teal-600); border-radius: 100px;
    padding: 8px 20px; transition: background 0.2s ease, color 0.2s ease !important;
}
.nav-cta:hover { background: var(--teal-700); color: #fff !important; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle-line { display: block; width: 22px; height: 1.5px; background: var(--slate-700); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active .nav-toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(248,250,252,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.nav-overlay-link {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
    color: var(--slate-800); transition: color 0.2s ease;
}
.nav-overlay-link:hover { color: var(--teal-600); }
.nav-overlay-cta {
    font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400;
    color: var(--teal-700); border: 1px solid var(--teal-600);
    border-radius: 100px; padding: 12px 32px; margin-top: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}
.nav-overlay-cta:hover { background: var(--teal-700); color: #fff; }

/* ─── HERO ─── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: var(--slate-900); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(2,6,23,0.82) 0%, rgba(13,148,136,0.45) 50%, rgba(2,6,23,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 160px; width: 100%; }
.hero-card {
    max-width: 680px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 48px 44px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hero-eyebrow {
    font-size: 0.75rem; font-weight: 400; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--teal-400); margin-bottom: 20px;
}
.hero-headline {
    font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 300; line-height: 1.2; color: #fff;
    margin-bottom: 24px; letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--teal-300); }
.hero-sub {
    font-size: 1rem; font-weight: 300; line-height: 1.75;
    color: var(--slate-300); margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap;
}
.stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px; padding: 20px 28px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    min-width: 140px;
}
.stat-number {
    display: block; font-family: var(--font-serif); font-size: 1.75rem;
    font-weight: 500; color: var(--teal-300); line-height: 1;
}
.stat-label {
    display: block; font-size: 0.6875rem; font-weight: 300;
    color: var(--slate-400); letter-spacing: 0.08em; text-transform: uppercase;
    margin-top: 8px;
}
.hero-scroll {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--slate-400); font-size: 0.6875rem; letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px; height: 48px; background: linear-gradient(to bottom, var(--slate-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 400;
    letter-spacing: 0.06em; border-radius: 100px; padding: 14px 32px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--teal-600); color: #fff; border: 1px solid var(--teal-600);
}
.btn-primary:hover { background: var(--teal-700); border-color: var(--teal-700); box-shadow: 0 8px 32px rgba(13,148,136,0.3); }
.btn-ghost {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
.btn-full { width: 100%; }
.btn-white { background: #fff; color: var(--teal-800); border: 1px solid #fff; }
.btn-white:hover { background: var(--slate-100); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ─── SECTIONS ─── */
.section { padding: 120px 0; }
.section-header { margin-bottom: 0; }
.section-eyebrow {
    font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--teal-600); margin-bottom: 16px;
}
.section-headline {
    font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; line-height: 1.15; color: var(--slate-900);
    letter-spacing: -0.01em;
}

/* ─── INTRO ─── */
.intro { background: var(--slate-50); }
.intro-eyebrow {
    font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--teal-600); margin-bottom: 20px;
}
.intro-headline {
    font-family: var(--font-serif); font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 300; line-height: 1.2; color: var(--slate-900);
    margin-bottom: 28px; letter-spacing: -0.01em;
}
.intro-text {
    font-size: 1.0625rem; font-weight: 300; line-height: 1.85;
    color: var(--slate-600);
}

/* ─── SERVICES ─── */
.services { background: #fff; }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: 16px; padding: 40px 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
    border-color: var(--teal-300); box-shadow: 0 12px 40px rgba(13,148,136,0.08);
    transform: translateY(-4px);
}
.service-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.service-icon svg { width: 22px; height: 22px; color: var(--teal-700); }
.service-title {
    font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500;
    color: var(--slate-900); margin-bottom: 14px;
}
.service-desc {
    font-size: 0.9375rem; font-weight: 300; line-height: 1.75;
    color: var(--slate-600);
}

/* ─── ABOUT ─── */
.about { background: var(--slate-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-text {
    font-size: 1rem; font-weight: 300; line-height: 1.85;
    color: var(--slate-600); margin-bottom: 20px;
}
.about-values { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; align-items: flex-start; gap: 20px; }
.value-label {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--teal-700); white-space: nowrap;
    padding-top: 2px;
}
.value-line {
    flex: 1; height: 1px; background: var(--slate-200); min-width: 32px;
}
.value-desc { font-size: 0.9375rem; font-weight: 300; color: var(--slate-600); line-height: 1.6; }

/* ─── GALLERY ─── */
.gallery { background: #fff; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative; border-radius: 14px; overflow: hidden;
    aspect-ratio: auto;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 3/4; }
.gallery-item:nth-child(4) { aspect-ratio: 4/5; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,6,23,0.7) 0%, transparent 60%);
    display: flex; align-items: flex-end; padding: 24px;
    opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
    font-family: var(--font-serif); font-size: 1.125rem; font-weight: 400;
    color: #fff;
}
.gallery-note { font-size: 1.125rem; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--slate-900); }
.testimonials .section-headline { color: #fff; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 36px 32px;
}
.testimonial-quote { color: var(--teal-500); margin-bottom: 20px; opacity: 0.6; }
.testimonial-text {
    font-size: 1rem; font-weight: 300; line-height: 1.8;
    color: var(--slate-300); margin-bottom: 24px;
}
.testimonial-author {
    font-size: 0.8125rem; font-weight: 400; color: var(--slate-500);
    letter-spacing: 0.04em;
}

/* ─── FAQ ─── */
.faq { background: var(--slate-50); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 24px 0; background: none; border: none; text-align: left;
    font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400;
    color: var(--slate-800); gap: 16px; transition: color 0.2s ease;
}
.faq-question:hover { color: var(--teal-700); }
.faq-toggle {
    font-family: var(--font-sans); font-size: 1.25rem; font-weight: 200;
    color: var(--teal-600); flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--teal-300); border-radius: 50%;
    transition: transform 0.3s ease, background 0.2s ease;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 24px; }
.faq-answer p {
    font-size: 0.9375rem; font-weight: 300; line-height: 1.8;
    color: var(--slate-600);
}

/* ─── CONTACT ─── */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-text {
    font-size: 1rem; font-weight: 300; line-height: 1.8;
    color: var(--slate-600); margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.contact-detail-label {
    display: block; font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400);
    margin-bottom: 4px;
}
.contact-detail-value {
    font-size: 1rem; font-weight: 300; color: var(--slate-800); line-height: 1.6;
}
.contact-link { transition: color 0.2s ease; }
.contact-link:hover { color: var(--teal-600); }

/* Form */
.contact-form-wrap {
    background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: 20px; padding: 44px 40px;
}
.contact-form-title {
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400;
    color: var(--slate-900); 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.75rem; font-weight: 400;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500);
    margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--slate-200);
    border-radius: 10px; background: #fff; font-family: var(--font-sans);
    font-size: 0.9375rem; font-weight: 300; color: var(--slate-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: none; align-items: center; gap: 12px;
    margin-top: 20px; padding: 16px 20px; border-radius: 12px;
    background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.2);
    font-size: 0.9375rem; font-weight: 300; color: var(--teal-800);
}
.form-success svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; }
.form-success.show { display: flex; }

/* ─── MAP ─── */
.map-section { border-top: 1px solid var(--slate-200); }
.map-container { height: 360px; }
.map-container iframe { width: 100%; height: 100%; }

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--slate-900) 100%);
    padding: 100px 0;
}
.cta-headline {
    font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; line-height: 1.2; color: #fff;
    margin-bottom: 20px; letter-spacing: -0.01em;
}
.cta-text {
    font-size: 1.0625rem; font-weight: 300; line-height: 1.75;
    color: var(--slate-300); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer { background: var(--slate-950); padding: 80px 0 40px; }
.footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600;
    color: var(--teal-400);
}
.footer-logo-text {
    font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 300;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-500);
    margin-left: 6px;
}
.footer-tagline {
    font-size: 0.875rem; font-weight: 300; line-height: 1.7;
    color: var(--slate-500); margin-top: 16px; max-width: 260px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
    font-size: 0.875rem; font-weight: 300; color: var(--slate-400);
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--teal-400); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-phone, .footer-email {
    font-size: 0.9375rem; font-weight: 300; color: var(--slate-300);
    transition: color 0.2s ease;
}
.footer-phone:hover, .footer-email:hover { color: var(--teal-400); }
.footer-address { font-size: 0.875rem; font-weight: 300; color: var(--slate-500); line-height: 1.6; }
.footer-bottom {
    padding-top: 32px;
    font-size: 0.75rem; font-weight: 300; color: var(--slate-600);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .about-grid { gap: 40px; }
    .contact-grid { gap: 48px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero-card { padding: 36px 28px; }
    .hero-stats { gap: 12px; }
    .stat-card { padding: 16px 20px; min-width: 120px; }
    .stat-number { font-size: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-height: 400px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(n) { aspect-ratio: 1; }
    .gallery-item:nth-child(3) { aspect-ratio: 1; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .section { padding: 80px 0; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; }
    .gallery-grid { grid-template-columns: 1fr; }
}
