/* ==========================================================================
   GESTIONSAT CORPORATE WORDPRESS THEME — MAIN STYLESHEET
   Company Legal Name: Grupo GST TECH EV SL
   Brand Name: gestionSAT
   Design Style: High-tech, corporate, trustworthy, clean
   Colors: Deep Technical Navy/Slate, Clean White/Light Gray, Electric Green/Cyan
   ========================================================================== */

:root {
    /* Deep Technical Navy / Slate Palette */
    --navy-950: #060d1a;
    --navy-900: #0b162c;
    --navy-800: #112240;
    --navy-700: #1e355d;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;

    /* Clean White & Light Gray Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Energetic Electric-Green & Cyan Accents */
    --electric-cyan: #06b6d4;
    --electric-cyan-dark: #0891b2;
    --electric-cyan-light: #22d3ee;
    --electric-green: #10b981;
    --electric-green-bright: #00e676;
    --electric-green-dark: #059669;
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --navy-gradient: linear-gradient(135deg, #060d1a 0%, #0b162c 55%, #112240 100%);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shadows & Radius */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px -12px rgba(11, 22, 44, 0.16);
    --shadow-glow: 0 8px 25px rgba(6, 182, 212, 0.28);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   1. RESET & GLOBAL TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.gestionsat-body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background-color: var(--bg-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-900);
    line-height: 1.22;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.22s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-cyan { color: var(--electric-cyan) !important; }
.text-green { color: var(--electric-green) !important; }
.text-accent { color: var(--electric-cyan-light); }
.bg-light-slate { background-color: var(--bg-light); }

/* --------------------------------------------------------------------------
   2. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn-cta-electric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-electric:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.38);
    color: #ffffff;
}

.btn-outline-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(6, 182, 212, 0.08);
    color: var(--navy-900);
    border: 1.5px solid var(--electric-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.94rem;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-outline-call:hover {
    background: var(--electric-cyan);
    color: #ffffff;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
}

.btn-outline-light:hover {
    border-color: var(--electric-cyan-light);
    background: rgba(6, 182, 212, 0.18);
}

.btn-secondary-slate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--navy-800);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
}

.btn-secondary-slate:hover {
    border-color: var(--electric-cyan);
    color: var(--electric-cyan-light);
}

.btn-lg {
    padding: 15px 28px;
    font-size: 1.02rem;
}

.btn-full {
    width: 100%;
}

.badge-247 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--electric-green-bright);
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--electric-cyan-dark);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   3. TOP EMERGENCY BAR & STICKY HEADER
   -------------------------------------------------------------------------- */
.top-emergency-bar {
    background-color: var(--navy-950);
    color: #cbd5e1;
    font-size: 0.84rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.top-bar-item:hover {
    color: var(--electric-cyan-light);
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(6, 182, 212, 0.16);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #ffffff;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}

.top-bar-phone:hover {
    background: var(--electric-cyan);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 32px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.footer-logo-white-bg {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation .nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--slate-700);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy-900);
    background-color: var(--bg-light-alt);
}

.nav-link-highlight {
    color: var(--electric-cyan-dark);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.nav-link-highlight.active,
.nav-link-highlight:hover {
    background: rgba(6, 182, 212, 0.16);
    color: var(--navy-900);
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-ctas .btn-outline-call,
.header-ctas .btn-cta-electric {
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-light-alt);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 9px;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--navy-900);
    transition: 0.25s ease;
}

.mobile-nav-drawer {
    display: none;
    background: var(--bg-white);
    border-bottom: 2px solid var(--electric-cyan);
    padding: 20px 24px;
}

.mobile-nav-drawer.open {
    display: block;
}

.mobile-emergency-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-900);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--navy-900);
}

.mobile-drawer-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   4. HERO SECTIONS & INICIO SLIDER
   -------------------------------------------------------------------------- */
.hero-slider-section {
    background: var(--navy-gradient);
    color: #ffffff;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    animation: fadeSlide 0.45s ease;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-slide-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

.hero-badges-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--electric-cyan-light);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

.hero-main-heading {
    color: #ffffff;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    margin-bottom: 18px;
}

.hero-lead {
    color: #cbd5e1;
    font-size: 1.08rem;
    margin-bottom: 28px;
    max-width: 640px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-cta-row .btn-outline-call {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
}

.h-kpi strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--electric-cyan-light);
}

.h-kpi span {
    font-size: 0.82rem;
    color: #94a3b8;
}

.hero-image-frame {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.hero-image-frame img {
    max-height: 320px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.floating-spec-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(6, 13, 26, 0.92);
    border: 1px solid rgba(6, 182, 212, 0.4);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-spec-card i {
    font-size: 1.4rem;
}

.floating-spec-card strong {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
}

.floating-spec-card span {
    font-size: 0.78rem;
    color: #94a3b8;
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--electric-cyan);
    border-color: var(--electric-cyan);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 28px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--electric-green-bright);
    width: 42px;
}

/* Inner Page Hero Banners */
.page-hero {
    background: var(--navy-gradient);
    color: #ffffff;
    padding: 58px 0;
    border-bottom: 3px solid var(--electric-cyan);
}

.page-hero .section-pill {
    background: rgba(6, 182, 212, 0.16);
    color: var(--electric-cyan-light);
    border-color: rgba(6, 182, 212, 0.4);
}

.page-hero-title {
    color: #ffffff;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    margin-bottom: 14px;
}

.page-hero-subtitle {
    color: #cbd5e1;
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.06rem;
}

/* --------------------------------------------------------------------------
   5. SPECIAL IMPLEMENTATION: "PRESUPUESTO" PRICING ENGINE & INTERACTIVE BAR
   -------------------------------------------------------------------------- */
.pricing-engine-section {
    padding: 64px 0 40px;
    background-color: var(--bg-light);
}

.engine-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.step-badge {
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

.engine-step-header h2 {
    font-size: 1.45rem;
    color: var(--navy-900);
}

/* Visual Toggle Cards for the 3 Service Tiers */
.service-tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.tier-card {
    text-align: left;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.tier-card:hover {
    border-color: var(--electric-cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tier-card.active {
    border-color: var(--electric-cyan);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    box-shadow: 0 14px 32px rgba(6, 182, 212, 0.18);
}

.tier-card-warranty.active {
    border-color: var(--electric-green);
    background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.2);
}

.tier-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tier-zone-pill {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 700;
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    padding: 5px 11px;
    border-radius: 99px;
}

.tier-zone-pill.pill-warranty {
    background: rgba(16, 185, 129, 0.15);
    color: var(--electric-green-dark);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.tier-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--electric-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.tier-icon-box.icon-warranty {
    background: rgba(16, 185, 129, 0.14);
    color: var(--electric-green-dark);
}

.tier-title {
    font-size: 1.15rem;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.tier-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.tier-price-amount {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-900);
}

.tier-price-zone {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--slate-600);
}

.tier-rule-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-bottom: 18px;
}

.tier-select-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-500);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.tier-card.active .tier-select-indicator {
    color: var(--electric-cyan-dark);
}

.tier-card-warranty.active .tier-select-indicator {
    color: var(--electric-green-dark);
}

/* Interactive Engine Grid (Controls + Sticky Summary) */
.engine-interactive-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 30px;
    align-items: start;
}

.engine-controls-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.formula-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--navy-900);
    color: #e2e8f0;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--electric-cyan);
    margin-bottom: 26px;
    font-size: 0.92rem;
}

.formula-alert-banner i {
    color: var(--electric-cyan-light);
    font-size: 1.2rem;
    margin-top: 3px;
}

.formula-alert-banner code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.1);
    color: var(--electric-green-bright);
    padding: 2px 6px;
    border-radius: 4px;
}

.control-label {
    display: block;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.zone-radio-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.zone-radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zone-radio-card input[type="radio"] {
    accent-color: var(--electric-cyan-dark);
    width: 18px;
    height: 18px;
}

.zone-radio-card.active {
    border-color: var(--electric-cyan);
    background-color: rgba(6, 182, 212, 0.06);
}

.radio-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-light-alt);
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.radio-text strong {
    display: block;
    font-size: 0.94rem;
    color: var(--navy-900);
}

.radio-text small {
    font-size: 0.8rem;
    color: var(--slate-600);
}

.quick-location-row {
    margin-bottom: 22px;
}

.engine-select,
.engine-input,
.engine-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy-900);
    background-color: var(--bg-white);
    transition: border-color 0.2s ease;
}

.engine-select:focus,
.engine-input:focus,
.engine-textarea:focus {
    outline: none;
    border-color: var(--electric-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.km-slider-and-input-box {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.km-label-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.km-label-header label {
    font-weight: 700;
    color: var(--navy-900);
}

.ring-tag {
    background: var(--electric-cyan);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.km-number-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 2px solid var(--electric-cyan);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.km-number-input-group input {
    width: 90px;
    border: none;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    text-align: right;
}

.km-number-input-group input:focus {
    outline: none;
}

.km-unit {
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.engine-range-slider {
    width: 100%;
    height: 8px;
    accent-color: var(--electric-cyan);
    cursor: pointer;
    margin: 10px 0 8px;
}

.slider-scale-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--slate-600);
}

/* Warranty Verification Panel */
.warranty-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 22px;
}

.warranty-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--electric-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warranty-highlight-content h3 {
    color: var(--electric-green-dark);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.warranty-fields-grid {
    display: grid;
    gap: 18px;
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.btn-verify-code {
    background: var(--navy-900);
    color: var(--electric-green-bright);
    border: 1px solid var(--electric-green);
    padding: 0 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.btn-verify-code:hover {
    background: var(--electric-green);
    color: #ffffff;
}

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--slate-600);
}

/* Right Sticky Summary Card */
.summary-card-sticky {
    background: var(--navy-900);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(6, 182, 212, 0.35);
    position: sticky;
    top: 102px;
}

.summary-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.summary-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--electric-cyan-light);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.summary-card-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
}

.summary-rows {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.s-label {
    color: #cbd5e1;
}

.s-val {
    font-family: var(--font-mono);
    color: #ffffff;
    text-align: right;
}

.badge-zone {
    background: rgba(6, 182, 212, 0.2);
    color: var(--electric-cyan-light);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.vat-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.85rem;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.vat-amount-pill {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--electric-cyan-light);
}

.summary-total-container {
    background: rgba(6, 13, 26, 0.75);
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 20px;
}

.subtotal-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.final-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.total-caption {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
}

.total-big-price {
    font-family: var(--font-mono);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--electric-green-bright);
}

.total-formula-footnote {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #94a3b8;
}

.summary-actions {
    display: grid;
    gap: 10px;
}

.summary-actions .btn-outline-call {
    color: #ffffff;
}

/* Booking & Lead Form Section */
.booking-form-section {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

.booking-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.booking-form-header {
    margin-bottom: 24px;
}

.booking-form-header h2 {
    font-size: 1.65rem;
    margin: 8px 0 6px;
}

.prefilled-quote-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--navy-900);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--electric-green-bright);
    margin-bottom: 28px;
}

.pq-label {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.corporate-form .form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.form-rgpd-row {
    margin: 18px 0 24px;
}

.rgpd-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--slate-700);
    cursor: pointer;
}

.rgpd-checkbox-label input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--electric-cyan-dark);
}

.inline-legal-link {
    background: none;
    border: none;
    color: var(--electric-cyan-dark);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.form-feedback-box {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.form-feedback-box.success {
    display: block;
    background: #ecfdf5;
    border: 1.5px solid #10b981;
    color: #065f46;
}

.form-feedback-box.error {
    display: block;
    background: #fef2f2;
    border: 1.5px solid #ef4444;
    color: #991b1b;
}

/* --------------------------------------------------------------------------
   6. OTHER PAGES & MODULES (INICIO, CERTIFICACION, INVERSORES, MANTENIMIENTO)
   -------------------------------------------------------------------------- */
.home-services-summary,
.home-pillars-section,
.compliance-pillars-section,
.diplomas-gallery-section,
.inverters-catalog-section,
.maint-comparison-section,
.sla-plans-section,
.b2b-categories-section,
.b2b-form-section,
.generic-content-section {
    padding: 76px 0;
}

.section-heading-block {
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-title {
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--slate-600);
    font-size: 1.04rem;
}

/* Summary Cards 3-Grid on Home */
.summary-cards-grid-3,
.compliance-grid-3,
.diplomas-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-summary-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--electric-cyan);
}

.ssc-warranty:hover {
    border-color: var(--electric-green);
}

.ssc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.ssc-badge {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    padding: 5px 12px;
    border-radius: 99px;
}

.ssc-badge.badge-green {
    background: rgba(16, 185, 129, 0.14);
    color: var(--electric-green-dark);
}

.ssc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--electric-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.ssc-icon.icon-green {
    background: rgba(16, 185, 129, 0.14);
    color: var(--electric-green-dark);
}

.ssc-price-box {
    margin: 14px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.ssc-price {
    font-family: var(--font-mono);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--navy-900);
}

.ssc-zone {
    font-size: 0.88rem;
    color: var(--slate-600);
    margin-left: 6px;
}

.ssc-features {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    color: var(--slate-700);
}

.ssc-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.ssc-features li i {
    margin-top: 4px;
}

/* 4-Module Grid on Home */
.modules-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.module-feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.mfc-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.mfc-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.module-feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.module-feature-card p {
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.mfc-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--electric-cyan-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 5px;
}

.mfc-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 92%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--electric-cyan) 0%, var(--electric-cyan-light) 50%, var(--electric-cyan) 100%);
    border-radius: 999px;
}

/* Emergency Strip */
.emergency-callout-strip {
    background: var(--navy-900);
    color: #ffffff;
    padding: 48px 0;
    border-top: 3px solid var(--electric-green);
}

.emergency-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.es-left h2 {
    color: #ffffff;
    margin: 10px 0 6px;
}

.es-left p {
    color: #cbd5e1;
}

.es-right {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Compliance & Diploma Cards */
.compliance-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.cc-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--electric-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.cc-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--electric-cyan-dark);
}

.compliance-card h3 {
    margin: 6px 0 10px;
    font-size: 1.18rem;
}

.diploma-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.diploma-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--electric-cyan);
}

.diploma-thumb {
    position: relative;
    height: 230px;
    background: var(--navy-950);
    overflow: hidden;
}

.diploma-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(6, 13, 26, 0.85);
    color: var(--electric-cyan-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
}

.diploma-body {
    padding: 22px;
}

.diploma-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--electric-cyan-dark);
}

.diploma-body h3 {
    font-size: 1.1rem;
    margin: 6px 0 8px;
}

.diploma-body p {
    font-size: 0.88rem;
    color: var(--slate-600);
}

/* Certificate Lightbox */
.cert-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 26, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cert-lightbox-modal.active {
    display: flex;
}

.cert-lightbox-inner {
    max-width: 900px;
    width: 100%;
    background: var(--navy-900);
    padding: 20px;
    border-radius: var(--radius-md);
    position: relative;
    text-align: center;
}

.cert-lightbox-inner img {
    max-height: 75vh;
    margin: 0 auto 12px;
    border-radius: 8px;
}

.cert-lightbox-caption {
    color: #ffffff;
    font-weight: 600;
}

.cert-lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: var(--electric-cyan);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Inverters Page */
.brand-partners-bar {
    background: var(--bg-light-alt);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.partners-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.partner-logo-img {
    max-height: 48px;
    border-radius: 6px;
}

.partner-pill {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
}

.inverters-grid-2,
.maint-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.inverter-spec-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.isc-visual {
    background: var(--bg-light);
    height: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.isc-visual img {
    max-height: 210px;
    object-fit: contain;
}

.isc-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}

.isc-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tech-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 22px;
    font-size: 0.88rem;
}

.tech-spec-table th,
.tech-spec-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.tech-spec-table th {
    color: var(--slate-600);
    width: 44%;
}

.tech-spec-table td {
    font-weight: 600;
    color: var(--navy-900);
}

/* Mantenimiento Equipment & Spare Parts Gallery */
.maint-hardware-gallery-section {
    padding: 30px 0 76px;
}

.maint-equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.maint-equip-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.maint-equip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--electric-cyan);
}

.mec-img-box {
    height: 210px;
    background: #ffffff;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.mec-img-box img {
    max-height: 175px;
    width: auto;
    object-fit: contain;
}

.mec-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--navy-900);
    color: var(--electric-cyan-light);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}

.mec-body {
    padding: 20px;
    flex: 1;
}

.mec-body h3 {
    font-size: 1.04rem;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.mec-body p {
    font-size: 0.87rem;
    color: var(--slate-600);
    line-height: 1.55;
}

.footer-designer-credit {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Mantenimiento Page & SLA Table */
.maint-type-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.mtc-corrective {
    border-color: var(--electric-cyan);
}

.mtc-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--electric-green-dark);
    margin-bottom: 8px;
}

.mtc-checklist {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.mtc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
}

.mtc-checklist li i {
    margin-top: 4px;
}

.sla-table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.sla-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.sla-comparison-table th,
.sla-comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.sla-comparison-table thead th {
    background: var(--navy-900);
    color: #ffffff;
    font-family: var(--font-heading);
}

.page-bottom-cta {
    background: var(--navy-900);
    color: #ffffff;
    padding: 56px 0;
}

.page-bottom-cta h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.page-bottom-cta p {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.cta-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-buttons-inline .btn-outline-call {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. FOOTER, INTERACTIVE MAP & FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--navy-950);
    color: #cbd5e1;
    border-top: 4px solid var(--electric-cyan);
}

.footer-location-section {
    padding: 56px 0 36px;
}

.footer-map-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--navy-900);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.footer-map-info {
    padding: 36px;
}

.footer-map-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 12px 0 10px;
}

.footer-contact-items {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.f-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.f-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--electric-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-contact-row strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
}

.f-contact-row a:hover {
    color: var(--electric-cyan-light);
}

.footer-map-embed {
    min-height: 320px;
    background: var(--navy-800);
}

.footer-main {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
    gap: 32px;
}

.footer-brand .brand-main {
    color: #ffffff;
}

.footer-brand .brand-sub {
    color: #94a3b8;
}

.footer-about-text {
    margin: 14px 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-trust-badge {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 5px 10px;
    border-radius: 6px;
    color: #e2e8f0;
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-links {
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links a,
.footer-legal-trigger {
    color: #cbd5e1;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-legal-trigger:hover {
    color: var(--electric-cyan-light);
}

.rgpd-compliance-box {
    margin-top: 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
}

.footer-bottom {
    background: #030712;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-meta {
    display: flex;
    gap: 10px;
}

/* Floating Quick Action Buttons */
.floating-QuickActions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.45rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.float-whatsapp { background: #25d366; }
.float-phone { background: var(--electric-cyan-dark); }

.float-tooltip {
    position: absolute;
    right: 64px;
    background: var(--navy-900);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
}

/* Legal Modal */
.legal-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 26, 0.82);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-modal-backdrop.active {
    display: flex;
}

.legal-modal-box {
    background: var(--bg-white);
    max-width: 720px;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.legal-modal-header {
    background: var(--navy-900);
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
}

.legal-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

.legal-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.92rem;
    color: var(--slate-700);
}

.legal-modal-body h4 {
    margin: 14px 0 6px;
    color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .main-navigation,
    .header-ctas .btn-outline-call {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-slide-grid,
    .engine-interactive-grid,
    .footer-map-card {
        grid-template-columns: 1fr;
    }
    .service-tier-cards,
    .summary-cards-grid-3,
    .compliance-grid-3,
    .diplomas-grid-3 {
        grid-template-columns: 1fr;
    }
    .modules-grid-4,
    .maint-equipment-grid,
    .inverters-grid-2,
    .maint-dual-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hide-sm { display: none; }
    .zone-radio-buttons,
    .corporate-form .form-grid-3,
    .prefilled-quote-banner,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-kpis {
        grid-template-columns: 1fr;
    }
    .booking-form-card,
    .engine-controls-panel {
        padding: 22px;
    }
}
