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

:root {
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-light: #14b8a6;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 var(--slate-200);
}

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

.nav-logo {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.938rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.nav.scrolled .nav-logo {
    color: var(--slate-800);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.813rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav.scrolled .nav-links a {
    color: var(--slate-500);
}

.nav.scrolled .nav-links a:hover {
    color: var(--slate-800);
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 8px 20px !important;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, border-color 0.3s !important;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--slate-800) !important;
    border-color: var(--white) !important;
}

.nav.scrolled .nav-cta {
    border-color: var(--teal) !important;
    color: var(--teal) !important;
}

.nav.scrolled .nav-cta:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--slate-700);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(13, 148, 136, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero-line {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    max-width: 720px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

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

.hero-sub {
    font-size: 1.063rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 44px;
    animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeUp 0.8s var(--ease-out) 0.6s both;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
    background: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border: 1px solid var(--teal);
}

.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.btn-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.btn-text:hover {
    color: var(--white);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--slate-800);
    border: 1px solid var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

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

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.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-800);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.8;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--slate-200);
    border: 1px solid var(--slate-200);
}

.service-card {
    background: var(--white);
    padding: 48px 40px;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--slate-50);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--slate-800);
    margin-bottom: 12px;
}

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

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    min-height: 500px;
}

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

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

.about-content p {
    font-size: 0.938rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.813rem;
    font-weight: 300;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-200);
}

/* ── PROCESS ── */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step {
    position: relative;
    padding-top: 32px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--slate-100);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.step:hover .step-number {
    color: var(--teal);
    opacity: 0.15;
}

.step h3 {
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.step p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.75;
}

/* ── CTA SECTION ── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ── CONTACT ── */
.contact {
    background: var(--slate-50);
}

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

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

.contact-desc {
    font-size: 0.938rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

.contact-label {
    font-size: 0.688rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.contact-value {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-700);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s;
}

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

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--slate-200);
    border-radius: 2px;
}

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

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

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 300;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    resize: vertical;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: var(--white);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: #f0fdf9;
    border: 1px solid #ccfbf1;
    border-radius: 2px;
    color: var(--teal-dark);
}

.form-success p {
    font-size: 0.938rem;
    font-weight: 300;
    line-height: 1.6;
}

.form-success svg {
    color: var(--teal);
}

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

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.813rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--slate-800);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 300;
    color: var(--slate-600);
}

.footer-bottom p {
    margin: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .about-layout,
    .contact-layout {
        gap: 48px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease-out);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1rem;
        color: var(--slate-700) !important;
    }

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

    .nav-cta {
        border-color: var(--teal) !important;
        color: var(--teal) !important;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section {
        padding: 80px 0;
    }

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

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

    .about-image {
        min-height: 360px;
    }

    .about-image img {
        min-height: 360px;
    }

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

    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }

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

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

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

    .footer-inner {
        gap: 36px;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .service-card {
        padding: 32px 24px;
    }
}
