:root {
    /* Primarios */
    --deep-blue: #043656;      /* Azul oscuro original */
    --soliner-blue: #0A6B93;   /* Azul teal medio */
    --royal-blue: #203A84;     /* Azul puro vibrante */
    
    /* Secundarios */
    --mint-green: #89E4AB;     /* Verde menta brillante */
    --sage-green: #A3C9BB;     /* Verde grisáceo apagado */
    --salmon-pink: #EF8995;    /* Rosa salmón / Aurora */
    
    /* Grises y Bases */
    --bg-light: #F4F7FB;
    --white: #FFFFFF;
    --text-main: #1C2735;
    --text-muted: #56687A;
    --carousel-speed: 25s;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-md: 0 10px 30px -10px rgba(1, 54, 86, 0.15);
    --shadow-lg: 0 20px 40px -10px rgba(1, 54, 86, 0.2);
    --radius-md: 12px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Background Circuits */
.circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(90deg, rgba(5, 104, 145, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(5, 104, 145, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--deep-blue);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: var(--soliner-blue);
    border-color: var(--soliner-blue);
    box-shadow: 0 4px 15px rgba(5, 104, 145, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--deep-blue);
    border: 1px solid var(--soliner-blue);
}

.btn-secondary:hover {
    background-color: rgba(239, 137, 149, 0.1); /* Salmon pink overlay */
    border-color: var(--salmon-pink);
    color: var(--salmon-pink);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(5, 104, 145, 0.1);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 130px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mint-green);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--soliner-blue);
}

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

/* Common Section Header */
.section-header {
    margin-bottom: 4rem;
}
.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.cut-line {
    width: 60px;
    height: 3px;
    background-color: var(--mint-green);
    position: relative;
}
.cut-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 70px;
    width: 10px;
    height: 3px;
    background-color: var(--soliner-blue);
}
.center-line {
    margin: 0 auto;
}
.center-line::after {
    left: 105%;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    max-height: 100vh;
    padding: 0 5%;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(138, 235, 184, 0.5);
    color: var(--soliner-blue);
    background-color: rgba(138, 235, 184, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}
.hero-title .highlight {
    color: var(--soliner-blue);
    position: relative;
    display: inline-block;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--mint-green);
    opacity: 0.5;
    z-index: -1;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual (Aurora & Circuits) */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aurora-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(10,107,147,0.10) 0%, rgba(137,228,171,0.07) 40%, rgba(4,54,86,0.04) 65%, rgba(255,255,255,0) 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
    z-index: 0;
    border-radius: 50%;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* ── Zone Coverage Panel ─────────────────────────────── */
.zones-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    animation: fadeInZones 1s ease forwards;
}
@keyframes fadeInZones {
    from { opacity:0; transform:translateX(30px); }
    to   { opacity:1; transform:translateX(0); }
}

/* Header */
.zones-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}
.cov-dot-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(137,228,171,0.15);
    border: 1px solid rgba(137,228,171,0.4);
}
.cov-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #89E4AB;
    box-shadow: 0 0 8px rgba(137,228,171,0.9);
    animation: blinkDot 1.8s ease-in-out infinite;
}
@keyframes blinkDot {
    0%,100% { opacity:1; } 50% { opacity:0.3; }
}
.zones-header-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soliner-blue);
}

/* Cards stack */
.zone-cards { display: flex; flex-direction: column; gap: 0; }

/* Individual card */
.zone-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(10,107,147,0.15);
    border-left: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25,1,0.5,1);
    overflow: hidden;
}
.zone-card:hover, .zone-card.zc-open {
    background: rgba(255,255,255,0.95);
    border-color: rgba(137,228,171,0.5);
    box-shadow: 0 8px 28px rgba(4,54,86,0.12);
    transform: translateX(-4px);
}
/* Accent left bar */
.zc-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--soliner-blue), var(--mint-green));
    border-radius: 10px 0 0 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.zone-card:hover .zc-accent,
.zone-card.zc-open .zc-accent { opacity: 1; }

/* Featured card */
.zc-featured {
    background: rgba(10,107,147,0.06);
    border-color: rgba(137,228,171,0.4);
}
.zc-featured .zc-accent {
    opacity: 1;
    background: linear-gradient(180deg, var(--mint-green), var(--soliner-blue));
}

/* Left col: number + status */
.zc-left {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem;
    flex-shrink: 0;
}
.zc-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(4,54,86,0.18);
    line-height: 1;
}
.zc-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #89E4AB;
    box-shadow: 0 0 6px rgba(137,228,171,0.9);
    animation: blinkDot 2.2s ease-in-out infinite;
}

/* Body */
.zc-body { flex: 1; min-width: 0; }
.zc-tag {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--soliner-blue);
    margin-bottom: 0.15rem;
}
.zc-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.zc-city {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Hidden detail — shown on open/hover */
.zc-detail {
    display: flex; flex-direction: column; gap: 0.15rem;
    max-height: 0; overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0;
}
.zone-card:hover .zc-detail,
.zone-card.zc-open .zc-detail {
    max-height: 60px;
    opacity: 1;
    margin-bottom: 0.4rem;
}

/* Coverage bar */
.zc-bar-wrap {
    display: flex; align-items: center; gap: 0.5rem;
}
.zc-bar {
    flex: 1; height: 4px;
    background: rgba(10,107,147,0.12);
    border-radius: 4px; overflow: hidden;
}
.zc-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--soliner-blue), #89E4AB);
    border-radius: 4px;
    animation: fillBar 1.6s ease forwards;
    animation-delay: 0.8s;
}
@keyframes fillBar { to { width: var(--fill); } }
.zc-pct {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--soliner-blue);
    flex-shrink: 0;
}

/* Ping pulse on right side */
.zc-ping {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(137,228,171,0.15);
    border: 1.5px solid rgba(137,228,171,0.5);
    flex-shrink: 0;
    position: relative;
    animation: pingPulse 2.8s ease-in-out infinite;
}
.zc-ping::after {
    content:'';
    position:absolute;
    inset: 6px;
    border-radius:50%;
    background:#89E4AB;
    box-shadow: 0 0 8px rgba(137,228,171,0.9);
}
@keyframes pingPulse {
    0%,100% { transform:scale(1); opacity:0.9; }
    50%      { transform:scale(1.15); opacity:0.5; }
}

/* Flow connector between cards */
.flow-line {
    display: flex;
    justify-content: flex-start;
    padding-left: 2.6rem;
    height: 14px;
    position: relative;
    align-items: center;
}
.flow-line::before {
    content:'';
    position:absolute;
    left: 2.4rem; top:50%;
    width: 1px; height: 14px;
    background: linear-gradient(180deg, var(--mint-green), transparent);
    transform: translateY(-50%);
}
.flow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #89E4AB;
    box-shadow: 0 0 5px rgba(137,228,171,0.8);
    position: absolute;
    left: calc(2.4rem - 2px);
    animation: flowDown 1.1s ease-in-out infinite;
    opacity:0;
}
@keyframes flowDown {
    0%   { top:0px;  opacity:0; }
    20%  { opacity:1; }
    80%  { opacity:1; }
    100% { top:14px; opacity:0; }
}

/* Footer */
.zones-footer {
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--soliner-blue);
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(10,107,147,0.2);
    border-radius: 20px;
    background: rgba(10,107,147,0.04);
}

/* Stats Banner */
.stats-banner {
    padding: 3rem 5%;
    background: linear-gradient(135deg, var(--deep-blue) 0%, rgba(4, 54, 86, 0.9) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.stats-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(137, 228, 171, 0.1) 0%, transparent 70%);
    top: -50px;
    left: 10%;
    z-index: 0;
}
.stat-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.stat-header h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}
.stat-big {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.stat-number {
    font-size: 5.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--mint-green);
    position: relative;
}
.stat-plus {
    font-size: 2.5rem;
    color: var(--salmon-pink);
    position: absolute;
    top: -5px;
}
.stat-text {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.2;
}
.stat-divider {
    width: 2px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
}
.stat-sub {
    max-width: 450px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* DIOMI Section */
.diomi {
    padding: 6rem 5%;
    background-color: var(--white);
    border-top: 1px solid rgba(5, 104, 145, 0.1);
}
.section-header p {
    margin-top: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}
.diomi-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}
.diomi-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.step-circle {
    width: 90px;
    height: 90px;
    background-color: var(--white);
    border-radius: 50%;
    border: 6px solid var(--soliner-blue);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-1 .step-circle { border-color: var(--salmon-pink); }
.step-2 .step-circle { border-color: var(--soliner-blue); }
.step-3 .step-circle { border-color: var(--royal-blue); }
.step-4 .step-circle { border-color: var(--mint-green); }
.step-5 .step-circle { border-color: var(--sage-green); }

.diomi-step h4 {
    font-size: 1.1rem;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.step-tooltip {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 260px;
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(1, 54, 86, 0.15);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
    border-top: 4px solid var(--deep-blue);
}

.step-1 .step-tooltip { border-top-color: var(--salmon-pink); }
.step-2 .step-tooltip { border-top-color: var(--soliner-blue); }
.step-3 .step-tooltip { border-top-color: var(--royal-blue); }
.step-4 .step-tooltip { border-top-color: var(--mint-green); }
.step-5 .step-tooltip { border-top-color: var(--sage-green); }

.diomi-step:hover .step-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.diomi-step:hover .step-circle {
    background-color: var(--bg-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(5, 104, 145, 0.2);
}
.diomi-connector {
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--mint-green), transparent);
    margin-bottom: 2rem;
}


/* Services Section (HVACR) */
.services {
    padding: 6rem 5%;
    background-color: var(--bg-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.service-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(5, 104, 145, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--mint-green);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 104, 145, 0.2);
}
.service-card:hover::before {
    height: 100%;
}
.card-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(5, 104, 145, 0.15);
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.service-card h3 small {
    font-size: 0.9rem;
    color: var(--soliner-blue);
    font-weight: normal;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Diferencial Section */
.diferencial {
    padding: 6rem 5%;
    background-color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.dif-list {
    list-style: none;
    margin-top: 2rem;
}
.dif-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.dif-icon {
    color: var(--mint-green);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(138, 235, 184, 0.5);
}
.dif-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.dif-list p {
    color: var(--text-muted);
}
.diferencial-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* ── App Showcase (Soliner Connect) ──────────────────── */
.app-showcase {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
}
.app-showcase-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}
.app-showcase-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soliner-blue);
}
.app-showcase-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}
.app-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(5, 104, 145, 0.15);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.app-carousel-wrapper::before,
.app-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}
.app-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
}
.app-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(255,255,255,0.9), transparent);
}
.app-carousel-track {
    display: flex;
    gap: 1rem;
    animation: scrollScreenshots 20s linear infinite;
    width: max-content;
}
.app-screenshot {
    width: 420px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}
@keyframes scrollScreenshots {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.5rem)); }
}
.app-carousel-wrapper:hover .app-carousel-track {
    animation-play-state: paused;
}

/* ── Tech Box (legacy) ───────────────────────────────── */
.tech-box {
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(5, 104, 145, 0.2);
    padding: 2.5rem;
    background: rgba(244, 247, 251, 0.7);
    backdrop-filter: blur(12px);
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.tech-box::before, .tech-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--soliner-blue);
}
.tech-box::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.tech-box::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.tech-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--soliner-blue);
    display: block;
    margin-bottom: 2rem;
    border-bottom: 1px dashed rgba(5, 104, 145, 0.2);
    padding-bottom: 0.5rem;
}
.tech-bar {
    height: 8px;
    background-color: var(--soliner-blue);
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.tech-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--mint-green), transparent);
    animation: scan 2.5s infinite linear;
}
.tech-bar.short { width: 60%; }
.tech-bar.medium { width: 85%; animation-delay: 0.5s; }
@keyframes scan {
    100% { left: 200%; }
}


/* Team Section */
.equipo {
    padding: 6rem 5%;
    background-color: var(--white);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.team-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(5, 104, 145, 0.08);
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.highlight-team {
    border: 2px solid var(--mint-green);
    transform: translateY(-5px);
}
.highlight-team:hover {
    transform: translateY(-13px);
}
.team-photo {
    height: 250px;
    background-color: var(--deep-blue);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.photo-1 { background: radial-gradient(circle at top, var(--soliner-blue), var(--deep-blue)); }
.photo-2 { background: radial-gradient(circle at top, var(--salmon-pink), var(--deep-blue)); }
.photo-3 { background: radial-gradient(circle at top, var(--mint-green), var(--deep-blue)); }
.photo-4 { background: radial-gradient(circle at top, var(--royal-blue), var(--deep-blue)); }

/* Placeholder icon indicating photo will go there */
.team-photo::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50% 50% 0 0;
    bottom: 0;
}
.team-photo::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: 125px;
}

.team-info {
    padding: 2rem;
    text-align: center;
}
.team-info h4 {
    font-size: 1.25rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}
.team-info span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-bottom: 1.5rem;
}
.cert-box {
    display: flex;
    justify-content: center;
}
.cert-badge {
    background-color: rgba(138, 235, 184, 0.2);
    color: var(--soliner-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--mint-green);
}

/* Testimonials Section */
.testimoniales {
    padding: 6rem 5%;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(5, 104, 145, 0.05);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.test-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid rgba(5, 104, 145, 0.1);
    transition: var(--transition);
}
.test-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.test-quote {
    font-size: 4rem;
    color: var(--mint-green);
    font-family: var(--font-heading);
    line-height: 0;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    opacity: 0.6;
}
.test-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}
.test-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px dashed rgba(5, 104, 145, 0.15);
    padding-top: 1.5rem;
}
.test-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--deep-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}
.test-author h4 {
    font-size: 1rem;
    color: var(--deep-blue);
    margin-bottom: 0.1rem;
}
.test-author span {
    font-size: 0.85rem;
    color: var(--soliner-blue);
}
.highlight-card {
    border: 2px solid var(--soliner-blue);
    box-shadow: 0 10px 30px rgba(10, 107, 147, 0.1);
}
.highlight-card .test-avatar {
    background-color: var(--soliner-blue);
}


/* Clientes Carousel */
.clientes {
    padding: 5rem 0;
    background-color: var(--deep-blue);
    color: var(--white);
    overflow: hidden;
}
.clientes .section-header h2 {
    color: var(--white);
}
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.carousel-container::before, .carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}
.carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--deep-blue) 0%, transparent 100%);
}
.carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--deep-blue) 0%, transparent 100%);
}
.carousel-track {
    display: flex;
    width: calc(250px * 8); 
    animation: scroll var(--carousel-speed) linear infinite;
}
.client-logo {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    transition: var(--transition);
}
.client-logo:hover {
    color: var(--white);
    transform: scale(1.05);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); }
}


/* Footer / Contact */
.footer {
    background-color: #012236; 
    color: var(--white);
    padding: 5rem 5% 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}
.logo-img-footer {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
    transform: scale(1.6);
    transform-origin: left center;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--mint-green);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}
.footer-links a:hover {
    color: var(--mint-green);
}
.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.footer-contact strong {
    color: var(--white);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ── Hamburger Button ────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(5, 104, 145, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 210;
    transition: var(--transition);
}
.hamburger:hover {
    border-color: var(--soliner-blue);
    background: rgba(10, 107, 147, 0.05);
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--deep-blue);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}
/* Animated X when open */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ──────────────────────────────── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 54, 86, 0.4);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.mobile-overlay.is-visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .diomi-flex { gap: 0.5rem; }
    .diomi-connector { width: 20px; }
    .app-screenshot { width: 320px; }
}

/* ── Mobile Breakpoint ───────────────────────────────── */
@media (max-width: 900px) {
    /* Show hamburger, hide desktop nav */
    .hamburger { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(4, 54, 86, 0.15);
        z-index: 200;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        overflow-y: auto;
    }
    .nav.is-open {
        right: 0;
    }
    .nav a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(5, 104, 145, 0.08);
        display: block;
    }
    .nav a::after { display: none; }

    .header-actions {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.6rem;
        box-shadow: 0 -4px 20px rgba(4, 54, 86, 0.1);
        z-index: 200;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .header-actions.is-open {
        display: flex;
        transform: translateY(0);
    }
    .header-actions .btn {
        width: 100%;
        text-align: center;
    }

    .mobile-overlay { display: block; pointer-events: none; }
    .mobile-overlay.is-visible { pointer-events: auto; }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding-top: 4rem;
        padding-bottom: 4rem;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin: 0 auto;
    }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 2rem; }
    .hero-title br { display: none; }
    .hero-desc { font-size: 1rem; margin-left: auto; margin-right: auto; }

    /* Stats */
    .stat-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .stat-divider { width: 80px; height: 2px; }
    .stat-number { font-size: 3.5rem; }

    /* DIOMI */
    .diomi-flex { flex-direction: column; }
    .diomi-connector {
        width: 2px;
        height: 30px;
        margin-bottom: 1rem;
        background: linear-gradient(180deg, var(--mint-green), transparent);
    }

    /* Grids to single column */
    .diferencial { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .app-screenshot { width: 280px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Section padding */
    .diomi, .services, .diferencial, .equipo, .testimoniales { padding: 4rem 5%; }
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .badge { font-size: 0.65rem; letter-spacing: 1px; }
    .app-screenshot { width: 260px; }
}

/* ── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Zones Panel (Hero Visual) ────────────────────────── */
.zones-panel {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: fadeInZones 0.9s ease forwards;
}

.zp-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.2rem;
}
.zp-title {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soliner-blue);
    flex: 1;
}
.map-live-badge {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #89E4AB;
    border: 1px solid rgba(137,228,171,0.5);
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    background: rgba(137,228,171,0.08);
    animation: blinkDot 1.8s ease-in-out infinite;
}

/* Grid: card - connector - card - connector - card */
.zp-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ─── Card ─────────────────────────────────────────────── */
.zp-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(10,107,147,0.14);
    border-radius: 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(24px);
    animation: slideCard 0.6s ease forwards;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
@keyframes slideCard {
    to { opacity:1; transform:translateX(0); }
}
.zp-card:hover {
    box-shadow: 0 8px 30px rgba(4,54,86,0.13);
    border-color: rgba(137,228,171,0.45);
}

/* Left accent bar */
.zp-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--soliner-blue), var(--mint-green));
    border-radius: 14px 0 0 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.zp-card:hover::before { opacity: 1; }

/* HQ variant */
.zp-hq {
    background: rgba(10,107,147,0.06);
    border-color: rgba(137,228,171,0.35);
}
.zp-hq::before {
    opacity: 1;
    background: linear-gradient(180deg, var(--mint-green), var(--soliner-blue));
}
.zp-hq-badge {
    position: absolute;
    top: 6px; right: 8px;
    font-family: var(--font-heading);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--mint-green);
    border: 1px solid rgba(137,228,171,0.5);
    border-radius: 20px;
    padding: 0.1rem 0.45rem;
    background: rgba(137,228,171,0.08);
}

/* Zone number */
.zp-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(4,54,86,0.12);
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
}

/* Icon */
.zp-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,107,147,0.08);
    border-radius: 10px;
    color: var(--soliner-blue);
    border: 1px solid rgba(10,107,147,0.12);
}
.zp-icon svg { width: 18px; height: 18px; }

/* Text info */
.zp-info { flex: 1; min-width: 0; }
.zp-dept {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zp-city {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.05rem;
}
.zp-service {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--soliner-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.1rem;
    opacity: 0.8;
}

/* Score column */
.zp-score {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}
.zp-pct {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1;
}
.zp-pct span { font-size: 0.7rem; color: var(--soliner-blue); }
.zp-bar {
    width: 60px; height: 4px;
    background: rgba(10,107,147,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.zp-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--soliner-blue), #89E4AB);
    border-radius: 4px;
    animation: fillZpBar 1.4s ease forwards;
    animation-delay: 0.7s;
}
@keyframes fillZpBar { to { width: var(--w); } }

/* Pulse ring decoration */
.zp-pulse-ring {
    position: absolute;
    right: 12px; bottom: 10px;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(137,228,171,0.3);
    animation: zpPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}
.zp-pulse-ring::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: rgba(137,228,171,0.4);
    box-shadow: 0 0 6px rgba(137,228,171,0.7);
}
@keyframes zpPulse {
    0%,100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* ─── Connector ─────────────────────────────────────────── */
.zp-connector {
    position: relative;
    height: 20px;
    margin: 0 0 0 46px;    /* align with icon column */
    display: flex;
    align-items: center;
}
.zp-line {
    position: absolute;
    left: 8px; top: 50%;
    width: 1px;
    height: 20px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(137,228,171,0.5), rgba(10,107,147,0.3));
}
.zp-particle {
    position: absolute;
    left: 5px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #89E4AB;
    box-shadow: 0 0 6px rgba(137,228,171,0.9);
    opacity: 0;
    animation: zpFlow 1.5s ease-in-out infinite;
}
@keyframes zpFlow {
    0%   { top: 0px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Footer */
.zp-footer {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--soliner-blue);
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(10,107,147,0.15);
    border-radius: 20px;
    background: rgba(10,107,147,0.04);
}
.zp-flag { font-size: 0.85rem; }

/* ── Coverage Panel (pure SVG) ────────────────────────── */
.cov-panel {
    width: 100%;
    max-width: 445px;
    animation: fadeInZones 1s ease forwards;
}
.cov-panel-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}
.cov-panel-title {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soliner-blue);
}
.cov-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}
.cov-map-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 65vh;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    object-fit: contain;
    mask-image: radial-gradient(ellipse 78% 85% at 50% 45%, black 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 78% 85% at 50% 45%, black 55%, transparent 100%);
    animation: fadeInZones 1s ease forwards, mapFloat 7s ease-in-out 1s infinite;
}
@keyframes mapFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}



