@charset "utf-8";

/* =====================================================================
 * DURALIS ENERGY | services-shared.css — v3.0 "Living Precision"
 * Premium redesign: Swiss engineering precision + living energy
 *
 * DEPENDENCIA: Cargarse DESPUÉS de main.css
 * ===================================================================== */


/* ─────────────────────────────────────────────────────────────────────
 * §01  CSS CUSTOM PROPERTIES
 * ───────────────────────────────────────────────────────────────────── */
:root {
    /* ── Colores de servicio (preserved) ── */
    --srv-dark:         #000c0f;
    --srv-charcoal:     #1a252f;
    --srv-slate:        #3a4a5a;
    --srv-muted:        #6b7c8d;
    --srv-light:        #e8ecef;
    --srv-off-white:    #f4f6f7;
    --srv-white:        #ffffff;

    /* ── Acento de marca ── */
    --srv-brand:        #69A82F;
    --srv-brand-dim:    rgba(105, 168, 47, 0.10);
    --srv-brand-glow:   rgba(105, 168, 47, 0.25);
    --srv-brand-dark:   #528221;

    /* ── Espaciado fluido (clamp mobile↔desktop) ── */
    --srv-section-y:    clamp(3.5rem, 5vw + 1rem, 7.5rem);
    /* Aliases conservados por compatibilidad con reglas que los usan. */
    --srv-section-y-md: clamp(3rem, 4vw + 1rem, 5rem);
    --srv-section-y-sm: clamp(2.5rem, 3vw + 0.5rem, 3.5rem);

    /* ── Bordes ── */
    --srv-radius:       20px;
    --srv-radius-sm:    12px;
    --srv-radius-pill:  100px;

    /* ── Sombras ── */
    --srv-shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.06);
    --srv-shadow-md:    0 8px 40px rgba(0, 0, 0, 0.09);
    --srv-shadow-lg:    0 20px 64px rgba(0, 0, 0, 0.13);
    --srv-shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.18);
    --srv-glow:         0 0 48px rgba(105, 168, 47, 0.20);

    /* ── Transiciones ── */
    --srv-transition:       0.65s cubic-bezier(0.4, 0, 0.2, 1);
    --srv-transition-fast:  0.30s cubic-bezier(0.4, 0, 0.2, 1);

    /* ── Parallax (actualizado por scroll-effect.js) ── */
    --translate-value:        0;
    --translate-value-header: 0;

    /* ── Dot grid ── */
    --srv-dot-color: rgba(0, 12, 15, 0.055);
    --srv-dot-space: 28px;
}


/* ─────────────────────────────────────────────────────────────────────
 * §02  SCROLL REVEAL SYSTEM
 *      IntersectionObserver classes — añadidas por el script inline
 *      de cada página HTML.
 * ───────────────────────────────────────────────────────────────────── */

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="scale"] {
    transform: scale(0.92) translateY(20px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger para grupos */
[data-reveal-group] > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group] > *:nth-child(2) { transition-delay: 0.10s; }
[data-reveal-group] > *:nth-child(3) { transition-delay: 0.20s; }
[data-reveal-group] > *:nth-child(4) { transition-delay: 0.30s; }
[data-reveal-group] > *:nth-child(5) { transition-delay: 0.40s; }

[data-reveal-group] > * {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal-group].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}


/* ─────────────────────────────────────────────────────────────────────
 * §03  ESTILOS BASE DE PÁGINA
 * ───────────────────────────────────────────────────────────────────── */

.service-details-page .main section[id] {
    scroll-margin-top: 80px;
}

body.service-details-page .footer {
    position: relative;
    z-index: 11;
}

.service-details-page img {
    max-width: 100%;
    height: auto;
}

body.service-details-page .main {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    background-color: var(--srv-white);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
}

/* Línea accent verde en el borde superior del main */
body.service-details-page .main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--srv-brand) 30%,
        var(--srv-brand-dark) 70%,
        transparent 100%);
    z-index: 1;
}


/* ─────────────────────────────────────────────────────────────────────
 * §04  HERO BANNER
 * ───────────────────────────────────────────────────────────────────── */

.sc-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--srv-dark);
    z-index: 1;
    will-change: transform;
}

/* Imagen de fondo con parallax — <img> posicionado absolute que cubre el
   100% del .sc-hero. El 10% de "bleed" para el parallax se consigue con
   transform: scale(1.1). object-fit: cover = background-size: cover.
   Nota: el selector usa img.sc-hero__bg (no sólo .sc-hero__bg) porque la
   regla global ".service-details-page img { height: auto }" (línea 125)
   tiene specificity 0,1,1 e interfiere; con img.sc-hero__bg igualamos
   specificity y ganamos por orden en el source. */
img.sc-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.88) saturate(1.15);
    transform-origin: center center;
    transform: scale(1.1) translate3d(0, calc(var(--translate-value) * 1%), 0);
    will-change: transform;
    transition: transform 0.1s linear;
    pointer-events: none;
    user-select: none;
}

/* Compatibilidad con la versión antigua (div con background-image) por si
   alguna página aún no se ha migrado — el selector sigue funcionando. */
div.sc-hero__bg {
    background-size: cover;
    background-position: center 30%;
}

/* Degradado principal */
.sc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 12, 15, 0.10) 0%,
        rgba(0, 12, 15, 0.55) 45%,
        rgba(0, 12, 15, 0.93) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Overlay alternativo (por si alguna página lo usa como div) */
.sc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 12, 15, 0.10) 0%,
        rgba(0, 12, 15, 0.55) 45%,
        rgba(0, 12, 15, 0.93) 100%
    );
    z-index: 1;
}

/* Partículas flotantes (CSS puro) */
.sc-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.sc-hero__particles span {
    position: absolute;
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--srv-brand);
    opacity: 0;
    animation: particle-float linear infinite;
}

.sc-hero__particles span:nth-child(1)  { left: 8%;  animation-delay: 0s;    animation-duration: 12s; width: 2px; height: 2px; }
.sc-hero__particles span:nth-child(2)  { left: 18%; animation-delay: 2.5s;  animation-duration: 9s;  }
.sc-hero__particles span:nth-child(3)  { left: 32%; animation-delay: 5s;    animation-duration: 14s; width: 2px; height: 2px; }
.sc-hero__particles span:nth-child(4)  { left: 45%; animation-delay: 1.5s;  animation-duration: 11s; }
.sc-hero__particles span:nth-child(5)  { left: 58%; animation-delay: 3.8s;  animation-duration: 8s;  width: 4px; height: 4px; opacity: 0; }
.sc-hero__particles span:nth-child(6)  { left: 72%; animation-delay: 7s;    animation-duration: 13s; width: 2px; height: 2px; }
.sc-hero__particles span:nth-child(7)  { left: 82%; animation-delay: 0.8s;  animation-duration: 10s; }
.sc-hero__particles span:nth-child(8)  { left: 92%; animation-delay: 4.2s;  animation-duration: 15s; width: 2px; height: 2px; }
.sc-hero__particles span:nth-child(9)  { left: 25%; animation-delay: 6.1s;  animation-duration: 11s; }
.sc-hero__particles span:nth-child(10) { left: 65%; animation-delay: 9.0s;  animation-duration: 10s; width: 2px; height: 2px; }

/* Número de servicio gigante (watermark decorativo) */
.sc-hero__watermark {
    position: absolute;
    bottom: -0.15em;
    right: -0.05em;
    font-family: var(--heading-font);
    font-size: min(38vw, 520px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(105, 168, 47, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: -0.05em;
}

/* Línea decorativa horizontal animada */
.sc-hero__line {
    position: absolute;
    bottom: 140px;
    left: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(105, 168, 47, 0.4) 40%,
        rgba(105, 168, 47, 0.2) 70%,
        transparent 100%);
    transform-origin: left;
    animation: hero-line-draw 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
    z-index: 2;
}

/* Indicador de scroll */
.sc-hero__scroll {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    animation: fade-up 0.8s ease 2s both;
}

.sc-hero__scroll span {
    font-family: var(--nav-font, var(--default-font));
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.sc-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scroll-line 1.8s ease-in-out infinite;
}

/* Contenido del hero */
.sc-hero__content {
    position: relative;
    z-index: 3;
    padding: clamp(2rem, 5vw, 5rem) 0 clamp(2rem, 4vw, 4rem);
    width: 100%;
    transform: translate3d(0, calc(var(--translate-value-header) * 1%), 0);
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Badge de categoría */
.sc-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px clamp(0.875rem, 1.5vw, 1.375rem);
    margin-bottom: clamp(1rem, 2vw, 1.75rem);
    background: rgba(105, 168, 47, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(105, 168, 47, 0.25);
    border-radius: var(--srv-radius-pill);
    color: var(--srv-brand);
    font-family: var(--nav-font, var(--default-font));
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    animation: fade-up 0.7s ease 0.3s both;
}

.sc-hero__label i {
    font-size: 1rem;
}

/* Título principal — ya usaba clamp(), conservado pero con techo más suave en mobile */
.sc-hero__title {
    font-family: var(--heading-font);
    font-size: clamp(2.25rem, 7vw + 0.5rem, 6.5rem);
    font-weight: 700;
    line-height: 1.00;
    color: #ffffff;
    margin-bottom: clamp(1rem, 2vw, 1.75rem);
    letter-spacing: -0.03em;
    animation: fade-up 0.8s ease 0.5s both;
}

.sc-hero__title em {
    color: var(--srv-brand);
    font-style: normal;
    display: inline-block;
}

/* Subtítulo */
.sc-hero__subtitle {
    font-family: var(--default-font);
    font-size: var(--fs-lead);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
    max-width: 500px;
    animation: fade-up 0.8s ease 0.7s both;
}

/* Breadcrumb */
.sc-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    animation: fade-up 0.8s ease 0.9s both;
}

.sc-hero__breadcrumb li { color: rgba(255, 255, 255, 0.45); }

.sc-hero__breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.25);
}

.sc-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: color var(--srv-transition-fast);
}

.sc-hero__breadcrumb a:hover { color: var(--srv-brand); }

.sc-hero__breadcrumb li:last-child {
    color: var(--srv-brand);
    font-weight: 500;
}


/* ─────────────────────────────────────────────────────────────────────
 * §05  SECTION SYSTEM
 *      Secciones con fondos texturizados, watermarks de número,
 *      y transiciones diagonales.
 * ───────────────────────────────────────────────────────────────────── */

.sc-section {
    position: relative;
    padding: var(--srv-section-y) 0;
    background-color: var(--srv-white);
    overflow: hidden;
}

/* Dot grid sutil en secciones claras */
.sc-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--srv-dot-color) 1px, transparent 1px);
    background-size: var(--srv-dot-space) var(--srv-dot-space);
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.sc-section > .container { position: relative; z-index: 1; }

/* Sección alternada */
.sc-section--alt {
    background-color: var(--srv-off-white);
}

.sc-section--alt::before {
    --srv-dot-color: rgba(0, 12, 15, 0.045);
}

/* Sección oscura */
.sc-section--dark {
    background-color: var(--srv-dark);
    color: rgba(255, 255, 255, 0.85);
}

.sc-section--dark::before {
    background-image: radial-gradient(circle, rgba(105, 168, 47, 0.05) 1px, transparent 1px);
}

.sc-section--dark h1,
.sc-section--dark h2,
.sc-section--dark h3,
.sc-section--dark h4 { color: #ffffff; }

/* Watermark de número de sección (via data-num en HTML) */
.sc-section[data-num]::after {
    content: attr(data-num);
    position: absolute;
    right: -0.06em;
    top: -0.18em;
    font-family: var(--heading-font);
    font-size: min(28vw, 380px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(26, 37, 47, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

.sc-section--dark[data-num]::after {
    -webkit-text-stroke: 1px rgba(105, 168, 47, 0.06);
}

/* Eyebrow */
.sc-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    border-radius: var(--srv-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
    margin-bottom: 20px;
}

.sc-section--dark .sc-section__eyebrow {
    color: var(--srv-brand);
    background: rgba(105, 168, 47, 0.08);
    border-color: rgba(105, 168, 47, 0.18);
}

/* Título de sección */
.sc-section__title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--srv-charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.sc-section--dark .sc-section__title { color: #ffffff; }

/* Lead de sección */
.sc-section__lead {
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--srv-slate);
    max-width: 640px;
}

.sc-section--dark .sc-section__lead { color: rgba(255, 255, 255, 0.65); }


/* ─────────────────────────────────────────────────────────────────────
 * §06  FEATURE ROWS
 *      Layout alternado imagen + texto — mejorado con acento izquierdo
 *      en texto e imagen con esquinas decorativas.
 * ───────────────────────────────────────────────────────────────────── */

/* Eyebrow de feature */
.sc-feature__number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
    margin-bottom: 22px;
}

/* Bloque de texto con borde izquierdo verde */
.sc-feature__body {
    padding-left: 28px;
    border-left: 3px solid var(--srv-brand);
    position: relative;
}

.sc-feature__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 0;
    background: var(--srv-brand-dark);
    transition: height var(--srv-transition);
}

.sc-feature__body:hover::before {
    height: 100%;
}

/* Título de feature */
.sc-feature__title {
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--srv-charcoal);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

/* Texto de feature */
.sc-feature__text {
    font-size: 1rem;
    line-height: 1.82;
    color: var(--srv-slate);
    margin-bottom: 16px;
}

.sc-feature__text:last-child { margin-bottom: 0; }

/* Contenedor de imagen con esquinas decorativas */
.sc-feature__visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: var(--srv-radius);
    overflow: hidden;
    display: block;
    box-shadow: var(--srv-shadow-lg);
}

/* Esquinas decorativas en verde */
.sc-feature__visual::before,
.sc-feature__visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: all 0.4s ease;
}

.sc-feature__visual::before {
    top: 16px;
    left: 16px;
    border-top: 2px solid var(--srv-brand);
    border-left: 2px solid var(--srv-brand);
}

.sc-feature__visual::after {
    bottom: 16px;
    right: 16px;
    border-bottom: 2px solid var(--srv-brand);
    border-right: 2px solid var(--srv-brand);
}

.sc-feature__visual:hover::before {
    width: 40px;
    height: 40px;
    top: 12px;
    left: 12px;
}

.sc-feature__visual:hover::after {
    width: 40px;
    height: 40px;
    bottom: 12px;
    right: 12px;
}

.sc-feature__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--srv-transition);
}

.sc-feature__visual:hover img {
    transform: scale(1.07);
}

/* La imagen sin el wrapper .sc-feature__visual */
.sc-feature__body + .col-lg-6 img,
.col-lg-6 .img-fluid.rounded-4 {
    border-radius: var(--srv-radius) !important;
    box-shadow: var(--srv-shadow-lg);
    transition: transform var(--srv-transition), box-shadow var(--srv-transition);
}


/* ─────────────────────────────────────────────────────────────────────
 * §07  CHECKLIST COMPONENT
 * ───────────────────────────────────────────────────────────────────── */

.sc-checklist__label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--srv-muted);
    margin-bottom: 16px;
    margin-top: 24px;
}

.sc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--srv-light);
    transition: all var(--srv-transition-fast);
    cursor: default;
}

.sc-checklist li:last-child { border-bottom: none; }

.sc-checklist li:hover {
    padding-left: 8px;
    padding-right: 8px;
    background: var(--srv-brand-dim);
    border-radius: var(--srv-radius-sm);
    border-bottom-color: transparent;
}

.sc-checklist__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-brand-dark);
    font-size: 0.76rem;
    transition: all var(--srv-transition-fast);
    margin-top: 1px;
}

.sc-checklist li:hover .sc-checklist__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: scale(1.1);
}

.sc-checklist__label {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--srv-slate);
    padding-top: 3px;
}

/* ─────────────────────────────────────────────────────────────────────
 * §07b  BUILDING PHYSICS SERVICE CARDS
 * ───────────────────────────────────────────────────────────────────── */

.sc-bp-block {
    margin-top: 64px;
}

/* Divider with centered label */
.sc-bp-block__divider {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.sc-bp-block__divider::before,
.sc-bp-block__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--srv-light) 40%);
}

.sc-bp-block__divider::after {
    background: linear-gradient(to left, transparent, var(--srv-light) 40%);
}

.sc-bp-block__label {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--srv-muted);
}

/* Cards grid — flex so last row centers automatically */
.sc-bp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.sc-bp-card {
    flex: 1 1 0;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 16px 20px;
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    box-shadow: var(--srv-shadow-sm);
    transition: transform var(--srv-transition-fast),
                border-color var(--srv-transition-fast),
                box-shadow var(--srv-transition-fast);
    cursor: default;
}

.sc-bp-card:hover {
    transform: translateY(-7px);
    border-color: var(--srv-brand-glow);
    box-shadow: 0 0 0 3px var(--srv-brand-glow), var(--srv-shadow-md);
}

.sc-bp-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-brand-dark);
    font-size: 1.1rem;
    transition: background var(--srv-transition-fast),
                color var(--srv-transition-fast),
                box-shadow var(--srv-transition-fast),
                transform var(--srv-transition-fast);
    flex-shrink: 0;
}

.sc-bp-card:hover .sc-bp-card__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    box-shadow: var(--srv-glow);
    transform: scale(1.1);
}

.sc-bp-card__text {
    font-size: 0.9rem;
    line-height: 1.62;
    color: var(--srv-slate);
    margin: 0;
}




/* ─────────────────────────────────────────────────────────────────────
 * §08  HIGHLIGHT BANNER
 *      Bloque oscuro de alto contraste — versión premium con borde
 *      animado y glow de marca.
 * ───────────────────────────────────────────────────────────────────── */

.sc-highlight {
    position: relative;
    padding: clamp(2rem, 4vw + 1rem, 4.5rem) clamp(1.25rem, 4vw, 4rem);
    border-radius: var(--srv-radius);
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--srv-dark) 0%,
        #0d1a22 60%,
        #0a1520 100%);
    border: 1px solid rgba(105, 168, 47, 0.12);
    box-shadow: var(--srv-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.sc-highlight:hover {
    border-color: rgba(105, 168, 47, 0.25);
    box-shadow: var(--srv-shadow-hover), var(--srv-glow);
}

/* Círculos decorativos */
.sc-highlight::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.sc-highlight::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

/* Borde animado superior */
.sc-highlight .sc-highlight__bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--srv-brand), var(--srv-brand-dark), transparent);
    animation: shimmer-bar 4s ease-in-out infinite;
}

.sc-highlight__content {
    position: relative;
    z-index: 1;
}

.sc-highlight__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--srv-radius-pill);
    background: rgba(105, 168, 47, 0.10);
    border: 1px solid rgba(105, 168, 47, 0.22);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-brand);
    margin-bottom: 22px;
}

.sc-highlight__title {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.22;
    letter-spacing: -0.015em;
}

.sc-highlight__text {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 16px;
}

.sc-highlight__text:last-of-type { margin-bottom: 0; }

.sc-highlight__icon {
    position: absolute;
    bottom: 28px;
    right: 44px;
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}


/* ─────────────────────────────────────────────────────────────────────
 * §09  CTA COMPARTIDO
 * ───────────────────────────────────────────────────────────────────── */

.sc-cta {
    position: relative;
    padding: var(--srv-section-y) 0;
    overflow: hidden;
    background: linear-gradient(160deg, var(--srv-dark) 0%, #0d1f26 100%);
    text-align: center;
}

/* Dot grid en CTA */
.sc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(105, 168, 47,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Glow central */
.sc-cta::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(105, 168, 47, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* Anillos concéntricos animados */
.sc-cta__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(105, 168, 47, 0.12);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sc-cta__ring:nth-child(1) {
    width: 200px; height: 200px;
    animation: ring-pulse 3s ease-out infinite;
}
.sc-cta__ring:nth-child(2) {
    width: 300px; height: 300px;
    animation: ring-pulse 3s ease-out 0.8s infinite;
}
.sc-cta__ring:nth-child(3) {
    width: 440px; height: 440px;
    animation: ring-pulse 3s ease-out 1.6s infinite;
}

.sc-cta__content {
    position: relative;
    z-index: 2;
}

.sc-cta__title {
    font-family: var(--heading-font);
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.sc-cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

.sc-cta__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────────────────────
 * §10  BOTONES
 * ───────────────────────────────────────────────────────────────────── */

.sc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: var(--btn-padding-lg);
    border-radius: var(--srv-radius-pill);
    font-family: var(--default-font);
    font-size: 0.92rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.02em;
    text-decoration: none;
    overflow: hidden;
    transition: transform var(--srv-transition-fast),
                box-shadow var(--srv-transition-fast),
                background-position 0.6s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.sc-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s, transform 0.4s;
    background: rgba(255, 255, 255, 0.15);
}

.sc-btn:hover::before { opacity: 1; transform: scale(1); }
.sc-btn:hover { transform: translateY(-3px); text-decoration: none; }
.sc-btn:active { transform: translateY(0); }

.sc-btn--primary {
    background: var(--btn-gradient);
    background-size: 200% 200%;
    background-position: left center;
    color: #000;
    box-shadow: 0 6px 28px var(--btn-gradient-shadow);
    font-weight: 700;
}

.sc-btn--primary:hover {
    color: #000;
    background-position: right center;
    box-shadow: 0 10px 40px var(--btn-gradient-shadow-hover);
}

.sc-btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.sc-btn--outline:hover {
    color: #ffffff;
    border-color: var(--srv-brand);
    background: rgba(105, 168, 47, 0.08);
}


/* ─────────────────────────────────────────────────────────────────────
 * §11  CONSULTING · REGULATORY SERVICES CARDS
 * ───────────────────────────────────────────────────────────────────── */

.regulatory-services {
    padding: var(--srv-section-y) 0;
    position: relative;
    background: linear-gradient(180deg, var(--srv-off-white) 0%, var(--srv-white) 100%);
    overflow: hidden;
}

.regulatory-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,12,15,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Header centrado */
.regulatory-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 72px;
    position: relative;
    z-index: 1;
}

.regulatory-header__decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.regulatory-header__line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--srv-brand));
}

.regulatory-header__line:last-child {
    background: linear-gradient(270deg, transparent, var(--srv-brand));
}

.regulatory-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
}

.regulatory-header__title {
    font-family: var(--heading-font);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--srv-charcoal);
    margin: 20px 0 16px;
    letter-spacing: -0.02em;
}

.regulatory-header__subtitle {
    font-size: 1rem;
    color: var(--srv-slate);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

/* Tarjeta */
.reg-card {
    position: relative;
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 44px 36px;
    overflow: hidden;
    box-shadow: var(--srv-shadow-sm);
    transition: transform var(--srv-transition),
                box-shadow var(--srv-transition),
                border-color var(--srv-transition-fast);
    display: flex;
    flex-direction: column;
}

.reg-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--srv-brand), var(--srv-brand-dark));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--srv-transition);
}

.reg-card:hover::before { transform: scaleX(1); }

.reg-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--srv-shadow-hover);
    border-color: rgba(105, 168, 47, 0.15);
}

.reg-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(105, 168, 47,0.06) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--srv-transition-fast);
}

.reg-card:hover .reg-card__glow { opacity: 1; }

.reg-card__icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
    color: var(--srv-brand-dark);
    transition: all var(--srv-transition-fast);
    position: relative;
    flex-shrink: 0;
}

.reg-card:hover .reg-card__icon-wrapper {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: rotate(-5deg) scale(1.05);
}

.reg-card__icon-bg {
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    border: 1px solid var(--srv-brand-glow);
    opacity: 0;
    transition: opacity var(--srv-transition-fast);
}

.reg-card:hover .reg-card__icon-bg { opacity: 1; }

.reg-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.reg-card__title {
    font-family: var(--heading-font);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    margin-bottom: 16px;
    line-height: 1.25;
}

.reg-card__badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--srv-brand);
    color: var(--srv-dark);
    border-radius: var(--srv-radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.reg-card__description {
    font-size: 0.93rem;
    line-height: 1.72;
    color: var(--srv-slate);
    margin-bottom: 12px;
}

.reg-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--srv-brand-dark);
    text-decoration: none;
    transition: gap var(--srv-transition-fast);
}

.reg-card__link:hover { gap: 12px; }

/* Variante destacada (oscura) */
.reg-card--featured {
    background: linear-gradient(145deg, var(--srv-dark) 0%, #0d1a22 100%);
    border-color: rgba(105, 168, 47, 0.18);
}

.reg-card--featured .reg-card__title { color: #fff; }
.reg-card--featured .reg-card__description { color: rgba(255,255,255,0.65); }
.reg-card--featured .reg-card__icon-wrapper {
    background: rgba(105, 168, 47,0.10);
    border-color: rgba(105, 168, 47,0.28);
    color: var(--srv-brand);
}
.reg-card--featured:hover .reg-card__icon-wrapper {
    background: var(--srv-brand);
    color: var(--srv-dark);
}
.reg-card--featured .reg-card__link { color: var(--srv-brand); }


/* ─────────────────────────────────────────────────────────────────────
 * §12  CONSULTING · THERMOGRAPHY
 * ───────────────────────────────────────────────────────────────────── */

.thermography-section {
    padding: var(--srv-section-y) 0;
    background-color: var(--srv-dark);
    position: relative;
    overflow: hidden;
}

.thermo-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(105, 168, 47,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at center, black 0%, transparent 100%);
}

/* Visual frame con scanner */
.thermo-visual {
    height: 100%;
    position: relative;
}

.thermo-visual__frame {
    position: relative;
    border-radius: var(--srv-radius);
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(105, 168, 47, 0.18);
    box-shadow: 0 0 60px rgba(105, 168, 47, 0.10), var(--srv-shadow-lg);
}

.thermo-visual__scanner {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.thermo-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(105, 168, 47, 0.6) 40%,
        rgba(105, 168, 47, 0.8) 50%,
        rgba(105, 168, 47, 0.6) 60%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(105, 168, 47, 0.5);
    animation: scan-line 3s ease-in-out infinite;
}

.thermo-visual__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Overlay de datos de temperatura */
.thermo-visual__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.thermo-data-point {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thermo-temp {
    background: rgba(0,12,15,0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(105, 168, 47,0.3);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--srv-brand);
    font-family: monospace;
    animation: pulse-data 2s ease-in-out infinite;
}

/* Contenido derecho */
.thermo-header { margin-bottom: 36px; }

.thermo-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--srv-radius-pill);
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.22);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-brand);
    margin-bottom: 18px;
    display: inline-flex;
}

.thermo-header__title {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.thermo-header__lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    font-style: italic;
}

.thermo-description p {
    font-size: 0.97rem;
    line-height: 1.78;
    color: rgba(255,255,255,0.62);
    margin-bottom: 14px;
}

/* Columnas de aplicaciones */
.thermo-app-col {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--srv-radius-sm);
    padding: 24px;
    height: 100%;
    transition: border-color 0.3s;
}

.thermo-app-col:hover {
    border-color: rgba(105, 168, 47,0.18);
}

.thermo-app-col__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--srv-brand);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.thermo-app-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thermo-app-list li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.58);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.5;
}

.thermo-app-list li:last-child { border-bottom: none; }

.thermo-app-list li::before {
    content: "→";
    color: var(--srv-brand);
    margin-right: 8px;
    font-size: 0.78rem;
}


/* ─────────────────────────────────────────────────────────────────────
 * §13  CONSULTING · CERTIFICATIONS
 * ───────────────────────────────────────────────────────────────────── */

.certifications-section {
    padding: var(--srv-section-y) 0;
    background: var(--srv-off-white);
    position: relative;
    overflow: hidden;
}

.certifications-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,12,15,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

.cert-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.cert-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
    margin-bottom: 18px;
}

.cert-header__title {
    font-family: var(--heading-font);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--srv-charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cert-header__description {
    font-size: 1rem;
    color: var(--srv-slate);
    line-height: 1.72;
}

/* Cert card premium */
.cert-card {
    position: relative;
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 48px 40px;
    overflow: hidden;
    box-shadow: var(--srv-shadow-md);
    transition: transform var(--srv-transition), box-shadow var(--srv-transition), border-color var(--srv-transition-fast);
    display: flex;
    flex-direction: column;
}

.cert-card--premium {
    border-color: rgba(105, 168, 47, 0.15);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--srv-shadow-hover), var(--srv-glow);
    border-color: rgba(105, 168, 47, 0.30);
}

/* Efecto shine al hover */
.cert-card__shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(105, 168, 47,0.04) 50%,
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.cert-card:hover .cert-card__shine { transform: translateX(100%); }

/* Badge de experto */
.cert-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-brand-dark);
    margin-bottom: 28px;
    align-self: flex-start;
}

.cert-card__badge i { font-size: 0.85rem; color: var(--srv-brand); }

/* Icono / Logo */
.cert-card__icon {
    position: relative;
    width: 100%;
    max-width: 120px;
    margin-bottom: 28px;
    object-fit: contain;
}

.cert-icon-circle {
    display: none; /* handled by border on icon */
}

.cert-card__title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cert-card__description {
    font-size: 0.95rem;
    line-height: 1.72;
    color: var(--srv-slate);
    margin-bottom: 12px;
}

.cert-card__description:last-of-type {
    margin-bottom: 0;
}

/* Features list */
.cert-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--srv-off-white);
    border-radius: var(--srv-radius-sm);
}

.cert-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--srv-slate);
    line-height: 1.5;
}

.cert-feature i {
    color: var(--srv-brand-dark);
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Requirements */
.cert-card__requirements {
    background: var(--srv-off-white);
    border-radius: var(--srv-radius-sm);
    padding: 20px;
    margin-bottom: 24px;
}

.cert-req__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-muted);
    margin-bottom: 14px;
}

.cert-req-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--srv-slate);
    padding: 8px 0;
    border-bottom: 1px solid var(--srv-light);
    line-height: 1.5;
}

.cert-req-item:last-child { border-bottom: none; }

.cert-req-item i {
    color: var(--srv-brand-dark);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.cert-card__note {
    font-size: 0.86rem;
    color: var(--srv-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    font-style: italic;
}

.cert-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--srv-radius-pill);
    background: var(--btn-gradient);
    background-size: 200% 200%;
    background-position: left center;
    color: #000;
    font-size: 0.88rem;
    font-weight: var(--fw-bold);
    text-decoration: none;
    transition:
        transform var(--srv-transition-fast),
        box-shadow var(--srv-transition-fast),
        background-position 0.6s ease;
    align-self: flex-start;
    margin-top: auto;
    box-shadow: 0 4px 16px var(--btn-gradient-shadow);
}

.cert-card__cta:hover {
    background-position: right center;
    color: #000;
    transform: translateX(4px);
    box-shadow: 0 6px 22px var(--btn-gradient-shadow-hover);
}


/* ─────────────────────────────────────────────────────────────────────
 * §14  CONSULTING · REGIONAL ENERGY PLANNING
 * ───────────────────────────────────────────────────────────────────── */

.rep-section {
    padding: var(--srv-section-y) 0;
    position: relative;
    overflow: hidden;
    background: var(--srv-dark);
}

.rep-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(105, 168, 47,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 100% 100% at center, black 30%, transparent 100%);
}

.rep-bg-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(105, 168, 47,0.05) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Header ── */
.rep-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.rep-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--srv-radius-pill);
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.22);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--srv-brand);
    margin-bottom: 20px;
}

.rep-title {
    font-family: var(--heading-font);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0;
}

.rep-title__accent {
    color: var(--srv-brand);
}

/* ── Split intro ── */
.rep-intro {
    margin-bottom: 72px;
    position: relative;
    z-index: 1;
}

.rep-intro__lead {
    font-size: 1.13rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.78;
    border-left: 3px solid var(--srv-brand);
    padding-left: 22px;
    margin: 0;
}

.rep-intro__body {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.80;
    margin-bottom: 18px;
}

.rep-intro__body:last-child {
    margin-bottom: 0;
}

/* ── Feature cards ── */
.rep-features {
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.rep-feat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--srv-radius);
    padding: 36px 32px;
    height: 100%;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.rep-feat:hover {
    border-color: rgba(105, 168, 47,0.22);
    background: rgba(255,255,255,0.07);
    transform: translateY(-6px);
}

.rep-feat__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--srv-brand);
    margin-bottom: 24px;
}

.rep-feat__title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.rep-feat__text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.72;
    margin: 0;
}

/* ── Grant banner ── */
.rep-grant {
    display: flex;
    align-items: center;
    gap: 48px;
    background: rgba(105, 168, 47,0.06);
    border: 1px solid rgba(105, 168, 47,0.20);
    border-radius: var(--srv-radius);
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.rep-grant::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 168, 47,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rep-grant__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 120px;
}

.rep-grant__value {
    font-family: var(--heading-font);
    font-size: clamp(2.25rem, 7vw, 4rem);
    font-weight: 800;
    color: var(--srv-brand);
    line-height: 1;
}

.rep-grant__pct {
    font-size: 2.2rem;
}

.rep-grant__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.50);
    text-align: center;
    margin-top: 6px;
    display: block;
}

.rep-grant__divider {
    width: 1px;
    height: 80px;
    background: rgba(105, 168, 47,0.25);
    flex-shrink: 0;
}

.rep-grant__body {
    flex: 1;
}

.rep-grant__title {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.rep-grant__title i {
    color: var(--srv-brand);
    margin-right: 6px;
}

.rep-grant__text {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.72;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────
 * §14.5  CONSULTING · ENERGY AUDITS FOR LARGE CONSUMERS (GC)
 * ───────────────────────────────────────────────────────────────────── */

.gc-audits {
    --gc-green: #69A82F;
    --gc-green-dim: rgba(105, 168, 47, 0.08);
    --gc-green-glow: rgba(105, 168, 47, 0.15);
    --gc-dark: #000c0f;
    --gc-charcoal: #1a252f;
    --gc-slate: #4a5568;
    --gc-light: #e2e8f0;
    --gc-bg: #ffffff;
    --gc-bg-warm: #f8fafc;
    --gc-radius: 16px;
    --gc-radius-sm: 10px;
    --gc-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    padding: var(--srv-section-y) 0;
    background-color: var(--gc-bg);
    font-family: var(--default-font, system-ui, -apple-system, sans-serif);
    overflow: hidden;
}

/* Subtle dot texture */
.gc-audits::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 12, 15, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.gc-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(0.875rem, 3vw, 1.5rem);
}

/* ── Header ── */
.gc-header {
    text-align: center;
    margin-bottom: 64px;
}

.gc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    background: var(--gc-green-dim);
    border: 1px solid var(--gc-green-glow);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gc-charcoal);
    margin-bottom: 24px;
}

.gc-eyebrow i {
    color: var(--gc-green);
    font-size: 0.9rem;
}

.gc-title {
    font-family: var(--heading-font, system-ui, -apple-system, sans-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gc-charcoal);
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gc-accent {
    /* WCAG AA: this accent text sits on a white section, where #69A82F fails
       4.5:1. Use the accessible dark green (the bright brand green stays for
       fills/graphics and for green text on dark surfaces elsewhere). */
    color: var(--accent-green-ink);
}

.gc-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--gc-charcoal);
    max-width: 560px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

/* ── Grid ── */
.gc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 72px;
}

/* ── Context (Left Column) ── */
.gc-context {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Espacio entre la tarjeta y los iconos */
}

.gc-context__card {
    background: var(--gc-green-dim);
    border: 1px solid rgba(105, 168, 47, 0.4);
    border-radius: var(--gc-radius);
    padding: 28px 32px;
}

.gc-context__card p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--gc-charcoal);
    margin: 0 0 16px 0;
}

.gc-context__card p:last-child {
    margin-bottom: 0;
}

.gc-context__card strong {
    color: #000;
    font-weight: 700;
}

/* Ilustraciones debajo de la tarjeta */
.gc-context__illustrations {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gc-illu-box {
    width: 130px;
    height: 130px;
    background: var(--gc-green-dim);
    border-radius: var(--gc-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-illu-divider {
    width: 1px;
    height: 90px;
    background-color: var(--gc-light);
}

.gc-illu-chart {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Deliverables (Right Column) ── */
.gc-deliverables__title {
    font-family: var(--heading-font, system-ui, -apple-system, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--gc-charcoal);
    margin: 0 0 28px;
    letter-spacing: -0.01em;
}

.gc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #f0f0f0; /* Borde más suave para imitar la imagen */
    border-radius: var(--gc-radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); /* Sombra muy sutil */
    transition: all var(--gc-transition);
}

.gc-item:hover {
    border-color: rgba(105, 168, 47, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transform: translateX(6px);
}

.gc-item__marker {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gc-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gc-dark);
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(105, 168, 47, 0.25);
}

.gc-item__text {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--gc-charcoal);
    line-height: 1.5;
}

/* ── Result Banner ── */
.gc-result {
    position: relative;
    background: linear-gradient(145deg, var(--gc-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47, 0.12);
    border-radius: var(--gc-radius);
    padding: clamp(1.75rem, 3vw + 0.5rem, 3.25rem) clamp(1.25rem, 3vw, 3rem);
    text-align: center;
    overflow: hidden;
}

.gc-result__inner {
    position: relative;
    z-index: 2;
}

.gc-result__label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gc-green);
    opacity: 0.8;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(105, 168, 47, 0.2);
}

.gc-result__text {
    font-family: var(--heading-font, system-ui, -apple-system, sans-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.45;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.gc-result__text strong {
    color: var(--gc-green);
    font-weight: 700;
}

.gc-result__glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.06) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */



/* ─────────────────────────────────────────────────────────────────────
 * §15  CONSULTING · MODERN CTA (versión extendida)
 * ───────────────────────────────────────────────────────────────────── */

.modern-cta {
    position: relative;
    padding: var(--srv-section-y) 0;
    overflow: hidden;
    background: linear-gradient(160deg, var(--srv-dark) 0%, #061218 100%);
    text-align: center;
}

.modern-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(105, 168, 47,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.modern-cta__gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(105, 168, 47,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.modern-cta__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.modern-cta__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--srv-brand);
    margin: 0 auto 32px;
    animation: pulse-icon 2.5s ease-in-out infinite;
}

.modern-cta__title {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.modern-cta__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.72;
    margin-bottom: 48px;
}

.modern-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Botones específicos del modern-cta */
.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: var(--btn-padding-lg);
    border-radius: var(--srv-radius-pill);
    font-size: 0.92rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition:
        transform var(--srv-transition-fast),
        box-shadow var(--srv-transition-fast),
        background-position 0.6s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.modern-btn--primary {
    background: var(--btn-gradient);
    background-size: 200% 200%;
    background-position: left center;
    color: #000;
    box-shadow: 0 6px 28px var(--btn-gradient-shadow);
}

.modern-btn--primary:hover {
    background-position: right center;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--btn-gradient-shadow-hover);
}

.modern-btn--outline {
    background: transparent;
    color: rgba(255,255,255,0.82);
    border: 1.5px solid rgba(255,255,255,0.28);
}

.modern-btn--outline:hover {
    border-color: var(--srv-brand);
    color: var(--srv-brand);
    transform: translateY(-3px);
}

/* Info de contacto */
.modern-cta__contact-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.50);
}

.cta-info-item i { color: var(--srv-brand); }


/* ─────────────────────────────────────────────────────────────────────
 * §16  SOLAR · BENEFITS BAR
 * ───────────────────────────────────────────────────────────────────── */

.ss-benefits {
    background: linear-gradient(135deg, var(--srv-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47,0.14);
    border-radius: var(--srv-radius);
    box-shadow: var(--srv-shadow-lg), 0 0 40px rgba(105, 168, 47,0.07);
    overflow: hidden;
}

.ss-benefit {
    padding: 36px 28px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ss-benefit:last-child { border-right: none; }

.ss-benefit:hover {
    background: rgba(105, 168, 47,0.05);
}

.ss-benefit__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--srv-brand);
    transition: all 0.3s ease;
}

.ss-benefit:hover .ss-benefit__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: scale(1.1) rotate(-5deg);
}

.ss-benefit__title {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}


/* ─────────────────────────────────────────────────────────────────────
 * §17  SOLAR · COMPARISON CARDS
 * ───────────────────────────────────────────────────────────────────── */

.ss-compare {
}

.ss-compare__card {
    position: relative;
    padding: 48px 40px;
    border-radius: var(--srv-radius);
    border: 1px solid var(--srv-light);
    background: var(--srv-white);
    box-shadow: var(--srv-shadow-md);
    transition: transform var(--srv-transition), box-shadow var(--srv-transition), border-color var(--srv-transition-fast);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ss-compare__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
}

.ss-compare__card--pv::before {
    background: linear-gradient(90deg, var(--srv-brand), var(--srv-brand-dark));
}

.ss-compare__card--thermal::before {
    background: linear-gradient(90deg, #3a4a5a, #6b7c8d);
}

.ss-compare__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--srv-shadow-hover);
    border-color: rgba(105, 168, 47,0.20);
}

.ss-compare__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--srv-brand-dark);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.ss-compare__card--thermal .ss-compare__icon {
    background: rgba(58, 74, 90, 0.08);
    border-color: rgba(58, 74, 90, 0.20);
    color: #1a252f;
}

.ss-compare__card:hover .ss-compare__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: rotate(-5deg);
}

.ss-compare__tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-brand-dark);
    margin-bottom: 14px;
}

.ss-compare__title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.ss-compare__text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--srv-slate);
    margin-bottom: 14px;
}

.sc-checklist + .ss-compare__text {
    margin-top: 18px;
}

.ss-compare__text + .sc-checklist {
    margin-top: 18px;
}


/* ─────────────────────────────────────────────────────────────────────
 * §18  SOLAR · INSTALLATION TYPES GRID
 * ───────────────────────────────────────────────────────────────────── */

.ss-types {
}

.ss-type {
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--srv-shadow-sm);
    transition: all var(--srv-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ss-type:hover {
    transform: translateY(-6px);
    box-shadow: var(--srv-shadow-lg);
    border-color: rgba(105, 168, 47,0.18);
}

.ss-type__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--srv-brand-dark);
    transition: all 0.3s;
}

.ss-type:hover .ss-type__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: scale(1.1);
}

.ss-type__title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--srv-charcoal);
}

.ss-type__text {
    font-size: 0.88rem;
    color: var(--srv-muted);
    line-height: 1.6;
}

/* Solar highlight */
.ss-highlight {
    position: relative;
    padding: clamp(2rem, 4vw + 1rem, 4.5rem) clamp(1.25rem, 4vw, 4rem);
    border-radius: var(--srv-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--srv-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47,0.14);
    box-shadow: var(--srv-shadow-lg);
    transition: border-color 0.4s, box-shadow 0.4s;
}

.ss-highlight:hover {
    border-color: rgba(105, 168, 47,0.28);
    box-shadow: var(--srv-shadow-hover), var(--srv-glow);
}

.ss-highlight::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(105, 168, 47,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.ss-highlight__content { position: relative; z-index: 1; }

.ss-highlight__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--srv-radius-pill);
    background: rgba(105, 168, 47,0.10);
    border: 1px solid rgba(105, 168, 47,0.22);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--srv-brand);
    margin-bottom: 20px;
}

.ss-highlight__title {
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
}

.ss-highlight__text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
}

.ss-highlight__text:last-of-type { margin-bottom: 0; }


/* ─────────────────────────────────────────────────────────────────────
 * §19  ENGINEERING · STATS BAR
 * ───────────────────────────────────────────────────────────────────── */

.se-stats {
    background: linear-gradient(135deg, var(--srv-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47,0.14);
    border-radius: var(--srv-radius);
    box-shadow: var(--srv-shadow-lg), 0 0 40px rgba(105, 168, 47,0.07);
    overflow: hidden;
}

.se-stat {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.se-stat:last-child { border-right: none; }
.se-stat:hover { background: rgba(105, 168, 47,0.05); }

.se-stat__number {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--srv-brand);
    line-height: 1;
    letter-spacing: -0.02em;
}

.se-stat__label {
    font-size: 0.80rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────────────
 * §20  ENGINEERING · TECHNOLOGY PILLARS
 * ───────────────────────────────────────────────────────────────────── */

.se-pillars { }

.se-pillar {
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--srv-shadow-sm);
    transition: all var(--srv-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.se-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--srv-shadow-lg);
    border-color: rgba(105, 168, 47,0.20);
    background: rgba(105, 168, 47,0.02);
}

.se-pillar__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--srv-brand-dark);
    transition: all 0.3s;
}

.se-pillar:hover .se-pillar__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: rotate(-8deg) scale(1.1);
}

.se-pillar__title {
    font-size: 0.90rem;
    font-weight: 600;
    color: var(--srv-charcoal);
    line-height: 1.45;
}


/* ─────────────────────────────────────────────────────────────────────
 * §21  ENGINEERING · PROCESS STEPS
 * ───────────────────────────────────────────────────────────────────── */

.se-process {
    position: relative;
}

/* Línea conectora horizontal entre pasos */
.se-process::before {
    content: "";
    position: absolute;
    top: 40px;
    left: calc(16.67% + 20px);
    right: calc(16.67% + 20px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--srv-brand) 0%,
        var(--srv-brand-dark) 50%,
        var(--srv-brand) 100%);
    opacity: 0.25;
}

.se-process__step {
    position: relative;
    text-align: center;
    padding-top: 24px;
}

/* Número de paso */
.se-process__step::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--srv-brand);
    color: var(--srv-dark);
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(105, 168, 47,0.30);
    position: relative;
    z-index: 1;
}

.se-process__title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.se-process__text {
    font-size: 0.92rem;
    line-height: 1.70;
    color: var(--srv-slate);
}


/* ─────────────────────────────────────────────────────────────────────
 * §22  COOPERATION · MISSION BANNER
 * ───────────────────────────────────────────────────────────────────── */

.sco-mission {
    background: linear-gradient(135deg, var(--srv-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47,0.14);
    border-radius: var(--srv-radius);
    padding: clamp(1.75rem, 3vw + 0.5rem, 3.25rem) clamp(1.5rem, 3.5vw, 3.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--srv-shadow-lg);
}

.sco-mission::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 32px;
    font-family: var(--heading-font);
    font-size: 200px;
    color: rgba(105, 168, 47,0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.sco-mission__text {
    font-family: var(--heading-font);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.sco-mission__text strong {
    color: var(--srv-brand);
}


/* ─────────────────────────────────────────────────────────────────────
 * §23  COOPERATION · IMPACT AREA CARDS
 * ───────────────────────────────────────────────────────────────────── */

.sco-impact { }

.sco-impact__card {
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 44px 36px;
    box-shadow: var(--srv-shadow-sm);
    transition: all var(--srv-transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.sco-impact__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--srv-brand), var(--srv-brand-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.sco-impact__card:hover::before { transform: scaleX(1); }

.sco-impact__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--srv-shadow-hover);
    border-color: rgba(105, 168, 47,0.15);
}

.sco-impact__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--srv-brand-dark);
    transition: all 0.3s;
    flex-shrink: 0;
}

.sco-impact__card:hover .sco-impact__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: rotate(-6deg) scale(1.1);
}

.sco-impact__title {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    line-height: 1.25;
}

.sco-impact__text {
    font-size: 0.92rem;
    line-height: 1.72;
    color: var(--srv-slate);
    margin: 0;
}

.sco-impact__text + .sco-impact__text {
    margin-top: -6px;
}


/* ─────────────────────────────────────────────────────────────────────
 * §24  COOPERATION · TERRITORIAL PILLARS (sco-pillar)
 * ───────────────────────────────────────────────────────────────────── */

.sco-pillars { }

.sco-pillar {
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--srv-shadow-sm);
    transition: all var(--srv-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sco-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--srv-shadow-lg);
    border-color: rgba(105, 168, 47,0.18);
}

.sco-pillar__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--srv-brand-dark);
    transition: all 0.3s;
}

.sco-pillar:hover .sco-pillar__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: scale(1.1);
}

.sco-pillar__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--srv-charcoal);
    line-height: 1.4;
}


/* ─────────────────────────────────────────────────────────────────────
 * §24a COOPERATION · INTRO DUO CARDS (sco-intro)
 *      Paired cards for section intros — asymmetric header with
 *      index number + icon, animated left accent bar on hover.
 *      Used in the Regional Energy Planning section.
 * ───────────────────────────────────────────────────────────────────── */

.sco-intro {
    position: relative;
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius);
    padding: 40px 36px;
    box-shadow: var(--srv-shadow-sm);
    transition: transform var(--srv-transition),
                box-shadow var(--srv-transition),
                border-color var(--srv-transition);
    overflow: hidden;
    height: 100%;
}

.sco-intro::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--srv-brand) 0%, var(--srv-brand-dark) 100%);
    transform: scaleY(0.35);
    transform-origin: top;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.sco-intro::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.06) 0%, transparent 70%);
    transform: translate(40%, -40%);
    pointer-events: none;
}

.sco-intro:hover {
    transform: translateY(-4px);
    box-shadow: var(--srv-shadow-md);
    border-color: rgba(105, 168, 47, 0.18);
}

.sco-intro:hover::before { transform: scaleY(1); }

.sco-intro__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.sco-intro__num {
    font-family: var(--heading-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.20em;
    color: var(--srv-muted);
}

.sco-intro__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--srv-brand-dark);
    transition: background 0.35s ease,
                color 0.35s ease,
                transform 0.35s ease;
    flex-shrink: 0;
}

.sco-intro:hover .sco-intro__icon {
    background: var(--srv-brand);
    color: var(--srv-dark);
    transform: rotate(-6deg) scale(1.05);
}

.sco-intro__title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.sco-intro__text {
    font-size: 1rem;
    line-height: 1.78;
    color: var(--srv-slate);
    margin: 0;
    position: relative;
    z-index: 1;
}



/* ─────────────────────────────────────────────────────────────────────
 * §24b COOPERATION · QUOTE BANNER (sco-quote)
 *      Dark blockquote card with decorative quote-mark watermarks.
 *      Used in the Technology Transfer section.
 * ───────────────────────────────────────────────────────────────────── */

.sco-quote {
    position: relative;
    background: linear-gradient(135deg, var(--srv-dark) 0%, #0d1a22 100%);
    border: 1px solid rgba(105, 168, 47, 0.14);
    border-radius: var(--srv-radius);
    padding: clamp(2rem, 4vw + 1rem, 4.5rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2rem, 3.5vw + 0.5rem, 4rem);
    overflow: hidden;
    box-shadow: var(--srv-shadow-lg);
    text-align: center;
    margin: 0;
}

.sco-quote::before,
.sco-quote::after {
    font-family: var(--heading-font);
    font-size: clamp(6rem, 10vw + 1rem, 13.75rem);
    color: rgba(105, 168, 47, 0.10);
    line-height: 1;
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.sco-quote::before {
    content: "\201C";
    top: -48px;
    left: 28px;
}

.sco-quote::after {
    content: "\201D";
    bottom: -140px;
    right: 28px;
}

.sco-quote__text {
    font-family: var(--heading-font);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.sco-quote__cite {
    display: block;
    margin-top: 24px;
    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--srv-brand);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-style: normal;
    position: relative;
    z-index: 1;
}



/* ─────────────────────────────────────────────────────────────────────
 * §25  KEYFRAME ANIMATIONS
 * ───────────────────────────────────────────────────────────────────── */

@keyframes particle-float {
    0%   { opacity: 0; bottom: -10px; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.4; }
    100% { opacity: 0; bottom: 105vh; }
}

@keyframes hero-line-draw {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

@keyframes scan-line {
    0%   { top: 0%; }
    100% { top: 100%; }
}

@keyframes ring-pulse {
    0%   { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
    60%  { opacity: 0.15; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes pulse-data {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

@keyframes pulse-icon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(105, 168, 47,0.3); }
    50%       { box-shadow: 0 0 0 12px rgba(105, 168, 47,0); }
}

@keyframes shimmer-bar {
    0%   { opacity: 0.6; }
    50%  { opacity: 1; }
    100% { opacity: 0.6; }
}


/* ─────────────────────────────────────────────────────────────────────
 * §26  TOGGLE-CLASS SYSTEM (compat con main.js existente)
 * ───────────────────────────────────────────────────────────────────── */

.toggle-class {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.toggle-class.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ─────────────────────────────────────────────────────────────────────
 * §27  CONTACT MODAL
 * ───────────────────────────────────────────────────────────────────── */


.contact-modal__content {
    background: #0a1628;
    border: 1px solid rgba(105, 168, 47, 0.15);
    border-radius: 12px;
    color: #fff;
}

.contact-modal__header {
    background: linear-gradient(135deg, #0d1f3c 0%, #091525 100%);
    border-bottom: 1px solid rgba(105, 168, 47, 0.2);
    padding: 24px 28px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-modal__title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-modal__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(105, 168, 47, 0.12);
    border: 1px solid rgba(105, 168, 47, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #69A82F;
    flex-shrink: 0;
}

.contact-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.contact-modal__subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.contact-modal__body {
    padding: 32px 28px;
    background: #0a1628;
    border-radius: 0 0 12px 12px;
}

/* ── Form fields re-scoped for the modal ── */
#contactModal .contact-form .form-field {
    position: relative;
    margin-bottom: 40px;
}

#contactModal .contact-form .form-field.message-field {
    margin-bottom: 32px;
}

#contactModal .contact-form .form-field .field-label {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#contactModal .contact-form .form-field .form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    padding: 20px 0 12px;
    font-size: 15px;
    color: #fff;
    transition: border-color 0.3s ease;
}

#contactModal .contact-form .form-field .form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

#contactModal .contact-form .form-field .form-input:focus {
    outline: none;
    border-bottom-color: #69A82F;
}

#contactModal .contact-form .form-field .message-input {
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
    padding-top: 24px;
}

#contactModal .contact-form .send-button {
    background: transparent;
    border: 1px solid #69A82F;
    color: #69A82F;
    padding: 15px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#contactModal .contact-form .send-button:hover {
    background: #69A82F;
    color: #000c0f;
}

#contactModal .contact-form .send-button .button-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

#contactModal .contact-form .send-button:hover .button-arrow {
    transform: translateX(5px);
}

/* ─────────────────────────────────────────────────────────────────────
 * §27b  SOLAR · APPROACH SECTIONS (PV & THERMAL — dedicated layouts)
 *       Asymmetric two-column grid · sticky heading · chip tags ·
 *       brand-accent result callout. Reuses .sc-checklist.
 * ───────────────────────────────────────────────────────────────────── */

.ss-approach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "media   intro"
        "details details";
    column-gap: 56px;
    row-gap: 64px;
    align-items: stretch;
}

.ss-approach__media   { grid-area: media;   }
.ss-approach__intro   { grid-area: intro;   }
.ss-approach__details { grid-area: details; }

/* Thermal variant — swap columns so text sits on the left and image on the right */
.ss-approach--thermal {
    grid-template-areas:
        "intro   media"
        "details details";
}

/* ─── Editorial media column (aligned with .ss-showcase pattern) ─── */
.ss-approach__media {
    position: relative;
    margin: 0;
    border-radius: var(--srv-radius);
    overflow: hidden;
    box-shadow: var(--srv-shadow-lg);
    background: var(--srv-off-white);
}

.ss-approach__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.ss-approach__media:hover img {
    transform: scale(1.04);
}

/* Gradient overlay for badge legibility */
.ss-approach__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        200deg,
        rgba(0, 12, 15, 0) 40%,
        rgba(0, 12, 15, 0.55) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Brand corner-accent frame */
.ss-approach__media::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-top: 2px solid var(--srv-brand);
    border-left: 2px solid var(--srv-brand);
    z-index: 2;
    transition: all 0.4s ease;
}

.ss-approach__media:hover::before {
    width: 44px;
    height: 44px;
    top: 12px;
    left: 12px;
}

.ss-approach__media--thermal::before {
    border-top-color: var(--srv-slate);
    border-left-color: var(--srv-slate);
}

/* Contextual badge — bottom-left */
.ss-approach__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--srv-radius-pill);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
    box-shadow: var(--srv-shadow-md);
}

.ss-approach__badge i {
    color: var(--srv-brand-dark);
    font-size: 0.95rem;
}

.ss-approach__badge--thermal i {
    color: var(--srv-charcoal);
}

/* ─── Intro column (eyebrow + title + lead + opening paragraphs) ─── */
.ss-approach__intro {
    display: flex;
    flex-direction: column;
}

.ss-approach__intro .sc-section__eyebrow {
    margin-bottom: 20px;
    align-self: flex-start;
}

.ss-approach__intro .sc-section__title {
    margin-bottom: 22px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.1;
}

.ss-approach__intro .sc-section__title em {
    color: var(--srv-brand-dark);
    font-style: normal;
}

.ss-approach--thermal .sc-section__title em {
    color: var(--srv-charcoal);
}

.ss-approach__lead {
    font-size: 1.08rem;
    line-height: 1.78;
    color: var(--srv-slate);
    margin: 0 0 22px;
    font-weight: 500;
}

/* ─── Details block (full width below the hero) ─── */
.ss-approach__details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ss-approach__details > .ss-approach__text--muted {
    margin: 0;
}

.ss-approach__block .ss-approach__subhead {
    margin-top: 0;
    margin-bottom: 20px;
}

/* ─── "Two system types" — comparison cards (PV) ─── */
.ss-systems {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ss-system {
    position: relative;
    padding: 30px 28px 26px;
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius-sm);
    box-shadow: var(--srv-shadow-sm);
    transition:
        transform var(--srv-transition),
        box-shadow var(--srv-transition),
        border-color var(--srv-transition-fast);
    overflow: hidden;
}

.ss-system::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--srv-brand), var(--srv-brand-dark));
    transform: scaleY(0.3);
    transform-origin: top center;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.ss-system::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.10) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ss-system:hover {
    transform: translateY(-4px);
    border-color: var(--srv-brand-glow);
    box-shadow: var(--srv-shadow-lg);
}

.ss-system:hover::before { transform: scaleY(1); }
.ss-system:hover::after  { opacity: 1; }

.ss-system__icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--srv-brand-dim);
    border: 1px solid var(--srv-brand-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-brand-dark);
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: transform var(--srv-transition-fast);
}

.ss-system:hover .ss-system__icon {
    transform: rotate(-6deg) scale(1.05);
}

.ss-system__title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--srv-charcoal);
    margin: 0 0 10px;
    letter-spacing: -0.005em;
}

.ss-system__text {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--srv-slate);
    margin: 0;
}

/* ─── "The benefits" — icon tiles (Thermal) ─── */
.ss-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ss-benefit-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--srv-off-white);
    border: 1px solid var(--srv-light);
    border-radius: var(--srv-radius-sm);
    transition: all var(--srv-transition-fast);
}

.ss-benefit-tile:hover {
    background: var(--srv-white);
    border-color: rgba(58, 74, 90, 0.35);
    transform: translateX(4px);
    box-shadow: var(--srv-shadow-sm);
}

.ss-benefit-tile__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(58, 74, 90, 0.08);
    border: 1px solid rgba(58, 74, 90, 0.20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-charcoal);
    font-size: 1.1rem;
    transition: transform var(--srv-transition-fast), background-color var(--srv-transition-fast);
}

.ss-benefit-tile:hover .ss-benefit-tile__icon {
    background: var(--srv-charcoal);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.ss-benefit-tile__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--srv-charcoal);
    font-weight: 500;
    padding-top: 8px;
}

.ss-approach__text {
    font-size: 1rem;
    line-height: 1.82;
    color: var(--srv-slate);
    margin-bottom: 16px;
}

.ss-approach__text:last-child { margin-bottom: 0; }

.ss-approach__text--muted {
    margin-top: 28px;
    font-size: 0.96rem;
    color: var(--srv-muted);
}

.ss-approach__subhead {
    font-family: var(--heading-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--srv-muted);
    margin-top: 36px;
    margin-bottom: 18px;
}

/* Thermal eyebrow variant */
.sc-section__eyebrow--thermal {
    background: rgba(58, 74, 90, 0.08);
    border-color: rgba(58, 74, 90, 0.22);
    color: #000c0f;
}

/* Integration chips */
.ss-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ss-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--srv-charcoal);
    transition: all var(--srv-transition-fast);
    cursor: default;
}

.ss-tags span i {
    color: var(--srv-brand-dark);
    font-size: 1rem;
}

.ss-tags span:hover {
    border-color: var(--srv-brand-glow);
    background: var(--srv-brand-dim);
    transform: translateY(-2px);
    box-shadow: var(--srv-shadow-sm);
}

/* Result callout */
.ss-result {
    margin-top: 36px;
    padding: 22px 26px;
    border-left: 3px solid var(--srv-brand);
    background: var(--srv-brand-dim);
    border-radius: 0 var(--srv-radius-sm) var(--srv-radius-sm) 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--srv-charcoal);
}

.ss-result strong { color: var(--srv-brand-dark); }

.ss-result--thermal {
    border-left-color: #3a4a5a;
    background: rgba(58, 74, 90, 0.07);
}

.ss-result--thermal strong { color: #000c0f; }

/* Checklist items with a <div> child — align text nicely */
.ss-approach__details .sc-checklist li > div {
    padding-top: 3px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--srv-slate);
    flex: 1;
}

.ss-approach__details .sc-checklist li > div strong {
    color: var(--srv-charcoal);
}

/* Responsive — stack on tablets & smaller */




/* ─────────────────────────────────────────────────────────────────────
 * §28  RESPONSIVE DESIGN
 * ───────────────────────────────────────────────────────────────────── */




/* ─────────────────────────────────────────────────────────────────────
 * §29  RESPONSIVE EXTRA — Breakpoints adicionales para ≤400px
 *      y correcciones de adaptabilidad faltantes en breakpoints
 *      intermedios (576px-767px).
 * ───────────────────────────────────────────────────────────────────── */

/* ── Extra-small (<400px): padding de secciones ─────────────── */

/* ── Rango sm (576px-767px): ajustes de padding ──────────────── */

/* ── Hero de servicios — max-width en subtítulo ──────────────── */
/* El subtítulo usa max-width: 500px; en desktop.
   Con min() aseguramos que nunca supere el 90% del viewport. */
.sc-hero__subtitle {
    max-width: min(500px, 90vw);
}

/* ── max-width responsivos con min() ─────────────────────────── */
/* Aplicar min() a max-widths fijos para que respeten el viewport
   en pantallas estrechas sin necesitar media queries adicionales. */
.sc-section__lead {
    max-width: min(640px, 90vw);
}

.regulatory-header {
    max-width: min(780px, 92vw);
}

.modern-cta__content {
    max-width: min(680px, 90vw);
}

.territorial-intro {
    max-width: min(680px, 90vw);
}

/* ── Anillos CTA — en tablet (sm) también se ocultan ────────────
   La regla existente en 767.98px los oculta; aquí la extendemos
   al rango sm (576-767px) con display: none ya cubierto.
   Añadimos la reducción del tercer anillo en md (768-991px).     */


/* ═════════════════════════════════════════════════════════════════════
 * §30  SOLAR · SVG HERO WATERMARK (overrides text-based watermark)
 *      Used by service-solar-details.html — renders a decorative sun
 *      composed of stroked circles + radiating lines, with a slow spin.
 * ═════════════════════════════════════════════════════════════════════ */

.sc-hero__watermark--sun {
    position: absolute;
    bottom: -6vw;
    right: -4vw;
    width: min(70vw, 780px);
    height: min(70vw, 780px);
    color: rgba(105, 168, 47, 0.11);
    font-size: 0;
    letter-spacing: 0;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    animation: solar-spin 120s linear infinite;
    transform-origin: 50% 50%;
}

.sc-hero__watermark--sun g > circle:first-of-type {
    animation: solar-pulse 7s ease-in-out infinite;
    transform-origin: 100px 100px;
}

@keyframes solar-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes solar-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-hero__watermark--sun,
    .sc-hero__watermark--sun g > circle:first-of-type {
        animation: none;
    }
}


/* ═════════════════════════════════════════════════════════════════════
 * §31  SOLAR · INSTALLATION SHOWCASE (merged §5 block)
 *      Asymmetric 2-col grid with editorial image, brand corner frame,
 *      contextual badge, and narrative body. Sits above the 3-card grid.
 * ═════════════════════════════════════════════════════════════════════ */

.ss-showcase {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.ss-showcase__media {
    position: relative;
    margin: 0;
    border-radius: var(--srv-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--srv-shadow-lg);
    background: var(--srv-off-white);
}

.ss-showcase__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.ss-showcase__media:hover img {
    transform: scale(1.04);
}

.ss-showcase__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        200deg,
        rgba(0, 12, 15, 0) 40%,
        rgba(0, 12, 15, 0.55) 100%
    );
    pointer-events: none;
}

.ss-showcase__media::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-top: 2px solid var(--srv-brand);
    border-left: 2px solid var(--srv-brand);
    z-index: 2;
    transition: all 0.4s ease;
}

.ss-showcase__media:hover::before {
    width: 44px;
    height: 44px;
    top: 12px;
    left: 12px;
}

.ss-showcase__badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--srv-radius-pill);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--srv-charcoal);
    box-shadow: var(--srv-shadow-md);
}

.ss-showcase__badge i {
    color: var(--srv-brand-dark);
    font-size: 0.95rem;
}

.ss-showcase__body {
    display: flex;
    flex-direction: column;
}

.ss-showcase__body .sc-section__title {
    margin-bottom: 22px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.ss-showcase__body .sc-section__title em {
    color: var(--srv-brand-dark);
    font-style: normal;
}

.ss-showcase__text {
    font-size: 1rem;
    line-height: 1.82;
    color: var(--srv-slate);
    margin-bottom: 16px;
}

.ss-showcase__text:last-child { margin-bottom: 0; }



/* ═════════════════════════════════════════════════════════════════════
 * §32  SOLAR · INSTALLATION TYPE CARDS — ENHANCED (.ss-type--rich)
 *      Top accent line, numeric tag, hover glow. Inherits .ss-type base.
 * ═════════════════════════════════════════════════════════════════════ */

.ss-type--rich {
    position: relative;
    padding: 44px 30px 34px;
    overflow: hidden;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
}

.ss-type--rich::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--srv-brand), var(--srv-brand-dark));
    transform: scaleX(0.25);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.ss-type--rich:hover::before { transform: scaleX(1); }

.ss-type--rich::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 168, 47, 0.10) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ss-type--rich:hover::after { opacity: 1; }

.ss-type--rich .ss-type__num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--heading-font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--srv-muted);
    opacity: 0.55;
    z-index: 1;
}

.ss-type--rich .ss-type__icon {
    border-radius: 16px;
    width: 58px;
    height: 58px;
    margin-bottom: 6px;
}

.ss-type--rich .ss-type__title {
    font-size: 1.18rem;
    letter-spacing: -0.005em;
}

.ss-type--rich .ss-type__text {
    font-size: 0.92rem;
    text-align: left;
    color: var(--srv-slate);
}


/* ═════════════════════════════════════════════════════════════════════
 * §33  SOLAR · FINANCIAL BENEFITS — editorial split layout
 *      Replaces the former dark .ss-highlight banner. Decorative
 *      ring-stack visual on the left, narrative copy on the right.
 * ═════════════════════════════════════════════════════════════════════ */

.ss-financial {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: center;
    padding: 24px 0;
}

.ss-financial__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.ss-financial__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(105, 168, 47, 0.22);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ss-financial__ring--1 {
    width: 58%;
    height: 58%;
    border-style: dashed;
    animation: solar-spin 36s linear infinite reverse;
}

.ss-financial__ring--2 {
    width: 80%;
    height: 80%;
    border-color: rgba(105, 168, 47, 0.18);
}

.ss-financial__ring--3 {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 12, 15, 0.06);
    border-style: dashed;
    animation: solar-spin 90s linear infinite;
}

.ss-financial__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38%;
    height: 38%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #7fba3d 0%, var(--srv-brand) 45%, var(--srv-brand-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    box-shadow:
        0 20px 48px rgba(105, 168, 47, 0.35),
        inset 0 -8px 24px rgba(0, 0, 0, 0.18),
        inset 0 8px 24px rgba(255, 255, 255, 0.25);
}

.ss-financial__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--srv-radius-pill);
    background: var(--srv-white);
    border: 1px solid var(--srv-light);
    box-shadow: var(--srv-shadow-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--srv-charcoal);
    white-space: nowrap;
}

.ss-financial__chip i {
    color: var(--srv-brand-dark);
    font-size: 0.95rem;
}

.ss-financial__chip--tl {
    top: 8%;
    left: -6%;
    animation: chip-float 6s ease-in-out infinite;
}

.ss-financial__chip--br {
    bottom: 10%;
    right: -4%;
    animation: chip-float 7s ease-in-out infinite 1.5s;
}

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .ss-financial__ring--1,
    .ss-financial__ring--3,
    .ss-financial__chip--tl,
    .ss-financial__chip--br {
        animation: none;
    }
}

.ss-financial__body .sc-section__eyebrow { margin-bottom: 18px; }

.ss-financial__body .sc-section__title {
    margin-bottom: 22px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ss-financial__text {
    font-size: 1rem;
    line-height: 1.82;
    color: var(--srv-slate);
    margin-bottom: 16px;
}

.ss-financial__text:last-child { margin-bottom: 0; }

.ss-financial__text strong {
    color: var(--srv-charcoal);
    font-weight: 600;
}


/* ═════════════════════════════════════════════════════════════════════
 * §RESP  RESPONSIVE LAYER (mobile-down)
 *        services-shared.css originally had no breakpoint media queries.
 *        This block collapses 2-col grids and reflows fixed-width
 *        components for tablet (<992px) and mobile (<576px / <420px).
 * ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 991.98px) {

    /* B2 — Solar approach: two-column asymmetric grid → single column */
    .ss-approach {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "intro"
            "media"
            "details";
        column-gap: 0;
        row-gap: clamp(1.5rem, 4vw, 2.5rem);
    }

    /* B3 — Solar showcase: 6fr/5fr → stack; widen image aspect for landscape feel */
    .ss-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: clamp(2rem, 5vw, 3rem);
    }
    .ss-showcase__media {
        aspect-ratio: 16 / 10;
    }

    /* B4 — Financial: 5fr/7fr → stack with centered visual */
    .ss-financial {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(1.5rem, 4vw, 2.5rem);
        padding: 16px 0;
    }
    .ss-financial__visual {
        max-width: 360px;
    }
}

@media (max-width: 767.98px) {

    /* B1 — General consulting: 2-col → stack with centered illustration */
    .gc-grid {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: clamp(2.5rem, 6vw, 4rem);
    }
    .gc-context__illustrations {
        justify-content: center;
        flex-wrap: wrap;
    }
    .gc-illu-box {
        width: min(130px, 38vw);
        height: min(130px, 38vw);
    }

    /* B7 — Engineering grant block: flex row → stacked */
    .rep-grant {
        flex-direction: column;
        gap: clamp(1rem, 3vw, 1.5rem);
        padding: clamp(1.5rem, 4vw, 2.5rem);
        text-align: center;
    }
    .rep-grant__divider {
        width: 60px;
        height: 1px;
    }
    .rep-grant__stat {
        min-width: 0;
    }

    /* B8 — Engineering process: horizontal connector → vertical rail */
    .se-process::before {
        display: none;
    }
    .se-process__step {
        text-align: left;
        padding-top: 0;
        padding-left: 3.25rem;
        position: relative;
        margin-bottom: 1.5rem;
    }
    .se-process__step::before {
        left: 0;
        top: 0;
        position: absolute;
    }
    .se-process__step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 1.25rem;
        top: 2.75rem;
        bottom: -1rem;
        width: 2px;
        background: linear-gradient(180deg,
            var(--srv-brand) 0%,
            transparent 100%);
        opacity: 0.25;
    }
}

@media (max-width: 575.98px) {

    /* B5 — Solar systems comparison: 2-col → stack on small phones */
    .ss-systems {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* B10 — Cooperation quote glyphs: pull decorative marks back into frame */
    .sco-quote::before {
        left: -8px;
        top: -28px;
        font-size: clamp(4rem, 14vw, 6rem);
    }
    .sco-quote::after {
        display: none;
    }
}

@media (max-width: 419.98px) {

    /* B6 — Solar benefits: 2-col → stack on very small phones */
    .ss-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* B12 — On large desktops the 2-col grids feel oversized; expand to 4-col. */
@media (min-width: 1400px) {
    .ss-systems,
    .ss-benefits-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* D4 — Contact modal mobile override (re-declared here because
   services-shared.css duplicates the base contact-modal rules and
   loads AFTER layout.css, so the override in layout.css gets undone
   on service pages without this companion block. */
@media (max-width: 575.98px) {
    #contactModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    #contactModal .contact-modal__content {
        border-radius: 12px;
    }
    #contactModal .contact-modal__header,
    #contactModal .contact-modal__body {
        padding: 1rem;
    }
    #contactModal .contact-form .form-field .form-input {
        font-size: 16px;
    }
    #contactModal .contact-modal__title {
        font-size: 1.25rem;
    }
    #contactModal .contact-modal__icon {
        width: 38px;
        height: 38px;
    }
}

