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

: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-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.navbar.scrolled {
    border-bottom-color: var(--slate-200);
    background: rgba(248, 250, 252, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-800);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--teal-700);
}

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

.nav-cta {
    background: var(--teal-700) !important;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: background 0.3s, transform 0.2s var(--ease-spring) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--teal-800) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

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

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

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--teal-800) 0%,
        var(--teal-700) 25%,
        var(--teal-600) 50%,
        #0f8a7e 75%,
        var(--teal-500) 100%
    );
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: 
        radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, #fff 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-200);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--teal-200);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--ease-spring);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #fff;
    color: var(--teal-800);
}

.btn-primary:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01em;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    animation: float 2.5s ease-in-out infinite;
}

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

/* ─── SECTION COMMON ─── */
section {
    padding: 120px 0;
}

.section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.8;
    font-weight: 300;
}

/* ─── SERVICES ─── */
.services {
    background: var(--slate-50);
}

.services .container {
    text-align: center;
}

.services .section-subtitle {
    margin: 0 auto 64px;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    border-color: var(--teal-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--teal-600);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── ABOUT ─── */
.about {
    background: #fff;
}

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

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.about-img-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--teal-200), var(--teal-400));
    border-radius: 16px;
    z-index: 0;
    opacity: 0.5;
}

.about-content .section-subtitle {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.value-line {
    width: 24px;
    height: 1px;
    background: var(--teal-500);
    flex-shrink: 0;
}

.value-text {
    font-size: 14px;
    color: var(--slate-700);
    font-weight: 400;
}

/* ─── WHY US ─── */
.why-us {
    background: var(--slate-50);
}

.why-us .container {
    text-align: center;
}

.why-us .section-subtitle {
    margin: 0 auto 64px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.why-item {
    padding: 40px 36px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

.why-item:hover {
    border-color: var(--teal-200);
    box-shadow: 0 16px 48px rgba(13, 148, 136, 0.07);
    transform: translateY(-2px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.why-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── COMMUNITY ─── */
.community {
    background: #fff;
    padding: 100px 0;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.community-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-text p {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.8;
    font-weight: 300;
}

.community-map {
    min-height: 360px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ─── CTA ─── */
.cta {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    padding: 120px 0;
}

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

.cta-left .section-label {
    color: var(--teal-400);
}

.cta-left .section-title {
    color: #fff;
}

.cta-left > p {
    color: var(--slate-400);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-phone, .cta-email {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s;
}

.cta-phone:hover, .cta-email:hover {
    color: var(--teal-300);
}

.cta-phone svg, .cta-email svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

.cta-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--slate-400);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.cta-address svg {
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── FORM ─── */
.cta-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.cta-form h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 300;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--slate-500);
    margin-top: 16px;
    font-weight: 300;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--teal-400);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--slate-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--slate-900);
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: var(--slate-500);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    font-weight: 300;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--slate-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.3s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    color: var(--slate-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.3s;
}

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

.footer-contact span {
    color: var(--slate-500);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 32px;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 300;
}

/* ─── REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal:nth-child(2) { transition-delay: 0.08s; }
    .reveal:nth-child(3) { transition-delay: 0.16s; }
    .reveal:nth-child(4) { transition-delay: 0.24s; }
    .reveal:nth-child(5) { transition-delay: 0.32s; }
    .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
}

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

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 32px;
        height: 1px;
    }

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

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

    .about-img-accent {
        display: none;
    }

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

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

    .community-map {
        min-height: 260px;
    }

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

    .cta-form-wrapper {
        padding: 28px;
    }

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

    section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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