:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--stone-50, #fafaf9);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-eyebrow-light {
    color: var(--teal-300);
}

.section-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--slate-900);
    margin-bottom: 24px;
}

.section-headline-light {
    color: #ffffff;
}

.lead {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
    max-width: 540px;
}

.text-center { text-align: center; }
.mb-16 { margin-bottom: 64px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-teal {
    background: var(--teal-600);
    color: #ffffff;
}

.btn-teal:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--slate-800);
    border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(250, 250, 249, 0.95);
    border-bottom-color: var(--slate-200);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
}

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

.nav-brand-text {
    font-size: 1.0625rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-600);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.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: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-50) 0%, #f0fdfa 50%, var(--stone-50) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 40px;
}

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

.hero-visual {
    position: relative;
    height: 560px;
}

.hero-image-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 85%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.12);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.15) 0%, transparent 40%);
    border-radius: 16px;
}

/* Stat Cards */
.stat-card {
    position: absolute;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: floatIn 0.8s var(--ease-out-expo) both;
}

.stat-card--teal {
    background: var(--teal-600);
    color: #ffffff;
}

.stat-card--slate {
    background: var(--slate-800);
    color: #ffffff;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    opacity: 0.8;
    font-weight: 500;
}

.stat-card:nth-child(2) {
    bottom: 30%;
    left: -10%;
}

.stat-card:nth-child(3) {
    top: 10%;
    left: 5%;
}

.stat-card:nth-child(4) {
    bottom: 5%;
    right: 5%;
}

.float-delay-1 { animation-delay: 0.2s; }
.float-delay-2 { animation-delay: 0.4s; }
.float-delay-3 { animation-delay: 0.6s; }

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.4; transform: translateY(4px); }
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--slate-800);
}

.section-teal {
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 100%);
}

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

.about-image-col {
    position: relative;
    height: 560px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    height: 75%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
    border: 4px solid var(--stone-50);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 20px 0;
}

.about-content .lead {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.service-card {
    background: var(--slate-700);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid rgba(255,255,255,0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    background: var(--slate-600);
    border-color: rgba(45, 212, 191, 0.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-400);
    margin-bottom: 24px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 12px;
}

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

/* Areas */
.areas-header {
    text-align: center;
    margin-bottom: 64px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.area-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.area-card:hover img {
    transform: scale(1.06);
}

.area-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background 0.3s;
}

.area-card:hover .area-card-overlay {
    background: linear-gradient(to top, rgba(13, 148, 136, 0.9) 0%, rgba(13, 148, 136, 0.2) 60%);
}

.area-card-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.area-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s var(--ease-out-expo);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--teal-300);
    margin-bottom: 8px;
}

.testimonial-text {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9375rem;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--teal-200);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 2px;
}

.contact-detail-value {
    display: block;
    color: var(--slate-800);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
}

.contact-detail-value:hover {
    color: var(--teal-600);
}

.contact-form-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.08);
    border: 1px solid var(--slate-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 10px;
    color: var(--teal-800);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

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

/* Footer */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    margin-bottom: 16px;
}

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

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

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 2;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    text-align: center;
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 420px;
        order: -1;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-col {
        height: 400px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 249, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out-expo);
        box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-visual {
        height: 320px;
    }

    .stat-card {
        padding: 14px 18px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-card:nth-child(2) { left: 0; }
    .stat-card:nth-child(3) { left: 10%; }
    .stat-card:nth-child(4) { right: 0; }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        height: 280px;
    }

    .contact-form-wrap {
        padding: 24px;
    }
}
