/* ============================================
   GT PACK PREMIUM — style.css
   Light theme · Paquetería · Teal accent
   ============================================ */

/* ── VARIABLES ── */
:root {
    --accent: #0D9488;
    --accent-light: #14B8A6;
    --accent-dark: #0F766E;
    --accent-glow: rgba(13, 148, 136, 0.35);
    --accent-dim: rgba(13, 148, 136, 0.1);

    --bg-0: #FAFBFA;
    --bg-1: #FFFFFF;
    --bg-2: #F0F4F3;
    --bg-card: rgba(255, 255, 255, 0.92);

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;

    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(13, 148, 136, 0.2);

    --border-subtle: rgba(15, 23, 42, 0.08);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.18);
    --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.08);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-0);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── UTILITIES ── */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

/* Panel tipo vidrio para CTAs */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 249, 247, 0.55));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    background: var(--accent-dim);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
    background: var(--bg-1);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.95rem 2rem;
    font-size: 1rem;
}

.glow-effect {
    box-shadow: 0 0 30px var(--accent-glow);
}

.full-width {
    width: 100%;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-logo {
    height: 58px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.navbar .btn {
    margin-left: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

/* ── Fondo decorativo global (cuadrícula + glow + paquetes): capa más baja ── */
.site-bg-decoration {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero-glow {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.14) 0%, transparent 68%);
}

/* Paquetes decorativos de fondo */
.hero-floating-parcels {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem;
    position: relative;
}

.hero-parcel {
    position: absolute;
    border-radius: 7px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(236, 249, 247, 0.9));
    border: 1px solid rgba(13, 148, 136, 0.22);
    box-shadow: 0 10px 28px rgba(13, 118, 110, 0.08);
    animation: parcel-drift 22s ease-in-out infinite;
    opacity: 0.88;
}

.hero-parcel::before {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 42%;
    height: 2px;
    background: rgba(13, 148, 136, 0.12);
    border-radius: 1px;
}

.hero-parcel::after {
    content: '';
    position: absolute;
    left: 18%;
    top: 18%;
    width: 28%;
    height: 22%;
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: 3px;
    opacity: 0.7;
}

.hp-1 {
    width: 44px;
    height: 34px;
    top: 18%;
    left: 6%;
    animation-delay: 0s;
}

.hp-2 {
    width: 58px;
    height: 42px;
    top: 62%;
    left: 4%;
    animation-delay: -4s;
    animation-duration: 26s;
}

.hp-3 {
    width: 36px;
    height: 28px;
    top: 38%;
    left: 14%;
    animation-delay: -8s;
}

.hp-4 {
    width: 52px;
    height: 38px;
    top: 22%;
    right: 8%;
    animation-delay: -2s;
}

.hp-5 {
    width: 40px;
    height: 32px;
    top: 72%;
    right: 12%;
    animation-delay: -11s;
    animation-duration: 24s;
}

.hp-6 {
    width: 48px;
    height: 36px;
    bottom: 12%;
    left: 22%;
    animation-delay: -6s;
}

.hp-7 {
    width: 34px;
    height: 26px;
    top: 48%;
    right: 18%;
    animation-delay: -14s;
}

.hp-8 {
    width: 42px;
    height: 32px;
    top: 10%;
    left: 42%;
    animation-delay: -3s;
    animation-duration: 25s;
}

.hp-9 {
    width: 38px;
    height: 30px;
    top: 78%;
    right: 28%;
    animation-delay: -9s;
    animation-duration: 23s;
}

.hp-10 {
    width: 32px;
    height: 26px;
    top: 52%;
    left: 2%;
    animation-delay: -17s;
}

.hp-11 {
    width: 46px;
    height: 34px;
    bottom: 8%;
    right: 6%;
    animation-delay: -5s;
    animation-duration: 28s;
}

@keyframes parcel-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }

    33% {
        transform: translate(14px, -18px) rotate(3deg);
    }

    66% {
        transform: translate(-10px, 12px) rotate(-2deg);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    background: var(--accent-dim);
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    border: 1px solid var(--glass-border);
    width: fit-content;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--glass-border);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
}

/* Apilado de bultos (metáfora paquetería) */
.hero-parcel-stack {
    position: relative;
    width: 280px;
    height: 300px;
    animation: stack-breathe 5s ease-in-out infinite;
}

@keyframes stack-breathe {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.stack-box {
    position: absolute;
    left: 50%;
    border-radius: 10px;
    background: linear-gradient(155deg, #FFFFFF 0%, #E8F5F4 100%);
    border: 1px solid rgba(13, 148, 136, 0.28);
    box-shadow: var(--shadow-card);
}

.stack-box--back {
    width: 220px;
    height: 72px;
    bottom: 48px;
    transform: translateX(-50%) rotate(-7deg);
    z-index: 1;
    opacity: 0.92;
}

.stack-box--mid {
    width: 236px;
    height: 80px;
    bottom: 108px;
    transform: translateX(-50%) rotate(4deg);
    z-index: 2;
}

.stack-box--front {
    width: 252px;
    height: 88px;
    bottom: 178px;
    transform: translateX(-50%) rotate(-2deg);
    z-index: 3;
    border-color: rgba(13, 148, 136, 0.38);
    background: linear-gradient(155deg, #FFFFFF 0%, #D8F0EE 100%);
}

.stack-box--front::before {
    content: '';
    position: absolute;
    inset: 14px 18px;
    border: 1px dashed rgba(13, 148, 136, 0.2);
    border-radius: 6px;
    pointer-events: none;
}

.stack-ribbon {
    position: absolute;
    left: 50%;
    bottom: 198px;
    transform: translateX(-50%) translateX(88px) rotate(8deg);
    z-index: 4;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--accent);
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
    white-space: nowrap;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.1rem;
}

.card-1 {
    top: 60px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1.3s;
}

.card-3 {
    bottom: 80px;
    left: 10px;
    animation-delay: 2.6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-2 {
    animation: float2 4s ease-in-out infinite 1.3s;
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 10px));
    }
}

/* ── SOCIAL PROOF ── */
.social-proof {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    overflow: hidden;
    background: var(--bg-0);
}

.proof-text {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.logos-track {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1.85rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, #3d4454 0%, #323846 42%, #2a2f3a 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logos-inner {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.client-logo-img {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(0.25);
    transition: opacity 0.3s, filter 0.3s;
}

.logos-track .client-logo-img {
    opacity: 0.92;
    filter: none;
}

.logos-track .client-logo-img:hover {
    opacity: 1;
}

/* ── SERVICES ── */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 160, 0.35);
}

.service-card.featured {
    border-color: rgba(13, 148, 136, 0.45);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(255, 255, 255, 0.95));
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    border: 1px solid var(--glass-border);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ── PROCESO ── */
.process-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(14, 165, 160, 0.04), transparent);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 160, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.process-flow {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Línea horizontal animada (alineada al centro del ícono) */
.flow-line {
    position: absolute;
    top: 31px;
    left: calc(12.5% + 30px);
    right: calc(12.5% + 30px);
    height: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.flow-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    width: 0%;
    transition: width 0.75s ease;
    box-shadow: 0 0 8px var(--accent-glow);
}

.flow-line-fill.animated {
    width: 100%;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.step-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

/* Anillo exterior: solo visible en hover / paso activo (evita el “doble círculo” tenue) */
.node-ring {
    position: absolute;
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 50%;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.flow-step:hover .node-ring,
.flow-step.active .node-ring {
    border-color: rgba(13, 148, 136, 0.45);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
    animation: pulse-ring 1.6s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.2);
    }
}

.node-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid rgba(13, 148, 136, 0.4);
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    color: var(--accent-dark);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.flow-step:hover .node-core,
.flow-step.active .node-core {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 6px 22px rgba(13, 148, 136, 0.35);
    transform: scale(1.06);
}

.step-number {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.flow-step:hover .step-number,
.flow-step.active .step-number {
    color: var(--accent);
}

.step-content {
    text-align: center;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
    color: var(--text-primary);
}

.flow-step:hover .step-content h3,
.flow-step.active .step-content h3 {
    color: var(--accent-dark);
}

.step-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.step-detail {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.step-detail span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
}

.flow-step:hover .step-detail,
.flow-step.active .step-detail {
    opacity: 1;
    transform: translateY(0);
}

/* ── COBERTURA ── */
.coverage-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.coverage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Zonas */
.coverage-zones {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.zone-card {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    background: var(--bg-1);
    overflow: hidden;
}

.zone-card:focus {
    outline: none;
}

.zone-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.zone-card:hover,
.zone-card.active {
    border-color: rgba(14, 165, 160, 0.3);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
}

.zone-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.zone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.zone-header h3 {
    font-size: 1rem;
    font-weight: 700;
    flex: 1;
}

.zone-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-2);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.zone-desc {
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.zone-localities {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.zone-card.active .zone-localities {
    max-height: 80px;
}

/* Mapa Leaflet */
.coverage-visual {
    position: sticky;
    top: 100px;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--glass-border);
    background: var(--bg-2);
}

.map-container.leaflet-container {
    font-family: inherit;
}

.map-container .leaflet-control-zoom {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.map-container .leaflet-control-zoom a {
    color: var(--text-secondary);
    font-weight: 600;
}

.map-container .leaflet-control-zoom a:hover {
    background: var(--accent-dim);
    color: var(--accent-dark);
}

.leaflet-tile-pane {
    filter: saturate(0.95);
}

.map-legend {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── INTEGRACIONES ── */
.integrations-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(14, 165, 160, 0.03), transparent);
}

.integrations-section .section-header {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 540px;
    margin: 0 auto;
}

.integration-card {
    width: auto;
    min-height: 80px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    padding: 1rem 1rem;
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 160, 0.35);
}

.integration-card img {
    max-height: 42px;
    width: auto;
    max-width: 118px;
    object-fit: contain;
    filter: none;
    opacity: 0.88;
    transition: opacity 0.3s, transform 0.3s;
    display: block;
}

.integration-card:hover img {
    opacity: 1;
}

/* ── NOSOTROS ── */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.about-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.about-text>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mv-block {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    border: 1px solid var(--glass-border);
}

.mv-block h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.mv-block p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-card {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 160, 0.3);
}

.value-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.value-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.value-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── MID CTA ── */
.mid-cta {
    margin: 0 2rem;
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0;
}

.mid-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(20, 184, 166, 0.05));
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ── TESTIMONIOS ── */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 160, 0.3);
}

.quotes-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── CONTACTO ── */
.contact-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-list li i {
    font-size: 1.1rem;
    color: var(--accent);
}

.whatsapp-color {
    color: #25D366 !important;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    background: var(--bg-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-1);
    color: var(--text-primary);
}

.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    margin-top: 0.5rem;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

/* ── FOOTER ── */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .brand-logo {
    height: 48px;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-col ul li,
.footer-links-col ul a {
    font-size: 0.83rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-links-col ul a:hover {
    color: var(--accent);
}

.footer-links-col ul li i {
    font-size: 0.9rem;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: var(--bg-1);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coverage-container {
        grid-template-columns: 1fr;
    }

    .coverage-visual {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .navbar .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 400px;
    }

    .flow-steps {
        grid-template-columns: 1fr 1fr;
    }

    .flow-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }
}