*, *::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;
    --slate-950: #020617;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--slate-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--slate-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.01em;
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 400;
    color: var(--teal-700) !important;
    border: 1px solid var(--teal-200);
    padding: 0.5rem 1.125rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--teal-50);
    border-color: var(--teal-300);
    color: var(--teal-800) !important;
}

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

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

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

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

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

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
    overflow: hidden;
}

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

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(13, 148, 136, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(15, 118, 110, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(2, 6, 23, 0.2) 0%, transparent 70%);
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-200);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    font-weight: 300;
    color: var(--slate-200);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--teal-50);
    border-color: var(--teal-100);
    color: var(--teal-900);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-light {
    background: #ffffff;
    color: var(--teal-800);
    border-color: #ffffff;
}

.btn-light:hover {
    background: var(--teal-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ── SECTION COMMONS ── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.body-large {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--slate-600);
}

/* ── INTRO ── */
.intro {
    padding: var(--space-4xl) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro-text .section-title {
    margin-bottom: var(--space-md);
}

.intro-text .body-large {
    margin-bottom: var(--space-md);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.intro-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* ── VALUES ── */
.values {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.values-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.value-card {
    padding: var(--space-xl);
    background: #ffffff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--teal-100);
    box-shadow: 0 8px 40px rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: var(--space-md);
}

.value-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: var(--space-sm);
}

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

/* ── SERVICES ── */
.services {
    padding: var(--space-4xl) 0;
}

.services-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.services-desc {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-2xl);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    border-color: var(--teal-100);
    box-shadow: 0 8px 40px rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.service-card:hover .service-number {
    color: var(--teal-200);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: var(--space-sm);
}

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

/* ── APPROACH ── */
.approach {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
    color: #ffffff;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.approach .section-title {
    color: #ffffff;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--teal-400);
    border: 1px solid var(--teal-700);
    border-radius: 50%;
    margin-top: 2px;
}

.step h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

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

.approach-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ── CTA SECTION ── */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 50%, var(--slate-800) 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: var(--teal-100);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact {
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-details {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--teal-600);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.contact-item a:hover {
    color: var(--teal-600);
}

/* ── FORM ── */
.contact-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-form h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    text-align: center;
    color: var(--teal-700);
}

.form-success svg {
    margin-bottom: var(--space-sm);
    color: var(--teal-600);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-600);
}

/* ── MAP ── */
.map-section {
    border-top: 1px solid var(--slate-100);
}

.map-container {
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.4) contrast(1.05);
}

/* ── FOOTER ── */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-brand .nav-logo {
    color: #ffffff;
    margin-bottom: var(--space-sm);
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9375rem;
}

.footer-contact a {
    color: var(--slate-500);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: var(--slate-700) !important;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--slate-100);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .intro-grid,
    .approach-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .intro-image {
        order: -1;
    }

    .intro-image img {
        height: 300px;
    }

    .intro-image-accent {
        display: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .approach-image img {
        height: 320px;
    }
}

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

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .contact-form-wrapper {
        padding: var(--space-md);
    }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

@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;
    }
}
