﻿        :root {
            --bg: #f0f2f5;
            --bg-pattern: #e8eaef;
            --card: #ffffff;
            --text: #141414;
            --muted: #5c6370;
            --brand: #e30613;
            --brand-dark: #b5050f;
            --link: #1a56a8;
            --link-hover: #0d3d7a;
            --border: rgba(0, 0, 0, 0.08);
            --shadow: 0 4px 24px rgba(20, 20, 40, 0.08);
            --shadow-lg: 0 20px 50px rgba(20, 20, 40, 0.12);
            --radius: 20px;
            --radius-sm: 12px;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
            background-color: var(--bg);
            background-image:
                radial-gradient(circle at 20% 0%, rgba(227, 6, 19, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 80% 100%, rgba(26, 86, 168, 0.05) 0%, transparent 40%),
                linear-gradient(180deg, var(--bg) 0%, var(--bg-pattern) 100%);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .top-accent {
            height: 4px;
            background: linear-gradient(90deg, var(--brand-dark), var(--brand), #ff4d4d);
        }

        .hero-wrap {
            position: relative;
            width: 100%;
            min-height: 280px;
            max-height: 420px;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .hero-wrap { min-height: 340px; max-height: 460px; }
        }

        .hero-photo {
            width: 100%;
            height: 100%;
            min-height: 280px;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .hero-fallback {
            display: none;
            position: absolute;
            inset: 0;
            /* Más luminoso en el centro para que el logo no quede sobre negro/rojo muy oscuro */
            background: linear-gradient(135deg, #3a3a3e 0%, #5c2830 45%, var(--brand) 92%);
        }

        .hero-fallback.is-visible { display: block; }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.35) 55%,
                rgba(0, 0, 0, 0.55) 100%
            );
            pointer-events: none;
        }

        .hero-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: min(72vw, 320px);
            z-index: 2;
            background: rgba(255, 255, 255, 0.94);
            padding: 14px 22px;
            border-radius: 18px;
            box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
        }

        .hero-logo img {
            width: 100%;
            height: auto;
            display: block;
        }

        .shell {
            width: min(96vw, 1180px);
            margin: 0 auto;
            padding: 0 20px 48px;
            margin-top: -100px;
            position: relative;
            z-index: 3;
            flex: 1;
        }

        @media (max-width: 640px) {
            .shell { margin-top: -56px; padding-bottom: 36px; }
        }

        .panel {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 32px 28px 36px;
            position: relative;
            overflow: hidden;
        }

        .panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--brand), #ff6b6b, var(--brand-dark));
        }

        .title {
            text-align: center;
            margin-bottom: 10px;
        }

        .title-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--brand);
            background: rgba(227, 6, 19, 0.08);
            padding: 6px 14px;
            border-radius: 999px;
            margin-bottom: 14px;
        }

        .title h1 {
            margin: 0;
            font-size: clamp(1.45rem, 3.8vw, 2.2rem);
            line-height: 1.05;
            font-weight: 800;
            text-transform: uppercase;
            font-style: italic;
            letter-spacing: -0.02em;
        }

        .title h2 {
            margin: 8px 0 0;
            font-size: clamp(1.35rem, 3.8vw, 2.1rem);
            line-height: 1.05;
            font-weight: 800;
            text-transform: uppercase;
            font-style: italic;
            color: var(--text);
        }

        .lead {
            text-align: center;
            font-size: clamp(1rem, 2.2vw, 1.2rem);
            line-height: 1.55;
            font-weight: 600;
            color: var(--muted);
            max-width: 520px;
            margin: 0 auto 32px;
        }

        .lead strong {
            color: var(--text);
            font-weight: 800;
        }

        .lead .accent {
            color: var(--brand);
            text-decoration: underline;
            text-decoration-thickness: 3px;
            text-underline-offset: 4px;
        }

        .lead .accent-cta {
            font-weight: 800;
        }

        .lead .accent-whatsapp {
            color: #2f9f43;
            font-weight: 800;
        }

        .content {
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .regions-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        @media (max-width: 640px) {
            .regions-grid { grid-template-columns: 1fr; }
        }

        .region-card {
            background: linear-gradient(180deg, #fafbfc 0%, #fff 40%);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 18px 18px 20px;
            box-shadow: var(--shadow);
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }

        .region-card:hover {
            box-shadow: 0 8px 28px rgba(20, 20, 40, 0.1);
        }

        .region-title {
            background: linear-gradient(90deg, var(--brand) 0%, #c50510 100%);
            color: #fff;
            font-size: 0.95rem;
            font-weight: 800;
            padding: 10px 14px;
            margin: -4px -4px 14px -4px;
            border-radius: 10px;
            letter-spacing: 0.02em;
            box-shadow: 0 4px 12px rgba(227, 6, 19, 0.25);
        }

        .province-list,
        .subzone-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .province-item { margin-bottom: 10px; }

        .province-link,
        .subzone-link {
            color: var(--link);
            text-decoration: none;
            font-size: clamp(1rem, 2.2vw, 1.2rem);
            font-weight: 800;
            line-height: 1.4;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 4px 0;
            transition: color 0.15s ease, transform 0.15s ease;
        }

        .province-link::after,
        .subzone-link::after {
            content: '→';
            font-size: 0.85em;
            opacity: 0;
            transform: translateX(-4px);
            transition: opacity 0.15s ease, transform 0.15s ease;
        }

        .province-link:hover,
        .subzone-link:hover {
            color: var(--link-hover);
        }

        .province-link:hover::after,
        .subzone-link:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

        .subzone-list {
            margin-top: 8px;
            margin-left: 6px;
            padding-left: 14px;
            border-left: 2px solid rgba(227, 6, 19, 0.2);
        }

        .subzone-item {
            margin-bottom: 6px;
            position: relative;
            padding-left: 4px;
        }

        .contact-card {
            border-radius: var(--radius-sm);
            background: linear-gradient(165deg, #fff 0%, #f8f9fb 100%);
            border: 1px solid var(--border);
            padding: 22px 20px 24px;
            box-shadow: var(--shadow);
            position: static;
        }

        .contact-card--compact {
            width: min(100%, 360px);
            margin: 0 0 0 auto;
            padding: 16px 14px 18px;
        }

        @media (max-width: 980px) {
            .contact-card--compact {
                width: 100%;
                margin-left: 0;
            }
        }

        .contact-card h3 {
            margin: 0 0 16px;
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .contact-logo {
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom: 1px solid var(--border);
        }

        .contact-card--compact .contact-logo {
            margin-bottom: 14px;
            padding-bottom: 12px;
        }

        .contact-logo img {
            max-width: 200px;
            width: 100%;
            height: auto;
            display: block;
        }

        .contact-card--compact .contact-logo img {
            max-width: 150px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 12px;
            font-weight: 700;
            font-size: 1rem;
        }

        .contact-item a {
            color: var(--text);
            text-decoration: none;
            border-bottom: 2px solid transparent;
            transition: border-color 0.15s ease, color 0.15s ease;
        }

        .contact-item a:hover {
            color: var(--brand);
            border-bottom-color: rgba(227, 6, 19, 0.35);
        }

        .contact-card--compact .contact-item {
            gap: 10px;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .contact-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--brand);
            margin-top: 7px;
            flex-shrink: 0;
        }

        .socials-label {
            margin: 22px 0 12px;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .socials {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .social-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 999px;
            background: #fff;
            border: 1px solid var(--border);
            text-decoration: none;
            color: var(--text);
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .contact-card--compact .social-btn {
            padding: 8px 10px;
            font-size: 0.82rem;
            gap: 8px;
        }

        .social-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(20, 20, 40, 0.1);
            border-color: rgba(227, 6, 19, 0.25);
        }

        .social-btn img,
        .social-btn .social-icon {
            width: 28px;
            height: 28px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .contact-card--compact .social-btn img,
        .contact-card--compact .social-btn .social-icon {
            width: 22px;
            height: 22px;
        }

        .social-btn .social-icon svg {
            width: 28px;
            height: 28px;
            display: block;
        }

        .alert-error {
            background: linear-gradient(90deg, #ffebee, #fce4ec);
            color: #b71c1c;
            padding: 14px 18px;
            text-align: center;
            font-weight: 700;
            border-bottom: 1px solid #ffcdd2;
        }

        .brand-strip {
            margin-top: auto;
            text-align: center;
            background: linear-gradient(180deg, #fafbfc 0%, #eef0f4 100%);
            color: var(--text);
            padding: 28px 20px 32px;
            border-top: 4px solid var(--brand);
        }

        .brand-strip-inner {
            max-width: 520px;
            margin: 0 auto;
        }

        .brand-strip img {
            height: 48px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            filter: none;
            opacity: 1;
        }

        .brand-strip .brand-strip-logo-color {
            height: 48px;
        }

        .brand-strip p {
            margin: 14px 0 0;
            font-size: 0.85rem;
            color: var(--muted);
        }

        .brand-strip a {
            color: var(--brand);
            font-weight: 700;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .brand-strip a:hover {
            color: var(--brand-dark);
        }

.hero-photo.hero-hidden { display: none; }
