/* ==========================================================================
   CORVIUM ENERGY - SISTEMA DE DISEÑO DEL COTIZADOR SOLAR
   Base obsidiana de Corvium, naranja Corvium (#FF6600) para acciones y verde Energy (#22C55E) para ahorro
   Con flujo de captura de leads, costo reservado y escrito membretado de correo
   ========================================================================== */
@font-face{font-family:'Outfit';font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/outfit-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Share Tech Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/share-tech-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}


:root {
    /* Paleta Principal Dark Mode */
    --bg-main: #050A12;              /* obsidiana Corvium */
    --bg-card: rgba(11, 18, 30, 0.88);
    --bg-card-hover: rgba(16, 26, 42, 0.95);
    --bg-card-solid: #0B1320;
    --bg-surface: #101A2B;
    --bg-input: #08111D;
    --grid-line: rgba(255, 102, 0, 0.035);
    --bg-inset: rgba(0, 0, 0, 0.22);
    --bg-band: rgba(11, 18, 30, 0.5);
    --bg-sticky: rgba(5, 10, 18, 0.95);

    /* Acentos de Color */
    --solar-gold: #FF6600;           /* naranja Corvium */
    --solar-gold-glow: rgba(255, 102, 0, 0.16);
    --solar-amber: #E05500;
    --eco-emerald: #22C55E;          /* verde Corvium Energy */
    --eco-emerald-glow: rgba(34, 197, 94, 0.18);
    --danger-coral: #ef4444;
    --warning-amber: #FF8A3D;

    /* Texto & Contraste */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #050A12;

    /* Bordes & Glassmorphism */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 102, 0, 0.3);
    --border-active: #FF6600;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --glow-shadow: 0 0 22px rgba(255, 102, 0, 0.12);

    /* Tipografía */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Share Tech Mono', ui-monospace, Menlo, monospace;

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Modo Claro Adaptativo */
body.theme-light {
    --bg-main: #f6f3ee;
    --grid-line: rgba(255, 102, 0, 0.05);
    --bg-inset: rgba(0, 0, 0, 0.04);
    --bg-band: rgba(255, 255, 255, 0.5);
    --bg-sticky: rgba(246, 243, 238, 0.95);
    --solar-gold-text: #b84a00;
    --eco-text: #15803D;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #ffffff;
    --bg-card-solid: #ffffff;
    --bg-surface: #efe9e1;
    --bg-input: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-bottom: 70px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

.text-accent { color: var(--solar-gold-text, var(--solar-gold)); }
.text-success { color: var(--eco-text, var(--eco-emerald)); }
.text-danger { color: var(--danger-coral); }
.text-warning { color: var(--warning-amber); }

.gradient-text {
    background: linear-gradient(135deg, #FF8A3D 0%, #FF6600 45%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Announcement */
.top-announcement-bar {
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.10), rgba(34, 197, 94, 0.08)), #050A12;
    border-bottom: 1px solid rgba(255, 102, 0, 0.2);
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-link {
    color: var(--solar-gold);
    font-weight: 700;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 10, 18, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
    transition: background var(--transition-fast);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark { height: 40px; width: auto; display: block; }
.brand-wordmark { height: 30px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 0.2rem; }
.brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}
/* El logo en blanco no se lee sobre el papel del tema claro */
.logo-on-light { display: none; }
body.theme-light .logo-on-dark { display: none; }
body.theme-light .logo-on-light { display: block; }
@media (max-width: 420px) {
    .brand-tagline { display: none; }
    .brand-wordmark { height: 24px; }
    .brand-mark { height: 32px; }
    .header-container { gap: 0.75rem; padding: 0 1rem; }
    .header-actions { gap: 0.5rem; }
}

.main-nav { display: none; }
@media (min-width: 1100px) { .main-nav { display: block; } }

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-link {
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active { color: var(--text-primary); }

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

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--solar-gold), var(--solar-amber));
    color: #050A12;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.18);
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.28);
}

.btn-primary-lg {
    padding: 1rem 1.8rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--solar-gold), var(--solar-amber));
    color: #050A12;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.2);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.btn-whatsapp {
    padding: 1rem 1.8rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-outline-sm {
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline {
    padding: 0.85rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--solar-gold);
}

.btn-icon { width: 20px; height: 20px; }
.btn-text-sm {
    background: none;
    border: none;
    color: var(--solar-gold);
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-full-width {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.12) 0%, rgba(34, 197, 94, 0.07) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--solar-gold);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--eco-emerald);
    box-shadow: 0 0 8px var(--eco-emerald);
}

.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    letter-spacing: -1.2px;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto 2.25rem;
    color: var(--text-secondary);
}

.quick-bill-selector-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    backdrop-filter: blur(8px);
}

.quick-bill-title {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.quick-bill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.pill-btn {
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pill-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--solar-gold);
}

.pill-btn.active {
    background: var(--solar-gold);
    color: #050A12;
    border-color: var(--solar-gold);
    box-shadow: 0 0 12px rgba(255, 102, 0, 0.4);
}

.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .trust-badges-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-badge-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    box-shadow: var(--card-shadow);
}

.tb-icon { font-size: 1.6rem; flex-shrink: 0; }
.tb-text strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.tb-text span { display: block; font-size: 0.72rem; color: var(--text-muted); }

/* Sector Tabs */
.sector-tabs-container { margin-bottom: 1.5rem; }
.sector-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: var(--bg-card-solid);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.sector-tab-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-smooth);
}

.sector-tab-btn:hover { background: rgba(255, 255, 255, 0.03); color: var(--text-primary); }
.sector-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.14), rgba(34, 197, 94, 0.08));
    border-color: var(--solar-gold);
    color: var(--text-primary);
    box-shadow: var(--glow-shadow);
}

.tab-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-icon-wrap svg { width: 26px; height: 26px; }
.sector-tab-btn.active .tab-icon-wrap { background: var(--solar-gold); color: #050A12; }
.tab-title { display: block; font-size: 1.15rem; font-weight: 700; font-family: var(--font-heading); }
.tab-subtitle { display: block; font-size: 0.82rem; color: var(--text-muted); }

.sector-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.08), rgba(34, 197, 94, 0.05));
    border-left: 4px solid var(--solar-gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.sector-banner-icon { font-size: 2rem; }
.sector-banner-info h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.sector-banner-info p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-secondary); }

.business-presets-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.presets-label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--solar-gold); margin-bottom: 0.85rem; }
.presets-chips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.preset-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.preset-chip:hover { border-color: var(--solar-gold); transform: translateY(-2px); }
.preset-chip strong { display: block; font-size: 0.88rem; }
.preset-chip small { display: block; font-size: 0.75rem; color: var(--text-muted); }

/* Quoting Grid */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .quote-grid { grid-template-columns: 1.15fr 1fr; }
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.75rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.card-title { font-size: 1.35rem; display: flex; align-items: center; gap: 0.6rem; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--solar-gold);
    color: #050A12;
    font-size: 0.9rem;
    font-weight: 800;
}

.card-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--eco-emerald);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-weight: 600;
}

.form-group { margin-bottom: 1.75rem; }
.form-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.form-label { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.step-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: var(--solar-gold);
    font-weight: 700;
}

.bill-display-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--solar-gold);
    font-family: var(--font-heading);
}

.slider-wrapper { position: relative; margin: 1rem 0 0.5rem; }
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: var(--bg-surface);
    outline: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--solar-gold);
    cursor: pointer;
    border: 3px solid #0f1523;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
}

.slider-ticks { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; }
.direct-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.input-with-label { display: flex; flex-direction: column; gap: 0.35rem; }
.sub-label { font-size: 0.78rem; color: var(--text-muted); }

.form-input-sm, .form-select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
}

.tariff-detected-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-top: 1rem;
}

.tariff-icon { font-size: 1.3rem; }
.tariff-text strong { font-size: 0.88rem; color: #fca5a5; display: block; }
.tariff-text p { font-size: 0.8rem; margin-bottom: 0; color: var(--text-secondary); }

/* System Selection */
.system-type-selector { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.system-card-option { cursor: pointer; position: relative; display: block; }
.system-card-option input[type="radio"] { position: absolute; opacity: 0; }
.system-card-inner {
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    transition: all var(--transition-fast);
}

.system-card-option input[type="radio"]:checked + .system-card-inner {
    border-color: var(--solar-gold);
    background: rgba(255, 102, 0, 0.08);
    box-shadow: var(--glow-shadow);
}

.system-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.system-icon { font-size: 1.5rem; }
.system-tag { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px; text-transform: uppercase; }
.tag-popular { background: rgba(34, 197, 94, 0.15); color: var(--eco-emerald); }
.tag-isolated { background: rgba(255, 102, 0, 0.15); color: var(--solar-gold); }
.tag-premium { background: rgba(255, 102, 0, 0.12); color: var(--warning-amber); }
.system-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.system-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; line-height: 1.45; }
.system-perks { list-style: none; font-size: 0.78rem; color: var(--eco-emerald); display: flex; flex-direction: column; gap: 0.25rem; }

/* Shadow Options */
.shadow-options-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .shadow-options-grid { grid-template-columns: repeat(3, 1fr); } }
.shadow-option-card { cursor: pointer; position: relative; display: block; }
.shadow-option-card input[type="radio"] { position: absolute; opacity: 0; }
.shadow-card-inner {
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    text-align: center;
    transition: all var(--transition-fast);
    height: 100%;
}

.shadow-option-card input[type="radio"]:checked + .shadow-card-inner {
    border-color: var(--solar-gold);
    background: rgba(255, 102, 0, 0.08);
}

.shadow-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.shadow-title { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.25rem; }
.shadow-desc { display: block; font-size: 0.73rem; color: var(--text-muted); line-height: 1.35; }
.shadow-hint-box {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid var(--eco-emerald);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.form-row-2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row-2col { grid-template-columns: 1fr 1fr; } }

/* Stepper Paneles */
.panel-stepper-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-subtle);
}

.btn-stepper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-stepper:hover { background: var(--solar-gold); color: #050A12; }
.panel-counter-display { text-align: center; }
.panel-counter-number { font-size: 2.2rem; font-weight: 800; font-family: var(--font-heading); color: var(--solar-gold); line-height: 1; }
.panel-counter-unit { font-size: 0.85rem; color: var(--text-secondary); display: block; }
.panel-power-badge { font-size: 0.75rem; color: var(--eco-emerald); font-weight: 700; }
.panel-recommendation-note { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.6rem; padding: 0.5rem 0.75rem; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-sm); }

/* Results Panel */
.results-panel { position: sticky; top: 5.5rem; }
.result-card-featured {
    border-color: rgba(255, 102, 0, 0.35);
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card-solid) 100%);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 102, 0, 0.15);
}

.result-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.tag-status { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--solar-gold); font-weight: 700; display: block; margin-bottom: 0.25rem; }
.result-title { font-size: 1.4rem; }

.coverage-badge {
    text-align: right;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
}

.coverage-val { font-size: 1.4rem; font-weight: 800; font-family: var(--font-mono); color: var(--eco-emerald); display: block; line-height: 1; }
.coverage-sub { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; }

.bill-comparison-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-inset);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-subtle);
}

.bill-compare-col { text-align: left; }
.bill-compare-col.highlight { text-align: right; }
.compare-label { font-size: 0.78rem; color: var(--text-muted); display: block; }
.compare-amount { font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading); display: block; line-height: 1.1; }
.compare-sub { font-size: 0.72rem; color: var(--text-secondary); }
.compare-arrow { font-size: 1.5rem; color: var(--solar-gold); opacity: 0.8; }

.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.metric-icon { font-size: 1.5rem; }
.metric-details { display: flex; flex-direction: column; }
.metric-label { font-size: 0.75rem; color: var(--text-muted); }
.metric-value { font-size: 1.2rem; font-family: var(--font-mono); }
.corporate-only.hidden { display: none !important; }

/* ==========================================================================
   TARJETA DE SOLICITUD DE COSTO FINAL
   ========================================================================== */
/* Apartado Dedicado: Solicitar Costo Final */
.request-final-cost-section {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card-solid) 100%);
    border: 1px solid var(--border-highlight);
    border-left: 5px solid var(--solar-gold);
}

.rf-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.rf-icon-wrap {
    font-size: 2.2rem;
    background: rgba(255, 102, 0, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rf-title {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.rf-subtitle {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.rf-perks-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    background: var(--bg-inset);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

@media (min-width: 640px) {
    .rf-perks-list { grid-template-columns: 1fr 1fr; }
}

.rf-perk {
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Simulador de Techo */
.roof-visualizer-card { padding: 1.5rem; }
.card-header-clean { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.subcard-title { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.roof-specs-tags { display: flex; gap: 0.5rem; }
.roof-tag { font-size: 0.72rem; background: rgba(255, 255, 255, 0.06); padding: 0.2rem 0.55rem; border-radius: 4px; color: var(--text-secondary); }

.roof-preview-container {
    height: 180px;
    background: #0f1523;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.roof-surface {
    width: 100%; height: 100%;
    position: relative; perspective: 600px;
    display: flex; align-items: center; justify-content: center;
}

.roof-surface[data-roof="concreto"] {
    background: radial-gradient(circle at 50% 50%, #2a3447 0%, #171f2d 100%);
    background-image: radial-gradient(#3a465d 1px, transparent 1px);
    background-size: 16px 16px;
}
.roof-surface[data-roof="lamina"] {
    background: repeating-linear-gradient(90deg, #1f2937, #1f2937 15px, #374151 16px, #1f2937 17px);
}
.roof-surface[data-roof="teja"] {
    background: repeating-linear-gradient(0deg, #451a03, #78350f 12px, #9a3412 14px);
}
.roof-surface[data-roof="suelo"] {
    background: radial-gradient(circle, #2d3748, #1a202c);
}

.simulation-sun {
    position: absolute; top: 15px; right: 25px;
    width: 38px; height: 38px; border-radius: 50%;
    background: radial-gradient(circle, #fde047 0%, var(--solar-gold) 70%);
    box-shadow: 0 0 30px var(--solar-gold);
    z-index: 1;
}

.simulation-shadow {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; pointer-events: none;
    z-index: 3; opacity: 0; transition: opacity 0.4s ease;
}

.simulation-shadow.partial { opacity: 1; background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, transparent 80%); }
.simulation-shadow.heavy { opacity: 1; background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0,0,0,0.1) 100%); }

.panels-grid-container {
    display: flex; flex-wrap: wrap; gap: 5px;
    max-width: 85%; max-height: 80%;
    justify-content: center; align-items: center;
    z-index: 2; transform: rotateX(25deg);
}

.solar-module-visual {
    width: 32px; height: 48px;
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 40%, #075985 100%);
    border: 1px solid #7dd3fc; border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    position: relative; animation: placePanel 0.25s forwards;
}

.solar-module-visual::after {
    content: ''; position: absolute;
    top: 50%; left: 0; width: 100%; height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

@keyframes placePanel { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

.roof-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.85rem; font-size: 0.75rem; color: var(--text-muted); }
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.dot-panel { background: #0284c7; }
.dot-sun { background: var(--solar-gold); border-radius: 50%; }
.dot-shadow { background: rgba(0, 0, 0, 0.7); }

/* Ficha Técnica */
.tech-specs-card { padding: 1.5rem; }
.tech-specs-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.spec-row {
    display: flex; flex-direction: column; font-size: 0.85rem;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 640px) { .spec-row { flex-direction: row; justify-content: space-between; } }
.spec-name { color: var(--text-muted); font-weight: 500; }
.spec-detail { color: var(--text-primary); font-weight: 600; text-align: right; }

/* Impacto Ecológico */
.eco-impact-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(10, 14, 23, 0.8) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.eco-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.eco-leaf { font-size: 1.4rem; }
.eco-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.eco-stat { display: flex; flex-direction: column; align-items: center; }
.eco-num { font-size: 1.35rem; font-weight: 800; color: var(--eco-text, var(--eco-emerald)); font-family: var(--font-mono); }
.eco-label { font-size: 0.72rem; color: var(--text-secondary); }

/* Recibo CFE */
.cfe-bill-section {
    padding: 5rem 0;
    background: var(--bg-band);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cfe-bill-comparison-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    align-items: center; max-width: 950px; margin: 0 auto;
}
@media (min-width: 768px) { .cfe-bill-comparison-grid { grid-template-columns: 1fr auto 1fr; } }

.cfe-bill-card {
    background: #ffffff; color: #1e293b;
    border-radius: var(--radius-md); padding: 1.75rem;
    position: relative; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cfe-stamp {
    position: absolute; top: -12px; right: 15px;
    padding: 0.25rem 0.75rem; border-radius: 4px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px;
}
.stamp-expensive { background: #ef4444; color: #ffffff; }
.stamp-savings { background: var(--eco-emerald); color: #ffffff; box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }

.cfe-bill-header { border-bottom: 2px solid #e2e8f0; padding-bottom: 0.85rem; margin-bottom: 1rem; }
.cfe-logo-mock { font-size: 1.5rem; font-weight: 900; color: #15803D; letter-spacing: -1px; }
.cfe-logo-mock span { display: block; font-size: 0.65rem; font-weight: 500; color: #64748b; }
.cfe-bill-badge { font-size: 0.78rem; font-weight: 700; }
.cfe-bill-body { font-size: 0.85rem; }
.cfe-row { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }

.cfe-meter-bar { height: 10px; background: #e2e8f0; border-radius: 100px; margin: 0.85rem 0; overflow: hidden; }
.meter-fill { height: 100%; border-radius: 100px; }
.danger-fill { background: #ef4444; }
.success-fill { background: var(--eco-emerald); }
.warning-text { color: #dc2626; font-size: 0.75rem; font-weight: 600; }
.success-text { color: #059669; font-size: 0.75rem; font-weight: 600; }

.cfe-bill-total { border-top: 2px dashed #cbd5e1; margin-top: 1rem; padding-top: 0.85rem; text-align: right; }
.total-lbl { display: block; font-size: 0.75rem; font-weight: 800; color: #64748b; }
.total-amount { font-size: 1.8rem; font-weight: 900; font-family: var(--font-heading); }
.charge-note { display: block; font-size: 0.68rem; color: #94a3b8; }

.cfe-transform-arrow { text-align: center; color: var(--solar-gold); }
.arrow-circle {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255, 102, 0, 0.15); border: 2px solid var(--solar-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 0.5rem;
}
.cfe-transform-arrow span { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); }

/* Casos de Éxito */
.cases-section { padding: 5rem 0; }
.cases-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 1.75rem;
    box-shadow: var(--card-shadow); display: flex; flex-direction: column;
}

.case-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.case-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); display: flex;
    align-items: center; justify-content: center; font-size: 1.5rem;
}

.case-title { font-size: 1.05rem; }
.case-sub { font-size: 0.75rem; color: var(--text-muted); display: block; }
.case-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--bg-inset); border-radius: var(--radius-sm);
    padding: 0.75rem; margin-bottom: 1.25rem; text-align: center;
}
.c-lbl { font-size: 0.68rem; color: var(--text-muted); display: block; }
.case-stats strong { font-size: 0.88rem; }
.case-quote { font-size: 0.88rem; color: var(--text-secondary); font-style: italic; line-height: 1.5; margin-bottom: 0; }

/* Conceptos */
.concepts-section {
    padding: 5rem 0; background: var(--bg-band);
    border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
.section-title-wrap { text-align: center; max-width: 750px; margin: 0 auto 3.5rem; }
.section-tag { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--solar-gold); font-weight: 700; display: block; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.85rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); }

.concepts-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .concepts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .concepts-grid { grid-template-columns: repeat(3, 1fr); } }
.concept-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--card-shadow); display: flex; flex-direction: column;
}
.concept-card:hover { transform: translateY(-5px); border-color: var(--border-highlight); }
.concept-card-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.concept-title { font-size: 1.25rem; margin-bottom: 0.85rem; }
.concept-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; flex-grow: 1; }
.concept-bullets { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 1rem 1.25rem; }
.concept-highlight {
    background: rgba(255, 102, 0, 0.08); border-left: 3px solid var(--solar-gold);
    padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.82rem; color: var(--text-primary);
    margin-top: auto;
}

/* Footer */
.site-footer { background: #060911; border-top: 1px solid var(--border-subtle); padding: 4.5rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .footer-content { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-desc { font-size: 0.88rem; margin: 1rem 0 1.25rem; color: var(--text-secondary); }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.f-badge { font-size: 0.72rem; padding: 0.25rem 0.6rem; background: rgba(255, 255, 255, 0.05); border-radius: 4px; color: var(--text-muted); }
.footer-heading { font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--text-primary); }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.88rem; color: var(--text-secondary); }
.footer-nav a:hover { color: var(--solar-gold); }
.contact-line { font-size: 0.88rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.btn-footer { margin-top: 0.75rem; width: 100%; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-terms { display: flex; gap: 1.5rem; }

/* Sticky Action Bar */
.sticky-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--bg-sticky); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-highlight);
    padding: 0.65rem 0; z-index: 99;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.sticky-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.sticky-quote-info { display: flex; align-items: center; gap: 1rem; }
.sticky-pill {
    background: rgba(255, 102, 0, 0.15); border: 1px solid var(--solar-gold);
    color: var(--solar-gold); font-size: 0.82rem; font-weight: 700;
    padding: 0.25rem 0.65rem; border-radius: 100px;
}
.sticky-savings { font-size: 0.88rem; color: var(--text-secondary); }
.sticky-buttons { display: flex; align-items: center; gap: 0.6rem; }
.btn-sticky-quote { padding: 0.55rem 1.1rem; }

.btn-whatsapp-sm {
    padding: 0.55rem 1rem; background: #25d366; color: #ffffff;
    font-size: 0.85rem; font-weight: 700; border-radius: var(--radius-md);
    display: inline-flex; align-items: center; gap: 0.4rem; border: none; cursor: pointer;
}

/* ==========================================================================
   MODAL: FORMULARIO DE DOMICILIO, REPORTE CON PRECIO Y ESCRITO DE EMAIL
   ========================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 1rem; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-container {
    background: var(--bg-card-solid); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); width: 100%; max-width: 920px;
    max-height: 94vh; display: flex; flex-direction: column;
    overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-card-solid);
}

.modal-title-row { display: flex; align-items: center; gap: 0.75rem; }
.modal-icon { font-size: 1.6rem; }
.modal-title { font-size: 1.25rem; }
.modal-subtitle { font-size: 0.8rem; color: var(--text-secondary); }
.modal-close-btn { background: none; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; line-height: 1; }
.modal-body { padding: 1.75rem; overflow-y: auto; flex-grow: 1; }
.modal-footer {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 1rem; padding: 1.25rem 1.75rem; border-top: 1px solid var(--border-subtle);
    background: var(--bg-card-solid);
}

/* Formulario Cliente y Domicilio */
.client-data-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-step-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: var(--solar-gold);
    color: #050A12;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.client-form-title { font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--text-primary); }
.sub-form-heading { font-size: 0.95rem; color: var(--solar-gold); margin: 1.25rem 0 0.85rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }

.client-grid-inputs {
    display: grid; grid-template-columns: 1fr; gap: 0.85rem;
}

@media (min-width: 640px) {
    .client-grid-inputs { grid-template-columns: 1fr 1fr; }
}

.c-input-group { display: flex; flex-direction: column; gap: 0.3rem; }
.c-input-group.full-width { grid-column: 1 / -1; }
.c-input-group label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.c-input-group input {
    background: var(--bg-input); border: 1px solid var(--border-subtle);
    border-radius: 6px; padding: 0.65rem 0.85rem;
    color: var(--text-primary); font-size: 0.9rem;
}

.c-input-group input:focus { outline: none; border-color: var(--solar-gold); }

.form-submit-row {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.form-submit-row .btn-primary-lg {
    width: 100%;
}

@media (min-width: 640px) {
    .form-submit-row .btn-primary-lg { width: auto; }
}

/* Hoja A4 Impresa */
.proposal-paper {
    background: #ffffff; color: #1e293b;
    border-radius: var(--radius-md); padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem; line-height: 1.5; margin-bottom: 2rem;
}

.proposal-paper h2, .proposal-paper strong { color: #0f172a; }
.paper-header { display: flex; justify-content: space-between; align-items: flex-start; }
.paper-logo { height: 72px; width: auto; display: block; }
.paper-slogan { font-size: 0.78rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; display: block; }
.paper-meta { text-align: right; font-size: 0.85rem; }
.meta-row { margin-bottom: 0.2rem; }
.paper-divider { height: 2px; background: linear-gradient(90deg, var(--solar-amber), var(--eco-emerald)); margin: 1.25rem 0; }

.paper-client-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.paper-info-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1rem; }
.box-title { font-size: 0.72rem; font-weight: 800; color: #64748b; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.3rem; }
.paper-info-box p { margin-bottom: 0.25rem; font-size: 0.85rem; color: #334155; }

/* Banner de Costo Final en el Papel */
.paper-cost-highlight-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #ecfdf5 100%);
    border: 2px solid var(--solar-gold);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.pch-label { font-size: 0.92rem; font-weight: 800; color: #92400e; display: block; }
.pch-sub { font-size: 0.75rem; color: #475569; display: block; }
.pch-amount { font-size: 1.9rem; font-weight: 900; color: #b84a00; font-family: var(--font-heading); display: block; line-height: 1; }
.pch-iva { font-size: 0.72rem; color: #15803D; font-weight: 700; text-align: right; display: block; }

.paper-table-wrap { margin-bottom: 1.5rem; }
.paper-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.paper-table th, .paper-table td { padding: 0.75rem 0.85rem; border-bottom: 1px solid #e2e8f0; text-align: left; }
.paper-table th { background: #f1f5f9; font-weight: 700; color: #334155; }

.paper-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.25rem; margin-bottom: 2rem; }
.sum-title { font-size: 0.95rem; margin-bottom: 0.6rem; color: #0f172a; }
.sum-list { list-style: none; font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; color: #475569; }
.paper-cost-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.35rem; }

.paper-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; text-align: center; }
.signature-box { display: flex; flex-direction: column; align-items: center; }
.sig-line { width: 80%; height: 1px; background: #94a3b8; margin-bottom: 0.5rem; }
.signature-box span { font-size: 0.85rem; font-weight: 700; color: #1e293b; }
.signature-box small { font-size: 0.72rem; color: #64748b; }

/* Escrito para Correo Electrónico */
/* Media Print */
@media print {
    body { background: #ffffff !important; color: #000000 !important; padding-bottom: 0 !important; }
    .top-announcement-bar, .site-header, .hero-section, .sector-tabs-container,
    .sector-banner, .business-presets-container, .quote-grid, .cfe-bill-section,
    .cases-section, .concepts-section, .site-footer,
    .sticky-action-bar, .modal-header, .modal-footer, .client-data-form,
    .report-sent-note, .icon-sprite {
        display: none !important;
    }
    .modal-overlay { position: static !important; opacity: 1 !important; visibility: visible !important; background: none !important; padding: 0 !important; }
    .modal-container { border: none !important; box-shadow: none !important; max-width: 100% !important; max-height: none !important; }
    .modal-body { padding: 0 !important; overflow: visible !important; }
    .proposal-paper { box-shadow: none !important; padding: 0 !important; margin-bottom: 0 !important; }
}

/* Estados funcionales y accesibilidad (sin cambio visual en el estado normal) */
[hidden] { display: none !important; }
.system-card-option input[type="radio"]:focus-visible + .system-card-inner,
.shadow-option-card input[type="radio"]:focus-visible + .shadow-card-inner {
    outline: 2px solid var(--solar-gold); outline-offset: 2px;
}
.lead-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.25rem; font-size: 0.8rem; color: var(--text-muted); }
.lead-consent a { color: var(--solar-gold); }
.lead-status { min-height: 1.2em; margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-muted); }
.lead-status.is-error { color: var(--danger-coral); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
body.modal-open { overflow: hidden; }
/* Movil: las pestañas de sector desbordaban el ancho y generaban scroll horizontal */
@media (max-width: 639px) {
    .sector-tabs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
    .sector-tab-btn { flex-direction: column; text-align: center; gap: 0.5rem; padding: 0.9rem 0.6rem; min-width: 0; }
    .tab-title { font-size: 0.95rem; }
}
/* Los selects con opciones largas ensanchaban las columnas del cotizador */
.quote-grid > *, .trust-badges-row > * { min-width: 0; }

/* ===== Corvium Energy: íconos de línea (sprite SVG en index.html) ===== */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
    width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.15em;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tb-icon, .sector-banner-icon, .system-icon, .shadow-icon, .metric-icon, .concept-card-icon,
.case-avatar, .rf-icon-wrap, .modal-icon, .tariff-icon, .arrow-circle,
.subcard-title .icon, .presets-label, .contact-line .ico, .sub-form-heading .ico { color: var(--solar-gold); }
.eco-leaf, .metric-icon:has(+ .metric-details .text-success) { color: var(--eco-emerald); }
.preset-chip .ico, .concept-highlight .ico { color: var(--solar-gold); margin-right: 0.25rem; }
.rf-icon-wrap, .case-avatar, .arrow-circle { display: flex; align-items: center; justify-content: center; }
.case-avatar { font-size: 1.3rem; }
.arrow-circle { font-size: 1.4rem; }

/* Reemplazos de estilos en línea */
.tariff-select-row { margin-top: 1rem; }
.hp-field { display: none; }
.danger-fill { width: 95%; }
.success-fill { width: 5%; transition: width var(--transition-smooth); }

/* Logo del footer */
.footer-logo-img { height: 110px; width: auto; }
body.theme-light .footer-logo-img.logo-on-light { display: block; }

/* Aviso de reporte enviado (el reporte queda fijo con lo que recibió el equipo) */
.report-sent-note {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: rgba(34, 197, 94, 0.08); border-left: 3px solid var(--eco-emerald);
    border-radius: var(--radius-sm); padding: 0.85rem 1rem; margin-bottom: 1.25rem;
}
.report-sent-note p { margin: 0; font-size: 0.85rem; }
.report-sent-note strong { font-family: var(--font-mono); color: var(--text-primary); }

/* Folio y fecha del papel en monoespaciada */
.paper-meta span { font-family: var(--font-mono); }

/* Movil: barra inferior en una sola línea (ahorro + botones; WhatsApp solo ícono) */
@media (max-width: 639px) {
    .sticky-bar-inner { flex-wrap: nowrap; justify-content: space-between; }
    .sticky-pill { display: none; }
    .sticky-savings { font-size: 0.8rem; line-height: 1.2; }
    .sticky-savings strong { display: block; }
    .btn-sticky-quote { padding: 0.55rem 0.8rem; font-size: 0.82rem; }
    .btn-whatsapp-sm { padding: 0.55rem 0.7rem; }
    .btn-whatsapp-sm .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    body { padding-bottom: 80px; }
}

/* Tema claro: textos que estaban fijos para fondo oscuro */
body.theme-light .tariff-text strong { color: #b91c1c; }
body.theme-light .site-header { background: rgba(246, 243, 238, 0.9); }
body.theme-light .top-announcement-bar { color: #e2e8f0; }

/* Aviso de cookies de /cookies.js. Copia de los estilos que ese archivo inyecta en el resto del sitio;
   aquí van en el CSS porque el CSP no permite <style> en línea. Si cambian en /cookies.js, actualizar aquí. */
.cv-cookies{position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;max-width:640px;margin:0 auto;
    background:#050A12;color:#E2E8F0;border:1px solid rgba(255,102,0,.55);border-left:4px solid #FF6600;
    box-shadow:0 10px 30px rgba(0,0,0,.45);padding:16px 18px;font:14px/1.5 var(--font-body);
    display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center}
.cv-cookies p{margin:0;flex:1 1 300px;color:#E2E8F0}
.cv-cookies a{color:#FF8533}
.cv-cookies .cv-btns{display:flex;gap:10px;flex:0 0 auto}
.cv-cookies button{font:600 14px var(--font-body);padding:9px 18px;cursor:pointer;border:1px solid #FF6600;min-height:40px}
.cv-cookies .cv-ok{background:#FF6600;color:#050A12}
.cv-cookies .cv-no{background:transparent;color:#E2E8F0;border-color:rgba(226,232,240,.5)}
.cv-cookies button:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* En el cotizador el aviso se coloca encima de la barra inferior fija */
.cv-cookies{bottom:88px}
@media print { .cv-cookies { display: none !important; } }

/* Rendimiento: lo que no se ve al entrar no se maqueta hasta que hace falta.
   Las secciones bajo el cotizador se pintan al acercarse con el scroll y el
   modal cerrado (~200 elementos con blur de fondo) no cuesta nada hasta abrirlo. */
#reciboCfe, #casosExito, #conceptos, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.modal-overlay:not(.open) { content-visibility: hidden; }
@media print {
    #reciboCfe, #casosExito, #conceptos, .site-footer, .modal-overlay { content-visibility: visible !important; }
}
