/* ====================================================================
   RIMASUNCHIK — site.css  v6
   Diseño: Newtech IT Services — corporativo limpio, azul y blanco
   Responsive: 1280 → 1024 → 768 → 480 → 360
   Fuentes: Red Hat Display (títulos) + Golos Text (cuerpo)
==================================================================== */

/* === 1. TOKENS =================================================== */
:root {
    /* Colores Rimasunchik */
    --blue:         #186838;
    --blue-hover:   #1f8b4c;
    --blue-dark:    #083820;
    --blue-soft:    rgba(24, 104, 56, 0.09);
    --blue-soft-2:  rgba(24, 104, 56, 0.16);
    --gold:         #a57c2a;
    --gold-soft:    rgba(165, 124, 42, 0.14);
    --teal:         #0f6b7a;
    --navy:         #354a73;
    --dark:         #0b1f18;
    --dark-2:       #123225;
    --heading:      #17372a;
    --body-text:    #4f5f57;
    --muted:        #6f7f77;
    --muted-2:      #98a79f;
    --light-bg:     #eef5f0;
    --extra-light:  #f8fbf7;
    --border:       #dce8df;
    --white:        #FFFFFF;

    /* WhatsApp */
    --wa-green:     #25D366;
    --wa-dark:      #1a7a4e;

    /* Sombras */
    --shadow:       0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-md:    0 12px 40px rgba(0, 0, 0, 0.14);
    --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.16);
    --shadow-blue:  0 8px 24px rgba(24, 104, 56, 0.22);
    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring:  cubic-bezier(0.2, 0.9, 0.2, 1.15);

    /* Radios */
    --radius-xl:    20px;
    --radius-lg:    16px;
    --radius-md:    12px;
    --radius-sm:    8px;

    /* Layout */
    --container:    1200px;
    --gutter:       clamp(1rem, 5vw, 2rem);
    --section-pt:   clamp(3rem, 6vw, 5.5rem);
    --section-pb:   clamp(3rem, 6vw, 5.5rem);

    /* Tipografía */
    --font-heading: "Red Hat Display", "Golos Text", sans-serif;
    --font-body:    "Golos Text", "Red Hat Display", sans-serif;
}

/* === 2. RESET + BASE ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--body-text);
    font-family: var(--font-body);
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--heading);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 700;
    letter-spacing: 0;
}

h3 {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 700;
}

p {
    margin: 0;
    line-height: 1.7;
}

/* === 3. LAYOUT — CONTENEDOR ====================================== */
.utility-inner,
.site-header,
.section-inner {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

/* Secciones que usan section-inner internamente se manejan con ese clase.
   hero-wrap, stats-bar y cta-banner son full-width por diseño. */
.hero-wrap,
.stats-bar,
.cta-banner {
    width: 100%;
}

/* === 4. UTILITY BAR ============================================== */
.utility-bar {
    position: relative;
    z-index: 10;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.utility-inner {
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.utility-inner .utility-address {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.utility-inner .utility-address svg,
.utility-inner .utility-contacts svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.6;
}

.utility-contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.utility-contacts a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.utility-contacts a:hover {
    color: var(--white);
}

/* === 5. HEADER + NAV ============================================= */
.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.site-header-wrap.scrolled {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(220, 232, 223, 0.72);
    box-shadow: 0 10px 32px rgba(8, 56, 32, 0.12);
    backdrop-filter: blur(14px);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    transition: padding 0.28s var(--ease-out);
}

.site-header-wrap.scrolled .site-header {
    padding: 0.65rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--heading);
    flex-shrink: 0;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--blue);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
}

.brand-logo {
    display: block;
    width: auto;
    height: 5.2rem;
    max-width: 13.5rem;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    transition: height 0.28s var(--ease-out), max-width 0.28s var(--ease-out), transform 0.24s ease, box-shadow 0.24s ease;
}

.brand:hover .brand-logo {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(8, 56, 32, 0.10);
}

.site-header-wrap.scrolled .brand-logo {
    height: 4.4rem;
    max-width: 12rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav a {
    position: relative;
    padding: 0.62rem 0.98rem;
    border-radius: var(--radius-sm);
    color: var(--body-text);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--blue);
    background: var(--blue-soft);
    transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--heading);
    padding: 0.5rem 0.8rem;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.menu-toggle:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
    transform: translateY(-1px);
}

/* === 6. BOTONES ================================================== */
.nav-cta,
.primary-button,
.ghost-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

.nav-cta::before,
.primary-button::before,
.ghost-button::before {
    content: "";
    position: absolute;
    inset: -40% -70%;
    z-index: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.36) 50%, transparent 65%);
    transform: translateX(-70%);
    transition: transform 0.58s var(--ease-out);
    pointer-events: none;
}

.nav-cta:hover::before,
.primary-button:hover::before,
.ghost-button:hover::before {
    transform: translateX(70%);
}

.nav-cta,
.primary-button {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.nav-cta:hover,
.primary-button:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    box-shadow: 0 8px 28px rgba(31, 139, 76, 0.28);
    transform: translateY(-2px);
}

.nav-cta:active,
.primary-button:active,
.ghost-button:active {
    transform: translateY(0) scale(0.98);
}

.ghost-button {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
}

/* Variante ghost oscura (sobre fondo blanco) */
.ghost-button--dark {
    color: var(--heading);
    border-color: var(--border);
    background: transparent;
}

.ghost-button--dark:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-soft);
    transform: translateY(-2px);
}

/* === 7. EYEBROW LABELS =========================================== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid var(--blue-soft-2);
}

/* Eyebrow sobre fondo oscuro */
.eyebrow--light {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.18);
}

/* === 8. SECTION HEADING ========================================== */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .eyebrow {
    margin-bottom: 1rem;
}

.section-heading h2 {
    color: var(--heading);
    max-width: 22ch;
    margin: 0 auto;
}

.section-heading p {
    margin: 1rem auto 0;
    color: var(--body-text);
    max-width: 54ch;
    font-size: 1rem;
    line-height: 1.7;
}

/* Alineación izquierda (variante) */
.section-heading--left {
    text-align: left;
}

.section-heading--left h2 {
    margin: 0;
}

.section-heading--left p {
    margin: 1rem 0 0;
}

/* === 9. HERO SECTION ============================================= */
/* Hero: pantalla completa con foto de fondo y overlay oscuro */
.hero-wrap {
    background: var(--dark);
}

main {
    padding-bottom: 0;
}

.hero,
.executive-strip,
.section,
.site-footer-wrap {
    position: relative;
    z-index: 1;
}

.hero {
    padding: 0;
    background: var(--dark);
}

/* Slider: full-width */
.hero-slider {
    position: relative;
    width: 100%;
}

.hero-stage {
    --hero-shift: 0px;
    position: relative;
    height: auto;
    min-height: 92vh;
    transition: height 0.55s ease;
    overflow: hidden;
}

/* Slides: background-image + overlay */
.hero-slide {
    --hero-accent:        var(--blue);
    --hero-accent-strong: var(--blue-hover);
    --hero-accent-soft:   rgba(24, 104, 56, 0.18);
    --hero-border:        rgba(24, 104, 56, 0.38);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center calc(50% + var(--hero-shift));
    background-color: var(--dark);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
    transition: opacity 0.90s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.is-active,
.hero-slide.is-entering {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.hero-slide.is-exiting {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    z-index: 1;
}

/* Overlay oscuro sobre la foto */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 15, 30, 0.72) 0%,
        rgba(10, 15, 30, 0.88) 55%,
        rgba(10, 15, 30, 0.96) 100%
    );
    z-index: 1;
}

.hero-bg-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 46%, transparent 56%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 110px);
    opacity: 0.42;
    transform: translateX(-6%);
    animation: hero-light-sweep 9s linear infinite;
    pointer-events: none;
}

/* Temas de color */
.hero-slide.theme-predial {
    --hero-accent:        var(--gold);
    --hero-accent-strong: #d7b15f;
    --hero-accent-soft:   rgba(165, 124, 42, 0.18);
    --hero-border:        rgba(165, 124, 42, 0.38);
}

.hero-slide.theme-community {
    --hero-accent:        var(--teal);
    --hero-accent-strong: #28a5b7;
    --hero-accent-soft:   rgba(15, 107, 122, 0.18);
    --hero-border:        rgba(15, 107, 122, 0.36);
}

.hero-slide.theme-territory {
    --hero-accent:        var(--navy);
    --hero-accent-strong: #6e8fc7;
    --hero-accent-soft:   rgba(53, 74, 115, 0.18);
    --hero-border:        rgba(53, 74, 115, 0.36);
}

/* Layout: contenido centrado, ancho máximo */
.hero-slide-layout {
    position: relative;
    z-index: 2;
    width: min(860px, 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 8rem 0 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Copy: sin card de fondo, texto centrado */
.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.hero-copy .eyebrow {
    background: var(--hero-accent-soft);
    color: var(--hero-accent);
    border-color: var(--hero-border);
}

.hero-copy h1 {
    margin-top: 1.25rem;
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    letter-spacing: 0;
    line-height: 1.08;
}

.hero-slide.is-active .hero-copy .eyebrow,
.hero-slide.is-entering .hero-copy .eyebrow,
.hero-slide.is-active .hero-copy h1,
.hero-slide.is-entering .hero-copy h1,
.hero-slide.is-active .hero-summary,
.hero-slide.is-entering .hero-summary,
.hero-slide.is-active .hero-actions,
.hero-slide.is-entering .hero-actions,
.hero-slide.is-active .hero-tags,
.hero-slide.is-entering .hero-tags {
    animation: hero-copy-in 0.78s var(--ease-out) both;
}

.hero-slide.is-active .hero-copy h1,
.hero-slide.is-entering .hero-copy h1 {
    animation-delay: 0.08s;
}

.hero-slide.is-active .hero-summary,
.hero-slide.is-entering .hero-summary {
    animation-delay: 0.16s;
}

.hero-slide.is-active .hero-actions,
.hero-slide.is-entering .hero-actions {
    animation-delay: 0.24s;
}

.hero-slide.is-active .hero-tags,
.hero-slide.is-entering .hero-tags {
    animation-delay: 0.30s;
}

.hero-summary {
    max-width: 46rem;
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 1.25rem 0 0;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin: 2rem 0 0;
}

.hero-slide .primary-button {
    background: var(--hero-accent);
    border-color: var(--hero-accent);
    box-shadow: 0 8px 24px rgba(24, 104, 56, 0.28);
}

.hero-slide .primary-button:hover {
    background: var(--hero-accent-strong);
    border-color: var(--hero-accent-strong);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-tags span {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.82rem;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-tags span:hover {
    border-color: var(--hero-border);
    background: var(--hero-accent-soft);
    color: var(--white);
}

/* Brief — 3 columnas */
.hero-brief {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-brief-card {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.hero-brief-card span,
.executive-card span,
.service-label,
.panel-label,
.process-number {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-brief-card strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    color: var(--white);
    line-height: 1.4;
}

/* Panel (columna derecha) */
.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 44rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-size: cover;
    background-position: center;
    background-color: var(--dark-2);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, var(--hero-accent-soft), transparent 22rem),
        linear-gradient(180deg, rgba(35, 35, 35, 0.30), rgba(35, 35, 35, 0.85) 75%);
    pointer-events: none;
}

.hero-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35, 35, 35, 0.10) 0%, rgba(35, 35, 35, 0.58) 50%, rgba(35, 35, 35, 0.90) 100%);
}

.hero-panel-header,
.hero-stat-grid {
    position: relative;
    z-index: 1;
}

.hero-panel-header {
    max-width: 26rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(35, 35, 35, 0.50);
    backdrop-filter: blur(10px);
}

.hero-panel-header .panel-label {
    color: rgba(255, 255, 255, 0.50);
}

.hero-panel-header strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--white);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-content: end;
}

.hero-stat {
    padding: 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(35, 35, 35, 0.72);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-stat:hover {
    border-color: var(--hero-border);
    background: rgba(35, 35, 35, 0.85);
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--white);
    font-family: var(--font-heading);
}

.hero-stat span {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
    line-height: 1.5;
}

/* Footer del slider: fijo en la parte inferior del hero-stage */
.hero-slider-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem min(2rem, var(--gutter));
    background: rgba(10, 15, 30, 0.55);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider-status {
    min-width: 8rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.hero-slider-status > span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-slider-status strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.35rem;
    letter-spacing: 0;
    color: var(--white);
    font-family: var(--font-heading);
}

.hero-slider-progress {
    position: relative;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
}

.hero-slider-progress span {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: var(--blue);
    transition: width 0.45s ease;
    position: relative;
    overflow: hidden;
}

.hero-slider-progress span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: translateX(-100%);
    animation: progress-shine 2.4s ease-in-out infinite;
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-slider-dot,
.hero-slider-arrow {
    border: 0;
    color: var(--white);
    font: inherit;
    cursor: pointer;
}

.hero-slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-slider-dot.is-active {
    width: 2rem;
    background: var(--blue);
}

.hero-slider-arrow {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-slider-arrow:hover,
.hero-slider-dot:hover {
    transform: translateY(-1px);
}

.hero-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

/* === 10. STATS BAR =============================================== */
.stats-bar {
    background: var(--blue);
    padding: 2.2rem 0;
}

.stats-bar-inner {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.24s var(--ease-out), background 0.24s ease;
}

.stats-bar-item:last-child {
    border-right: 0;
}

.stats-bar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stats-bar-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0;
    line-height: 1;
}

.stats-bar-item span {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.4;
}

/* === 11. EXECUTIVE STRIP ========================================= */
.executive-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.executive-card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--extra-light);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.executive-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}

.executive-card span {
    color: var(--muted);
}

.executive-card strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--heading);
}

.executive-card p {
    margin: 0.55rem 0 0;
    color: var(--body-text);
    line-height: 1.65;
    font-size: 0.9rem;
}

/* === 12. SECCIONES BASE ========================================== */
.section {
    padding: var(--section-pt) 0 var(--section-pb);
}

.section--light {
    background: var(--extra-light);
}

.section--dark {
    background: var(--dark);
}

/* Grids compartidos */
.service-grid,
.project-grid,
.contact-grid,
.client-grid,
.process-band {
    display: grid;
    gap: clamp(0.75rem, 1.5vw, 1.2rem);
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

/* === 13. ABOUT / NOSOTROS ======================================== */
.section-about {
    background: var(--white);
}

/* Grid 2 columnas: imagen izquierda, contenido derecha */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: stretch;
}

/* Columna imagen */
.about-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--light-bg);
    min-height: clamp(31rem, 48vw, 42rem);
    height: 100%;
    isolation: isolate;
}

.about-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, 0.22), transparent 62%);
    transform: translateX(-120%);
    transition: transform 0.75s var(--ease-out);
    pointer-events: none;
}

.about-img-wrap:hover::after {
    transform: translateX(120%);
}

.about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
    display: block;
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.72s ease, transform 1s var(--ease-out);
}

.about-slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.about-img-wrap:hover .about-slide.is-active {
    transform: scale(1.03);
}

.about-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.36rem 0.48rem;
    border-radius: 999px;
    background: rgba(11, 31, 24, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

.about-slider-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    cursor: pointer;
    transition: width 0.24s var(--ease-out), background 0.24s ease, transform 0.24s ease;
}

.about-slider-dot:hover,
.about-slider-dot.is-active {
    width: 1.45rem;
    background: var(--white);
    transform: translateY(-1px);
}

/* Badge flotante sobre la imagen */
.about-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-md);
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(24, 104, 56, 0.32);
    backdrop-filter: blur(8px);
    animation: badge-float 4.8s ease-in-out infinite;
}

.about-img-badge strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    letter-spacing: 0;
}

.about-img-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

/* Columna contenido */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-story {
    margin-top: 1rem;
    color: var(--body-text);
    line-height: 1.75;
    font-size: 0.97rem;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.about-purpose-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
    transition: transform 0.24s var(--ease-out), border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.about-purpose-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-purpose-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-purpose-card p {
    margin: 0;
    color: var(--body-text);
    font-size: 0.9rem;
    line-height: 1.65;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.about-cta svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
}

/* Check list */
.check-list,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.check-list li,
.contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--body-text);
    font-size: 0.94rem;
}

.check-list svg,
.contact-list svg {
    width: 1rem;
    height: 1rem;
    fill: var(--blue);
    flex: none;
    margin-top: 0.22rem;
    flex-shrink: 0;
}

/* Contadores mini en nosotros */
.about-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-mini-stat {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
    text-align: center;
    transition: transform 0.24s var(--ease-out), border-color 0.24s ease, box-shadow 0.24s ease;
}

.about-mini-stat:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.about-mini-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0;
    line-height: 1;
}

.about-mini-stat span {
    display: block;
    margin-top: 0.4rem;
    color: var(--body-text);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Paneles legacy (valores, misión, visión, equipo) */
.info-card,
.values-panel,
.team-panel,
.specialties-panel,
.contact-panel,
.form-panel {
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.26s var(--ease-out), box-shadow 0.26s ease, border-color 0.26s ease;
}

.info-card:hover,
.values-panel:hover,
.team-panel:hover,
.specialties-panel:hover,
.contact-panel:hover,
.form-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(24, 104, 56, 0.28);
    box-shadow: var(--shadow-md);
}

.team-list {
    display: grid;
    gap: 0.75rem;
}

.team-card {
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.team-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.team-card strong,
.project-body strong {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--heading);
    font-size: 0.95rem;
}

.team-card span {
    color: var(--body-text);
    font-size: 0.87rem;
    line-height: 1.55;
}

/* === 14. SERVICIOS =============================================== */
.section-services {
    background: var(--extra-light);
}

/* ── Wrapper del carrusel circular ─────────────────────────────── */
.svc-carousel-wrap {
    position: relative;
}

/* Botón circular central */
.svc-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--blue);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.75), var(--shadow-md);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease,
                background 0.28s ease;
}

.svc-center-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--blue);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
}

.svc-center-btn:hover {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(24, 104, 56, 0.10), var(--shadow-blue);
    transform: translate(-50%, -50%) scale(1.08);
}

.svc-center-btn:hover svg {
    fill: var(--white);
}

.svc-center-btn.is-spinning svg {
    transform: rotate(360deg);
}

.svc-center-ring {
    position: absolute;
    inset: -0.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(24, 104, 56, 0.16);
    animation: ring-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.svc-center-ring--2 {
    inset: -1.1rem;
    border-color: rgba(24, 104, 56, 0.08);
    animation-delay: 1.2s;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.06); }
}

/* ── Estado de las cards ─────────────────────────────────────── */
.service-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.35s ease;
    opacity: 0.65;
}

.service-card::before,
.project-card::before,
.blog-card::before,
.testimonial-card::before,
.client-card::before,
.svc-other-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 48%, transparent 62%);
    transform: translateX(-125%);
    transition: transform 0.72s var(--ease-out);
    pointer-events: none;
}

.service-card:hover::before,
.project-card:hover::before,
.blog-card:hover::before,
.testimonial-card:hover::before,
.client-card:hover::before,
.svc-other-card:hover::before {
    transform: translateX(125%);
}

.service-card.is-featured {
    opacity: 1;
    transform: scale(1.015);
    border-color: var(--blue);
    border-top: 3px solid var(--blue);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--blue-soft-2);
    z-index: 2;
}

.service-card:hover {
    opacity: 1;
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Ícono cuadrado azul — estilo Newtech */
.service-icon-wrap {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background: var(--blue);
    color: var(--white);
    margin-bottom: 0.25rem;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover .service-icon-wrap {
    background: var(--blue-dark);
    transform: scale(1.06);
}

.service-icon-wrap svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

/* Legacy: ícono sobre imagen (usado en service-detail) */
.service-card-img {
    position: relative;
    height: 12rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--light-bg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    transition: transform 0.55s var(--ease-out), filter 0.55s ease;
    transform-origin: center;
}

.service-card:hover .service-card-img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.service-card-img--placeholder {
    background: linear-gradient(145deg, var(--light-bg), var(--extra-light));
}

.service-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(35, 35, 35, 0.55) 100%);
    transition: background 0.3s ease;
}

.service-card:hover .service-card-img-overlay {
    background: linear-gradient(to bottom, rgba(24, 104, 56, 0.10), rgba(8, 56, 32, 0.64) 100%);
}

/* Ícono sobre la imagen (legacy, service detail) */
.service-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--white);
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 4px 14px rgba(24, 104, 56, 0.32);
    z-index: 1;
}

.service-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

/* --- Cuerpo del card -------------------------------------------- */
.service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.4rem;
    gap: 0.4rem;
    background: var(--white);
}

.service-label {
    margin: 0;
    color: var(--blue);
}

.service-card-body h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.3;
    color: var(--heading);
}

/* Descripción visible en home */
.service-card-desc {
    color: var(--body-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Bullets dentro del card (ocultos en home) ------------------- */
.service-card-bullets {
    display: none;
}

.service-card-bullets li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.84rem;
    color: var(--body-text);
    line-height: 1.5;
}

.service-card-bullets li svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: var(--blue);
    flex-shrink: 0;
    margin-top: 0.22rem;
}

/* --- Acciones del card ------------------------------------------ */
.service-card-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.service-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.84rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.service-detail-btn:hover {
    background: var(--blue-soft);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.service-detail-btn svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
}

.service-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    border: 0;
    background: var(--wa-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.service-wa-btn:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.38);
}

.service-wa-btn svg,
.svc-wa-btn svg,
.floating-whatsapp svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex-shrink: 0;
}

/* Banda de proceso */
.process-step {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--extra-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out), background 0.2s ease;
}

.process-step:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    background: var(--white);
}

.process-step strong {
    display: block;
    margin: 0.5rem 0 0.6rem;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--heading);
}

.process-step p {
    margin: 0;
    color: var(--body-text);
    line-height: 1.6;
    font-size: 0.88rem;
}

/* Panel de especialidades */
.specialties-panel {
    margin-top: 2.5rem;
    background: var(--extra-light);
    border-color: var(--border);
}

.specialties-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.specialties-header h3 {
    max-width: 18rem;
    color: var(--heading);
}

.specialties-header p {
    max-width: 38rem;
    margin: 0;
    color: var(--body-text);
    line-height: 1.65;
    font-size: 0.94rem;
}

.specialties-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.specialty-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    padding: 0.9rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out), background 0.2s ease;
}

.specialty-item:hover,
.specialty-item[open] {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    background: var(--white);
}

.specialty-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    list-style: none;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.specialty-item summary::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.specialty-item[open] summary::before {
    transform: scale(1.45);
    background: var(--gold);
}

.specialty-item summary::-webkit-details-marker {
    display: none;
}

.specialty-item p {
    margin: 0.65rem 0 0.2rem;
    color: var(--body-text);
    line-height: 1.65;
    font-size: 0.86rem;
}

/* === 15. CTA BANNER ============================================== */
.cta-banner {
    background: var(--dark);
    padding: var(--section-pt) 0;
    text-align: center;
}

.cta-banner-inner {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

.cta-banner .eyebrow {
    margin-bottom: 1.2rem;
}

.cta-banner h2 {
    color: var(--white);
    max-width: 20ch;
    margin: 0 auto 1.8rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

/* === 16. PROYECTOS =============================================== */
.project-card,
.blog-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    box-shadow: var(--shadow);
}

.project-card {
    background: var(--white);
}

.project-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Media con overlay hover */
.project-media {
    position: relative;
    min-height: 15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 1rem;
    background-color: var(--light-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.55s var(--ease-out), filter 0.55s ease;
    transform-origin: center;
}

.project-card:hover .project-media {
    transform: scale(1.025);
    filter: saturate(1.08);
}

/* Overlay oscuro semitransparente que aparece en hover */
.project-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 35, 35, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.project-card:hover .project-media-overlay {
    background: rgba(35, 35, 35, 0.45);
}

.project-index,
.project-cat-badge,
.blog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(35, 35, 35, 0.55);
    color: var(--white);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.project-cat-badge {
    background: var(--blue);
    border-color: transparent;
}

.blog-badge {
    background: var(--blue);
    border-color: transparent;
    color: var(--white);
}

.project-body {
    padding: 1.4rem;
}

.project-body h3 {
    margin-bottom: 0.7rem;
    color: var(--heading);
    font-size: 1rem;
}

.project-body p {
    color: var(--body-text);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0 0 0.65rem;
}

.project-result {
    color: var(--blue) !important;
    font-weight: 600;
    font-size: 0.88rem !important;
}

/* === 17. CLIENTES ================================================ */
.client-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 6rem;
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.client-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.client-card img {
    max-height: 3rem;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.2s ease;
}

.client-card:hover img {
    filter: grayscale(0) opacity(1);
}

/* === 18. TESTIMONIOS ============================================= */
.section-testimonials {
    background: var(--extra-light);
}

/* Layout principal: foto grande izquierda, cita derecha */
.testimonial-featured {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.4rem, 3vw, 2.6rem);
    align-items: stretch;
    margin-bottom: 0;
    width: min(1040px, 100%);
    margin-inline: auto;
}

.testimonial-photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--light-bg);
    height: clamp(22rem, 38vw, 30rem);
    min-height: 0;
}

.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
    display: block;
    border-radius: var(--radius-xl);
    transition: transform 0.65s var(--ease-out), filter 0.65s ease;
}

.testimonial-photo-wrap:hover .testimonial-photo {
    transform: scale(1.035);
    filter: saturate(1.06);
}

/* Columna de cita */
.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    min-height: 0;
}

.testimonial-main-quote {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Estrellas */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}

.testimonial-stars svg {
    width: 1rem;
    height: 1rem;
    color: #F5A623;
}

/* Cita grande con comillas decorativas */
.testimonial-quote {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: clamp(0.95rem, 1.25vw, 1.05rem);
    font-style: italic;
    line-height: 1.65;
    color: var(--heading);
    border: 0;
}

.testimonial-quote::before {
    content: "\201C";
    display: block;
    font-size: 3.8rem;
    line-height: 0.8;
    color: var(--blue);
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 800;
    margin-bottom: 0.2rem;
    opacity: 0.85;
}

/* Persona */
.testimonial-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.testimonial-person strong {
    display: block;
    font-size: 0.95rem;
    color: var(--heading);
}

.testimonial-person span {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

/* Grid de testimonios adicionales */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.2rem);
}

.testimonial-grid--side {
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.testimonial-grid--side .testimonial-card {
    padding: clamp(0.9rem, 1.35vw, 1.15rem);
}

/* Card de testimonio compacto */
.testimonial-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.2rem, 2vw, 1.8rem);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card-quote {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--body-text);
    font-style: italic;
    margin: 0;
    flex: 1;
}

/* === 19. BLOG ==================================================== */
.section-blog {
    background: var(--white);
}

.blog-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-nav-arrows {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
    padding-bottom: 0.3rem;
}

.blog-nav-btn {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--heading);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-nav-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.blog-slider-wrap {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.blog-track {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.2rem);
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.blog-track .blog-card {
    flex: 0 0 calc(33.333% - 0.8rem);
    min-width: 0;
    border-radius: var(--radius-xl);
}

.blog-dots-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.blog-dot {
    width: 0.6rem;
    height: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background 0.22s ease, width 0.22s ease;
}

.blog-dot.is-active {
    width: 1.8rem;
    background: var(--blue);
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

.blog-card-img {
    height: 13rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    transition: transform 0.55s var(--ease-out), filter 0.55s ease;
    transform-origin: center;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.blog-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(35, 35, 35, 0.38) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-img::after {
    opacity: 1;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    padding: 1.4rem;
}

.blog-card-body h3 {
    line-height: 1.3;
    margin: 0;
    color: var(--heading);
    font-size: 1rem;
}

.blog-card-body p {
    color: var(--body-text);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.blog-card-body a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card-body a:hover {
    gap: 0.65rem;
    color: var(--blue-hover);
}

.blog-card-body a svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
}

/* === 20. CONTACTO ================================================ */
.section-contact {
    background: var(--extra-light);
}

.section-contact .contact-panel,
.section-contact .form-panel {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.contact-panel,
.form-panel {
    min-height: 100%;
}

.full-width {
    width: 100%;
}

.map-frame {
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.map-frame iframe {
    width: 100%;
    min-height: 18rem;
    border: 0;
    display: block;
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--body-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--extra-light);
    color: var(--heading);
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(24, 104, 56, 0.10);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 7rem;
}

.contact-list li span {
    color: var(--body-text);
    line-height: 1.6;
}

/* Info cards de contacto */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
    margin-top: 0.85rem;
    transition: border-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}

.contact-info-card:first-of-type {
    margin-top: 1.5rem;
}

.contact-info-card:hover {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.contact-info-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.24s var(--ease-spring), background 0.24s ease, color 0.24s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: rotate(-6deg) scale(1.06);
    background: var(--blue);
    color: var(--white);
}

.contact-info-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.contact-info-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.contact-info-text span {
    color: var(--heading);
    font-size: 0.92rem;
    font-weight: 500;
}

.contact-email-list {
    display: grid;
    gap: 0.18rem;
}

.contact-email-list a {
    color: var(--heading);
    overflow-wrap: anywhere;
}

.brochure-card {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.2rem;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--extra-light);
}

.brochure-card img {
    width: 5rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.brochure-card strong,
.brochure-card span,
.brochure-card a {
    display: block;
}

.brochure-card strong {
    color: var(--heading);
    font-size: 0.95rem;
    line-height: 1.3;
}

.brochure-card span {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.brochure-card a {
    margin-top: 0.55rem;
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 800;
}

/* === 21. NEWSLETTER PRE-FOOTER ================================== */
.newsletter-strip {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-inner {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 2.8rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.newsletter-copy h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--heading);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.newsletter-copy p {
    color: var(--body-text);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    color: var(--heading);
    outline: none;
    min-width: 0;
    transition: background 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--muted);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.4rem;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
    border-radius: 0 999px 999px 0;
}

.newsletter-btn:hover {
    background: var(--blue-dark);
    box-shadow: 0 10px 24px rgba(8, 56, 32, 0.22);
    transform: translateX(2px);
}

/* === 22. FOOTER ================================================== */
.site-footer-wrap {
    background: var(--dark);
}

/* 4 columnas: marca (mais ampla) + servicios + recursos + contacto */
.site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 3.5rem 0 2.5rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-brand .brand {
    margin-bottom: 1rem;
    display: inline-flex;
    color: var(--white);
}

.footer-brand .brand-logo {
    height: 5.4rem;
    max-width: 14rem;
}

.footer-tagline {
    margin: 0 0 1.5rem;
    max-width: 32ch;
    line-height: 1.7;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.50);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.50);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.footer-social-btn svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px) rotate(-4deg);
    box-shadow: 0 10px 22px rgba(24, 104, 56, 0.25);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.88rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.5;
}

.footer-contact-list svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
    flex-shrink: 0;
    margin-top: 0.18rem;
    color: var(--blue);
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: var(--wa-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.footer-wa-btn svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.footer-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.40);
}

.footer-bottom {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 1.2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 0.5rem 1.2rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* === 23. PÁGINAS LEGALES ========================================= */
.legal-page {
    padding-bottom: 5rem;
    background: var(--white);
}

.legal-page-inner {
    width: min(860px, 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding-top: 3rem;
}

.legal-page-inner .eyebrow {
    margin-bottom: 1rem;
}

.legal-page-inner h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--heading);
    letter-spacing: 0;
}

.legal-updated {
    color: var(--muted);
    font-size: 0.84rem;
    margin: 0 0 2.5rem;
}

.legal-body {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
}

.legal-body h2 {
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0;
    margin: 1.8rem 0 0.65rem;
    color: var(--heading);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p {
    color: var(--body-text);
    line-height: 1.78;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.reclamacion-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.2rem 0;
}

.reclamacion-info-card {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
}

.reclamacion-info-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--heading);
}

.reclamacion-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.reclamacion-info-card li {
    color: var(--body-text);
    font-size: 0.86rem;
    line-height: 1.55;
}

.reclamacion-form-wrap {
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
}

.reclamacion-form-wrap h2 {
    font-size: 1.25rem;
    margin-bottom: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
    letter-spacing: 0;
}

.reclamacion-form {
    display: grid;
    gap: 1rem;
}

.recla-field-row {
    display: grid;
}

.recla-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.reclamacion-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--body-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.reclamacion-form input,
.reclamacion-form select,
.reclamacion-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--extra-light);
    color: var(--heading);
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s ease;
}

.reclamacion-form select option {
    background: var(--white);
    color: var(--heading);
}

.reclamacion-form input:focus,
.reclamacion-form select:focus,
.reclamacion-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
}

.recla-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
    margin: 0;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s ease;
}

.legal-back-btn:hover {
    gap: 0.7rem;
}

/* === 24. ARTÍCULO ================================================ */
.article-page {
    width: min(940px, 100% - (var(--gutter) * 2));
    margin: 3rem auto 4rem;
}

.article-hero {
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--extra-light);
    box-shadow: var(--shadow);
}

.article-body {
    padding: clamp(1.5rem, 3vw, 2rem);
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

.article-hero .eyebrow {
    margin-bottom: 1rem;
}

.article-hero h1 {
    max-width: 20ch;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--heading);
    letter-spacing: 0;
}

.article-hero p {
    color: var(--body-text);
    line-height: 1.7;
    margin: 0 0 1.2rem;
}

.article-body p {
    color: var(--body-text);
    line-height: 1.78;
    margin: 0 0 1rem;
}

/* === 25. PÁGINA DETALLE DE SERVICIO ============================== */
.service-page {
    padding-bottom: 4rem;
    background: var(--white);
}

.svc-page-hero {
    position: relative;
    min-height: 28rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 0;
}

.svc-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 0.6s ease;
}

.svc-page-hero:hover .svc-page-hero-bg {
    transform: scale(1);
}

.svc-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 35, 35, 0.30) 0%,
        rgba(35, 35, 35, 0.58) 45%,
        rgba(35, 35, 35, 0.92) 100%
    );
}

.svc-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        color-mix(in srgb, var(--svc-color, var(--blue)) 22%, transparent),
        transparent 55%
    );
    pointer-events: none;
}

.svc-page-hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 3.5rem 0 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.svc-back-link svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
    transform: rotate(180deg);
}

.svc-back-link:hover {
    color: var(--white);
}

.svc-page-hero-content .eyebrow {
    align-self: flex-start;
}

.svc-page-hero-content h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    margin: 0;
    color: var(--white);
    letter-spacing: 0;
}

.svc-page-hero-content > p {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    margin: 0;
}

.svc-wa-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 0;
    background: var(--wa-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
    margin-top: 0.4rem;
}

.svc-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.50);
}

.svc-page-body {
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

.svc-section {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-bottom: 1px solid var(--border);
}

.svc-section:last-child {
    border-bottom: 0;
}

.svc-section-inner {
    max-width: 52rem;
}

.svc-section-inner h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    margin-bottom: 1rem;
    color: var(--heading);
    letter-spacing: 0;
}

.svc-body-text {
    color: var(--body-text);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.svc-bullets {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.svc-bullets li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--body-text);
    line-height: 1.6;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--extra-light);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.svc-bullets li:hover {
    background: var(--blue-soft);
    border-color: var(--blue-soft-2);
}

.svc-bullets li svg {
    width: 1rem;
    height: 1rem;
    fill: var(--blue);
    flex-shrink: 0;
    margin-top: 0.22rem;
}

.svc-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: var(--radius-xl);
    border: 2px solid var(--blue-soft-2);
    background: var(--blue-soft);
    box-shadow: var(--shadow);
}

.svc-cta-text h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--heading);
}

.svc-cta-text p {
    color: var(--body-text);
    line-height: 1.65;
    font-size: 0.9rem;
    margin: 0;
}

.svc-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-shrink: 0;
}

.svc-others-section h3 {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-weight: 600;
}

.svc-others-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.svc-other-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.svc-other-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.svc-other-card-img {
    height: 9rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--light-bg);
}

.svc-other-card-body {
    padding: 1rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.svc-other-card-body h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heading);
}

.svc-other-card-body span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.svc-other-card-body svg {
    width: 0.8rem;
    height: 0.8rem;
    fill: currentColor;
}

/* === 26. WHATSAPP FLOTANTE ======================================= */
.floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: var(--wa-green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    isolation: isolate;
}

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: -0.35rem;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid rgba(37, 211, 102, 0.42);
    animation: soft-pulse 2.6s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.50);
}

/* === 27. FLASH MESSAGES ========================================= */
.flash {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.flash-success {
    background: rgba(48, 197, 118, 0.10);
    border: 1.5px solid rgba(48, 197, 118, 0.28);
    color: #1a6b40;
}

.flash-error {
    background: rgba(220, 53, 69, 0.08);
    border: 1.5px solid rgba(220, 53, 69, 0.25);
    color: #a0142a;
}

/* === 28. EFECTOS Y ANIMACIONES =================================== */
@keyframes hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes hero-light-sweep {
    0% { transform: translateX(-8%); opacity: 0.30; }
    50% { transform: translateX(8%); opacity: 0.48; }
    100% { transform: translateX(-8%); opacity: 0.30; }
}

@keyframes progress-shine {
    0% { transform: translateX(-110%); }
    55%, 100% { transform: translateX(110%); }
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes soft-pulse {
    0%, 100% {
        opacity: 0.78;
        transform: scale(1);
    }
    50% {
        opacity: 0.18;
        transform: scale(1.16);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.65s ease var(--reveal-delay, 0ms),
        transform 0.65s var(--ease-out) var(--reveal-delay, 0ms),
        filter 0.65s ease var(--reveal-delay, 0ms);
    filter: blur(8px);
    will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

[data-reveal="left"] {
    transform: translateX(-24px);
}

[data-reveal="right"] {
    transform: translateX(24px);
}

[data-reveal="zoom"] {
    transform: scale(0.96);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="zoom"].is-visible {
    transform: none;
}

/* === 29. RESPONSIVE ============================================= */

/* --- 1280px ------------------------------------------------------- */
@media (max-width: 1280px) {
    .process-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .specialties-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* --- 1100px: hero apilado --------------------------------------- */
@media (max-width: 1100px) {
    .hero-slide-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 22rem;
    }

    .hero-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-stage {
        min-height: 50rem;
    }

    .executive-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stats-bar-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- 900px: tablet --------------------------------------------- */
@media (max-width: 900px) {
    .svc-others-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svc-cta-card {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .svc-cta-actions {
        flex-direction: row;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img-wrap {
        min-height: 22rem;
    }

    .testimonial-featured {
        grid-template-columns: 1fr;
    }

    .testimonial-photo-wrap,
    .testimonial-content {
        min-height: 0;
        height: auto;
    }

    .testimonial-photo {
        min-height: 20rem;
        height: auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-track .blog-card {
        flex: 0 0 calc(50% - 0.6rem);
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .utility-inner {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        padding: 0.5rem 0;
        font-size: 0.74rem;
    }

    /* Nav móvil */
    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-lg);
        padding: 0.75rem;
        z-index: 50;
        background: var(--white);
        border: 1.5px solid var(--border);
        box-shadow: var(--shadow-lg);
        width: min(var(--container), 100% - (var(--gutter) * 2));
        margin-inline: auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.9rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 0.94rem;
        color: var(--heading);
    }

    .site-nav a:hover {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-stage {
        min-height: 54rem;
    }

    .hero-slider-footer {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .hero-slider-status {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: auto;
    }

    .hero-slider-status strong {
        margin-top: 0;
    }

    .hero-slider-controls {
        justify-content: space-between;
    }

    .hero-brief {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .specialties-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .stats-bar-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .stats-bar-item:last-child,
    .stats-bar-item:nth-last-child(2):nth-child(odd) {
        border-bottom: 0;
    }
}

/* --- 640px: utility bar oculta ---------------------------------- */
@media (max-width: 640px) {
    .utility-bar {
        display: none;
    }
}

/* --- 600px: móvil ----------------------------------------------- */
@media (max-width: 600px) {
    :root {
        --radius-xl: 16px;
        --radius-lg: 14px;
        --radius-md: 10px;
    }

    h2 {
        max-width: none;
        letter-spacing: 0;
    }

    .hero-copy,
    .hero-panel,
    .info-card,
    .values-panel,
    .team-panel,
    .service-card,
    .specialties-panel,
    .contact-panel,
    .form-panel,
    .article-hero,
    .article-body,
    .executive-card {
        padding: 1.1rem;
    }

    .hero-panel {
        display: none;
    }

    .hero-brief {
        display: none;
    }

    .hero-stage {
        min-height: 22rem;
    }

    .hero-actions {
        gap: 0.6rem;
        margin: 1.2rem 0 1rem;
    }

    .hero-actions .primary-button,
    .hero-actions .ghost-button {
        padding: 0.75rem 1.1rem;
        font-size: 0.85rem;
    }

    .hero-brief {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .process-band,
    .executive-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-purpose-grid {
        grid-template-columns: 1fr;
    }

    .blog-track .blog-card {
        flex: 0 0 100%;
    }

    .blog-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .blog-nav-arrows {
        padding-bottom: 0;
    }

    .process-band {
        display: none;
    }

    .service-card-body {
        padding: 1rem 1.05rem 1.1rem;
        gap: 0.55rem;
    }

    .service-card-body h3 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .service-card-desc {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .service-card-bullets {
        display: none;
    }

    .service-card-actions {
        gap: 0.5rem;
        padding-top: 0.6rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-btn,
    .service-wa-btn {
        width: 100%;
        justify-content: center;
        padding: 0.68rem 0.7rem;
        font-size: 0.84rem;
        min-height: 2.65rem;
    }

    .service-card-img {
        height: 12.5rem;
    }

    .project-media {
        min-height: 12rem;
    }

    .project-body {
        padding: 1.1rem;
    }

    .project-body h3 {
        font-size: 1rem;
        margin-bottom: 0.45rem;
    }

    .project-body p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-img-wrap {
        min-height: 18rem;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .reclamacion-info-grid,
    .recla-2col {
        grid-template-columns: 1fr;
    }

    .specialties-panel {
        overflow: hidden;
    }

    .specialties-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        max-height: 460px;
        overflow-y: auto;
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }

    .specialties-list::-webkit-scrollbar {
        width: 4px;
    }

    .specialties-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .specialties-list::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 999px;
    }

    .specialty-item {
        padding: 0.65rem 0.75rem;
    }

    .specialty-item summary {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .specialty-item p {
        font-size: 0.76rem;
        line-height: 1.45;
        margin-top: 0.4rem;
    }

    .svc-center-btn {
        display: none;
    }

    .service-card {
        opacity: 1;
    }

    .svc-others-grid {
        grid-template-columns: 1fr;
    }

    .svc-page-hero {
        min-height: 22rem;
    }

    .svc-page-hero-content {
        padding: 2rem 0;
        gap: 0.75rem;
    }

    .svc-cta-actions {
        flex-direction: column;
    }

    .svc-cta-actions .primary-button,
    .svc-cta-actions .ghost-button {
        text-align: center;
        justify-content: center;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    h2 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.1;
    }

    .section-heading p {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-top: 0.6rem;
    }

    .blog-card-img {
        height: 10rem;
    }

    .blog-card-body {
        padding: 1rem;
        gap: 0.5rem;
    }

    .blog-card-body h3 {
        font-size: 0.88rem;
    }

    .blog-card-body p {
        font-size: 0.82rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-body a {
        font-size: 0.82rem;
    }

    .map-frame iframe {
        min-height: 14rem;
    }

    .contact-panel,
    .form-panel {
        min-height: auto;
    }

    .process-step {
        padding: 1rem;
    }

    .executive-card p {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .hero-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar-item {
        padding: 1.2rem 1rem;
    }

    .cta-banner h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-md);
        overflow: visible;
        background: transparent;
        box-shadow: none;
        border: 0;
        gap: 0.75rem;
    }

    .newsletter-form input[type="email"] {
        border: 1.5px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--white);
        padding: 0.9rem 1rem;
    }

    .newsletter-btn {
        border-radius: var(--radius-md);
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }

    .testimonial-quote::before {
        font-size: 3.5rem;
    }
}

/* --- 440px: ajustes finos --------------------------------------- */
@media (max-width: 440px) {
    .brand-logo {
        height: 3.7rem;
        max-width: 9.5rem;
    }

    .brand span {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-tags span {
        font-size: 0.76rem;
        padding: 0.52rem 0.72rem;
    }

    .hero-brief-card {
        padding: 0.7rem 0.8rem;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp {
        padding: 0.9rem;
        border-radius: 50%;
        width: 3.2rem;
        height: 3.2rem;
        justify-content: center;
    }

    .floating-whatsapp svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-bar-inner {
        grid-template-columns: 1fr;
    }

    .stats-bar-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .stats-bar-item:last-child {
        border-bottom: 0;
    }
}

/* --- 360px: pantallas muy pequeñas ----------------------------- */
@media (max-width: 360px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        text-align: center;
        justify-content: center;
    }
}

/* === 30. ACCESIBILIDAD ========================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
