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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --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;
    --slate-950: #020617;
    
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* Eyebrow */
.eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--teal-600);
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 1px;
}

.section-eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    transform: translateY(-2px);
}

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

.btn-nav {
    background: var(--teal-600);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}
.btn-nav:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ===== Header ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}
#site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-900);
}
.logo:hover { color: var(--teal-700); }
.logo-light { color: var(--white); }
.logo-light:hover { color: var(--teal-200); }

.logo-dot { color: var(--teal-600); }
.logo-light .logo-dot { color: var(--teal-400); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition);
    position: relative;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-600);
    transition: width var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--teal-700); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu-inner a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-700);
    padding: 14px 0;
    border-bottom: 1px solid var(--slate-200);
    transition: color var(--transition);
}
.mobile-menu-inner a:hover { color: var(--teal-700); }
.mobile-call-btn {
    margin-top: 16px;
    justify-content: center;
    border-bottom: none;
}

/* ===== Hero ===== */
.hero {
    padding-top: 76px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0 80px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--slate-900);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}
.hero-title .text-teal { color: var(--teal-700); }

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

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

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    line-height: 1.5;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
    align-self: center;
    margin-top: 4px;
}

.hero-image {
    position: relative;
}
.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--teal-100);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.7;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}

.section-header {
    margin-bottom: 60px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--teal-600);
    color: var(--white);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-600);
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-img-stack {
    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;
}
.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-col .section-title { margin-bottom: 20px; }

.lead-accent {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--teal-800);
    border-left: 3px solid var(--teal-400);
    padding-left: 20px;
    margin-bottom: 28px;
}

.about-body {
    margin-bottom: 36px;
}
.about-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.value-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    color: var(--teal-700);
    flex-shrink: 0;
}
.value-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

/* ===== Approach ===== */
.approach {
    padding: 100px 0;
    background: var(--slate-900);
    color: var(--white);
}

.approach-header {
    text-align: center;
    margin-bottom: 72px;
}
.approach-header .section-eyebrow { color: var(--teal-400); }
.approach-header .section-title { color: var(--white); }

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.approach-step {
    position: relative;
    padding: 0 24px;
}
.step-connector {
    position: absolute;
    top: 28px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
}
.approach-step:last-child .step-connector { display: none; }

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.8;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 100px 0;
    background: var(--teal-700);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.cta-subtitle {
    font-size: 1.125rem;
    color: var(--teal-100);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.contact-info .section-title { margin-bottom: 20px; }

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    flex-shrink: 0;
}
.detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-500);
    margin-bottom: 4px;
}
.detail-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
}
.detail-link {
    color: var(--teal-700);
    transition: color var(--transition);
}
.detail-link:hover { color: var(--teal-500); }

/* Form */
.contact-form-col {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--slate-200);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    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.875rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--white);
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { color: var(--teal-600); flex-shrink: 0; }

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-nav a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--teal-400); }

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}
.footer-link {
    color: var(--teal-400);
    transition: color var(--transition);
}
.footer-link:hover { color: var(--teal-200); }

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: var(--slate-500);
}
.footer-legal a {
    color: var(--slate-400);
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--teal-400); }

/* ===== Scroll Reveal ===== */
.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 { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .step-connector { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero { min-height: auto; padding-top: 100px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 60px;
    }
    .hero-image { order: -1; }
    .hero-img-wrapper { border-radius: var(--radius-md); }
    .hero-accent { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
    
    .services { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }
    
    .about { padding: 72px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-accent { right: -16px; bottom: -16px; }
    .about-values { grid-template-columns: 1fr; }
    
    .approach { padding: 72px 0; }
    .approach-steps { grid-template-columns: 1fr; gap: 32px; }
    
    .cta-banner { padding: 72px 0; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    
    .contact { padding: 72px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-col { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    
    .footer { padding: 56px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2.125rem; }
    .section-title { font-size: 1.75rem; }
    .service-card { padding: 28px 24px; }
    .contact-form-col { padding: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
