/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #fdf8f0;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

/* ===== Custom Properties ===== */
:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream:       #fdf8f0;
    --cream-dark:  #f5eedc;
    --neutral-900: #1a1a2e;
    --neutral-700: #374151;
    --neutral-500: #6b7280;
    --neutral-300: #d1d5db;
    --neutral-100: #f3f4f6;
    --white:       #ffffff;
    --shadow-sm:   0 1px 3px rgba(6,78,59,0.08);
    --shadow-md:   0 4px 16px rgba(6,78,59,0.10);
    --shadow-lg:   0 12px 40px rgba(6,78,59,0.12);
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: var(--emerald-50);
    transform: translateY(-2px);
}
.btn-small { padding: 10px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Section Tags ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--emerald-600);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--neutral-900);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.063rem;
    color: var(--neutral-500);
    max-width: 640px;
    line-height: 1.7;
}
.section-header--centered { text-align: center; }
.section-header--centered .section-subtitle { margin: 0 auto; }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6,78,59,0.08);
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--emerald-900);
}
.logo-mark {
    color: var(--emerald-700);
}
.logo-light { color: var(--white); }
.logo-light .logo-mark { color: var(--emerald-300); }

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-nav a:not(.btn) {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.main-nav a:not(.btn):hover {
    color: var(--emerald-800);
    background: var(--emerald-50);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    padding-top: 72px;
    background: var(--cream);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero-badge svg { color: var(--emerald-600); }
.hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--neutral-900);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-headline em {
    font-style: normal;
    color: var(--emerald-700);
    position: relative;
}
.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--emerald-100);
    z-index: -1;
    border-radius: 3px;
}
.hero-sub {
    font-size: 1.063rem;
    color: var(--neutral-700);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.credential-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
}
.credential-item svg { color: var(--emerald-600); }

/* Hero Image */
.hero-image { position: relative; }
.hero-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.float-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    flex-shrink: 0;
}
.float-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-500);
}
.float-card-value {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--neutral-900);
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ===== Services ===== */
.services {
    padding: 96px 0;
    background: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.service-card {
    background: var(--cream);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-100);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--emerald-800);
    color: var(--white);
}
.service-card h3 {
    font-size: 1.125rem;
    color: var(--neutral-900);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.938rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 96px 0;
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}
.about-img-accent img { width: 100%; height: auto; display: block; }
.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--neutral-300);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-800);
}
.stat-label {
    font-size: 0.813rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-500);
}
.about-lead {
    font-size: 1.063rem;
    color: var(--neutral-700);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-content p {
    font-size: 0.938rem;
    color: var(--neutral-500);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.about-values li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--neutral-700);
}
.about-values svg { color: var(--emerald-600); flex-shrink: 0; }

/* ===== Approach ===== */
.approach {
    padding: 96px 0;
    background: var(--emerald-900);
    color: var(--white);
}
.approach .section-tag { color: var(--emerald-300); }
.approach .section-tag::before { background: var(--emerald-500); }
.approach .section-title { color: var(--white); }
.approach .section-subtitle { color: var(--emerald-100); }
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.approach-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
}
.approach-item:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}
.approach-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--emerald-500);
    line-height: 1;
    margin-bottom: 16px;
}
.approach-item h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 10px;
}
.approach-item p {
    font-size: 0.875rem;
    color: var(--emerald-100);
    line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 96px 0;
    background: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.testimonial-card {
    background: var(--cream);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.testimonial-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-200);
    position: absolute;
    top: 16px;
    right: 24px;
}
.testimonial-text {
    font-size: 0.938rem;
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-attrib {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-800);
}

/* ===== Contact ===== */
.contact {
    padding: 96px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-intro {
    font-size: 1.063rem;
    color: var(--neutral-500);
    margin-bottom: 32px;
    line-height: 1.8;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    flex-shrink: 0;
}
.contact-detail strong {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-900);
    margin-bottom: 4px;
}
.contact-detail span,
.contact-detail a {
    font-size: 0.938rem;
    color: var(--neutral-500);
}
.contact-detail a:hover { color: var(--emerald-700); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.contact-form-inner {
    padding: 40px 36px;
}
.contact-form-inner h3 {
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}
.form-note {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-700);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    padding: 12px 14px;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--neutral-900);
    transition: var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--emerald-50);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-300);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    text-align: center;
    padding: 48px 36px;
}
.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--emerald-600);
}
.form-success h4 {
    font-size: 1.375rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}
.form-success p {
    font-size: 0.938rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--neutral-900);
    color: var(--white);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald-400);
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 8px;
}
.footer-contact a {
    font-size: 0.875rem;
    color: var(--emerald-400);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.45);
}
.footer-legal { max-width: 480px; text-align: right; }

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { max-width: 480px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-accent { right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 248, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; width: 100%; }
    .main-nav a:not(.btn) {
        display: block;
        font-size: 1.125rem;
        padding: 14px 16px;
        width: 100%;
    }
    .main-nav .btn { margin-top: 16px; text-align: center; justify-content: center; }
    .hero-grid { padding: 40px 0 60px; }
    .hero-float-card { bottom: -12px; left: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-img-accent { position: relative; bottom: 0; right: 0; width: 100%; margin-top: 16px; }
    .about-values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-credentials { flex-direction: column; gap: 12px; }
    .approach-grid { grid-template-columns: 1fr; }
    .contact-form-inner { padding: 28px 20px; }
}
