/* ==========================================================================
   #076 SED SERVICIOS DE ENFERMERÍA DOMICILIARIA — PRO UX DESIGN SYSTEM
   ========================================================================== */

:root {
    --primary: #0b4ea2;
    --primary-dark: #052c61;
    --primary-light: #edf4fe;
    --primary-glow: rgba(11, 78, 162, 0.18);
    --primary-gradient: linear-gradient(135deg, #0b4ea2 0%, #063574 100%);
    
    --accent-red: #d92525;
    --accent-red-light: #fef2f2;
    --accent-red-glow: rgba(217, 37, 37, 0.2);

    --secondary-teal: #0d9488;
    --secondary-teal-light: #f0fdfa;

    --gold-accent: #f59e0b;
    --gold-light: #fffbeb;

    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #07152b;
    --bg-dark-card: #0d2243;
    --border-color: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -4px rgba(11, 78, 162, 0.08);
    --shadow-lg: 0 20px 35px -8px rgba(11, 78, 162, 0.14);
    --shadow-xl: 0 25px 50px -12px rgba(11, 78, 162, 0.22);

    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Animations (Scroll Reveal & Micro-Interactions)
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Layout & Typography
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 95px 0;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(11, 78, 162, 0.15);
}

.section-tag svg {
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.6px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 740px;
    margin-bottom: 50px;
    line-height: 1.65;
}

.text-center {
    text-align: center;
}
.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(11, 78, 162, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(11, 78, 162, 0.38);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.42);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1.5px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.05rem;
}
.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Top Bar & Navbar
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.14);
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.top-bar-right a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.top-bar-right a:hover {
    color: #38bdf8;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo img {
    height: 54px;
    width: auto;
    display: block;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

/* --------------------------------------------------------------------------
   HERO SECTION (Trama moderna con contraste y profundidad)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background-color: #ffffff;
    /* Trama médica / Blueprint grid pattern */
    background-image: 
        radial-gradient(at 0% 0%, rgba(11, 78, 162, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(13, 148, 136, 0.07) 0px, transparent 50%),
        linear-gradient(to right, rgba(11, 78, 162, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 78, 162, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 34px 34px, 34px 34px;
    padding: 85px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(11, 78, 162, 0.08);
    border: 1px solid rgba(11, 78, 162, 0.15);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.14;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1.2px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(135deg, #0b4ea2 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 34px;
    line-height: 1.65;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    background: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.hero-badge-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Media Card */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(11, 78, 162, 0.15);
    background: #ffffff;
}

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

.hero-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(7, 21, 43, 0.9) 0%, rgba(7, 21, 43, 0) 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-visual-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-visual-text span {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.hero-badge-float {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   1. SERVICIOS BÁSICOS (Showcase Interactivo Pro con SVG)
   -------------------------------------------------------------------------- */
.basicos-section {
    background-color: #ffffff;
}

.basicos-showcase {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: start;
}

.basicos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.basico-item {
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.basico-item:hover, .basico-item.active {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.basico-item.active .basico-icon {
    background: var(--primary);
    color: #ffffff;
}

.basico-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.basico-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.basico-text p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.basico-detail-card {
    background: linear-gradient(145deg, #ffffff 0%, var(--primary-light) 100%);
    border: 2px solid rgba(11, 78, 162, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.basico-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.basico-detail-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.basico-detail-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 26px;
    line-height: 1.65;
}

.basico-detail-checklist {
    list-style: none;
    margin-bottom: 34px;
}

.basico-detail-checklist li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(11, 78, 162, 0.06);
}

.basico-detail-checklist li svg {
    color: var(--secondary-teal);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. SERVICIOS INTERMEDIOS (Con Foto Real en cada uno de los 3 Servicios)
   -------------------------------------------------------------------------- */
.intermedios-section {
    background-color: var(--bg-light);
}

.intermedios-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.intermedio-row-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: center;
    transition: var(--transition);
}

.intermedio-row-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 78, 162, 0.25);
    transform: translateY(-3px);
}

.intermedio-row-card.reverse {
    grid-template-columns: 1fr 320px;
}

.intermedio-row-card.reverse .intermedio-row-img-box {
    order: 2;
}
.intermedio-row-card.reverse .intermedio-row-content {
    order: 1;
    padding-left: 40px;
    padding-right: 0;
}

.intermedio-row-img-box {
    position: relative;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
}

.intermedio-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.intermedio-row-card:hover .intermedio-row-img {
    transform: scale(1.05);
}

.intermedio-row-content {
    padding: 36px 40px 36px 0;
}

.intermedio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--secondary-teal-light);
    color: var(--secondary-teal);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.intermedio-row-content h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.intermedio-row-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.intermedio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.intermedio-tag {
    background: var(--bg-light);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   3. SERVICIOS DE ALTO RIESGO (Tarjetas Verticales Pulidas con Fotos)
   -------------------------------------------------------------------------- */
.alto-riesgo-section {
    background-color: var(--bg-dark);
    color: #ffffff;
    position: relative;
    /* Subtle mesh pattern */
    background-image: radial-gradient(circle at 50% 0%, rgba(11, 78, 162, 0.25) 0%, transparent 60%);
}

.alto-riesgo-section .section-title {
    color: #ffffff;
}

.alto-riesgo-section .section-subtitle {
    color: #94a3b8;
}

.alto-vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.alto-vertical-card {
    background: var(--bg-dark-card);
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.alto-vertical-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

/* Tarjeta Central Destacada */
.alto-vertical-card.featured {
    border: 2px solid var(--accent-red);
    box-shadow: 0 20px 50px rgba(217, 37, 37, 0.3);
    position: relative;
    transform: scale(1.03);
}

.alto-vertical-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.alto-card-badge-top {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-red);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    z-index: 2;
}

.alto-card-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.alto-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.alto-vertical-card:hover .alto-card-img {
    transform: scale(1.06);
}

.alto-card-body {
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.alto-card-category {
    font-size: 0.8rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.alto-card-body h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.alto-card-body p {
    font-size: 0.93rem;
    color: #cbd5e1;
    margin-bottom: 22px;
    line-height: 1.6;
    flex-grow: 1;
}

.alto-checklist {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid var(--border-dark);
    padding-top: 16px;
}

.alto-checklist li {
    font-size: 0.88rem;
    color: #e2e8f0;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.alto-checklist li svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. PACKS DE ATENCIÓN (Matriz de 3 Tarjetas con Central Destacado)
   -------------------------------------------------------------------------- */
.packs-section {
    background: #ffffff;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.pack-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 42px 34px;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pack-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.04);
    background: linear-gradient(180deg, #ffffff 0%, var(--primary-light) 100%);
}

.pack-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pack-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.3);
}

.pack-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    align-self: flex-start;
}

.pack-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.pack-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.55;
}

.pack-features {
    list-style: none;
    margin-bottom: 34px;
    flex-grow: 1;
}

.pack-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.93rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 11px;
}

.pack-features li svg {
    color: var(--secondary-teal);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. CÓMO FUNCIONA (Línea de Proceso Conectada)
   -------------------------------------------------------------------------- */
.process-section {
    background-color: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 54px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
    z-index: 1;
}

.process-card {
    text-align: center;
    padding: 38px 26px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 78, 162, 0.2);
}

.process-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--bg-light);
}

.process-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.process-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. POR QUÉ ELEGIRNOS (Matriz de Stats & Confianza)
   -------------------------------------------------------------------------- */
.why-section {
    background-color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}

.why-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.why-stat {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.why-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.why-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. SEDES EN CÓRDOBA (Regla 15)
   -------------------------------------------------------------------------- */
.local-contact-section {
    background-color: var(--bg-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.location-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.location-card-content {
    padding: 32px;
}

.location-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.location-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.location-address {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-address svg {
    color: var(--accent-red);
    flex-shrink: 0;
}

.location-neighborhood {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.location-map-iframe {
    width: 100%;
    height: 270px;
    border: none;
    display: block;
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
    background-color: #ffffff;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.08rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Footer & Credits (Regla 02)
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #07152b;
    color: #94a3b8;
    padding: 75px 0 32px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 16px 0 20px;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-locations p {
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-credit a {
    color: #38bdf8;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Regla 07 — Botón WhatsApp Flotante
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: max(22px, env(safe-area-inset-right, 0px));
    bottom: max(22px, calc(22px + env(safe-area-inset-bottom, 0px)));
    z-index: 1500;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
}

/* --------------------------------------------------------------------------
   Regla 08 — Responsive Mobile Safe
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .basicos-showcase {
        grid-template-columns: 1fr;
    }
    .basico-detail-card {
        position: static;
    }
    .intermedio-row-card, .intermedio-row-card.reverse {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .intermedio-row-card.reverse .intermedio-row-img-box {
        order: 1;
    }
    .intermedio-row-card.reverse .intermedio-row-content {
        order: 2;
        padding: 30px;
    }
    .intermedio-row-content {
        padding: 30px;
    }
    .alto-vertical-grid {
        grid-template-columns: 1fr;
    }
    .alto-vertical-card.featured {
        transform: none;
    }
    .alto-vertical-card.featured:hover {
        transform: translateY(-6px);
    }
    .packs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pack-card.featured {
        transform: none;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .hero-title {
        font-size: 2.35rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        gap: 18px;
    }
    .nav-menu.active {
        display: flex;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-grid::before {
        display: none;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .locations-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-desc {
        display: none;
    }
}
