﻿/* ==========================================================================
   GRUPO QUATTRO — style.css
   Rework basado en Brand Guidelines 2026
   ========================================================================== */

/* ==========================================================================
   01. TOKENS — BRAND BOOK 2026
   ========================================================================== */

:root {

    /* Colores primarios oficiales */
    --red: #ff1727;
    --black-night: #1c1919;
    --anti-flash-white: #f0f0f0;

    /* Colores secundarios / acento oficiales */
    --white: #ffffff;
    --dark-gray: #5c5c5c;
    --midnight: #132436;
    --royal: #00139e;

    /* Derivados funcionales */
    --black: var(--black-night);
    --gray-900: #2b2828;
    --gray-700: var(--dark-gray);
    --gray-500: #8a8a8a;
    --gray-300: #d3d3d3;
    --gray-200: #e2e2e2;
    --gray-100: var(--anti-flash-white);

    /* Layout */
    --container: 1200px;
    --header-height: 82px;

    /* UI */
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --transition: 0.3s ease;

    /* Sombras */
    --shadow-sm: 0 8px 24px rgba(28, 25, 25, 0.06);
    --shadow-md: 0 18px 50px rgba(28, 25, 25, 0.10);
    --shadow-lg: 0 30px 80px rgba(28, 25, 25, 0.16);
}


/* ==========================================================================
   02. RESET / BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--black-night);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

::selection {
    background: var(--red);
    color: var(--white);
}

.section-container,
.header-container,
.footer-container,
.stats-container,
.hero-container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}


/* ==========================================================================
   03. TYPOGRAPHY
   Brand Book:
   - Primary: New Science
   - Secondary: Inter
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.btn,
.section-eyebrow,
.hero-eyebrow,
.content-label,
.stat-number,
.solution-number,
.contact-country {
    font-family: "New Science", "Inter", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black-night);
    font-weight: 700;
}

p {
    margin: 0;
}


/* ==========================================================================
   04. HEADER
   Fondo claro + logo oficial + navegación limpia
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid rgba(28, 25, 25, 0.08);

    box-shadow: 0 4px 24px rgba(28, 25, 25, 0.05);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.99);

    border-bottom-color: rgba(28, 25, 25, 0.10);

    box-shadow: 0 8px 30px rgba(28, 25, 25, 0.08);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
    height: 100%;
}

.site-logo img {
    display: block;

    width: 128px;
    max-height: 50px;

    height: auto;

    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 32px;
    margin-left: auto;
}

.nav-link {
    position: relative;

    color: var(--black-night);

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.01em;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);

    text-shadow:
        0 0 5px rgba(255, 23, 39, 0.35),
        0 0 12px rgba(255, 23, 39, 0.18);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--red);

    box-shadow:
        0 0 5px rgba(255, 23, 39, 0.55),
        0 0 12px rgba(255, 23, 39, 0.25);

    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    color: var(--black-night);

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: currentColor;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* ==========================================================================
   05. HERO
   Lenguaje visual del Brand Book:
   Black Night + Red + gradiente rojo/negro
   ========================================================================== */

.hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--black-night);

    color: var(--white);
}


/* --------------------------------------------------------------------------
   FONDO DEL HERO
   -------------------------------------------------------------------------- */

.hero-background {
    position: absolute;
    inset: 0;
    isolation: isolate;
    background: #0c0304;
    transform: none;
    animation: none;
}

.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(90deg, rgba(15, 4, 6, .2), rgba(20, 5, 7, .1) 58%, rgba(15, 4, 6, .14)),
        linear-gradient(0deg, rgba(12, 3, 4, .12), transparent 42%, rgba(12, 3, 4, .05));
}

.hero-background-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}


/* --------------------------------------------------------------------------
   GLOW ROJO
   -------------------------------------------------------------------------- */

.hero-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    right: 1%;
    top: 18%;

    border-radius: 50%;

    background: rgba(255, 23, 39, 0.18);

    filter: blur(95px);

    animation:
        heroGlowPulse 6s ease-in-out infinite;
}


/* --------------------------------------------------------------------------
   GRID FUTURISTA
   -------------------------------------------------------------------------- */

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.10;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.16) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.16) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 25%,
            black 78%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent,
            black 25%,
            black 78%,
            transparent
        );

    animation:
        heroGridMove 20s linear infinite;
}


/* --------------------------------------------------------------------------
   HERO CONTAINER
   -------------------------------------------------------------------------- */

.hero-container {
    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;

    min-height: 760px;

    padding-top: var(--header-height);
}

.hero-content {
    max-width: 680px;
}

.hero-eyebrow,
.section-eyebrow,
.content-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--red);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;

    line-height: 1.2;

    text-transform: uppercase;
}

.hero-eyebrow {
    color: var(--white);
    opacity: 0.84;
}

.hero-title {
    margin: 0;

    color: var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: clamp(72px, 10vw, 150px);

    font-weight: 700;

    line-height: 0.86;

    letter-spacing: -0.055em;
}

.hero-logo {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-logo img {
    width: 970px;
    max-width:  118%;
    height: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(255, 23, 39, 0.18));
}

.hero-description {
    max-width: 560px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.80);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 19px;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;
}


/* --------------------------------------------------------------------------
   BOTONES
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 23px;

    border: 1px solid transparent;

    border-radius: 999px;

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn-primary {
    background: var(--red);

    color: var(--white);

    box-shadow:
        0 10px 30px rgba(255, 23, 39, 0.24);
}

.btn-primary:hover {
    background: var(--white);

    color: var(--black-night);

    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(255, 255, 255, 0.12);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.34);

    color: var(--white);

    background: rgba(28, 25, 25, 0.16);
}

.btn-secondary:hover {
    border-color: var(--red);

    background: var(--red);

    color: var(--white);

    box-shadow:
        0 10px 30px rgba(255, 23, 39, 0.20);

    transform: translateY(-2px);
}


/* ==========================================================================
   HERO — ANDROIDE DE FONDO
   ========================================================================== */

.hero-visual {
    position: absolute;

    top: 0;
    right: -100px;

    width: 50%;
    height: 115%;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    z-index: 1;

    pointer-events: none;
}

.hero-android {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: right center;

    filter:
        drop-shadow(
            0 0 35px rgba(227, 6, 19, 0.35)
        );

    opacity: 0.95;
}


/* ==========================================================================
   ELEMENTOS VISUALES ADICIONALES
   ========================================================================== */

@keyframes androidFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.orbit-one {
    width: 360px;
    height: 160px;
}

.orbit-two {
    width: 440px;
    height: 190px;

    transform: rotate(35deg);
}

.orbit-three {
    width: 270px;
    height: 440px;

    transform: rotate(70deg);
}

.hero-core span {
    color: var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 100px;
    font-weight: 700;

    line-height: 1;
}


/* ==========================================================================
   HERO — SCROLL
   ========================================================================== */

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 28px;

    z-index: 3;

    display: flex;

    flex-direction: column;
    align-items: center;

    gap: 8px;

        transform: translate(-50%, -50%);

    color: rgba(255, 255, 255, 0.58);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-scroll i {
    width: 1px;
    height: 38px;

    background: var(--red);

    box-shadow:
        0 0 10px rgba(255, 23, 39, 0.50);
}


/* ==========================================================================
   ANIMACIONES — FONDO HERO
   ========================================================================== */

@keyframes heroBackgroundMove {

    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.04);
    }
}

@keyframes heroGlowPulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(1.08);
    }
}

@keyframes heroGridMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(40px, 40px);
    }
}


/* ==========================================================================
   06. ESTADÍSTICAS
   Base Anti-Flash White / White
   ========================================================================== */

.stats-section {
    position: relative;

    background: var(--white);

    border-bottom:
        1px solid var(--gray-200);
}

.stats-container {
    min-height: 180px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    align-items: center;
}

.stat-item {
    position: relative;
    padding: 30px 25px;
    text-align: center;

    /* Animación de entrada */
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.stat-item.stat-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item + .stat-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 1px;
    height: 55px;

    background: var(--gray-300);

    transform: translateY(-50%);
}

.stat-icon {
    width: 32px;
    height: 32px;

    margin: 0 auto 10px;
}

.stat-icon svg {
    width: 100%;
    height: 100%;

    fill: var(--red);
}

.stat-number {
    color: var(--black-night);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 38px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -1px;
}

.stat-label {
    margin-top: 8px;

    color: var(--dark-gray);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 600;
}


/* ==========================================================================
   07. TÍTULOS DE SECCIÓN
   ========================================================================== */

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.section-title {
    color: var(--black-night);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: clamp(38px, 5vw, 62px);

    font-weight: 700;

    line-height: 1.02;

    letter-spacing: -0.04em;
}

.section-title span {
    color: var(--red);
}

.section-description {
    max-width: 650px;

    margin-top: 20px;

    color: var(--dark-gray);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 16px;
}


/* ==========================================================================
   08. SOBRE NOSOTROS + ISO
   Fondo oficial Anti-Flash White
   ========================================================================== */

.about-iso-section {
    padding: 120px 0;

    background: var(--anti-flash-white);
}

.about-iso-layout {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 28px;
}

.about-block,
.iso-block {
    background: var(--white);

    border:
        1px solid var(--gray-200);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.about-block {
    padding: 55px;
}

.about-content h3,
.iso-content h3 {
    margin-bottom: 25px;

    color: var(--black-night);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 32px;

    font-weight: 700;

    line-height: 1.1;
}

.about-content p,
.iso-content p {
    margin-bottom: 17px;

    color: var(--dark-gray);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 15px;
}

.about-content p:last-child,
.iso-content p:last-child {
    margin-bottom: 0;
}

.iso-block {
    position: relative;

    display: flex;

    flex-direction: column;

    overflow: hidden;
}

.iso-visual {
    position: relative;

    min-height: 290px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--red) 0%,
            #8d1119 24%,
            var(--black-night) 72%,
            var(--black-night) 100%
        );
}

.iso-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.10;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.20) 1px,
            transparent 1px
        );

    background-size: 50px 50px;
}

.iso-glow {
    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        rgba(255, 23, 39, 0.28);

    filter: blur(60px);
}

.iso-visual img {
    position: relative;

    z-index: 2;

    width: 190px;

    max-height: 190px;

    object-fit: contain;
}

.iso-content {
    padding: 38px;
}


/* ==========================================================================
   09. SOLUCIONES
   Fondo rojo / tarjetas Liquid Glass
   ========================================================================== */

.solutions-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 23, 39, 0.35),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(255, 23, 39, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #180608 0%,
            #35090d 45%,
            #120507 100%
        );
}


/* --------------------------------------------------------------------------
   EFECTOS DE LUZ DEL FONDO
   -------------------------------------------------------------------------- */

.solutions-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -180px;
    left: -180px;

    border-radius: 50%;

    background:
        rgba(255, 23, 39, 0.22);

    filter:
        blur(100px);

    pointer-events: none;
}


.solutions-section::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -160px;
    bottom: -180px;

    border-radius: 50%;

    background:
        rgba(255, 23, 39, 0.18);

    filter:
        blur(100px);

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   CONTENEDOR
   -------------------------------------------------------------------------- */

.solutions-section .section-container {
    position: relative;
    z-index: 2;
}


/* --------------------------------------------------------------------------
   ENCABEZADO
   -------------------------------------------------------------------------- */

.solutions-section .section-eyebrow {
    color:
        rgba(255, 255, 255, 0.65);
}


.solutions-section .section-title {
    color:
        var(--white);
}


.solutions-section .section-title span {
    color:
        var(--red);
}


.solutions-section .section-description {
    color:
        rgba(255, 255, 255, 0.70);
}


/* --------------------------------------------------------------------------
   GRID
   -------------------------------------------------------------------------- */

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* --------------------------------------------------------------------------
   TARJETAS
   -------------------------------------------------------------------------- */

.solution-card {
    position: relative;

    min-height: 340px;

    padding: 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 24px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.20);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}


/* --------------------------------------------------------------------------
   BRILLO SUPERIOR
   -------------------------------------------------------------------------- */

.solution-card::after {
    content: "";

    position: absolute;

    top: -120px;
    left: -80px;

    width: 280px;
    height: 180px;

    background:
        radial-gradient(
            ellipse,
            rgba(255, 255, 255, 0.16),
            transparent 70%
        );

    transform:
        rotate(-20deg);

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   LÍNEA ROJA LATERAL
   -------------------------------------------------------------------------- */

.solution-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background:
        var(--red);

    box-shadow:
        0 0 12px rgba(255, 23, 39, 0.8),
        0 0 28px rgba(255, 23, 39, 0.45);

    transition:
        height 0.4s ease;
}


/* --------------------------------------------------------------------------
   HOVER
   -------------------------------------------------------------------------- */

.solution-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(255, 255, 255, 0.35);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.17),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 0 30px rgba(255, 23, 39, 0.12);
}


.solution-card:hover::before {
    height: 100%;
}


/* --------------------------------------------------------------------------
   NÚMERO
   -------------------------------------------------------------------------- */

.solution-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color:
        rgba(255, 255, 255, 0.38);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* --------------------------------------------------------------------------
   CONTENEDOR DEL ÍCONO
   -------------------------------------------------------------------------- */

.solution-icon {
    position: relative;

    width: 46px;
    height: 46px;

    margin-bottom: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 23, 39, 0.10);

    border:
        1px solid rgba(255, 23, 39, 0.22);

    box-shadow:
        0 0 20px rgba(255, 23, 39, 0.08);

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}


/* --------------------------------------------------------------------------
   IMÁGENES DE LOS ÍCONOS
   -------------------------------------------------------------------------- */

.solution-icon img {
    width: 25px;
    height: 25px;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 0 7px
            rgba(255, 23, 39, 0.45)
        );

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


/* --------------------------------------------------------------------------
   HOVER DEL ÍCONO
   -------------------------------------------------------------------------- */

.solution-card:hover .solution-icon {
    background:
        rgba(255, 23, 39, 0.16);

    border-color:
        rgba(255, 23, 39, 0.40);

    box-shadow:
        0 0 24px rgba(255, 23, 39, 0.16);

    transform:
        translateY(-2px);
}


.solution-card:hover .solution-icon img {
    transform:
        scale(1.08);

    filter:
        drop-shadow(
            0 0 10px
            rgba(255, 23, 39, 0.70)
        );
}


/* --------------------------------------------------------------------------
   TÍTULO
   -------------------------------------------------------------------------- */

.solution-card h3 {
    position: relative;

    margin-bottom: 14px;

    color:
        var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 22px;
    font-weight: 700;
}


/* --------------------------------------------------------------------------
   DESCRIPCIÓN
   -------------------------------------------------------------------------- */

.solution-card p {
    position: relative;

    color:
        rgba(255, 255, 255, 0.68);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

    .solutions-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .solutions-section {
        padding: 90px 0;
    }

    .solutions-grid {
        grid-template-columns:
            1fr;
    }

    .solution-card {
        min-height: auto;
        padding: 32px;
    }

}

/* --------------------------------------------------------------------------
   LUCES AMBIENTALES
   -------------------------------------------------------------------------- */

.solutions-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -180px;
    left: -180px;

    border-radius: 50%;

    background: rgba(255, 23, 39, 0.22);

    filter: blur(100px);

    pointer-events: none;
}

.solutions-section::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -160px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(255, 23, 39, 0.18);

    filter: blur(100px);

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   CONTENIDO
   -------------------------------------------------------------------------- */

.solutions-section .section-container {
    position: relative;

    z-index: 2;
}


/* --------------------------------------------------------------------------
   ENCABEZADO
   -------------------------------------------------------------------------- */

.solutions-section .section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.solutions-section .section-title {
    color: var(--white);
}

.solutions-section .section-title span {
    color: var(--red);
}

.solutions-section .section-description {
    color: rgba(255, 255, 255, 0.70);
}


/* --------------------------------------------------------------------------
   GRID
   -------------------------------------------------------------------------- */

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* --------------------------------------------------------------------------
   TARJETAS — LIQUID GLASS
   -------------------------------------------------------------------------- */

.solution-card {
    position: relative;

    min-height: 340px;

    padding: 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 24px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.20);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}


/* --------------------------------------------------------------------------
   REFLEJO SUPERIOR DEL VIDRIO
   -------------------------------------------------------------------------- */

.solution-card::after {
    content: "";

    position: absolute;

    top: -120px;
    left: -80px;

    width: 280px;
    height: 180px;

    background:
        radial-gradient(
            ellipse,
            rgba(255, 255, 255, 0.16),
            transparent 70%
        );

    transform: rotate(-20deg);

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   LÍNEA ROJA DE ILUMINACIÓN
   -------------------------------------------------------------------------- */

.solution-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: var(--red);

    box-shadow:
        0 0 12px rgba(255, 23, 39, 0.8),
        0 0 28px rgba(255, 23, 39, 0.45);

    transition:
        height 0.4s ease;
}


/* --------------------------------------------------------------------------
   HOVER
   -------------------------------------------------------------------------- */

.solution-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(255, 255, 255, 0.35);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.17),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 0 30px rgba(255, 23, 39, 0.12);
}

.solution-card:hover::before {
    height: 100%;
}


/* --------------------------------------------------------------------------
   NÚMERO
   -------------------------------------------------------------------------- */

.solution-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color:
        rgba(255, 255, 255, 0.38);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* --------------------------------------------------------------------------
   ICONO
   -------------------------------------------------------------------------- */

.solution-icon {

    position: relative;

    width: 46px;
    height: 46px;

    margin-bottom: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 23, 39, 0.10);

    border:
        1px solid rgba(255, 23, 38, 0.489);

    box-shadow:
        0 0 20px rgba(255, 23, 39, 0.08);

    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}


/* --------------------------------------------------------------------------
   IMAGEN DEL ICONO
   -------------------------------------------------------------------------- */

.solution-icon img {

    width: 25px;
    height: 25px;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 0 7px
            rgba(255, 23, 39, 0.45)
        );

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


/* --------------------------------------------------------------------------
   HOVER DEL ICONO
   -------------------------------------------------------------------------- */

.solution-card:hover .solution-icon {

    background:
        rgb(255, 23, 38);

    border-color:
        rgba(255, 23, 39, 0.40);

    box-shadow:
        0 0 24px rgba(255, 23, 39, 0.16);

    transform:
        translateY(-2px);
}


.solution-card:hover .solution-icon img {

    transform:
        scale(1.08);

    filter:
        drop-shadow(
            0 0 10px
            rgba(255, 23, 39, 0.70)
        );
}


/* --------------------------------------------------------------------------
   TÍTULO
   -------------------------------------------------------------------------- */

.solution-card h3 {
    position: relative;

    margin-bottom: 14px;

    color: var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 22px;

    font-weight: 700;
}


/* --------------------------------------------------------------------------
   DESCRIPCIÓN
   -------------------------------------------------------------------------- */

.solution-card p {
    position: relative;

    color:
        rgba(255, 255, 255, 0.68);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 14px;

    line-height: 1.7;
}

/* ==========================================================================
   10. MISSION CONTROL
   Black Night + Red
   ========================================================================== */

.mission-section {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: var(--black-night);

    color: var(--white);
}

.mission-background {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(255, 23, 39, 0.22) 0%,
            rgba(255, 23, 39, 0.08) 24%,
            transparent 42%
        ),
        linear-gradient(
            115deg,
            var(--black-night) 0%,
            var(--black-night) 62%,
            #3c1116 100%
        );
}

.mission-background::after {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.07;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px
        );

    background-size: 55px 55px;
}

.mission-layout {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    align-items: center;

    gap: 80px;
}

.mission-content {
    max-width: 700px;
}

.mission-content .section-eyebrow {
    color: var(--red);
}

.mission-content .section-title {
    margin-bottom: 25px;

    color: var(--white);
}

.mission-content .section-description,
.mission-content > p {
    color: rgba(255, 255, 255, 0.72);
}

.mission-content > p {
    max-width: 650px;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 16px;
}

.mission-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}

.mission-circle {
    width: 260px;
    height: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 23, 39, 0.62);

    border-radius: 50%;

    background:
        rgba(28, 25, 25, 0.30);

    box-shadow:
        0 0 60px rgba(255, 23, 39, 0.16),
        inset 0 0 50px rgba(255, 23, 39, 0.08);
}

.mission-circle span {
    color: var(--red);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 70px;

    font-weight: 700;

    line-height: 0.8;
}

.mission-circle small {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.66);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 16px;
}


/* ==========================================================================
   11. CONTACTO
   Fondo Anti-Flash White
   ========================================================================== */

.contact-section {
    padding: 120px 0;

    background: var(--anti-flash-white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}

.contact-card {
    padding: 45px;

    background: var(--white);

    border:
        1px solid var(--gray-200);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.contact-country {
    display: inline-block;

    margin-bottom: 30px;

    padding-bottom: 12px;

    border-bottom:
        2px solid var(--red);

    color: var(--black-night);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.contact-info {
    display: grid;

    gap: 24px;
}

.contact-info strong {
    display: block;

    margin-bottom: 5px;

    color: var(--black-night);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.contact-info p {
    color: var(--dark-gray);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================================================
   12. FOOTER
   Black Night + logo oficial para fondo oscuro
   ========================================================================== */

.site-footer {
    background: var(--black-night);

    color: var(--white);
}

.footer-container {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr 0.8fr 1.3fr;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-logo img {
    width: 160px;

    height: auto;
}


.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.footer-social-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 8px rgba(255,23,39,.75), 0 0 18px rgba(255,23,39,.45);
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h4 {
    margin-bottom: 10px;

    color: var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.60);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 13px;

    transition:
        color var(--transition),
        text-shadow var(--transition);
}

.footer-column a:hover {
    color: var(--red);

    text-shadow:
        0 0 10px rgba(255, 23, 39, 0.25);
}

.footer-contact strong {
    margin-top: 4px;

    color: var(--white);

    font-family:
        "New Science",
        "Inter",
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-contact p {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.60);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.7;
}

.footer-bottom {
    padding: 22px 24px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.42);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 11px;
}


/* ==========================================================================
   13. RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1050px) {

    .main-nav {
        gap: 20px;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-title {
        font-size:
            clamp(60px, 8vw, 100px);
    }

    .hero-logo img {
        width: 320px;
        max-width: 75%;
    }

    .solutions-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns:
            1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }
}


/* ==========================================================================
   14. RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 820px) {

    :root {
        --header-height: 72px;
    }

    .section-container,
    .header-container,
    .stats-container,
    .hero-container,
    .footer-container {
        width:
            min(100% - 34px, var(--container));
    }

    .main-nav {
        position: fixed;

        top: var(--header-height);
        left: 0;

        width: 100%;

        height:
            calc(100vh - var(--header-height));

        padding: 35px 24px;

        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-start;

        gap: 25px;

        overflow-y: auto;

        background: var(--white);

        border-top:
            1px solid var(--gray-200);

        transform:
            translateX(100%);

        transition:
            transform var(--transition);
    }

    .main-nav.open,
    .main-nav.active {
        transform:
            translateX(0);
    }

    .nav-link {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 720px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        min-height: 720px;

        padding-top: 100px;

        text-align: center;
    }

    .hero-content {
        margin-inline: auto;
    }

    .hero-logo {
        justify-content: center;
    }

    .hero-logo img {
        width: 290px;
        max-width: 82%;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .stats-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .about-iso-layout,
    .mission-layout {
        grid-template-columns: 1fr;
    }

    .mission-visual {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }
}


/* ==========================================================================
   15. RESPONSIVE — SMALL MOBILE
   ========================================================================== */

@media (max-width: 600px) {

    .section-heading {
        margin-bottom: 38px;
    }

    .hero-title {
        font-size:
            clamp(54px, 17vw, 78px);

        letter-spacing:
            -0.05em;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-container {
        grid-template-columns:
            1fr 1fr;
    }

    .stat-item {
        padding: 25px 10px;
    }

    .stat-number {
        font-size: 30px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-item:nth-child(2)::before,
    .stat-item:nth-child(4)::before {
        display: none;
    }

    .about-block,
    .iso-content,
    .contact-card {
        padding: 30px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
    }

    .mission-section,
    .solutions-section,
    .about-iso-section,
    .contact-section {
        padding: 80px 0;
    }

    .mission-circle {
        width: 220px;
        height: 220px;
    }

    .mission-circle span {
        font-size: 58px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }
}


/* ==========================================================================
   16. EXTRA SMALL
   ========================================================================== */

@media (max-width: 420px) {

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item + .stat-item::before {
        display: none;
    }

    .hero-title {
        font-size: 43px;
    }

    .hero-logo img {
        width: 250px;
        max-width: 85%;
    }

    .section-title {
        font-size: 35px;
    }

    .site-logo img {
        width: 118px;
    }
}


/* ==========================================================================
   17. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .stat-item {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   GRUPO QUATTRO — CONTACTO
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */

:root {
    --red: #ff1727;
    --black-night: #1c1919;
    --anti-flash-white: #f0f0f0;
    --white: #ffffff;
    --dark-gray: #5c5c5c;
    --midnight: #132436;
    --royal: #00139e;

    --gray-900: #2b2828;
    --gray-700: #5c5c5c;
    --gray-500: #8a8a8a;
    --gray-300: #d3d3d3;
    --gray-200: #e2e2e2;
    --gray-100: #f0f0f0;

    --container: 1200px;
    --header-height: 82px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition: .3s ease;
}


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--white);
    color: var(--black-night);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}


/* =========================
   CONTENEDOR
   ========================= */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);

    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(28, 25, 25, .08);

    z-index: 1000;
}

.header-container {
    width: min(100% - 40px, var(--container));
    height: 100%;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    width: 128px;
    display: flex;
    align-items: center;
}

.site-logo img {
    width: 100%;
    max-height: 50px;
    object-fit: contain;
}


/* =========================
   NAVEGACIÓN
   ========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;

    font-size: .9rem;
    font-weight: 500;

    color: var(--black-night);

    padding: 8px 0;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================
   MENÚ MÓVIL
   ========================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 23px;
    height: 2px;
    background: var(--black-night);

    transition: var(--transition);
}


/* =========================
   HERO CONTACTO
   ========================= */

.contact-hero {
    position: relative;

    min-height: 430px;

    margin-top: var(--header-height);

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(255, 23, 39, .25),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            var(--black-night),
            #111 55%,
            #25070a
        );

    color: var(--white);
}

.contact-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    opacity: .35;
}

.contact-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -150px;

    border-radius: 50%;

    border: 1px solid rgba(255, 23, 39, .25);

    box-shadow:
        0 0 60px rgba(255, 23, 39, .12),
        inset 0 0 60px rgba(255, 23, 39, .08);
}

.contact-hero-content {
    position: relative;
    z-index: 2;

    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.contact-hero h1 {
    max-width: 700px;

    font-family: "New Science", "Inter", sans-serif;

    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .95;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.contact-hero h1 span {
    color: var(--red);
}

.contact-hero p {
    max-width: 620px;

    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
}


/* =========================
   TÍTULOS DE SECCIÓN
   ========================= */

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading .eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--red);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-family: "New Science", "Inter", sans-serif;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;

    text-transform: uppercase;

    margin-bottom: 18px;
}

.section-heading p {
    color: var(--dark-gray);
    max-width: 650px;
}


/* =========================
   INFORMACIÓN DE CONTACTO
   ========================= */

.contact-info {
    padding: 100px 0 70px;
    background: var(--white);
}

.contact-info-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.contact-info-card {
    position: relative;

    padding: 32px;

    background: var(--anti-flash-white);

    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.contact-info-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 0;

    background: var(--red);

    transition: height var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 23, 39, .3);

    box-shadow:
        0 15px 40px rgba(28, 25, 25, .08);
}

.contact-info-card:hover::before {
    height: 100%;
}

.contact-info-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--red);
    color: var(--white);

    font-size: 1.2rem;
}

.contact-info-card h3 {
    font-family: "New Science", "Inter", sans-serif;

    font-size: 1.15rem;

    margin-bottom: 8px;

    text-transform: uppercase;
}

.contact-info-card p {
    color: var(--dark-gray);
}

.contact-info-card a {
    color: var(--black-night);
    font-weight: 600;

    transition: color var(--transition);
}

.contact-info-card a:hover {
    color: var(--red);
}


/* =========================================================
   MAPA DE CENTROAMÉRICA
   ========================================================= */

.central-america {
    position: relative;

    padding: 110px 0;

    background: var(--anti-flash-white);

    overflow: hidden;
}

.central-america::before {
    content: "CENTROAMÉRICA";

    position: absolute;

    top: 20px;
    right: -20px;

    font-family: "New Science", "Inter", sans-serif;

    font-size: clamp(5rem, 12vw, 11rem);

    font-weight: 900;

    color: rgba(28, 25, 25, .025);

    pointer-events: none;
}


/* =========================
   ÁREA DEL MAPA
   ========================= */

.map-section {
    position: relative;

    min-height: 650px;

    display: grid;

    grid-template-columns: 1.35fr .65fr;

    gap: 50px;

    align-items: center;
}


/* =========================
   CONTENEDOR DEL MAPA
   ========================= */

.map-container {
    position: relative;
    width: 100%;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at center, rgba(255, 23, 39, .08), transparent 55%),
        var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.map-container::before {
    content: "";

    position: absolute;
    inset: 25px;

    border: 1px dashed rgba(255, 23, 39, .18);

    border-radius: var(--radius-md);

    pointer-events: none;
}

.map-container img,
.central-america-map {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
}


/* =========================
   CUADRÍCULA DEL MAPA
   ========================= */

.map-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(28,25,25,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(28,25,25,.035) 1px,
            transparent 1px
        );

    background-size: 35px 35px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );

    pointer-events: none;
}


/* =========================================================
   MARCADORES DE PAÍSES
   ========================================================= */

.country-marker {
    position: absolute;
    z-index: 10;
    width: 24px;
    height: 24px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--red);
    box-shadow:
        0 0 0 5px rgba(255, 23, 39, .18),
        0 0 20px rgba(255, 23, 39, .55);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.country-marker::before {
    content: "";

    position: absolute;

    inset: -10px;

    border: 1px solid rgba(255, 23, 39, .35);

    border-radius: 50%;

    animation: markerPulse 2s infinite;
}

.country-marker:hover,
.country-marker.active {
    transform: scale(1.35);

    box-shadow:
        0 0 0 7px rgba(255, 23, 39, .18),
        0 0 30px rgba(255, 23, 39, .8);
}

@keyframes markerPulse {
    0% {
        transform: scale(.8);
        opacity: .8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


/* =========================
   POSICIONES DE MARCADORES
   ========================= */

/* Guatemala */
.marker-guatemala {
    top: 36%;
    left: 39%;
}

/* El Salvador */
.marker-el-salvador {
    top: 43%;
    left: 45%;
}

/* Honduras */
.marker-honduras {
    top: 39%;
    left: 51%;
}

/* Nicaragua */
.marker-nicaragua {
    top: 48%;
    left: 55%;
}

/* Costa Rica */
.marker-costa-rica {
    top: 59%;
    left: 59%;
}

/* Panamá */
.marker-panama {
    top: 67%;
    left: 66%;
}


/* =========================================================
   INFORMACIÓN DE PAÍSES
   ========================================================= */

.country-info {
    position: relative;

    min-height: 440px;

    padding: 35px;

    background: var(--white);

    border-radius: var(--radius-lg);

    border: 1px solid var(--gray-200);

    box-shadow:
        0 20px 50px rgba(28,25,25,.07);
}

.country-info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: var(--red);

    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.country-info-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--red);

    font-size: .75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .14em;
}

.country-info h3 {
    font-family: "New Science", "Inter", sans-serif;

    font-size: 2rem;

    text-transform: uppercase;

    margin-bottom: 20px;
}

.country-info p {
    color: var(--dark-gray);

    margin-bottom: 25px;
}

.country-info-details {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.country-detail {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--gray-200);
}

.country-detail:last-child {
    border-bottom: 0;
}

.country-detail-icon {
    flex-shrink: 0;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255,23,39,.08);

    color: var(--red);
}

.country-detail strong {
    display: block;

    font-size: .82rem;

    margin-bottom: 2px;
}

.country-detail span,
.country-detail a {
    color: var(--dark-gray);

    font-size: .9rem;
}

.country-detail a:hover {
    color: var(--red);
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.contact-form-section {
    padding: 110px 0;

    background: var(--white);
}

.contact-form-wrapper {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: start;
}

.contact-form-intro h2 {
    font-family: "New Science", "Inter", sans-serif;

    font-size: clamp(2rem, 4vw, 3.5rem);

    line-height: 1.05;

    text-transform: uppercase;

    margin-bottom: 20px;
}

.contact-form-intro h2 span {
    color: var(--red);
}

.contact-form-intro p {
    color: var(--dark-gray);

    max-width: 430px;
}

.contact-form {
    padding: 40px;

    background: var(--anti-flash-white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: .85rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid var(--gray-300);

    border-radius: 10px;

    background: var(--white);

    color: var(--black-night);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group textarea {
    min-height: 140px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);

    box-shadow:
        0 0 0 3px rgba(255,23,39,.1);
}

.form-submit {
    width: 100%;

    padding: 15px 25px;

    border: 0;
    border-radius: 10px;

    background: var(--red);
    color: var(--white);

    font-weight: 700;

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(255,23,39,.25);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--black-night);

    color: var(--white);

    padding-top: 70px;
}

.footer-container {
    width: min(100% - 40px, var(--container));

    margin-inline: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo {
    display: inline-block;

    width: 150px;
}

.footer-logo img {
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {
    margin-bottom: 10px;

    font-family: "New Science", "Inter", sans-serif;

    font-size: .9rem;

    text-transform: uppercase;
    letter-spacing: .08em;

    color: var(--red);
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,.65);

    font-size: .9rem;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-contact strong {
    margin-top: 10px;

    color: var(--red);
    font-size: .85rem;
    text-transform: uppercase;
}

.footer-column a {
    transition: filter .25s ease, text-shadow .25s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    filter:
        drop-shadow(0 0 5px rgba(255, 23, 39, .72))
        drop-shadow(0 0 12px rgba(255, 23, 39, .48));
    text-shadow: 0 0 8px rgba(255, 23, 39, .62);
}

.footer-logo,
.footer-contact h4,
.footer-contact strong,
.footer-container > .footer-column:nth-of-type(2) h4,
.footer-container > .footer-column:nth-of-type(3) h4 {
    -webkit-user-select: none;
    user-select: none;
}

.footer-bottom {
    padding: 20px 40px;

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,.45);

    font-size: .78rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 20px;
    }

    .map-section {
        grid-template-columns: 1fr;
    }

    .country-info {
        min-height: auto;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {

    :root {
        --header-height: 72px;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: var(--header-height);
        left: 0;

        width: 100%;

        padding: 20px;

        background: var(--white);

        border-bottom: 1px solid var(--gray-200);

        flex-direction: column;
        align-items: flex-start;

        gap: 5px;
    }
}

    .main-nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;

        padding: 12px 5px;
    }

    .menu-toggle {
        display: flex;
    }

    .contact-hero {
        min-height: 360px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .central-america,
    .contact-form-section {
        padding: 80px 0;
    }

@media (max-width: 768px) {
    .map-container {
        min-height: 500px;
        padding: 15px;
    }

    .map-container img,
    .central-america-map {
        max-width: 650px;
    }

    .country-marker {
        width: 20px;
        height: 20px;
    }

    .map-section {
        min-height: auto;

        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


@media (max-width: 480px) {

    .container,
    .header-container,
    .contact-hero-content,
    .footer-container {
        width: min(100% - 28px, var(--container));
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .central-america::before {
        font-size: 4rem;
    }

    .map-container {
        min-height: 350px;

        border-radius: var(--radius-md);
    }

    .country-info {
        padding: 25px;

        border-radius: var(--radius-md);
    }

    .contact-form {
        border-radius: var(--radius-md);
    }

    .footer-bottom {
        padding-inline: 20px;
    }
}



/* Estadísticas sobre fondo rojo en Servicios */
.services-stats-section {
    position: relative;
    isolation: isolate;
    --stats-glow-angle: 0deg;
    animation: statsGlowOrbit 5s linear infinite;
    background:
        radial-gradient(ellipse at 16% 0%, rgba(255, 112, 120, .48), transparent 48%),
        linear-gradient(115deg, rgba(255, 23, 39, .88), rgba(168, 13, 25, .82));
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -1px 0 rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}

/* Index: rojo sólido en las métricas, conservando el borde animado */
.services-stats-section {
    background: var(--red);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.services-stats-section::before,
.services-stats-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 2px;
    pointer-events: none;
    background: conic-gradient(
        from var(--stats-glow-angle),
        transparent 0deg 270deg,
        rgba(255, 23, 39, .2) 290deg,
        rgba(255, 23, 39, .86) 318deg,
        #ff1727 332deg,
        #fff 340deg,
        #ff1727 350deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: .72;
}

.services-stats-section::after {
    inset: -5px;
    z-index: 0;
    padding: 9px;
    filter: blur(8px);
    opacity: .55;
}

.services-stats-section .stats-container {
    position: relative;
    z-index: 2;
}

.services-stats-section:hover {
    animation-duration: 3.8s;
}

.services-stats-section:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 6px #ff1727) drop-shadow(0 0 13px rgba(255, 23, 39, 1));
}

.services-stats-section:hover::after {
    opacity: .95;
    filter: blur(11px);
}

@property --stats-glow-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

@keyframes statsGlowOrbit {
    from { --stats-glow-angle: 0deg; }
    to { --stats-glow-angle: 360deg; }
}

.services-stats-section .stat-icon svg {
    fill: var(--white);
}

.services-stats-section .stat-number,
.services-stats-section .stat-label {
    color: var(--white);
}

.services-stats-section .stat-item + .stat-item::before {
    background: rgba(255, 255, 255, .38);
}


/* Marcas aliadas en Servicios */
.services-partners-section {
    padding: 100px 0;
    background: var(--anti-flash-white);
}

.services-partners-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.services-partners-heading h2 {
    margin: 10px 0 14px;
    font-family: "New Science", "Inter", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.services-partners-heading h2 span {
    color: var(--red);
}

.services-partners-heading p {
    color: var(--dark-gray);
}

.services-partners-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.services-partner-logo {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: #202124;
    font-family: Arial, sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.04em;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.services-partner-fortinet {
    color: #ee3124;
    letter-spacing: -.06em;
}

.services-partner-vmware {
    color: #232a35;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
}

.services-partner-zscaler {
    color: #161616;
    font-size: clamp(1.3rem, 2.1vw, 1.9rem);
}

.services-partner-veeam {
    color: #00a1e0;
    font-style: italic;
}

@media (max-width: 900px) {
    .services-partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .services-partners-section {
        padding: 72px 0;
    }

    .services-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .services-partner-logo {
        min-height: 100px;
        padding: 16px;
    }
}

.services-partner-crowdstrike {
    color: #e21e26;
    font-size: clamp(1rem, 1.7vw, 1.45rem);
    letter-spacing: -.03em;
}

/* =====================================================================
   SERVICIOS — MARCAS ALIADAS INTERACTIVAS
===================================================================== */

.services-partners-section {
    position: relative;
    padding: 110px 0 120px;
    background: var(--anti-flash-white);
    overflow: hidden;
}


/* ---------------------------------------------------------------------
   ENCABEZADO
---------------------------------------------------------------------- */

.services-partners-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.services-partners-heading h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--black-night);
}

.services-partners-heading h2 span {
    color: var(--red);
}

.services-partners-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------------------
   GRID DE MARCAS
---------------------------------------------------------------------- */

.services-partners-interactive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto;
}


/* ---------------------------------------------------------------------
   TARJETA
---------------------------------------------------------------------- */

.services-partner-card {
    position: relative;
    min-height: 170px;
    padding: 30px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
    color: var(--black-night);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    overflow: hidden;
}


/* Número */

.partner-card-number {
    position: absolute;
    top: 18px;
    left: 20px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gray-500);

    transition: color 0.3s ease;
}


/* Línea roja superior */

.services-partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: var(--red);

    transition: width 0.35s ease;
}


/* Acción */

.partner-card-action {
    position: absolute;
    right: 20px;
    bottom: 18px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: var(--gray-500);

    opacity: 0;
    transform: translateY(5px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

.partner-card-action span {
    font-size: 1rem;
    color: var(--red);
}


/* ---------------------------------------------------------------------
   HOVER
---------------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .services-partner-card:hover {
        transform: translateY(-5px);
        border-color: var(--gray-300);

        box-shadow:
            0 14px 35px rgba(28, 25, 25, 0.08);
    }

    .services-partner-card:hover::before {
        width: 100%;
    }

    .services-partner-card:hover .partner-card-action {
        opacity: 1;
        transform: translateY(0);
    }

    .services-partner-card:hover .partner-card-number {
        color: var(--red);
    }

}


/* ---------------------------------------------------------------------
   TARJETA ACTIVA
---------------------------------------------------------------------- */

.services-partner-card.active {
    border-color: var(--red);

    box-shadow:
        0 12px 35px rgba(255, 23, 39, 0.12);
}

.services-partner-card.active::before {
    width: 100%;
}

.services-partner-card.active .partner-card-number {
    color: var(--red);
}

.services-partner-card.active .partner-card-action {
    opacity: 1;
    transform: translateY(0);
    color: var(--black-night);
}


/* ---------------------------------------------------------------------
   LOGOS — PLACEHOLDERS
---------------------------------------------------------------------- */

.services-partner-logo {
    display: block;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.services-partner-card:hover .services-partner-logo,
.services-partner-card.active .services-partner-logo {
    transform: scale(1.05);
}


/* Logos provisionales */

.services-partner-dell {
    font-size: 1.9rem;
    color: #132436;
}

.services-partner-fortinet {
    font-size: 1.65rem;
    color: #ff1727;
}

.services-partner-vmware {
    font-size: 1.75rem;
    color: #132436;
}

.services-partner-zscaler {
    font-size: 1.7rem;
    color: #1c1919;
}

.services-partner-veeam {
    font-size: 1.8rem;
    font-style: italic;
    color: #008bc7;
}

.services-partner-crowdstrike {
    font-size: 1.35rem;
    color: #e51b23;
}


/* ---------------------------------------------------------------------
   PANEL DE INFORMACIÓN
---------------------------------------------------------------------- */

.partner-detail {
    position: relative;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 35px;

    max-width: 1050px;
    min-height: 250px;

    margin: 24px auto 0;
    padding: 42px 45px;

    border-radius: 20px;

    background: var(--black-night);
    color: var(--white);

    overflow: hidden;

    animation: partnerDetailIn 0.35s ease;
}


/* Detalle rojo */

.partner-detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--red);
}


/* Grid técnico */

.partner-detail::after {
    content: "";

    position: absolute;
    right: -100px;
    bottom: -120px;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 23, 39, 0.12);

    transform: rotate(45deg);

    pointer-events: none;
}


/* Contenido */

.partner-detail-content {
    position: relative;
    z-index: 2;
}

.partner-detail-label {
    display: block;

    margin-bottom: 8px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;

    color: var(--red);
}

.partner-detail-content h3 {
    margin: 0 0 12px;

    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;

    color: var(--white);
}

.partner-detail-content p {
    max-width: 650px;
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* Tags */

.partner-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}

.partner-detail-tags span {
    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.7rem;
}


/* Indicador */

.partner-detail-indicator {
    position: relative;
    z-index: 2;

    align-self: end;

    min-width: 130px;
}

.partner-detail-indicator > span {
    display: block;

    margin-bottom: 8px;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: rgba(255, 255, 255, 0.4);
}

.partner-detail-line {
    width: 100%;
    height: 2px;

    background: var(--red);
}


/* Animación */

@keyframes partnerDetailIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ---------------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------------- */

@media (max-width: 900px) {

    .services-partners-interactive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-detail {
        grid-template-columns: 1fr;
    }

    .partner-detail-indicator {
        display: none;
    }

}


@media (max-width: 600px) {

    .services-partners-section {
        padding: 80px 0 90px;
    }

    .services-partners-heading {
        margin-bottom: 35px;
    }

    .services-partners-heading h2 {
        font-size: 2rem;
    }

    .services-partners-interactive {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .services-partner-card {
        min-height: 135px;
        padding: 20px 15px;
        border-radius: 14px;
    }

    .partner-card-number {
        top: 12px;
        left: 14px;
    }

    .partner-card-action {
        right: 14px;
        bottom: 12px;
    }

    .services-partner-dell {
        font-size: 1.5rem;
    }

    .services-partner-fortinet {
        font-size: 1.3rem;
    }

    .services-partner-vmware {
        font-size: 1.4rem;
    }

    .services-partner-zscaler {
        font-size: 1.35rem;
    }

    .services-partner-veeam {
        font-size: 1.45rem;
    }

    .services-partner-crowdstrike {
        font-size: 1rem;
    }

    .partner-detail {
        grid-template-columns: 1fr;
        gap: 15px;

        min-height: auto;

        padding: 30px 25px;
        margin-top: 15px;
    }

    .partner-detail-content h3 {
        padding-right: 0;
    }

}


/* Header transparente compartido por todas las páginas */
.site-header,
.site-header.scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header .nav-link {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.site-header .menu-toggle {
    color: #fff;
}

.site-header .menu-toggle span {
    background-color: #fff;
}

@media (max-width: 768px) {
    .site-header .main-nav {
        background: rgba(16, 16, 16, .78);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom-color: rgba(255, 255, 255, .16);
    }
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--red);
}


/* Navegación centrada y enlace activo con brillo neón */
@media (min-width: 769px) {
    .site-header .header-container {
        position: relative;
    }

    .site-header .main-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        flex: 0 0 auto;
        justify-content: center;
        gap: 40px;
        width: max-content;
        max-width: calc(100% - 150px);
        margin-left: 0;
        transform: translate(-50%, -50%);
    }
}

.site-header .nav-link.active {
    color: var(--red);
    text-shadow:
        0 0 5px rgba(255, 23, 39, .9),
        0 0 12px rgba(255, 23, 39, .8),
        0 0 24px rgba(255, 23, 39, .55);
}

.site-header .nav-link.active::after {
    box-shadow:
        0 0 6px rgba(255, 23, 39, .95),
        0 0 15px rgba(255, 23, 39, .7);
}

/* Botón flotante de regreso al inicio, compartido entre páginas */
.faq-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1100;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    box-shadow: 0 0 8px #ff1727, 0 0 18px rgba(255, 23, 39, .65);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}

.faq-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.faq-scroll-top:hover,
.faq-scroll-top:focus-visible {
    background: transparent;
    box-shadow: 0 0 8px #ff1727, 0 0 24px rgba(255, 23, 39, .9);
    outline: none;
}

@media (max-width: 600px) {
    .faq-scroll-top {
        right: 18px;
        bottom: 18px;
    }
}


/* Borde fino con un destello rojo continuo para los botones del inicio */
@property --hero-glow-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

.hero-actions > .btn {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    box-shadow: none;
    --hero-glow-angle: 0deg;
    animation: heroGlowOrbit 2.8s linear infinite;
    animation-play-state: paused;
}

.hero-actions > .btn::before,
.hero-actions > .btn::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    padding: 2.25px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(
        from var(--hero-glow-angle),
        transparent 0deg 270deg,
        rgba(255, 23, 39, .16) 290deg,
        rgba(255, 23, 39, .82) 318deg,
        #ff1727 332deg,
        #fff 340deg,
        #ff1727 350deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
}

.hero-actions > .btn::after {
    inset: -6px;
    z-index: 0;
    padding: 8px;
    filter: blur(8px);
    opacity: 0;
}

/* El botón de soluciones mantiene un destello sutil en movimiento */
.hero-actions > .btn-primary {
    animation-play-state: running;
}

.hero-actions > .btn-primary::before {
    opacity: 0.55;
    filter: drop-shadow(0 0 3px rgba(255, 23, 39, 0.65));
}

.hero-actions > .btn-primary::after {
    opacity: 0.38;
    filter: blur(7px);
}

.hero-actions > a.btn.btn-primary:hover,
.hero-actions > a.btn.btn-primary:focus-visible {
    animation-duration: 1.15s;
}

.hero-actions > a.btn.btn-primary:hover::before,
.hero-actions > a.btn.btn-primary:focus-visible::before {
    opacity: 1;
    filter: drop-shadow(0 0 7px #ff1727) drop-shadow(0 0 14px rgba(255, 23, 39, 1));
}

.hero-actions > a.btn.btn-primary:hover::after,
.hero-actions > a.btn.btn-primary:focus-visible::after {
    opacity: 1;
    filter: blur(11px);
}

.hero-actions > .btn:hover,
.hero-actions > .btn:focus-visible {
    transform: none;
    border-color: #fff;
    background: transparent;
    color: #fff;
    animation-play-state: running;
}

.hero-actions > .btn:hover::before,
.hero-actions > .btn:focus-visible::before {
    opacity: 1;
    filter: drop-shadow(0 0 5px #ff1727) drop-shadow(0 0 10px rgba(255, 23, 39, .9));
}

.hero-actions > .btn:hover::after,
.hero-actions > .btn:focus-visible::after {
    opacity: .95;
    filter: blur(9px);
}

@keyframes heroGlowOrbit {
    from { --hero-glow-angle: 0deg; }
    to { --hero-glow-angle: 360deg; }
}

/* El header conserva texto blanco; el hover y la página activa llevan brillo rojo */
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.active {
    color: #fff;
    text-shadow:
        0 0 4px rgba(255, 23, 39, .95),
        0 0 10px rgba(255, 23, 39, .85),
        0 0 20px rgba(255, 23, 39, .65),
        0 0 32px rgba(255, 23, 39, .4);
}

.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after,
.site-header .nav-link.active::after {
    background: #ff1727;
    box-shadow:
        0 0 6px rgba(255, 23, 39, .95),
        0 0 14px rgba(255, 23, 39, .75);
}

/* Header transparente arriba y burbuja líquida al desplazarse */
.site-header {
    isolation: isolate;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 10px 20px;
    z-index: -1;
    border: 1px solid transparent;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, .2), transparent 38%),
        linear-gradient(120deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 45%, rgba(255, 23, 39, .14)),
        rgba(25, 8, 14, .76);
    background-clip: padding-box;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .3),
        inset 0 -1px 0 rgba(255, 255, 255, .08),
        0 12px 35px rgba(0, 0, 0, .2),
        0 2px 12px rgba(255, 23, 39, .1);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    backdrop-filter: blur(18px) saturate(155%);
    opacity: 0;
    transform: translateY(-6px) scale(.985);
    transition: opacity .28s ease, transform .38s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}

.site-header.scrolled::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .site-header::before {
        inset: 8px 10px;
        border-radius: 28px;
    }
}


/* Logo del header ligeramente más grande */
.site-header .site-logo {
    width: 144px;
}

.site-header .site-logo img {
    width: 100%;
    max-height: 56px;
}

@media (max-width: 768px) {
    .site-header .site-logo {
        width: 132px;
    }
}

/* Barra animada de aliados en Inicio */
.allies-strip {
    padding: 32px 0 26px;
    overflow: hidden;
    background: var(--red);
    color: #fff;
}

.allies-strip-title {
    margin: 0 0 20px;
    color: #fff;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.allies-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.allies-track,
.allies-group {
    display: flex;
    width: max-content;
    align-items: center;
}

.allies-track {
    animation: alliesMarquee 30s linear infinite;
}

.allies-group {
    flex: 0 0 auto;
    gap: clamp(48px, 6vw, 94px);
    padding: 6px clamp(24px, 3vw, 48px);
}

.ally-logo {
    display: block;
    width: auto;
    max-width: 155px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.ally-logo-dell {
    width: 155px;
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
}

.ally-logo-vmware {
    max-width: 160px;
    height: 52px;
}

.ally-logo-veeam {
    max-width: 142px;
}

.ally-logo-crowdstrike {
    max-width: 170px;
}

@keyframes alliesMarquee {
    to { transform: translateX(-50%); }
}

@media (hover: hover) and (pointer: fine) {
    .allies-marquee:hover .allies-track {
        animation-play-state: paused;
    }
}

@media (max-width: 768px) {
    .allies-strip {
        padding: 26px 0 20px;
    }
    .allies-group {
        gap: 42px;
    }
    .ally-logo {
        max-width: 125px;
        height: 34px;
    }
    .ally-logo-dell {
        width: 125px;
    }
    .ally-logo-vmware {
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .allies-track {
        animation: none;
    }
    .allies-group[aria-hidden="true"] {
        display: none;
    }
    .allies-group {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Logos de aliados: sin tarjetas y con pausa e información al interactuar */
.allies-marquee:hover .allies-track {
    animation-play-state: running;
}

.allies-group {
    gap: clamp(48px, 6vw, 94px);
}

.ally-logo-button {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 68px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.ally-logo-button:hover,
.ally-logo-button:focus-visible,
.ally-logo-button[aria-pressed="true"] {
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.ally-logo-button:focus-visible {
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, .8));
}

.ally-logo-button .ally-logo {
    width: auto;
    max-width: 100%;
    height: 42px;
    object-fit: contain;
    pointer-events: none;
}

.ally-logo-button .ally-logo-dell {
    width: 155px;
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
}

.ally-logo-button .ally-logo-vmware {
    width: 160px;
    height: 52px;
}

.ally-logo-button .ally-logo-veeam {
    max-width: 142px;
}

.ally-logo-button .ally-logo-crowdstrike {
    max-width: 165px;
}

.allies-marquee:has(.ally-logo-button:hover) .allies-track,
.allies-strip.has-selection .allies-track {
    animation-play-state: paused;
}

.ally-detail[hidden] {
    display: none;
}

.ally-detail {
    position: relative;
    width: min(900px, calc(100% - 40px));
    margin: 22px auto 4px;
    padding: 24px 60px 24px 28px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: rgba(100, 0, 8, .22);
    color: #fff;
    animation: allyDetailAppear .24s ease both;
}

.ally-detail-label {
    color: rgba(255, 255, 255, .76);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.ally-detail h3 {
    margin: 5px 0 8px;
    color: #fff;
    font-size: 1.3rem;
}

.ally-detail p {
    color: #fff;
    line-height: 1.65;
}

.ally-detail-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

@keyframes allyDetailAppear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .ally-logo-button {
        width: 138px;
        height: 58px;
    }
    .ally-logo-button .ally-logo {
        max-width: 125px;
        height: 34px;
    }
    .ally-logo-button .ally-logo-vmware {
        height: 42px;
    }
    .ally-detail {
        padding: 20px 52px 20px 20px;
    }
}

/* Ajustes para que la marquesina se vea continua y sin cajas en los logos */
.allies-track {
    animation-duration: 24s;
}

.ally-logo-button,
.ally-logo-button:hover,
.ally-logo-button:focus-visible,
.ally-logo-button:active,
.ally-logo-button[aria-pressed="true"] {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.allies-marquee:hover .allies-track {
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    .allies-track {
        animation: alliesMarquee 24s linear infinite;
    }
    .allies-group[aria-hidden="true"] {
        display: flex;
    }
    .allies-group {
        width: max-content;
        flex-wrap: nowrap;
    }
}

.allies-marquee:has(.ally-logo-button:hover) .allies-track,
.allies-strip.has-selection .allies-track {
    animation-play-state: paused;
}

/* Recorta los bordes rectangulares que vienen dentro de los archivos Dell y Veeam */
.ally-logo-button .ally-logo-dell {
    clip-path: inset(2px 2px);
}

.ally-logo-button .ally-logo-veeam {
    clip-path: inset(20% 3% 18%);
}

/* Marquesina de aliados dentro de Servicios, a todo lo ancho */
.allies-strip-services {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 28px 0 34px;
    transform: translateX(-50%);
}

.services-partners-section.has-ally-selection .allies-track,
.services-partners-section:has(.ally-logo-button:hover) .allies-track {
    animation-play-state: paused;
}

/* Los nuevos archivos de logos de Dell y Veeam */
.ally-logo-button .ally-logo-dell {
    clip-path: inset(2px 2px);
}

.ally-logo-button .ally-logo-veeam {
    clip-path: none;
}

/* Asegura el logo Dell en blanco y el ciclo continuo de la marquesina */
.ally-logo-button .ally-logo-dell {
    filter: grayscale(1) invert(1) brightness(1.08) contrast(1.08) !important;
    mix-blend-mode: screen !important;
    clip-path: inset(2px 2px);
}

.allies-marquee {
    -webkit-mask-image: none;
    mask-image: none;
}

/* Logos Dell y Veeam en blanco sobre el fondo de la marquesina */
.allies-track {
    background: var(--red);
}

.ally-logo-button .ally-logo-dell {
    filter: grayscale(1) invert(1) brightness(1.08) contrast(1.08) !important;
    mix-blend-mode: screen !important;
}

.ally-logo-button .ally-logo-veeam {
    filter: none;
    mix-blend-mode: normal;
    clip-path: none;
}

.ally-logo-button:has(.ally-logo-juniper) {
    width: 210px;
}

.ally-logo-button .ally-logo-juniper {
    width: 190px;
    max-width: 100%;
    height: 54px;
    object-fit: contain;
}

/* Dell conserva el logo original negro sobre su recuadro blanco */
.ally-logo-button .ally-logo-dell {
    width: 155px;
    height: auto;
    max-height: 52px;
    filter: none !important;
    mix-blend-mode: normal !important;
    clip-path: none;
}

/* Panel de aliados con acabado Liquid Glass */
.services-partners-section .partner-detail {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(135deg, rgba(55, 12, 20, 0.88), rgba(20, 12, 16, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06),
        0 22px 55px rgba(35, 5, 12, 0.22);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
}

.services-partners-section .partner-detail::before {
    inset: 0;
    width: auto;
    height: auto;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.11), transparent 34%, transparent 72%, rgba(255, 23, 39, 0.12));
    pointer-events: none;
}

.services-partners-section .partner-detail::after {
    right: -90px;
    bottom: -190px;
    width: 380px;
    height: 300px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 23, 39, 0.18), transparent 68%);
    filter: blur(8px);
    transform: none;
}

.services-partners-section .partner-detail > * {
    position: relative;
    z-index: 1;
}

.services-partners-section .partner-detail-label {
    color: #fff;
    text-shadow:
        0 0 4px rgba(255, 23, 39, 0.95),
        0 0 10px rgba(255, 23, 39, 0.85),
        0 0 20px rgba(255, 23, 39, 0.65),
        0 0 32px rgba(255, 23, 39, 0.4);
}

.services-partners-section .partner-detail-content h3 {
    color: #fff;
    text-shadow:
        0 0 4px rgba(255, 23, 39, 0.95),
        0 0 10px rgba(255, 23, 39, 0.85),
        0 0 20px rgba(255, 23, 39, 0.65),
        0 0 32px rgba(255, 23, 39, 0.4);
}

/* Ecosistema de productos Mission en Servicios */
.mission-products-section {
    position: relative;
    padding: 110px 0 120px;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 92% 18%, rgba(255, 28, 43, 0.55), transparent 43%),
        linear-gradient(250deg, #a80d19 0%, #610912 43%, #1c080b 100%);
    background-size: 64px 64px, 64px 64px, auto, auto;
    background-attachment: fixed;
}

.mission-products-heading h2 {
    color: #fff;
}

.mission-products-heading p {
    color: rgba(255, 255, 255, .78);
}

.mission-products-grid .mission-product-card {
    min-height: 340px;
}

.mission-product-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 280px);
    height: 112px;
    padding: 12px 18px;
    margin-bottom: 26px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mission-product-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.mission-product-logo-flex img,
.mission-product-logo-soc img {
    width: 76%;
    height: 76%;
}

.mission-product-logo-ai img {
    transform: none;
}

.mission-product-logo-ai {
    width: min(100%, 360px);
}

.mission-product-card h3 {
    color: #fff;
}

.mission-product-card p {
    color: rgba(255, 255, 255, .76);
}

@media (max-width: 600px) {
    .mission-products-section {
        padding: 80px 0 90px;
    }

    .mission-products-grid .mission-product-card {
        min-height: 0;
    }
}

/* Hero de Servicios: fondo de soluciones y panel Liquid Glass */
.services-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: calc(var(--header-height) + 76px) 0 96px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 23, 39, 0.35), transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(255, 23, 39, 0.25), transparent 35%),
        linear-gradient(135deg, #180608 0%, #35090d 45%, #120507 100%);
}

.services-hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.services-hero-glow {
    position: absolute;
    z-index: -1;
    top: 8%;
    right: 4%;
    width: min(42vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 23, 39, 0.2);
    filter: blur(100px);
    pointer-events: none;
}

.services-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
    pointer-events: none;
}

.services-hero > .section-container {
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: none;
    margin-inline: 0;
}

.services-hero-content {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
    padding: clamp(36px, 6vw, 68px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.98), transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.45),
        0 24px 70px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border-radius: 0;
    text-align: center;
}

.services-hero-content > * {
    position: relative;
    z-index: 1;
}

.services-hero-content .section-eyebrow {
    color: var(--red);
}

.services-hero-title {
    max-width: 100%;
    margin: 0 auto;
    color: var(--black-night);
    font-family: "New Science", "Inter", Arial, sans-serif;
    font-size: clamp(2rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.services-hero-title span {
    display: block;
    white-space: nowrap;
    color: var(--red);
}

.services-hero-description {
    max-width: 680px;
    margin: 22px auto 0;
    color: var(--gray-700);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.services-hero-line {
    width: 76px;
    height: 3px;
    margin: 30px auto 0;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(255, 23, 39, 0.7);
}

@media (max-width: 600px) {
    .services-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 48px) 0 70px;
    }

    .services-hero > .section-container {
        width: 100vw;
        margin-inline: 0;
    }

    .services-hero-content {
        padding: 34px 22px;
        border-radius: 0;
    }

    .services-hero-title {
        font-size: clamp(1.45rem, 7.2vw, 2.8rem);
    }
}

/* Un solo fondo continuo para el hero y la sección de soluciones */
.services-top-flow {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 92% 18%, rgba(255, 28, 43, 0.88), transparent 43%),
        linear-gradient(250deg, #a80d19 0%, #610912 43%, #1c080b 100%);
    background-size: 64px 64px, 64px 64px, auto, auto;
    background-attachment: fixed;
}

.services-top-flow .services-hero,
.services-top-flow .services-list-section {
    background: transparent;
}

.services-top-flow .services-hero-glow,
.services-top-flow .services-hero-grid,
.services-top-flow .services-list-section::before,
.services-top-flow .services-list-section::after {
    display: none;
}

/* Panel de “Nuestros servicios” con el mismo Liquid Glass oscuro de las tarjetas */
.services-hero-content {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.075));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
}

.services-hero-content .services-hero-title {
    color: #fff;
}

.services-hero-content .services-hero-description {
    color: rgba(255, 255, 255, 0.78);
}

/* Fondo oscuro continuo para la sección Nuestros Aliados */
.services-partners-section {
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 92% 18%, rgba(255, 28, 43, 0.55), transparent 43%),
        linear-gradient(250deg, #a80d19 0%, #610912 43%, #1c080b 100%);
    background-size: 64px 64px, 64px 64px, auto, auto;
    background-attachment: fixed;
}

.services-partners-heading h2 {
    color: #fff;
}

.services-partners-heading p {
    color: rgba(255, 255, 255, 0.78);
}

.services-hero-content .section-eyebrow,
.services-hero-content .services-hero-title,
.services-hero-content .services-hero-title span {
    color: #fff;
}


/* Iconos sociales blancos sin fondo */
.footer-social-link {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    box-shadow: none;
    transition: transform .2s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.footer-social-link img {
    width: 66%;
    height: 66%;
    object-fit: contain;
    border-radius: 0;
    filter: brightness(0) invert(1);
    transition: filter .25s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    border-color: rgba(255, 65, 78, .98);
    background: rgba(255, 23, 39, .18);
    box-shadow:
        0 0 5px rgba(255, 23, 39, .95),
        0 0 13px rgba(255, 23, 39, .85),
        0 0 25px rgba(255, 23, 39, .58),
        inset 0 0 10px rgba(255, 23, 39, .3);
}

.footer-social-link:hover img,
.footer-social-link:focus-visible img {
    filter: brightness(0) invert(1);
}

/* Panel de información de aliados sin acabado Liquid Glass */
.services-partners-section .partner-detail {
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
}

.services-partners-section .partner-detail::before {
    inset: 0 auto 0 0;
    width: 5px;
    height: auto;
    background: var(--red);
    pointer-events: none;
}

.services-partners-section .partner-detail::after {
    display: none;
}

/* Fondo continuo de Soluciones también en Sobre nosotros del index */
.about-iso-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 23, 39, .35), transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(255, 23, 39, .25), transparent 35%),
        linear-gradient(135deg, #180608 0%, #35090d 45%, #120507 100%);
}

.about-iso-section .section-heading,
.about-iso-section .about-iso-layout {
    position: relative;
    z-index: 1;
}

.about-iso-section .section-eyebrow {
    color: rgba(255, 255, 255, .72);
}

.about-iso-section .section-title {
    color: #fff;
}

.about-iso-section .section-title span {
    color: var(--red);
}

/* Tarjetas de Grupo Quattro y certificación en vidrio líquido blanco */
.home-page .about-block,
.home-page .iso-block {
    border: 1px solid rgba(255, 255, 255, .88);
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .98),
        inset 0 -1px 0 rgba(255, 255, 255, .56),
        0 22px 64px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
}

/* Degradado continuo entre Sobre nosotros y Nuestros servicios en el index */
.home-page .about-iso-section,
.home-page .solutions-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 23, 39, .35), transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(255, 23, 39, .25), transparent 35%),
        linear-gradient(135deg, #180608 0%, #35090d 45%, #120507 100%);
    background-attachment: fixed;
}

.home-page .solutions-section::before,
.home-page .solutions-section::after {
    display: none;
}

/* Líneas blancas con halo rojo en las tarjetas y paneles de marcas */
.services-partner-card::before,
.services-partners-section .partner-detail::before,
.services-partners-section .partner-detail-line {
    background: #fff;
    box-shadow: 0 0 6px #ff1727, 0 0 14px rgba(255, 23, 39, .95), 0 0 24px rgba(255, 23, 39, .6);
}

/* Borde giratorio que aparece al pasar el cursor por el panel NUESTROS SERVICIOS */
.services-hero-content {
    --hero-glow-angle: 0deg;
    overflow: visible;
}

.services-hero-content::before,
.services-hero-content::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(
        from var(--hero-glow-angle),
        transparent 0deg 270deg,
        rgba(255, 23, 39, .16) 290deg,
        rgba(255, 23, 39, .82) 318deg,
        #ff1727 332deg,
        #fff 340deg,
        #ff1727 350deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
}

.services-hero-content::after {
    inset: -6px;
    padding: 8px;
    filter: blur(8px);
}

.services-hero-content:hover::before,
.services-hero-content:hover::after,
.services-hero-content:focus-within::before,
.services-hero-content:focus-within::after {
    animation: heroGlowOrbit 2.8s linear infinite;
    opacity: .95;
}

.services-hero-content:hover::before,
.services-hero-content:focus-within::before {
    filter: drop-shadow(0 0 5px #ff1727) drop-shadow(0 0 10px rgba(255, 23, 39, .9));
}

.services-hero-content:hover::after,
.services-hero-content:focus-within::after {
    filter: blur(10px);
}

/* Efecto reutilizable para superficies Liquid: añade .liquid-red-glow a cualquier caja */
.liquid-red-glow,
.home-page .about-block,
.home-page .iso-block,
.home-page .solution-card,
.services-hero-content,
.services-list-section .solution-card,
.ally-detail {
    outline: 1px solid transparent;
    outline-offset: 0;
    transition: outline-color .3s ease;
}

.liquid-red-glow:hover,
.liquid-red-glow:focus-within,
.home-page .about-block:hover,
.home-page .iso-block:hover,
.home-page .solution-card:hover,
.services-hero-content:hover,
.services-hero-content:focus-within,
.services-list-section .solution-card:hover,
.ally-detail:hover {
    outline-color: rgba(255, 23, 39, .78);
    animation: liquidRedNeonPulse 2.2s ease-in-out infinite alternate;
}

@keyframes liquidRedNeonPulse {
    from {
        filter: drop-shadow(0 0 3px rgba(255, 23, 39, .34)) drop-shadow(0 0 8px rgba(255, 23, 39, .18));
    }
    to {
        filter: drop-shadow(0 0 7px rgba(255, 23, 39, .72)) drop-shadow(0 0 18px rgba(255, 23, 39, .42));
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-red-glow:hover,
    .home-page .about-block:hover,
    .home-page .iso-block:hover,
    .home-page .solution-card:hover,
    .services-hero-content:hover,
    .services-list-section .solution-card:hover,
    .ally-detail:hover {
        animation: none;
        filter: drop-shadow(0 0 6px rgba(255, 23, 39, .65)) drop-shadow(0 0 14px rgba(255, 23, 39, .35));
    }
}

