/* ============================================================
   main.css — Sistema de diseño Bahía Solar
   Orden: Fonts → Tokens → Reset → Base → Layout →
          Header → Hero → Sections → Components → Footer →
          Animations → Utilities → Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
    /* Colores de marca */
    --orange:         #F47A20;
    --orange-hover:   #E86810;
    --orange-soft:    #FFF1E7;
    --orange-border:  #FDE8D2;

    /* Escala de blancos y grises — NUNCA #000 puro */
    --white:          #FFFFFF;
    --off-white:      #FCFCFC;
    --gray-50:        #F5F6F7;
    --gray-100:       #EBEBEB;
    --gray-200:       #E2E5E9;
    --gray-300:       #C8CDD5;
    --gray-400:       #9CA3AF;
    --gray-500:       #606874;
    --gray-600:       #464D57;
    --text:           #2F343A;   /* Texto principal */
    --text-secondary: #606874;   /* Subtextos */

    /* Footer oscuro */
    --footer-bg:      #2A2D33;
    --footer-bar:     #22252A;
    --footer-text:    #B0B5BB;
    --footer-heading: #E8EAED;

    /* Tipografía */
    --font:           'Inter', system-ui, -apple-system, sans-serif;
    --text-xs:        clamp(0.75rem,  1vw,    0.875rem);
    --text-sm:        clamp(0.875rem, 1.2vw,  1rem);
    --text-base:      clamp(1rem,     1.5vw,  1.125rem);
    --text-lg:        clamp(1.125rem, 2vw,    1.375rem);
    --text-xl:        clamp(1.375rem, 2.5vw,  1.75rem);
    --text-2xl:       clamp(1.75rem,  3vw,    2.25rem);
    --text-3xl:       clamp(2rem,     3.5vw,  2.75rem);
    --text-hero:      clamp(2.5rem,   6vw,    4.25rem);

    /* Espaciado */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Layout */
    --container:      1280px;
    --container-pad:  clamp(1.25rem, 5vw, 2.5rem);

    /* Radios */
    --r-sm:   4px;
    --r-md:   8px;
    --r-lg:   12px;
    --r-xl:   20px;
    --r-2xl:  28px;
    --r-full: 9999px;

    /* Sombras */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:   0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.055), 0 0 1px rgba(0,0,0,0.04);

    /* Transiciones */
    --t-fast:   150ms ease;
    --t-base:   250ms ease;
    --t-slow:   400ms ease;
    --t-spring: cubic-bezier(0.16, 1, 0.3, 1);

    /* Header */
    --header-h:         72px;
    --header-h-scroll:  60px;

    /* Z-index */
    --z-header:  100;
    --z-modal:   200;
    --z-float:   150;
}

/* ─────────────────────────────────────────────────────────────
   RESET
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: var(--text-base);
    color: var(--text);
    background-color: var(--off-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video  { max-width: 100%; height: auto; display: block; }
a           { color: inherit; text-decoration: none; }
ul, ol      { list-style: none; }
button      { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ─────────────────────────────────────────────────────────────
   TIPOGRAFÍA BASE
   ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.015em;
}
p { color: var(--text-secondary); line-height: 1.7; }

@property --split-nudge {
    syntax: '<length>';
    inherits: true;
    initial-value: 0px;
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT — Container y Section
   ───────────────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section           { padding-block: var(--sp-20); }
.section--gray     { background-color: var(--gray-50); }
.section--white    { background-color: var(--white); }
.section--dark     { background-color: var(--gray-600); }
.page-contact #main-content {
    display: flex;
    flex-direction: column;
}
.page-contact .ct-cta {
    order: 1;
}
.page-contact .ct-info {
    order: 2;
}

/* Hero de páginas interiores (Contacto, Nosotros, Blog…) */
.page-hero {
    background: linear-gradient(135deg, #1a1f28 0%, #2a2f3a 100%);
    padding-top: calc(var(--header-h) + var(--sp-12));
    padding-bottom: var(--sp-12);
}
.page-hero .section-tag { margin-bottom: var(--sp-3); }
.page-hero__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}
.page-hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: var(--sp-12);
}
.section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--orange);
    background: var(--orange-soft);
    border: 1px solid var(--orange-border);
    padding: 0.35em 1.1em;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-4);
}
.section-title    { font-size: var(--text-3xl); margin-bottom: var(--sp-4); }
.section-subtitle { font-size: var(--text-lg); max-width: 540px; margin-inline: auto; }

/* ─────────────────────────────────────────────────────────────
   LEGAL
   ───────────────────────────────────────────────────────────── */
.legal-page {
    min-height: 100vh;
    padding-block: calc(var(--header-h) + var(--sp-16)) var(--sp-16);
    background:
        linear-gradient(180deg, rgba(255, 241, 231, 0.48), rgba(255, 255, 255, 0) 300px),
        var(--white);
}
.legal-document {
    max-width: 840px;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.legal-document__eyebrow {
    margin-bottom: var(--sp-3);
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.legal-document h1 {
    margin-bottom: var(--sp-2);
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}
.legal-document__lead {
    margin-bottom: var(--sp-8);
    color: var(--text-secondary);
    font-weight: 800;
    letter-spacing: 0.1em;
}
.legal-document h2 {
    margin-top: var(--sp-9);
    margin-bottom: var(--sp-3);
    color: var(--text);
    font-size: var(--text-xl);
}
.legal-document p,
.legal-document li {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.8;
}
.legal-document ul {
    display: grid;
    gap: var(--sp-2);
    margin: var(--sp-4) 0 0;
    padding-left: 1.2rem;
}
.legal-document__address {
    margin-block: var(--sp-4);
    padding: var(--sp-4);
    border-left: 3px solid var(--orange);
    border-radius: var(--r-md);
    background: var(--orange-soft);
    color: var(--text);
    font-weight: 700;
}
.legal-contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}
.legal-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding-inline: var(--sp-4);
    border: 1px solid var(--orange-border);
    border-radius: var(--r-full);
    color: var(--orange);
    font-size: var(--text-sm);
    font-weight: 800;
    text-decoration: none;
    transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}
.legal-contact a:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}

/* ─────────────────────────────────────────────────────────────
   BOTONES
   ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.75em 1.5em;
    border-radius: var(--r-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    border: 2px solid transparent;
    transition: all var(--t-base);
    cursor: pointer;
    white-space: nowrap;
}
.btn--primary {
    background: var(--orange);
    color: white;
}
.btn--primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 122, 32, 0.38);
}
.btn--outline {
    background: transparent;
    border-color: var(--orange);
    color: var(--orange);
}
.btn--outline:hover {
    background: var(--orange);
    color: white;
}
.btn--ghost {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.45);
    color: white;
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.75);
}
.btn--lg { padding: 0.9em 2em; font-size: var(--text-base); }
.btn--sm { padding: 0.55em 1.2em; font-size: var(--text-xs); }

/* ─────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: var(--z-header);
    transition: height var(--t-slow), background var(--t-slow), box-shadow var(--t-slow);
}
.header--transparent {
    background: transparent;
}
.header--solid {
    height: var(--header-h-scroll);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
}
.header .container {
    height: 100%;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--sp-8);
}
.header__logo {
    position: relative;
    display: block;
    width: 198px;
    height: 46px;
    flex-shrink: 0;
}
.header__logo-img {
    position: absolute;
    left: 0;
    top: 50%;
    height: 46px;
    width: auto;
    transform: translateY(-50%);
    transition: height var(--t-slow), opacity var(--t-slow);
}
.header__logo-img--dark { opacity: 0; }
.header--solid .header__logo { height: 37px; }
.header--solid .header__logo-img { height: 37px; }
.header--solid .header__logo-img--light { opacity: 0; }
.header--solid .header__logo-img--dark { opacity: 1; }

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}
.header__nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    position: relative;
    transition: color var(--t-fast);
    padding-bottom: 2px;
}
.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width var(--t-base);
}
.header__nav-link:hover,
.header__nav-link.active            { color: var(--orange); }
.header__nav-link:hover::after,
.header__nav-link.active::after     { width: 100%; }

/* Nav links cuando header es sólido */
.header--solid .header__nav-link              { color: var(--gray-600); }
.header--solid .header__nav-link:hover,
.header--solid .header__nav-link.active       { color: var(--orange); }

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-shrink: 0;
}
.header__lang {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.header__lang-btn {
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    transition: color var(--t-fast);
    letter-spacing: 0.04em;
}
.header__lang-btn.active,
.header__lang-btn:hover      { color: var(--orange); }
.header--solid .header__lang-btn         { color: var(--gray-400); }
.header--solid .header__lang-btn.active,
.header--solid .header__lang-btn:hover   { color: var(--orange); }
.header__lang-sep {
    color: rgba(255,255,255,0.25);
    font-size: var(--text-xs);
}
.header--solid .header__lang-sep { color: var(--gray-200); }

.header__cta { font-size: var(--text-xs); padding: 0.6em 1.2em; }

/* Mobile toggle */
.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--sp-2);
}
.header__mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--t-base);
}
.header--solid .header__mobile-toggle span { background: var(--text); }
.header__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.header__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.header__mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: var(--sp-6) var(--container-pad);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--t-base), transform var(--t-base);
    pointer-events: none;
}
.header__mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.header__mobile-link {
    display: block;
    padding: var(--sp-3) 0;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--t-fast);
}
.header__mobile-link:hover { color: var(--orange); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #141820;
}
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.60;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(12, 16, 23, 0.45) 0%,
        rgba(12, 16, 23, 0.65) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-h);
    max-width: 820px;
}
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--orange);
    margin-bottom: var(--sp-5);
}
.hero__tag::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--orange);
    flex-shrink: 0;
}
.hero__title {
    font-size: var(--text-hero);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: var(--sp-6);
}
/* Animación palabra por palabra */
.hero__title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.25em;
    line-height: 1.1;
}
.hero__title .word-inner {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: word-reveal 0.65s var(--t-spring) forwards;
}
.hero__title .word:nth-child(1) .word-inner { animation-delay: 0.45s; }
.hero__title .word:nth-child(2) .word-inner { animation-delay: 0.58s; }
.hero__title .word:nth-child(3) .word-inner { animation-delay: 0.71s; }
.hero__title .word:nth-child(4) .word-inner { animation-delay: 0.84s; }
.hero__title .word:nth-child(5) .word-inner { animation-delay: 0.97s; }
.hero__title .word:nth-child(6) .word-inner { animation-delay: 1.10s; }
.hero__title .word:nth-child(7) .word-inner { animation-delay: 1.23s; }

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.78);
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: var(--sp-10);
    opacity: 0;
    animation: fade-up 0.6s ease 1.35s forwards;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 0.6s ease 1.5s forwards;
}

/* Indicador de scroll */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    opacity: 0;
    animation: fade-up 0.6s ease 1.8s forwards;
}
.hero__scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 11px;
    position: relative;
}
.hero__scroll-mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scroll-dot 1.8s ease infinite;
}
.hero__scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ─────────────────────────────────────────────────────────────
   MARQUESINA DE MARCAS
   ───────────────────────────────────────────────────────────── */
.marquee-section {
    background: var(--white);
    padding-block: var(--sp-12);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}
.marquee-label {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: var(--sp-12);
}
.marquee-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    will-change: transform;
}
.marquee__group {
    display: flex;
    align-items: center;
    gap: var(--sp-16);
    padding-right: var(--sp-16);
}
.marquee__item {
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: filter var(--t-base), opacity var(--t-base);
}
.marquee__item:hover { filter: grayscale(0%); opacity: 1; }
.marquee__item img {
    width: auto;
    max-width: 220px;
    height: 46px;
    object-fit: contain;
}

/* ─────────────────────────────────────────────────────────────
   HOME STORY — BLOQUE EDITORIAL
   ───────────────────────────────────────────────────────────── */
.solar-story {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,241,231,0.58)),
        radial-gradient(circle at 85% 12%, rgba(244,122,32,0.14), transparent 34%);
    overflow: hidden;
}
.solar-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--sp-16);
    align-items: center;
}
.solar-story__media {
    position: relative;
    min-height: clamp(360px, 45vw, 560px);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(47,52,58,0.16);
    isolation: isolate;
}
.solar-story__media::after {
    content: '';
    position: absolute;
    inset: 0;
    display: none;
}
.solar-story__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center center;
}
.solar-story__badge {
    position: absolute;
    left: var(--sp-6);
    top: var(--sp-6);
    bottom: auto;
    z-index: 1;
    max-width: min(320px, calc(100% - var(--sp-12)));
    padding: var(--sp-5);
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: var(--shadow-md);
}
.solar-story__badge span {
    display: block;
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--sp-1);
}
.solar-story__badge strong {
    display: block;
    color: var(--text);
    font-size: var(--text-lg);
    line-height: 1.2;
}
.solar-story__content .section-header,
.solar-story__content .section-title,
.solar-story__content .section-subtitle {
    text-align: left;
    margin-inline: 0;
}
.solar-story__content .section-subtitle {
    max-width: 620px;
}
.solar-story__points {
    display: grid;
    gap: var(--sp-4);
    margin-top: var(--sp-8);
}
.solar-story__point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-4) 0;
    border-top: 1px solid rgba(200,205,213,0.52);
}
.solar-story__mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.55em;
    background: var(--orange);
    box-shadow: 0 0 0 8px rgba(244,122,32,0.12);
}
.solar-story__point p {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   COMPARACIÓN ANTES / DESPUÉS
   ───────────────────────────────────────────────────────────── */
.compare-experience {
    max-width: 1120px;
    margin-inline: auto;
}
.compare-experience::after {
    content: '';
    display: block;
    clear: both;
}
.compare-visual {
    position: relative;
    min-height: clamp(320px, 46vw, 520px);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid rgba(255,255,255,0.7);
    background: var(--gray-100);
    isolation: isolate;
}
.compare-visual__layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--sp-6);
}
.compare-visual__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compare-visual__layer::before {
    display: none;
}
.compare-visual__layer--before {
    background:
        linear-gradient(160deg, #2E6F8F 0%, #7DB4C9 48%, #EAF2F5 100%);
}
.compare-visual__layer--after {
    clip-path: inset(0 0 0 calc(var(--split) + var(--split-nudge, 0px)));
    background:
        linear-gradient(160deg, #7BA55C 0%, #A9D27E 46%, #F5D288 100%);
}
.compare-visual__layer--after::after {
    display: none;
}
.compare-visual__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.55em 1.15em;
    border-radius: var(--r-md);
    color: white;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.compare-visual__label--before {
    background: rgba(47,52,58,0.84);
    opacity: var(--before-label-opacity, 1);
    transition: opacity var(--t-fast);
}
.compare-visual__label--after {
    margin-left: auto;
    background: var(--orange);
    opacity: var(--after-label-opacity, 1);
    transition: opacity var(--t-fast);
}
.compare-visual__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split);
    width: 2px;
    background: rgba(255,255,255,0.9);
    transform: translateX(calc(-1px + var(--split-nudge, 0px)));
    z-index: 5;
    pointer-events: none;
    transform-origin: center;
}
.compare-visual__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-500);
    font-size: 1.35rem;
    font-weight: 700;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-md);
}
.compare-visual.is-settling {
    animation: compare-split-settle 420ms cubic-bezier(0.2, 0.9, 0.22, 1) both;
}
.compare-visual__range {
    position: absolute;
    inset: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}
.compare-visual__hint {
    position: absolute;
    left: 50%;
    bottom: var(--sp-5);
    z-index: 7;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - var(--sp-8));
    padding: 0.55em 1.25em;
    border-radius: var(--r-full);
    color: white;
    background: rgba(47,52,58,0.72);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
}
.compare-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-6);
    align-items: stretch;
    margin-top: var(--sp-8);
}
.compare-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--gray-200);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.compare-card--after {
    border-color: var(--orange);
    border-width: 2px;
}
.compare-card__badge {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--orange);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3em 0.9em;
    border-radius: 0 var(--r-2xl) 0 var(--r-lg);
}
.compare-card--after .compare-card__badge { display: block; }
.compare-card__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: var(--sp-6);
}
.compare-card__amount {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.03em;
}
.compare-card__amount span {
    display: inline-block;
    margin-left: 0.25em;
    font-size: 0.28em;
    font-weight: 800;
    letter-spacing: 0.08em;
    vertical-align: super;
}
.compare-card--before .compare-card__amount { color: #C84040; }
.compare-card--after  .compare-card__amount { color: var(--orange); }
.compare-card__period {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: var(--sp-8);
}
.compare-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    text-align: left;
}
.compare-card__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}
.compare-card__item::before {
    content: '✕';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FDECEA;
    color: #C84040;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.compare-card--after .compare-card__item::before {
    content: '✓';
    background: var(--orange-soft);
    color: var(--orange);
}
.compare-savings {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0 var(--sp-2);
    align-items: baseline;
    width: min(100%, 620px);
    margin: var(--sp-8) auto 0;
    padding: var(--sp-6) var(--sp-8);
    border-radius: var(--r-xl);
    border: 1.5px solid var(--orange-border);
    background: linear-gradient(135deg, #FFF8F1, #FFF0E4);
    box-shadow: 0 14px 34px rgba(244,122,32,0.16);
    color: var(--orange);
}
.compare-savings__label,
.compare-savings__suffix {
    font-size: var(--text-base);
    font-weight: 700;
}
.compare-savings__amount {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
}
.compare-savings__amount span,
.compare-savings__current strong span {
    display: inline-block;
    margin-left: 0.25em;
    font-size: 0.34em;
    font-weight: 800;
    letter-spacing: 0.08em;
    vertical-align: super;
}
.compare-savings__current {
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-align: center;
}
.compare-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
    padding: var(--sp-6);
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-card);
}
.compare-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 var(--sp-4);
    align-items: center;
    min-width: 0;
}
.compare-benefit__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange);
    font-weight: 800;
}
.compare-benefit strong {
    color: var(--text);
    font-size: var(--text-sm);
    line-height: 1.3;
}
.compare-benefit span:last-child {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────
   SERVICIOS
   ───────────────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
.service-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)),
        linear-gradient(135deg, rgba(244,122,32,0.10), transparent 44%);
    border-radius: var(--r-2xl);
    padding: var(--sp-10);
    border: 1.5px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
    width: 64px;
    height: 64px;
    background: var(--footer-bg);
    border-radius: var(--r-xl);
    display: grid;
    place-items: center;
    margin-bottom: var(--sp-6);
    transition: background var(--t-base), transform var(--t-base);
    position: relative;
    box-shadow: 0 14px 30px rgba(47,52,58,0.12);
}
.service-card:hover .service-card__icon {
    background: var(--orange);
    transform: translateY(-2px);
}
.service-card__icon::before,
.service-feature-card__icon::before {
    content: '';
    position: absolute;
    background: white;
    -webkit-mask: var(--service-icon) center / contain no-repeat;
    mask: var(--service-icon) center / contain no-repeat;
}
.service-card__icon::before {
    width: 34px;
    height: 34px;
}
.service-card__icon--home {
    --service-icon: url('../img/icons/lucide/house-plug.svg');
}
.service-card__icon--business {
    --service-icon: url('../img/icons/lucide/building-2.svg');
}
.service-card__icon--pump {
    --service-icon: url('../img/icons/lucide/droplets.svg');
}
.service-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}
.service-card__desc {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--orange);
    transition: gap var(--t-fast);
}
.service-card:hover .service-card__link { gap: var(--sp-3); }

/* ─────────────────────────────────────────────────────────────
   DIRECTORIO DE SERVICIOS
   ───────────────────────────────────────────────────────────── */
.services-directory {
    background:
        linear-gradient(180deg, var(--white), var(--gray-50));
}
.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
}
.service-feature-card {
    position: relative;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: var(--sp-8);
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(226,229,233,0.95);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
    isolation: isolate;
}
.service-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(244,122,32,0.12), transparent 44%),
        radial-gradient(circle at 80% 12%, rgba(244,122,32,0.18), transparent 34%);
    opacity: 0.82;
    z-index: -1;
}
.service-feature-card::after {
    content: '';
    position: absolute;
    inset: auto -20% -42% 18%;
    height: 260px;
    border-radius: 50%;
    background: rgba(42,45,51,0.06);
    z-index: -1;
}
.service-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-border);
    box-shadow: 0 24px 70px rgba(47,52,58,0.13);
}
.service-feature-card__index {
    align-self: flex-start;
    color: rgba(47,52,58,0.22);
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: 1;
}
.service-feature-card__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-block: var(--sp-8) var(--sp-6);
    border-radius: var(--r-xl);
    background: var(--footer-bg);
    box-shadow: 0 18px 34px rgba(47,52,58,0.14);
    position: relative;
    transition: background var(--t-base), transform var(--t-base);
}
.service-feature-card:hover .service-feature-card__icon {
    background: var(--orange);
    transform: translateY(-2px);
}
.service-feature-card__icon::before {
    width: 40px;
    height: 40px;
}
.service-feature-card--pumping .service-feature-card__icon {
    --service-icon: url('../img/icons/lucide/droplets.svg');
}
.service-feature-card--autonomous .service-feature-card__icon {
    --service-icon: url('../img/icons/lucide/battery-charging.svg');
}
.service-feature-card--interconnection .service-feature-card__icon {
    --service-icon: url('../img/icons/lucide/plug-zap.svg');
}
.service-feature-card__label {
    width: fit-content;
    margin-bottom: var(--sp-4);
    padding: 0.32em 0.88em;
    border-radius: var(--r-full);
    background: rgba(255,241,231,0.9);
    border: 1px solid var(--orange-border);
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.service-feature-card__title {
    color: var(--text);
    font-size: var(--text-xl);
    line-height: 1.12;
    margin-bottom: var(--sp-4);
}
.service-feature-card__desc {
    font-size: var(--text-sm);
    line-height: 1.65;
}
.service-feature-card__meta {
    display: block;
    margin-top: auto;
    padding-top: var(--sp-8);
    color: var(--text);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.45;
}
.service-feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
    color: var(--orange);
    font-size: var(--text-sm);
    font-weight: 800;
}
.service-feature-card__link::after {
    content: '→';
    transition: transform var(--t-base);
}
.service-feature-card:hover .service-feature-card__link::after {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────
   DETALLE DE SERVICIO
   ───────────────────────────────────────────────────────────── */
.service-detail-hero--interconnection {
    background-image: url('../img/servicios/interconexion-banner.webp');
}
.service-detail-hero--autonomous {
    background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1600&q=80&auto=format&fit=crop');
}
.service-detail-hero--pumping {
    background-image: url('../img/servicios/bombeo-solar-banner.webp');
}
.service-detail {
    background:
        linear-gradient(180deg, var(--white), var(--gray-50));
}
.service-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.58fr);
    gap: var(--sp-12);
    align-items: start;
}
.service-detail__main {
    min-width: 0;
}
.service-detail__main .section-title {
    max-width: 780px;
}
.service-detail__main p {
    max-width: 780px;
    margin-bottom: var(--sp-5);
}
.service-detail__main h3 {
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-3);
    font-size: var(--text-xl);
}
.service-detail__figure {
    aspect-ratio: 16 / 9;
    margin-block: var(--sp-10);
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
}
.service-detail__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.service-detail__placeholder {
    display: grid;
    place-items: center;
    min-height: clamp(260px, 32vw, 420px);
    margin-block: var(--sp-10);
    border-radius: var(--r-2xl);
    background:
        linear-gradient(135deg, rgba(42,45,51,0.86), rgba(42,45,51,0.68)),
        linear-gradient(135deg, rgba(244,122,32,0.28), transparent);
    border: 1px solid rgba(255,255,255,0.58);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: var(--sp-8);
}
.service-detail__placeholder span {
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.service-detail__placeholder strong {
    display: block;
    max-width: 420px;
    margin-top: var(--sp-3);
    color: white;
    font-size: var(--text-xl);
    line-height: 1.18;
}
.service-detail__side {
    position: sticky;
    top: calc(var(--header-h-scroll) + var(--sp-8));
    display: grid;
    gap: var(--sp-5);
}
.service-side-card,
.service-cta-card {
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    padding: var(--sp-8);
}
.service-side-card h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-5);
}
.service-check-list {
    display: grid;
    gap: var(--sp-4);
}
.service-check-list li {
    position: relative;
    padding-left: var(--sp-8);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.55;
}
.service-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--orange);
}
.service-check-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.63em;
    width: 7px;
    height: 4px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}
.service-cta-card {
    background:
        linear-gradient(135deg, var(--footer-bg), #3a3f49);
}
.service-cta-card span {
    display: block;
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
}
.service-cta-card p {
    color: rgba(255,255,255,0.76);
    font-size: var(--text-sm);
    margin-bottom: var(--sp-6);
}
.service-nav-section {
    padding-block: var(--sp-10);
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}
.service-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
}
.service-nav__item {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    padding: var(--sp-5);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: var(--gray-50);
    transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.service-nav__item:hover {
    transform: translateY(-2px);
    border-color: var(--orange-border);
    box-shadow: var(--shadow-md);
}
.service-nav__item span {
    color: var(--gray-400);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.service-nav__item strong {
    color: var(--text);
    font-size: var(--text-base);
    line-height: 1.25;
}
.service-nav__item--next {
    text-align: right;
}

/* ─────────────────────────────────────────────────────────────
   PROCESO — 4 PASOS
   ───────────────────────────────────────────────────────────── */
.process-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--white) 0%, var(--gray-50) 58%, var(--orange-soft) 100%);
}
.process-showcase {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: var(--sp-12);
    align-items: center;
}
.process-showcase__visual {
    position: relative;
    min-height: 560px;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: 0 10px 16px rgba(47,52,58,0.10);
}
.process-showcase__visual img,
.process-showcase__video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}
.process-showcase__note {
    position: absolute;
    left: var(--sp-5);
    right: var(--sp-5);
    bottom: var(--sp-5);
    padding: var(--sp-5);
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.86);
    box-shadow: 0 8px 20px rgba(47,52,58,0.10);
}
.process-showcase__note span {
    display: block;
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--sp-1);
}
.process-showcase__note strong {
    color: var(--text);
    font-size: var(--text-base);
    line-height: 1.25;
}
.process-showcase__content .section-title,
.process-showcase__content .section-subtitle {
    color: var(--text);
    text-align: left;
    margin-inline: 0;
}
.process-showcase__content .section-subtitle {
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: var(--sp-10);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
    position: relative;
}
.process-grid::before {
    display: none;
}
.process-step {
    position: relative;
    padding: var(--sp-6);
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--gray-100);
    box-shadow: 0 6px 18px rgba(47,52,58,0.08);
}
.process-step__num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-size: var(--text-base);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(244,122,32,0.30);
    transition: transform var(--t-base);
}
.process-step:hover .process-step__num { transform: scale(1.1); }
.process-step__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--sp-2);
}
.process-step__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   FORMULARIO DE CONTACTO
   ───────────────────────────────────────────────────────────── */
.home-quote {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(245,246,247,0.88), rgba(255,241,231,0.76)),
        url('/assets/img/home/img-0889-formulario.avif');
    background-size: cover;
    background-position: center 48%;
    background-attachment: fixed;
}
.home-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.26);
    pointer-events: none;
}
.home-quote .container {
    position: relative;
    z-index: 1;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
}
.contact-info__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--sp-4);
}
.contact-info__desc {
    font-size: var(--text-base);
    margin-bottom: var(--sp-8);
}
.contact-info__item {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}
.contact-info__item-icon {
    width: 44px;
    height: 44px;
    background: var(--orange-soft);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
}
.contact-info__item-icon::before,
.contact-info__item-icon::after {
    content: '';
    position: absolute;
    border-color: var(--orange);
}
.contact-info__item-icon--phone::before {
    width: 18px;
    height: 28px;
    border: 2px solid var(--orange);
    border-radius: 12px;
    transform: rotate(-18deg);
}
.contact-info__item-icon--phone::after {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
    bottom: 11px;
}
.contact-info__item-icon--mail::before {
    width: 24px;
    height: 17px;
    border: 2px solid var(--orange);
    border-radius: 3px;
}
.contact-info__item-icon--mail::after {
    width: 15px;
    height: 15px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg);
    top: 13px;
}
.contact-info__item-icon--wa::before {
    width: 25px;
    height: 20px;
    border: 2px solid var(--orange);
    border-radius: 14px;
}
.contact-info__item-icon--wa::after {
    width: 9px;
    height: 9px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-20deg);
    bottom: 10px;
    left: 12px;
}
.contact-info__item-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}
.contact-info__item-val {
    font-weight: 600;
    color: var(--text);
    font-size: var(--text-base);
}
.contact-form-box {
    background: rgba(255,255,255,0.96);
    border-radius: var(--r-2xl);
    padding: var(--sp-10);
    box-shadow: 0 16px 40px rgba(47,52,58,0.10), 0 1px 0 rgba(255,255,255,0.78) inset;
    border: 1px solid rgba(255,255,255,0.78);
}
.form-group { margin-bottom: var(--sp-5); }
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--sp-2);
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.78em 1em;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244,122,32,0.12);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}
.home-file {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    position: relative;
    padding: var(--sp-4);
    margin-bottom: var(--sp-5);
    border: 1.5px dashed var(--orange-border);
    border-radius: var(--r-lg);
    background: rgba(255,241,231,0.62);
    cursor: pointer;
    transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.home-file:hover {
    border-color: var(--orange);
    background: rgba(255,241,231,0.88);
    transform: translateY(-1px);
}
.home-file.is-selected {
    border-style: solid;
    border-color: rgba(34, 197, 94, 0.58);
    background: rgba(240, 253, 244, 0.82);
}
.home-file.has-file-error,
.ct-file.has-file-error {
    border-color: rgba(200, 64, 64, 0.72);
    background: rgba(200, 64, 64, 0.08);
}
.home-file__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-xs);
    position: relative;
}
.home-file__icon::before {
    content: '';
    position: absolute;
    inset: 10px 12px 9px;
    border: 2px solid var(--orange);
    border-radius: 3px;
}
.home-file__icon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background: var(--orange);
    top: 20px;
    left: 16px;
    box-shadow: 0 6px 0 var(--orange);
}
.home-file__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.home-file__title {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
}
.home-file__meta {
    color: var(--text-secondary);
    font-size: var(--text-xs);
}
.file-selected {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: var(--sp-3);
    width: 100%;
    max-width: 100%;
    margin-top: var(--sp-2);
    padding: var(--sp-3);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.58);
}
.file-selected[hidden] { display: none; }
.file-selected__name {
    display: grid;
    gap: var(--sp-2);
    min-width: 0;
    flex: 1;
    color: var(--text);
    font-size: var(--text-xs);
    font-weight: 700;
}
.file-selected__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--r-sm);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    overflow-wrap: anywhere;
}
.file-selected__item:last-child {
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.file-selected__remove {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.08);
    color: var(--text);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
}
.file-selected__remove:hover {
    background: #C84040;
    color: var(--white);
}
.file-selected__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--sp-2);
    padding-top: var(--sp-1);
}
.file-selected__add,
.file-selected__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    justify-self: flex-start;
    min-height: 28px;
    padding-inline: 0.65rem;
    border: 0;
    border-radius: var(--r-full);
    text-decoration: none;
    line-height: 1;
}
.file-selected__add {
    background: rgba(34, 197, 94, 0.16);
    color: #13733A;
    cursor: pointer;
}
.file-selected__add.is-disabled {
    background: rgba(17, 24, 39, 0.08);
    color: var(--text-secondary);
    cursor: not-allowed;
}
.file-selected__clear {
    background: rgba(17, 24, 39, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.file-selected__clear:hover {
    background: #C84040;
    color: var(--white);
    transform: scale(1.04);
}
.home-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.form-submit { width: 100%; margin-top: var(--sp-2); }
.form-privacy {
    margin: 0.75rem 0 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
}
.form-privacy a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-12) var(--sp-8);
    gap: var(--sp-4);
}
.form-success__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1ea44e;
    position: relative;
}
.form-success__icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 12px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    left: 17px;
    top: 20px;
}
.form-success__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
}
.form-success__text { font-size: var(--text-sm); }

/* ─────────────────────────────────────────────────────────────
   COBERTURA / MAPA
   ───────────────────────────────────────────────────────────── */
.coverage-section {
    background:
        linear-gradient(180deg, var(--white), var(--gray-50));
}
.coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: stretch;
}
.coverage-map {
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: clamp(500px, 42vw, 620px);
    height: 100%;
    border: 1px solid var(--gray-100);
}
.coverage-map iframe { width: 100%; height: 100%; border: none; }
.coverage-panel {
    position: relative;
    display: grid;
    gap: var(--sp-6);
    isolation: isolate;
}
.coverage-panel::before {
    content: '';
    position: absolute;
    inset: -8% -4% auto auto;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(244,122,32,0.16), transparent 66%);
    z-index: -1;
}
.coverage-panel__intro {
    display: grid;
    gap: var(--sp-3);
}
.coverage-panel__intro span {
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.coverage-panel__intro h3 {
    max-width: 520px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: 0;
}
.coverage-panel__intro p {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.65;
}
.coverage-route {
    display: grid;
    grid-template-columns: auto minmax(80px, 1fr) auto;
    align-items: center;
    gap: var(--sp-4);
    max-width: 480px;
    padding-block: var(--sp-2);
}
.coverage-route span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--footer-bg);
    color: white;
    font-size: var(--text-sm);
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 26px rgba(34,37,42,0.18);
}
.coverage-route span:last-child {
    background: var(--orange);
}
.coverage-route i {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, var(--footer-bg), var(--orange));
}
.coverage-route i::before,
.coverage-route i::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
}
.coverage-route i::before {
    left: 0;
    color: var(--footer-bg);
}
.coverage-route i::after {
    right: 0;
    color: var(--orange);
}
.coverage-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.coverage-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--sp-4);
    padding: var(--sp-5);
    border: 1px solid rgba(226,229,233,0.92);
    border-radius: var(--r-xl);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,250,246,0.94));
    box-shadow: 0 12px 34px rgba(47,52,58,0.08);
    transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.coverage-item:hover {
    transform: translateY(-3px);
    border-color: var(--orange-border);
    box-shadow: 0 18px 44px rgba(47,52,58,0.12);
}
.coverage-item__icon {
    width: 50px;
    height: 50px;
    background: var(--footer-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
.coverage-item:nth-child(2) .coverage-item__icon {
    background: var(--orange);
}
.coverage-item__name { font-weight: 700; color: var(--text); }
.coverage-item__sub  { font-size: var(--text-xs); color: var(--gray-400); margin-top: 2px; }
.coverage-item p {
    margin-top: var(--sp-2);
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   RESEÑAS GOOGLE — Coverflow
   ───────────────────────────────────────────────────────────── */
.google-reviews-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(244,122,32,0.12), transparent 28%),
        linear-gradient(180deg, var(--gray-50), var(--white));
}
.reviews-shell {
    position: relative;
}
.reviews-header {
    max-width: 780px;
    margin-inline: auto;
}
.reviews-summary {
    width: fit-content;
    margin: calc(var(--sp-2) * -1) auto var(--sp-8);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.72rem 1rem;
    border-radius: var(--r-full);
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--orange-border);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.2;
}
.reviews-summary__stars,
.review-card__stars {
    color: var(--orange);
    letter-spacing: 0;
}
.reviews-summary strong {
    color: var(--text);
    font-weight: 800;
}
.reviews-summary a {
    color: var(--orange);
    font-weight: 800;
}
.reviews-coverflow {
    width: min(100%, 1120px);
    margin-inline: auto;
    padding: var(--sp-4) 0 var(--sp-8);
    overflow: visible;
}
.reviews-coverflow .swiper-wrapper {
    align-items: stretch;
}
.reviews-coverflow .swiper-slide {
    width: min(78vw, 420px);
    height: auto;
}
.review-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--r-xl);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,250,246,0.96));
    border: 1px solid rgba(244,122,32,0.18);
    box-shadow: 0 22px 60px rgba(47,52,58,0.16);
}
.review-card__top {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}
.review-card__avatar {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--avatar-color, var(--footer-bg));
    color: white;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.12);
}
.review-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.review-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    letter-spacing: 0;
}
.review-card__top p {
    margin-top: 0.2rem;
    color: var(--text-secondary);
    font-size: var(--text-xs);
}
.review-card__stars {
    font-size: 1.05rem;
}
.review-card blockquote {
    position: relative;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.02rem, 1.8vw, 1.22rem);
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: 0;
}
.review-card blockquote::before {
    content: "“";
    position: absolute;
    top: -2.05rem;
    left: -0.25rem;
    color: rgba(244,122,32,0.14);
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
}
.review-card__source {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text-secondary);
    font-size: var(--text-xs);
    font-weight: 700;
}
.review-card__source span:first-child {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--orange);
    border: 1px solid var(--orange-border);
    font-weight: 800;
}
.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
}
.reviews-nav {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.reviews-nav:hover,
.reviews-nav:focus-visible {
    color: var(--orange);
    border-color: var(--orange-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.reviews-pagination {
    position: static;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
}
.reviews-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: var(--gray-300);
    opacity: 1;
    transition: width var(--t-base), background var(--t-base);
}
.reviews-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: var(--r-full);
    background: var(--orange);
}

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────── */
.faq-section {
    background:
        linear-gradient(90deg, rgba(20,24,32,0.84), rgba(20,24,32,0.68)),
        url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1800&q=82&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.faq-section .section-title {
    color: white;
}
.faq-list {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.faq-item {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r-lg);
    border: 1.5px solid var(--gray-100);
    overflow: hidden;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item.open {
    border-color: var(--orange-border);
    box-shadow: 0 4px 16px rgba(244,122,32,0.08);
}
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    cursor: pointer;
    user-select: none;
}
.faq-item__qtext {
    font-weight: 600;
    color: var(--text);
    font-size: var(--text-base);
}
.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 300;
    transition: all var(--t-base);
}
.faq-item.open .faq-item__icon {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    transform: rotate(45deg);
}
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease, padding-bottom 0.38s ease;
    padding-inline: var(--sp-6);
}
.faq-item.open .faq-item__a {
    max-height: 760px;
    padding-bottom: var(--sp-5);
}
.faq-answer,
.faq-answer p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}
.faq-answer p {
    margin-bottom: var(--sp-4);
}
.faq-answer-list {
    display: grid;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}
.faq-answer-list li {
    position: relative;
    padding: var(--sp-3) var(--sp-4) var(--sp-3) calc(var(--sp-4) + 22px);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    background: rgba(255,250,246,0.82);
    color: var(--text-secondary);
}
.faq-answer-list li::before {
    content: '';
    position: absolute;
    top: 1.05rem;
    left: var(--sp-4);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-soft);
}
.faq-answer-list strong {
    color: var(--text);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer { background: var(--footer-bg); }
.footer__main {
    display: grid;
    grid-template-columns: minmax(245px, 1.12fr) minmax(132px, 0.52fr) minmax(110px, 0.42fr) minmax(560px, 2.05fr);
    column-gap: clamp(1.1rem, 1.8vw, 2.2rem);
    row-gap: var(--sp-8);
    padding-block: var(--sp-16);
}
.footer__brand-logo { margin-bottom: var(--sp-4); }
.footer__brand-logo img { height: 43px; width: auto; }
.footer__brand-tagline {
    font-size: var(--text-sm);
    color: var(--footer-text);
    max-width: 280px;
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}
.footer__social {
    display: flex;
    gap: var(--sp-3);
}
.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: all var(--t-base);
}
.footer__social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    transform: translateY(-2px);
}
.footer__col-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--footer-heading);
    margin-bottom: var(--sp-6);
    letter-spacing: 0.02em;
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__link {
    font-size: var(--text-sm);
    color: var(--footer-text);
    transition: color var(--t-fast);
}
.footer__link:hover { color: var(--orange); }
.footer__contact-card {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.78fr);
    column-gap: var(--sp-7);
    row-gap: var(--sp-4);
    max-width: 640px;
}
.footer__contact-primary,
.footer__contact-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--sp-3);
    color: var(--footer-text);
    text-decoration: none;
}
.footer__contact-primary {
    grid-row: span 2;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: color var(--t-base);
}
.footer__contact-primary:hover {
    color: var(--orange);
}
.footer__contact-row {
    align-items: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    transition: background var(--t-base), color var(--t-base);
}
.footer__contact-row:hover {
    background: transparent;
    color: var(--orange);
}
.footer__contact-row--email {
    grid-column: 2;
}
.footer__contact-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(244, 122, 32, 0.12);
    color: var(--orange);
    flex-shrink: 0;
}
.footer__contact-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}
.footer__contact-label {
    color: rgba(176, 181, 187, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer__contact-body strong {
    color: var(--footer-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
}
.footer__contact-body span:not(.footer__contact-label) {
    display: block;
    color: var(--footer-text);
    font-size: var(--text-xs);
    line-height: 1.55;
}
.footer__contact-action {
    grid-column: 2;
    width: fit-content;
    margin-top: var(--sp-2);
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
}
.footer__contact-row .footer__contact-body strong {
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
}
.footer__contact-text {
    font-size: var(--text-sm);
    color: var(--footer-text);
    line-height: 1.5;
}
.footer__bar {
    background: var(--footer-bar);
    padding-block: var(--sp-4);
}
.footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
.footer__copyright { font-size: var(--text-xs); color: rgba(176,181,187,0.55); }
.footer__legal-links {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}
.footer__legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding-inline: var(--sp-2);
    font-size: var(--text-xs);
    color: rgba(176,181,187,0.55);
    transition: color var(--t-fast);
}
.footer__legal-link:hover { color: var(--orange); }

/* ─────────────────────────────────────────────────────────────
   WHATSAPP FLOTANTE
   ───────────────────────────────────────────────────────────── */
.whatsapp-btn {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-float);
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    color: white;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ─────────────────────────────────────────────────────────────
   ANIMACIONES
   ───────────────────────────────────────────────────────────── */
@keyframes word-reveal {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes scroll-dot {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}
@keyframes compare-split-settle {
    0%   { --split-nudge: 0px; }
    42%  { --split-nudge: var(--settle-distance, 6px); }
    72%  { --split-nudge: var(--settle-rebound, -2px); }
    100% { --split-nudge: 0px; }
}

@media (prefers-reduced-motion: reduce) {
    .compare-visual.is-settling {
        animation: none;
    }
}

/* Scroll reveal */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up    { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.55s; }
.delay-6 { transition-delay: 0.70s; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-quote { background-attachment: scroll; }
    .solar-story__grid,
    .process-showcase  { grid-template-columns: 1fr; }
    .solar-story__media,
    .process-showcase__visual { min-height: 440px; }
    .service-feature-grid { grid-template-columns: 1fr; }
    .service-feature-card { min-height: auto; }
    .service-detail__layout { grid-template-columns: 1fr; }
    .service-detail__side { position: static; }
    .services-grid        { grid-template-columns: repeat(2, 1fr); }
    .process-grid         { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .footer__main         { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
    .footer__contact-card {
        grid-template-columns: minmax(0, 1fr);
        max-width: none;
    }
    .footer__contact-primary {
        grid-row: auto;
    }
    .contact-wrap         { grid-template-columns: 1fr; }
    .compare-panel        { grid-template-columns: 1fr; }
    .compare-benefits     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header__nav       { display: none; }
    .header__mobile-toggle { display: flex; }
    .header__mobile-menu   { display: block; }
    .solar-story__grid { gap: var(--sp-8); }
    .solar-story__media,
    .process-showcase__visual { min-height: 340px; border-radius: var(--r-xl); }
    .solar-story__badge { left: var(--sp-4); right: var(--sp-4); top: var(--sp-4); bottom: auto; max-width: none; }
    .process-showcase { gap: var(--sp-8); }
    .process-showcase__content .section-title,
    .process-showcase__content .section-subtitle { text-align: left; }
    .process-grid { grid-template-columns: 1fr; }
    .service-feature-card { padding: var(--sp-6); border-radius: var(--r-xl); }
    .service-feature-card__icon { margin-block: var(--sp-6) var(--sp-5); }
    .service-detail__figure,
    .service-detail__placeholder { border-radius: var(--r-xl); }
    .service-nav { grid-template-columns: 1fr; }
    .service-nav__item--next { text-align: left; }
    .services-grid     { grid-template-columns: 1fr; }
    .coverage-grid     { grid-template-columns: 1fr; }
    .coverage-map      { min-height: clamp(360px, 68vw, 480px); }
    .reviews-summary {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .reviews-coverflow {
        padding-top: 0;
    }
    .reviews-coverflow .swiper-slide {
        width: min(86vw, 360px);
    }
    .review-card {
        min-height: 330px;
    }
    .form-row          { grid-template-columns: 1fr; }
    .footer__main      { grid-template-columns: 1fr; }
    .footer__contact-card {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .footer__contact-primary {
        grid-row: auto;
    }
    .footer__bar-inner { flex-direction: column; text-align: center; }
    .hero__title       { letter-spacing: -0.015em; }
    .compare-visual    { min-height: 360px; border-radius: var(--r-xl); }
    .compare-visual__layer { padding: var(--sp-4); }
    .compare-visual__label { font-size: 0.64rem; max-width: 48%; text-align: center; }
    .compare-visual__hint { width: calc(100% - var(--sp-8)); }
    .compare-benefits  { grid-template-columns: 1fr; }
    .home-file { align-items: flex-start; }
}
@media (max-width: 480px) {
    .hero__actions     { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .compare-savings   { grid-template-columns: 1fr; text-align: center; }
    .solar-story__media,
    .process-showcase__visual { min-height: 300px; }
    .review-card {
        min-height: 320px;
        border-radius: var(--r-lg);
    }
    .reviews-nav {
        width: 40px;
        height: 40px;
    }
}



/* ─────────────────────────────────────────────────────────────
   PÁGINA CONTACTO — hero banner + mapa + cta card
   ───────────────────────────────────────────────────────────── */

/* ── 1. HERO banner horizontal con overlay ── */
.ct-hero {
    position: relative;
    width: 100%;
    min-height: clamp(430px, 48vh, 560px);
    background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.page-services .ct-hero {
    background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1600&q=80&auto=format&fit=crop');
    background-position: center 48%;
}
.page-services .ct-hero.service-detail-hero--interconnection {
    background-color: #315f55;
    background-image: url('../img/servicios/interconexion-banner.webp');
    background-position: center 46%;
}
.page-services .ct-hero.service-detail-hero--interconnection .ct-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(6, 24, 34, 0.84) 0%,
            rgba(6, 24, 34, 0.60) 46%,
            rgba(6, 24, 34, 0.20) 76%,
            rgba(6, 24, 34, 0.10) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(10, 14, 22, 0.16) 0%,
            rgba(10, 14, 22, 0.54) 100%
        );
}
.page-services .ct-hero.service-detail-hero--pumping {
    background-color: #315f55;
    background-image: url('../img/servicios/bombeo-solar-banner.webp');
    background-position: center 58%;
}
.page-services .ct-hero.service-detail-hero--pumping .ct-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(6, 24, 34, 0.82) 0%,
            rgba(6, 24, 34, 0.58) 46%,
            rgba(6, 24, 34, 0.22) 76%,
            rgba(6, 24, 34, 0.12) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(10, 14, 22, 0.18) 0%,
            rgba(10, 14, 22, 0.58) 100%
        );
}
@media (max-width: 768px) {
    .page-services .ct-hero.service-detail-hero--interconnection {
        background-position: 72% center;
    }
    .page-services .ct-hero.service-detail-hero--interconnection .ct-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 24, 34, 0.80) 0%,
                rgba(6, 24, 34, 0.56) 68%,
                rgba(6, 24, 34, 0.30) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(10, 14, 22, 0.20) 0%,
                rgba(10, 14, 22, 0.66) 100%
            );
    }
    .page-services .ct-hero.service-detail-hero--pumping {
        background-position: 68% center;
    }
    .page-services .ct-hero.service-detail-hero--pumping .ct-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 24, 34, 0.78) 0%,
                rgba(6, 24, 34, 0.54) 68%,
                rgba(6, 24, 34, 0.32) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(10, 14, 22, 0.22) 0%,
                rgba(10, 14, 22, 0.68) 100%
            );
    }
}
.page-about .ct-hero {
    background-image: url('/assets/img/home/equipo-bahia-solar.avif');
    background-position: center 48%;
}
.page-about {
    overflow-x: hidden;
}
.about-foundation {
    background: var(--white);
}
.about-foundation__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
    justify-content: space-between;
    align-items: end;
    gap: clamp(2rem, 7vw, 7rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--gray-100);
}
.about-foundation__title {
    max-width: 720px;
    margin-top: var(--sp-4);
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0;
}
.about-foundation__lead {
    max-width: 610px;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}
.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--gray-100);
}
.about-pillar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--sp-6);
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    padding-right: clamp(2rem, 5vw, 5rem);
}
.about-pillar + .about-pillar {
    padding-right: 0;
    padding-left: clamp(2rem, 5vw, 5rem);
    border-left: 1px solid var(--gray-100);
}
.about-pillar__marker,
.about-values__index {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--orange-border);
    border-radius: 50%;
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
}
.about-pillar__eyebrow {
    display: block;
    margin-bottom: var(--sp-3);
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.about-pillar h3,
.about-values h3 {
    margin-bottom: var(--sp-4);
    color: var(--text);
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    letter-spacing: 0;
}
.about-pillar p {
    max-width: 600px;
    color: var(--text-secondary);
    line-height: 1.75;
}
.about-values {
    display: grid;
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.about-values__heading {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-6);
}
.about-values__heading h3 {
    margin-bottom: 0;
}
.about-values__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.about-values__list li {
    position: relative;
    padding: var(--sp-5) var(--sp-3) var(--sp-5) var(--sp-6);
    border-left: 1px solid var(--gray-100);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 700;
}
.about-values__list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--sp-3);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    transform: translateY(-50%);
}
.page-blog .ct-hero {
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1600&q=80&auto=format&fit=crop');
    background-position: center 44%;
}
.about-reel-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(244, 122, 32, 0.12), transparent 30%),
        linear-gradient(180deg, var(--white), var(--gray-50));
}
.about-reel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}
.about-reel__copy .section-subtitle {
    margin-inline: 0;
}
.about-reel__frame {
    position: relative;
    aspect-ratio: 9 / 16;
    width: min(100%, 360px);
    margin-inline: auto;
    overflow: hidden;
    border-radius: var(--r-2xl);
    background: #111;
    box-shadow: 0 24px 70px rgba(34, 37, 42, 0.22);
}
.about-reel__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #111;
}
.ct-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,14,22,0.30) 0%,
        rgba(10,14,22,0.72) 100%
    );
}
.ct-hero__content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}
.ct-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: var(--sp-3);
    text-shadow: 0 1px 10px rgba(0,0,0,0.34);
}
.ct-hero__title {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: var(--sp-4);
    text-shadow: 0 3px 18px rgba(0,0,0,0.42);
}
.ct-hero__title em {
    font-style: normal;
    color: var(--orange);
}
.ct-hero__lead {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.80);
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

/* ── 2. MAPA + SIDEBAR ── */
.ct-info { padding-block: var(--sp-16) !important; }
.ct-info__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: var(--sp-12);
    align-items: start;
}

/* Mapa */
.ct-map {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    position: relative;
}
.ct-map iframe { width: 100%; height: 100%; border: none; display: block; }
.ct-map__open {
    position: absolute;
    bottom: var(--sp-3);
    right: var(--sp-3);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--r-full);
    padding: 0.38em 0.9em;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: background var(--t-fast), color var(--t-fast);
}
.ct-map__open:hover { background: var(--orange); color: #fff; }

/* Sidebar info */
.ct-sidebar { display: flex; flex-direction: column; gap: var(--sp-6); }
.ct-sidebar__tag {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
}
.ct-sidebar__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}
.ct-sidebar__intro {
    margin-top: calc(var(--sp-3) * -1);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.65;
}

/* Links de contacto */
.ct-sidebar__links { display: flex; flex-direction: column; }
.ct-link {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: border-color var(--t-fast);
}
.ct-sidebar__links .ct-link:first-child { border-top: 1px solid var(--gray-100); }
.ct-link:hover { border-color: var(--orange-border); }
.ct-link:hover .ct-link__arrow { transform: translateX(4px); color: var(--orange); }
.ct-link:hover .ct-link__ico   { color: var(--orange); }
.ct-link__ico {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300); flex-shrink: 0;
    transition: color var(--t-fast);
}
.ct-link__body { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ct-link__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.ct-link__val  { font-size: var(--text-sm); font-weight: 500; color: var(--text); }
.ct-link__arrow{ font-size: var(--text-sm); color: var(--gray-300); transition: transform var(--t-base), color var(--t-base); }

/* Horario */
.ct-sidebar__hours { border-top: 1px solid var(--gray-100); padding-top: var(--sp-5); }
.ct-sidebar__hours-label {
    font-size: var(--text-xs); font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-400); margin-bottom: var(--sp-3);
}
.ct-sidebar__hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding-block: var(--sp-2);
    border-bottom: 1px solid var(--gray-50);
}
.ct-sidebar__hour-row span:last-child { font-weight: 600; color: var(--text); }

/* Sede secundaria */
.ct-secondary-location {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--sp-5);
    margin-top: var(--sp-8);
    padding: var(--sp-6);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,241,231,0.58));
    box-shadow: var(--shadow-card);
}
.ct-secondary-location__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    background: var(--footer-bg);
    color: var(--orange);
    box-shadow: var(--shadow-sm);
}
.ct-secondary-location__body {
    min-width: 0;
}
.ct-secondary-location__eyebrow {
    display: block;
    margin-bottom: var(--sp-1);
    color: var(--orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ct-secondary-location h3 {
    margin-bottom: var(--sp-1);
    color: var(--text);
    font-size: var(--text-lg);
}
.ct-secondary-location p,
.ct-secondary-location address {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-style: normal;
    line-height: 1.55;
}
.ct-secondary-location address {
    margin-top: var(--sp-2);
    color: var(--text);
    font-weight: 600;
}
.ct-secondary-location__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    min-height: 44px;
    padding: 0.7em 1.2em;
    border: 1px solid var(--orange-border);
    border-radius: var(--r-full);
    background: var(--white);
    color: var(--orange);
    font-size: var(--text-xs);
    font-weight: 800;
    white-space: nowrap;
    transition: color var(--t-base), background var(--t-base), border-color var(--t-base);
}
.ct-secondary-location__action:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--white);
}

/* ── 3. CTA CARD ── */
.ct-cta {
    position: relative;
    padding-block: var(--sp-20) !important;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(245,246,247,0.86), rgba(255,241,231,0.72)),
        url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 42%;
    background-attachment: scroll;
}
.ct-cta::before {
    content: '';
    position: absolute;
    inset: 8% auto auto 50%;
    width: min(680px, 78vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,122,32,0.20) 0%, rgba(244,122,32,0.08) 38%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(12px);
    pointer-events: none;
}
.ct-cta::after {
    display: none;
}
.ct-cta__card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--r-2xl);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 24px 70px rgba(47,52,58,0.13), 0 1px 0 rgba(255,255,255,0.8) inset;
    overflow: hidden;
}

/* Header del card */
.ct-cta__hd {
    padding: var(--sp-10) var(--sp-12) var(--sp-8);
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
}
.ct-cta__eyebrow {
    display: inline-block;
    font-size: var(--text-xs); font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-soft);
    border: 1px solid var(--orange-border);
    padding: 0.3em 1em; border-radius: var(--r-full);
    margin-bottom: var(--sp-4);
}
.ct-cta__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: var(--sp-2);
}
.ct-cta__sub  { font-size: var(--text-base); color: var(--text-secondary); }

/* Opciones */
.ct-cta__options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
}
.ct-cta__opt { padding: var(--sp-10) var(--sp-12); }
.ct-cta__opt--form { border-right: 1px solid var(--gray-100); }

/* Encabezado de opción */
.ct-cta__opt-hd {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}
.ct-cta__opt-ico {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--orange-soft);
    border: 1px solid var(--orange-border);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
}
.ct-cta__opt-ico--wa { background: #e8f9ed; border-color: #b3e6c0; color: #1ea44e; }
.ct-cta__opt-title { font-size: var(--text-base); font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ct-cta__opt-desc  { font-size: var(--text-xs); color: var(--text-secondary); }

/* Separador OR */
.ct-cta__sep {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-10) var(--sp-6);
    position: relative;
}
.ct-cta__sep::before {
    content: '';
    position: absolute;
    top: var(--sp-10);
    bottom: var(--sp-10);
    left: 50%;
    width: 1px;
    background: var(--gray-100);
}
.ct-cta__sep span {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: var(--sp-2) var(--sp-1);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Formulario inside card */
.ct-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.ct-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.ct-f { display: flex; flex-direction: column; gap: var(--sp-2); }
.ct-f__label {
    font-size: var(--text-xs); font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}
.ct-f__opt { font-weight: 400; color: var(--gray-300); text-transform: none; }
.ct-f__input,
.ct-f__select,
.ct-f__textarea {
    width: 100%;
    padding: var(--sp-3) 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--gray-200);
    border-radius: 0;
    font-size: var(--text-sm);
    color: var(--text);
    outline: none;
    transition: border-color var(--t-fast);
    font-family: var(--font);
}
.ct-f__input::placeholder,
.ct-f__textarea::placeholder { color: var(--gray-300); }
.ct-f__input:focus,
.ct-f__select:focus,
.ct-f__textarea:focus { border-color: var(--orange); }
.ct-f__select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}
.ct-f__textarea { resize: vertical; min-height: 80px; }
.ct-file {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4);
    border: 1.5px dashed var(--orange-border);
    border-radius: var(--r-lg);
    background: rgba(255,241,231,0.56);
    cursor: pointer;
    transition: border-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.ct-file:hover {
    border-color: var(--orange);
    background: rgba(255,241,231,0.86);
    transform: translateY(-1px);
}
.ct-file.is-selected {
    border-style: solid;
    border-color: rgba(34, 197, 94, 0.58);
    background: rgba(240, 253, 244, 0.82);
}
.ct-file__ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--orange);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}
.ct-file__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ct-file__title {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.35;
}
.ct-file__meta {
    color: var(--text-secondary);
    font-size: var(--text-xs);
}
.ct-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ct-form-btn {
    display: inline-flex; align-items: center; gap: var(--sp-3);
    margin-top: var(--sp-2);
    padding: 0.85em 1.8em;
    background: var(--orange); color: white;
    font-size: var(--text-sm); font-weight: 700;
    font-family: var(--font);
    border: none; border-radius: var(--r-full);
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
    letter-spacing: 0.02em;
}
.ct-form-btn:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244,122,32,0.35);
}
.ct-form-btn:hover svg { transform: translateX(3px); }
.ct-form-btn svg { transition: transform var(--t-base); }

.ct-form-success {
    display: none; flex-direction: column;
    align-items: flex-start; gap: var(--sp-3);
    padding: var(--sp-8) 0;
}
.ct-form-success h3 { font-size: var(--text-xl); font-weight: 700; color: var(--text); }
.ct-form-success p  { color: var(--text-secondary); }

/* WhatsApp side */
.ct-wa-body {
    display: flex; flex-direction: column; gap: var(--sp-6);
}
.ct-wa-body__txt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}
.ct-wa-btn {
    display: inline-flex; align-items: center; gap: var(--sp-3);
    padding: 0.85em 1.8em;
    background: #1ea44e; color: white;
    font-size: var(--text-sm); font-weight: 700;
    font-family: var(--font);
    border-radius: var(--r-full);
    text-decoration: none;
    transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
    align-self: flex-start;
    letter-spacing: 0.02em;
}
.ct-wa-btn:hover {
    background: #178a3f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,164,78,0.30);
}
.ct-wa-avatar {
    display: flex; align-items: center; gap: var(--sp-4);
    margin-top: var(--sp-2);
    padding: var(--sp-4);
    background: var(--gray-50);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
}
.ct-wa-avatar__img {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--white);
    border-radius: 50%;
    border: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: center;
}
.ct-wa-avatar__txt { font-size: var(--text-xs); color: var(--text-secondary); line-height: 1.5; }
.ct-wa-avatar__txt strong { color: var(--text); }

/* Stats */
.ct-cta__stats-wrap {
    padding: var(--sp-8) var(--sp-12);
    border-top: 1px solid var(--gray-100);
    background: linear-gradient(135deg, rgba(252,252,252,0.92), rgba(255,241,231,0.42));
}
.ct-cta__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    gap: var(--sp-6);
}
.ct-stat {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-lg);
    text-align: center;
    background: transparent;
}
.ct-stat__num {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: var(--sp-1);
}
.ct-stat__lbl {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
}
.ct-stat__divider {
    display: none;
}

/* Responsive */
@media (max-width: 960px) {
    .about-foundation__intro,
    .about-values {
        grid-template-columns: 1fr;
    }
    .about-pillars {
        grid-template-columns: 1fr;
    }
    .about-pillar,
    .about-pillar + .about-pillar {
        padding-inline: 0;
    }
    .about-pillar + .about-pillar {
        border-top: 1px solid var(--gray-100);
        border-left: 0;
    }
    .about-values__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .about-reel {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-reel__copy .section-subtitle {
        margin-inline: auto;
    }
    .ct-info__grid { grid-template-columns: 1fr; }
    .ct-cta__options { grid-template-columns: 1fr; }
    .ct-cta__opt--form { border-right: none; border-bottom: 1px solid var(--gray-100); }
    .ct-cta__sep { padding: var(--sp-2) var(--sp-12); }
    .ct-cta__sep::before { top: 50%; bottom: auto; left: var(--sp-12); right: var(--sp-12); width: auto; height: 1px; }
    .ct-cta__hd { padding-inline: var(--sp-6); }
    .ct-cta__opt { padding-inline: var(--sp-6); }
    .ct-cta__stats-wrap { padding-inline: var(--sp-6); }
}
@media (max-width: 640px) {
    .about-foundation__intro {
        align-items: start;
    }
    .about-pillar {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }
    .about-values__heading {
        display: grid;
        gap: var(--sp-4);
    }
    .about-values__list {
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--gray-100);
    }
    .about-values__list li {
        border-bottom: 1px solid var(--gray-100);
    }
    .about-reel__frame {
        width: min(100%, 330px);
        border-radius: var(--r-xl);
    }
    .ct-f-row { grid-template-columns: 1fr; }
    .ct-hero {
        min-height: clamp(390px, 52vh, 460px);
        padding-top: calc(var(--header-h) + var(--sp-8));
    }
    .ct-cta__stats { gap: var(--sp-6); }
    .ct-stat__divider { height: 28px; }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE-FIRST OVERRIDES
   Reglas prioritarias para experiencia en telefono.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --container-pad: clamp(1rem, 5vw, 1.35rem);
    }

    .header {
        height: 68px;
    }
    .header--solid {
        height: 62px;
    }
    .header__inner {
        gap: var(--sp-3);
    }
    .header__logo {
        width: 164px;
        height: 38px;
    }
    .header__logo-img {
        height: 38px;
    }
    .header--solid .header__logo {
        height: 34px;
    }
    .header--solid .header__logo-img {
        height: 34px;
    }
    .header__actions {
        gap: var(--sp-3);
    }
    .header__cta {
        display: none;
    }
    .header__lang {
        gap: 0.35rem;
    }
    .header__mobile-toggle {
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .header--solid .header__mobile-toggle {
        background: var(--gray-50);
    }
    .header__mobile-menu {
        position: fixed;
        top: 68px;
        left: var(--container-pad);
        right: var(--container-pad);
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        padding: var(--sp-5);
        border: 1px solid rgba(255,255,255,0.72);
        border-radius: var(--r-xl);
        box-shadow: 0 18px 48px rgba(47,52,58,0.20);
    }
    .header--solid .header__mobile-menu {
        top: 62px;
    }
    .header__mobile-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 1rem;
        font-weight: 700;
    }
    .header__mobile-menu .btn {
        width: 100%;
        min-height: 48px;
        margin-top: var(--sp-5) !important;
        border-radius: var(--r-full);
    }

    .hero {
        min-height: 640px;
        height: 100svh;
        padding-top: var(--header-h);
    }
    .hero__content {
        max-width: 100%;
    }
    .hero__title {
        font-size: clamp(2.35rem, 12vw, 3.65rem);
        line-height: 1.04;
    }
    .hero__subtitle {
        font-size: 1rem;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
        min-height: 50px;
    }

    .ct-hero {
        min-height: 430px;
        padding-top: calc(68px + var(--sp-10));
        padding-bottom: var(--sp-10);
    }
    .ct-hero__title {
        font-size: clamp(2.25rem, 11vw, 3.4rem);
        line-height: 1.08;
    }
    .ct-hero__lead {
        font-size: 1rem;
    }

    .ct-cta {
        padding-block: var(--sp-12) !important;
        background-attachment: scroll;
    }
    .ct-cta::before {
        width: 130vw;
        inset: 4% auto auto 50%;
        opacity: 0.58;
    }
    .ct-cta__card {
        border-radius: var(--r-xl);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .ct-cta__hd {
        padding: var(--sp-8) var(--sp-5) var(--sp-6);
    }
    .ct-cta__title {
        font-size: clamp(1.6rem, 8vw, 2.1rem);
        line-height: 1.12;
    }
    .ct-cta__sub {
        font-size: 0.98rem;
    }
    .ct-cta__opt {
        padding: var(--sp-8) var(--sp-5);
    }
    .ct-cta__opt-hd {
        align-items: center;
    }
    .ct-cta__sep {
        padding: var(--sp-2) var(--sp-5);
    }
    .ct-cta__sep::before {
        left: var(--sp-5);
        right: var(--sp-5);
    }
    .ct-form-btn,
    .ct-wa-btn {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        align-self: stretch;
    }
    .ct-file {
        align-items: flex-start;
    }
    .ct-wa-avatar {
        align-items: flex-start;
    }
    .ct-cta__stats-wrap {
        padding: var(--sp-6) var(--sp-5);
    }
    .ct-cta__stats {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }
    .ct-stat {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: var(--sp-3);
        padding: var(--sp-2) 0;
        text-align: left;
        border-radius: 0;
    }
    .ct-stat__num {
        min-width: 4.5rem;
        margin: 0;
        font-size: clamp(1.45rem, 7vw, 2rem);
    }
    .ct-stat__lbl {
        font-size: 0.86rem;
        line-height: 1.35;
    }
    .ct-stat__divider {
        display: none;
    }

    .whatsapp-btn {
        right: var(--sp-4);
        bottom: var(--sp-4);
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 430px) {
    .header__logo {
        width: 150px;
        height: 35px;
    }
    .header__logo-img {
        height: 35px;
    }
    .header--solid .header__logo,
    .header--solid .header__logo-img {
        height: 31px;
    }
    .header__lang-btn,
    .header__lang-sep {
        font-size: 0.72rem;
    }
    .section {
        padding-block: var(--sp-16);
    }
    .compare-visual {
        min-height: 300px;
    }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE POLISH
   Ajustes finales de composición, ritmo y desbordamiento.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
    p,
    h1,
    h2,
    h3,
    strong,
    a {
        overflow-wrap: break-word;
    }

    .section {
        padding-block: clamp(3.5rem, 14vw, 4.5rem);
    }
    .section-header {
        margin-bottom: var(--sp-8);
    }
    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
        line-height: 1.12;
    }
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .header__mobile-menu {
        top: 76px;
        left: var(--sp-4);
        right: var(--sp-4);
        max-height: calc(100dvh - 92px);
        padding: var(--sp-3) var(--sp-5) var(--sp-5);
        border: 1px solid var(--gray-100);
        border-radius: var(--r-xl);
        background: rgba(255,255,255,0.98);
        box-shadow: 0 22px 60px rgba(20,24,32,0.24);
        transform: translateY(-12px) scale(0.985);
        transform-origin: top center;
    }
    .header--solid .header__mobile-menu {
        top: 70px;
    }
    .header__mobile-menu.open {
        transform: translateY(0) scale(1);
    }
    .header__mobile-menu nav {
        display: grid;
    }
    .header__mobile-link {
        min-height: 52px;
        padding: var(--sp-3) 0;
    }
    .header__mobile-cta {
        display: flex;
        width: 100%;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        margin-top: var(--sp-4);
        text-align: center;
    }

    .hero {
        min-height: 620px;
        height: 100svh;
        max-height: 860px;
        align-items: center;
    }
    .hero .container {
        width: 100%;
    }
    .hero__content {
        padding-top: 4.5rem;
        padding-bottom: 3.25rem;
    }
    .hero__tag {
        margin-bottom: var(--sp-4);
        line-height: 1.45;
    }
    .hero__title {
        margin-bottom: var(--sp-5);
        font-size: clamp(2.2rem, 11vw, 3.35rem);
    }
    .hero__subtitle {
        margin-bottom: var(--sp-6);
        line-height: 1.55;
    }
    .hero__actions {
        gap: var(--sp-3);
    }
    .hero__scroll {
        display: flex;
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        gap: 0.25rem;
    }
    .hero__scroll-mouse {
        width: 18px;
        height: 28px;
        border-width: 1.5px;
    }
    .hero__scroll-mouse::after {
        top: 4px;
        height: 5px;
    }
    .hero__scroll-text {
        font-size: 0.58rem;
        color: rgba(255,255,255,0.62);
    }

    .marquee-section {
        padding-block: var(--sp-10);
    }
    .marquee-label {
        max-width: 320px;
        margin: 0 auto var(--sp-8);
        padding-inline: var(--sp-5);
        line-height: 1.55;
    }
    .marquee-track-wrap {
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }
    .marquee__group {
        gap: var(--sp-10);
        padding-right: var(--sp-10);
    }
    .marquee__item img {
        max-width: 150px;
        height: 38px;
    }

    .solar-story__badge,
    .process-showcase__note {
        padding: var(--sp-4);
    }
    .solar-story__points {
        margin-top: var(--sp-6);
    }
    .compare-card,
    .compare-benefits,
    .service-card,
    .service-side-card,
    .service-cta-card,
    .contact-form-box {
        padding: var(--sp-6);
        border-radius: var(--r-xl);
    }
    .compare-savings {
        margin-top: var(--sp-6);
        padding: var(--sp-5);
    }
    .compare-benefits {
        gap: 0;
    }
    .compare-benefit {
        padding-block: var(--sp-4);
        border-bottom: 1px solid var(--gray-100);
    }
    .compare-benefit:last-child {
        border-bottom: 0;
    }
    .service-feature-card {
        min-height: 0;
    }
    .service-feature-card__meta {
        margin-top: var(--sp-6);
        padding-top: 0;
    }
    .service-detail__layout {
        gap: var(--sp-8);
    }
    .service-detail__figure,
    .service-detail__placeholder {
        margin-block: var(--sp-8);
    }
    .service-cta-card .btn {
        width: 100%;
        justify-content: center;
    }
    .process-showcase__content .section-subtitle {
        margin-bottom: var(--sp-6);
    }
    .process-step {
        padding: var(--sp-5);
    }

    .reviews-summary {
        width: 100%;
        border-radius: var(--r-lg);
        line-height: 1.45;
    }
    .review-card {
        min-height: 0;
    }
    .faq-item__q {
        align-items: flex-start;
        padding: var(--sp-4);
    }
    .faq-item__qtext {
        font-size: 0.95rem;
        line-height: 1.45;
    }
    .faq-item__a {
        padding-inline: var(--sp-4);
    }

    .about-foundation__intro {
        gap: var(--sp-5);
        padding-bottom: var(--sp-8);
    }
    .about-foundation__title {
        margin-top: var(--sp-3);
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }
    .about-pillars {
        border-bottom: 0;
    }
    .about-pillar,
    .about-pillar + .about-pillar {
        margin-top: var(--sp-5);
        padding: var(--sp-6);
        border: 1px solid var(--gray-100);
        border-radius: var(--r-xl);
        background: var(--gray-50);
    }
    .about-values {
        gap: var(--sp-6);
        padding-top: var(--sp-10);
    }
    .about-values__heading {
        align-items: center;
    }
    .about-values__list {
        gap: var(--sp-3);
        border-top: 0;
    }
    .about-values__list li {
        min-height: 58px;
        display: flex;
        align-items: center;
        padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-8);
        border: 1px solid var(--gray-100);
        border-radius: var(--r-lg);
        background: var(--gray-50);
    }
    .about-values__list li::before {
        left: var(--sp-4);
    }

    .ct-info {
        padding-block: var(--sp-12) !important;
    }
    .ct-info__grid {
        gap: var(--sp-8);
    }
    .ct-map {
        aspect-ratio: 1 / 1;
        border-radius: var(--r-xl);
    }
    .ct-sidebar {
        gap: var(--sp-5);
    }
    .ct-sidebar__title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
    .ct-link {
        gap: var(--sp-3);
    }
    .ct-link__body {
        min-width: 0;
    }
    .ct-link__val {
        overflow-wrap: anywhere;
    }
    .ct-sidebar__hour-row {
        align-items: flex-start;
        gap: var(--sp-4);
    }
    .ct-sidebar__hour-row span:last-child {
        text-align: right;
    }
    .ct-secondary-location {
        grid-template-columns: auto minmax(0, 1fr);
        margin-top: var(--sp-6);
        padding: var(--sp-5);
    }
    .ct-secondary-location__action {
        grid-column: 1 / -1;
        width: 100%;
    }
    .ct-file__body,
    .home-file__body {
        min-width: 0;
    }

    .footer__main {
        gap: 0;
        padding-block: var(--sp-10);
    }
    .footer__brand,
    .footer__col {
        padding-block: var(--sp-6);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer__brand {
        padding-top: 0;
    }
    .footer__col:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .footer__brand-tagline {
        max-width: 100%;
        margin-bottom: var(--sp-5);
    }
    .footer__col-title {
        margin-bottom: var(--sp-4);
    }
    .footer__links {
        gap: var(--sp-2);
    }
    .footer__link {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
    }
    .footer__contact-card {
        max-width: none;
        gap: 0;
    }
    .footer__contact-primary,
    .footer__contact-row,
    .footer__contact-row--email {
        grid-column: auto;
        padding-block: var(--sp-4);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer__contact-row--email {
        border-bottom: 0;
    }
    .footer__contact-row .footer__contact-body strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .footer__contact-action {
        margin-top: var(--sp-3);
    }
    .footer__bar-inner {
        gap: var(--sp-2);
    }
    .footer__legal-link {
        min-height: 42px;
    }
    .whatsapp-btn {
        right: max(var(--sp-5), env(safe-area-inset-right));
        bottom: calc(var(--sp-5) + env(safe-area-inset-bottom) + var(--visual-viewport-bottom, 0px));
    }
}

@media (max-width: 480px) {
    .header__logo {
        width: min(42vw, 142px);
    }
    .hero__content {
        padding-top: 4.25rem;
        padding-bottom: 3rem;
    }
    .hero__title {
        font-size: clamp(2.1rem, 10.5vw, 3rem);
    }
    .hero__actions .btn {
        min-height: 48px;
    }
    .about-values__list {
        grid-template-columns: 1fr;
    }
    .about-values__list li {
        min-height: 54px;
    }
    .review-card__top {
        align-items: flex-start;
    }
    .review-card__avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
    .ct-hero {
        min-height: 390px;
    }
    .ct-hero__title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    .ct-hero__lead br {
        display: none;
    }
    .ct-map {
        aspect-ratio: 4 / 3;
    }
    .ct-secondary-location {
        grid-template-columns: 1fr;
    }
    .ct-secondary-location__icon {
        width: 46px;
        height: 46px;
    }
    .ct-secondary-location__action {
        grid-column: auto;
    }
    .ct-file,
    .home-file {
        gap: var(--sp-3);
        padding: var(--sp-3);
    }
    .ct-file__ico,
    .home-file__icon {
        width: 36px;
        height: 36px;
    }
    .file-selected__actions {
        flex-direction: column;
    }
    .file-selected__add,
    .file-selected__clear {
        width: 100%;
    }
    .footer__social {
        flex-wrap: wrap;
    }
}

/* ─────────────────────────────────────────────────────────────
   BLOG — índice, categorías y artículos
   ───────────────────────────────────────────────────────────── */
.blog-hero,
.blog-article__hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 15%, rgba(244,122,32,0.18), transparent 28%),
        linear-gradient(135deg, #222831 0%, #303640 100%);
}
.blog-hero {
    min-height: clamp(430px, 48vh, 560px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    background-image:
        linear-gradient(90deg, rgba(16,22,31,0.90) 0%, rgba(16,22,31,0.72) 48%, rgba(16,22,31,0.34) 100%),
        url('/assets/img/home/casa-con-paneles-solares-bahia-solar.avif');
    background-size: cover;
    background-position: center 48%;
}
.blog-hero::after,
.blog-article__hero::after {
    content: '';
    position: absolute;
    right: -8vw;
    bottom: -28vw;
    width: min(62vw, 780px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255,255,255,0.018),
        0 0 0 140px rgba(255,255,255,0.012);
}
.blog-hero__glow {
    position: absolute;
    inset: auto auto -160px -140px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(244,122,32,0.09);
    filter: blur(70px);
}
.blog-hero__inner,
.blog-article__hero-inner {
    position: relative;
    z-index: 1;
}
.blog-hero__inner {
    width: 100%;
}
.blog-hero__eyebrow,
.blog-article__category {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
    color: #ffad73;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.blog-hero__eyebrow::before,
.blog-article__category::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
}
.blog-hero__title {
    max-width: 720px;
    color: var(--white);
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.07;
    text-shadow: 0 3px 18px rgba(0,0,0,0.42);
}
.blog-hero__title em {
    color: var(--orange);
    font-style: normal;
    font-weight: 800;
}
.blog-hero__lead {
    max-width: 620px;
    margin-top: var(--sp-4);
    color: rgba(255,255,255,0.80);
    font-size: var(--text-lg);
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.blog-index {
    padding-block: 0 var(--sp-24);
    background: var(--white);
}
.blog-categories {
    position: relative;
    z-index: 3;
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    margin-bottom: var(--sp-16);
    padding: var(--sp-4);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%);
    scrollbar-width: none;
}
.blog-categories::-webkit-scrollbar { display: none; }
.blog-category {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    border-radius: var(--r-md);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: color var(--t-fast), background var(--t-fast);
}
.blog-category:hover,
.blog-category.active {
    color: var(--orange);
    background: var(--orange-soft);
}
.blog-index__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
    align-items: end;
    gap: var(--sp-10);
    margin-bottom: var(--sp-12);
}
.blog-index__header h2,
.blog-related__header h2 {
    font-size: var(--text-3xl);
}
.blog-index__header p {
    padding-bottom: var(--sp-2);
    font-size: var(--text-lg);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-8);
}
.blog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.blog-card:hover {
    border-color: var(--orange-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}
.blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-100);
}
.blog-card--featured .blog-card__image {
    min-height: 440px;
    aspect-ratio: auto;
}
.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms var(--t-spring);
}
.blog-card:hover .blog-card__image img {
    transform: scale(1.035);
}
.blog-card__body {
    display: flex;
    flex-direction: column;
    padding: var(--sp-8);
}
.blog-card--featured .blog-card__body {
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}
.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-2) var(--sp-4);
    margin-bottom: var(--sp-5);
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.blog-card__category {
    color: var(--orange);
}
.blog-card__title {
    margin-bottom: var(--sp-4);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.18;
}
.blog-card--featured .blog-card__title {
    font-size: clamp(2rem, 4vw, 3.35rem);
}
.blog-card__title a,
.blog-card__link {
    transition: color var(--t-fast);
}
.blog-card__title a:hover,
.blog-card__link:hover {
    color: var(--orange);
}
.blog-card__excerpt {
    margin-bottom: var(--sp-8);
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    margin-top: auto;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 800;
}
.blog-card__link span {
    color: var(--orange);
    font-size: 1.2em;
    transition: transform var(--t-fast);
}
.blog-card__link:hover span { transform: translateX(4px); }
.blog-empty {
    padding: var(--sp-16);
    border: 1px dashed var(--gray-200);
    border-radius: var(--r-xl);
    text-align: center;
}

.blog-article__hero {
    padding-block: calc(var(--header-h) + var(--sp-20)) var(--sp-20);
}
.blog-article__hero-inner {
    max-width: 1000px;
}
.blog-back {
    display: block;
    width: fit-content;
    margin-bottom: var(--sp-12);
    color: rgba(255,255,255,0.58);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: color var(--t-fast);
}
.blog-back:hover { color: var(--white); }
.blog-article__hero h1 {
    max-width: 980px;
    color: var(--white);
    font-size: clamp(2.5rem, 6.2vw, 5.5rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}
.blog-article__excerpt {
    max-width: 760px;
    margin-top: var(--sp-8);
    color: rgba(255,255,255,0.66);
    font-size: var(--text-lg);
}
.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-8);
    margin-top: var(--sp-8);
    color: rgba(255,255,255,0.48);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.blog-article__cover {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--sp-12) * -1);
}
.blog-article__cover img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: var(--r-2xl);
    box-shadow: 0 24px 70px rgba(34,37,42,0.18);
}
.blog-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
    justify-content: space-between;
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: var(--sp-20) var(--sp-24);
}
.blog-article__content {
    font-size: var(--text-base);
}
.blog-article__content p {
    margin-bottom: var(--sp-6);
}
.blog-article__content h2 {
    margin-block: var(--sp-12) var(--sp-5);
    font-size: var(--text-2xl);
}
.blog-article__lead {
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid var(--gray-100);
    color: var(--text) !important;
    font-size: var(--text-xl);
    line-height: 1.55;
}
.blog-content-image {
    margin-block: var(--sp-10) var(--sp-12);
}
.blog-content-image a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: var(--white);
    box-shadow: 0 18px 48px rgba(34, 37, 42, 0.12);
}
.blog-content-image img {
    display: block;
    width: 100%;
    height: auto;
}
.blog-content-image figcaption {
    margin-top: var(--sp-3);
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
    text-align: center;
}
.blog-article__content ul {
    display: grid;
    gap: var(--sp-4);
    margin-block: var(--sp-6) var(--sp-8);
}
.blog-article__content ul > li {
    position: relative;
    padding-left: var(--sp-8);
    color: var(--text-secondary);
}
.blog-article__content ul > li::before {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 9px;
    height: 9px;
    border: 2px solid var(--orange);
    border-radius: 50%;
}
.blog-steps {
    display: grid;
    gap: var(--sp-4);
    margin-block: var(--sp-8) var(--sp-10);
    padding: 0;
    list-style: none;
}
.blog-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: var(--sp-5);
    align-items: start;
    padding: var(--sp-6);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background:
        linear-gradient(135deg, rgba(244,122,32,0.07), rgba(255,255,255,0) 45%),
        var(--white);
    box-shadow: 0 12px 32px rgba(34,37,42,0.07);
}
.blog-step__number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: var(--text-lg);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(244,122,32,0.24);
}
.blog-step strong {
    display: block;
    margin-bottom: var(--sp-2);
    color: var(--text);
    font-size: var(--text-lg);
}
.blog-step p {
    margin-bottom: 0;
}
.blog-callout {
    margin-block: var(--sp-10);
    padding: var(--sp-8);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--r-xl) var(--r-xl) 0;
    background: var(--orange-soft);
}
.blog-callout strong {
    display: block;
    margin-bottom: var(--sp-2);
    color: var(--text);
    font-size: var(--text-lg);
}
.blog-callout p {
    margin-bottom: 0;
}
.blog-article__aside {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}
.blog-aside-card {
    padding: var(--sp-6);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-xl);
    background: var(--gray-50);
}
.blog-aside-card > span {
    display: block;
    margin-bottom: var(--sp-2);
    color: var(--gray-500);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.blog-aside-card > a {
    color: var(--orange);
    font-weight: 800;
}
.blog-aside-card--cta {
    position: sticky;
    top: calc(var(--header-h-scroll) + var(--sp-6));
    padding: var(--sp-8);
    border: 0;
    background: var(--footer-bg);
}
.blog-aside-card--cta h2 {
    margin-bottom: var(--sp-4);
    color: var(--white);
    font-size: var(--text-xl);
}
.blog-aside-card--cta p {
    margin-bottom: var(--sp-6);
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
}
.blog-aside-card--cta .btn--primary {
    background: var(--white);
    color: var(--footer-bg);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.blog-aside-card--cta .btn--primary:hover {
    background: var(--orange-soft);
    color: var(--orange-hover);
    box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}
.blog-related {
    padding-block: var(--sp-20);
    background: var(--gray-50);
}
.blog-related__header {
    margin-bottom: var(--sp-10);
}
.blog-grid--related .blog-card {
    background: var(--white);
}

@media (max-width: 900px) {
    .blog-card--featured {
        grid-template-columns: 1fr;
    }
    .blog-card--featured .blog-card__image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .blog-card--featured .blog-card__body {
        padding: var(--sp-8);
    }
    .blog-article__layout {
        grid-template-columns: 1fr;
    }
    .blog-article__aside {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .blog-aside-card--cta {
        position: static;
    }
}

@media (max-width: 700px) {
    .blog-hero {
        min-height: 390px;
        padding-bottom: var(--sp-12);
        background-position: 62% center;
    }
    .blog-hero__title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
    .blog-categories {
        margin-bottom: var(--sp-6);
        border-radius: var(--r-lg);
        transform: translateY(-35%);
    }
    .blog-index__header,
    .blog-grid,
    .blog-article__aside {
        grid-template-columns: 1fr;
    }
    .blog-index__header {
        gap: var(--sp-4);
    }
    .blog-card__body,
    .blog-card--featured .blog-card__body {
        padding: var(--sp-6);
    }
    .blog-card--featured .blog-card__title {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }
    .blog-article__hero {
        padding-block: calc(var(--header-h) + var(--sp-12)) var(--sp-16);
    }
    .blog-back {
        margin-bottom: var(--sp-8);
    }
    .blog-article__cover {
        margin-top: calc(var(--sp-6) * -1);
        padding-inline: var(--sp-4);
    }
    .blog-article__cover img {
        border-radius: var(--r-xl);
    }
    .blog-article__layout {
        padding-block: var(--sp-12) var(--sp-16);
    }
    .blog-callout {
        padding: var(--sp-6);
    }
    .blog-step {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: var(--sp-4);
        padding: var(--sp-5);
    }
    .blog-step__number {
        width: 38px;
        height: 38px;
        font-size: var(--text-base);
    }
}
