﻿@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
    --ink: #0d1b2a;
    --ink-soft: #4a5568;
    --teal: #00796b;
    --teal-light: #e0f2f1;
    --teal-mid: #4db6ac;
    --blue: #1565c0;
    --blue-light: #e3f0ff;
    --surface: #f7f9fc;
    --white: #ffffff;
    --border: #dde4ed;
}

html, body {
    overflow-x: hidden;
    font-family: 'DM Sans', sans-serif;
    background-color: var(--surface);
    color: var(--ink);
}

/* ── HERO ── */
.hero {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    min-height: 92vh;
    background: linear-gradient(155deg, #0d1b2a 0%, #0f3460 45%, #00796b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    color: #fff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,182,172,.18) 0%, transparent 70%);
    right: -100px;
    top: -100px;
    pointer-events: none;
}

.hero-blob2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,101,192,.2) 0%, transparent 70%);
    left: -80px;
    bottom: -80px;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--teal-mid);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-mid);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

    .hero h1 .accent {
        color: var(--teal-mid);
    }

.hero .lead {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--teal);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 14px 36px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    transition: all .3s;
}

    .btn-hero:hover {
        background: #00695c;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,121,107,.4);
    }

/* ── STATS BAR ── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.stat-item {
    text-align: center;
    padding: 1rem 2rem;
    border-right: 1px solid var(--border);
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2.6rem;
    color: var(--teal);
    line-height: 1;
}

.stat-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: .5rem;
}

/* ── SECTIONS ── */
.section {
    padding: 5rem 0;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-white {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.badge-label {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--ink);
    font-weight: 400;
    margin-bottom: .8rem;
}

.section-sub {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 540px;
}

/* ── ABOUT GRID ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    background: linear-gradient(135deg, var(--teal-light), var(--blue-light));
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.dna-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.dna-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

    .dna-icon.teal {
        background: var(--teal-light);
        color: var(--teal);
    }

    .dna-icon.blue {
        background: var(--blue-light);
        color: var(--blue);
    }

.dna-card-title {
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    margin: 0;
}

.dna-card-sub {
    font-size: .8rem;
    color: var(--ink-soft);
    margin: 3px 0 0;
}

/* ── VALUES ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.val-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.2rem;
    transition: all .3s;
}

    .val-card:hover {
        border-color: var(--teal-mid);
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,121,107,.1);
    }

.val-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
}

.val-card h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: .7rem;
}

.val-card p,
.val-list li {
    font-size: .875rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.val-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .val-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
    }

        .val-list li::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--teal);
            flex-shrink: 0;
        }

/* ── CTA PACIENTE ── */
.cta-box {
    background: linear-gradient(135deg, #0f3460, #0d1b2a);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-box::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(77,182,172,.12) 0%, transparent 70%);
        right: -100px;
        top: -100px;
        pointer-events: none;
    }

    .cta-box h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 2rem;
        color: #fff;
        font-weight: 400;
        margin-bottom: .8rem;
        position: relative;
        z-index: 1;
    }

    .cta-box p {
        color: rgba(255,255,255,.65);
        margin-bottom: 2rem;
        font-size: .95rem;
        position: relative;
        z-index: 1;
    }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: all .3s;
    position: relative;
    z-index: 1;
}

    .btn-cta:hover {
        background: #00695c;
        color: #fff;
        transform: translateY(-2px);
    }

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-d1 {
    transition-delay: .1s;
}

.reveal-d2 {
    transition-delay: .2s;
}

.reveal-d3 {
    transition-delay: .3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .about-grid,
    .values-grid,
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.2rem;
    }

        .stat-item:last-child {
            border-bottom: none;
        }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}
