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

:root {
    --charcoal: #2D2D2D;
    --charcoal-light: #3A3A3A;
    --charcoal-dark: #1A1A1A;
    --coral: #FF6B57;
    --coral-light: #FF8A77;
    --coral-dark: #E55A47;
    --white: #FFFFFF;
    --off-white: #F7F7F5;
    --gray-50: #FAFAF9;
    --gray-100: #F2F2F0;
    --gray-200: #E8E8E4;
    --gray-300: #D4D4D0;
    --gray-400: #A8A8A4;
    --gray-500: #787874;
    --gray-600: #52524E;
    --gray-700: #3A3A36;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

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

/* ── Film Grain Overlay ───────────────────────────── */
#grain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
}

/* ── Navigation ───────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s var(--ease-smooth), padding 0.3s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: color 0.3s;
}

.nav.scrolled .nav-logo { color: var(--charcoal); }

.nav-logo svg { flex-shrink: 0; }

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.nav.scrolled .nav-links a { color: var(--gray-500); }
.nav.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-cta {
    background: var(--coral) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: background 0.3s, transform 0.2s var(--ease-out) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--coral-dark) !important; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav.scrolled .nav-toggle span { background: var(--charcoal); }

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero.loaded .hero-bg img { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,26,0.72) 0%,
        rgba(45,45,45,0.55) 50%,
        rgba(45,45,45,0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 24px;
    margin-left: 8%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--coral);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,87,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 38px; font-size: 0.9375rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Shared ───────────────────────────────── */
.section-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--coral);
    margin-bottom: 32px;
}

/* ── Services ─────────────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    max-width: 560px;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 48px 36px;
    transition: background 0.4s var(--ease-out);
    position: relative;
}

.service-card:hover { background: var(--gray-50); }

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 36px; right: 36px;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,107,87,0.08);
    color: var(--coral);
    margin-bottom: 24px;
    transition: background 0.3s;
}

.service-card:hover .service-icon { background: var(--coral); color: var(--white); }

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
}

/* ── About ────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

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

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.badge-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--coral);
    line-height: 1;
}

.badge-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--gray-600);
    font-weight: 400;
}

.about-content .section-title { margin-top: 4px; }

.about-content > p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    background: var(--gray-200);
    align-self: stretch;
}

/* ── Why Us ───────────────────────────────────────── */
.why {
    padding: 120px 0;
    background: var(--charcoal-dark);
    color: var(--white);
}

.why .section-title { color: var(--white); }
.why .section-header { margin-bottom: 64px; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}

.why-card {
    background: var(--charcoal-dark);
    padding: 48px 40px;
    transition: background 0.4s;
}

.why-card:hover { background: var(--charcoal-light); }

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: rgba(255,107,87,0.25);
    line-height: 1;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.1875rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--white);
}

.why-card p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
}

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(45,45,45,0.7) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content .section-tag { margin-bottom: 16px; }

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-title { margin-top: 4px; }
.contact-info > p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,107,87,0.08);
    color: var(--coral);
}

.contact-item h4 {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--coral);
    transition: color 0.3s;
}

.contact-item a:hover { color: var(--coral-dark); }

/* ── Form ─────────────────────────────────────────── */
.contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 48px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--charcoal);
}

.form-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,87,0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(255,107,87,0.08);
    border: 1px solid rgba(255,107,87,0.2);
    border-radius: 10px;
    color: var(--coral-dark);
    font-size: 0.9375rem;
    font-weight: 400;
}

.form-success.show { display: flex; }

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--charcoal-dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--coral); }

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a { color: var(--coral); transition: color 0.3s; }
.footer-contact a:hover { color: var(--coral-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ── Animations ───────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="1"] { transition-delay: 0.1s; }
[data-animate="2"] { transition-delay: 0.2s; }
[data-animate="3"] { transition-delay: 0.3s; }
[data-animate="4"] { transition-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        color: var(--charcoal) !important;
        font-size: 1rem;
    }

    .nav-toggle { display: flex; }

    .hero-content { margin-left: 0; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-scroll { display: none; }

    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }

    .about { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 360px; }

    .why { padding: 80px 0; }
    .why-grid { grid-template-columns: 1fr; }

    .cta-banner { padding: 80px 0; }

    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }

    .footer { padding: 60px 0 0; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero { min-height: 600px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .about-stats { flex-direction: column; gap: 24px; }
    .stat-divider { width: 48px; height: 1px; align-self: center; }
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
