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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #334155;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0d9488;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: #0d9488;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    flex-shrink: 0;
}

.logo-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.main-nav a {
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0d9488;
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #0d9488;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 20px;
    height: 1px;
    background: #0f172a;
    position: relative;
    transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background: #0f172a;
    transition: transform 0.3s ease;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(15, 23, 42, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #f8fafc;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(14, 165, 140, 0.3), transparent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: #0d9488;
    color: #fff;
}

.btn-primary:hover {
    background: #0f766e;
}

.btn-ghost {
    background: transparent;
    color: #f8fafc;
    border: 1px solid rgba(248, 250, 252, 0.25);
}

.btn-ghost:hover {
    border-color: rgba(248, 250, 252, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.btn-light {
    background: #fff;
    color: #0d9488;
}

.btn-light:hover {
    background: #f0fdfa;
}

.btn-full {
    width: 100%;
}

/* Section shared */
.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

/* Services */
.services {
    padding: 120px 0;
    background: #fafbfc;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.service-card {
    background: #fafbfc;
    padding: 48px 36px;
    transition: background 0.3s ease;
}

.service-card:hover {
    background: #f1f5f9;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    color: #0d9488;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.75;
}

/* About */
.about {
    padding: 120px 0;
    background: #fff;
}

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

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0d9488 0%, transparent 100%);
    opacity: 0.15;
    border-radius: 0 0 8px 0;
}

.about-content {
    max-width: 480px;
}

.about-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: #94a3b8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: rgba(15, 23, 42, 0.1);
    align-self: stretch;
    margin: 4px 0;
}

/* CTA Banner */
.cta-banner {
    padding: 120px 0;
    background: #0f172a;
    text-align: center;
}

.cta-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 16px;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #f8fafc;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1.0625rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 120px 0;
    background: #fafbfc;
}

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

.contact-intro {
    font-size: 1rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 40px;
}

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

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

.contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94a3b8;
}

.contact-details a {
    color: #0f172a;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #0d9488;
}

.contact-details span {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-form-wrap {
    background: #fff;
    padding: 48px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #0f172a;
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d9488;
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: #0d9488;
}

.form-success p {
    font-size: 1rem;
    color: #475569;
}

/* Footer */
.site-footer {
    padding: 48px 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-mark {
    width: 20px;
    height: 20px;
}

.footer-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8fafc;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #64748b;
}

.footer-address {
    font-size: 0.8125rem;
    color: #475569;
}

/* 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);
    }
}

/* Mobile */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        aspect-ratio: 16/9;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 251, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .main-nav a {
        font-size: 15px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}
