/**
 * Scorpio Towers - Branding Page Styles
 * Color Theme: Magenta (#ff007f, #b10058, #4d0026)
 */

:root {
    --magenta-primary: #ff007f;
    --magenta-medium: #b10058;
    --magenta-dark: #4d0026;
    --magenta-glow: rgba(255, 0, 127, 0.3);
    --magenta-glass: rgba(18, 6, 12, 0.55);
    --magenta-border: rgba(255, 0, 127, 0.12);
}

/* Modificar localmente los blobs de fondo para tener halo magenta */
.blob-purple {
    background: radial-gradient(circle, rgba(177, 0, 88, 0.28) 0%, rgba(77, 0, 38, 0.08) 70%);
    width: 600px;
    height: 600px;
    top: 5%;
    left: -10%;
}

.blob-cyan {
    background: radial-gradient(circle, rgba(255, 0, 127, 0.18) 0%, rgba(8, 10, 18, 0) 60%);
}

/* --- Hero Section --- */
.br-hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 130px 24px 70px;
    position: relative;
    overflow: hidden;
}

.br-hero-title-centered {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.8vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .br-hero-title-centered {
        white-space: normal;
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }
}

.br-hero-title-centered span.glow-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--magenta-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(255, 0, 127, 0.25));
}

.br-hero-body {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    z-index: 5;
    position: relative;
}

.br-hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.br-badge {
    background: rgba(255, 0, 127, 0.08);
    border: 1px solid rgba(255, 0, 127, 0.25);
    color: #e2e8f0;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.12);
    backdrop-filter: blur(8px);
    width: max-content;
}

.br-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.br-hero-title span.glow-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--magenta-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(255, 0, 127, 0.25));
}

.br-hero-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 580px;
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Checklist Hero */
.br-hero-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.br-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.br-checklist-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 0, 127, 0.12);
    border: 1px solid rgba(255, 0, 127, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta-primary);
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.2);
}

.br-checklist-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.br-checklist-text strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.br-checklist-text span {
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Botones Hero y CTA Animados */
.hero-buttons-inline,
.br-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    width: 100%;
}

.br-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--magenta-primary) 0%, #d6006b 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    flex-shrink: 0;
}

.br-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: btnShimmerSweep 3.5s infinite ease-in-out;
}

@keyframes btnShimmerSweep {
    0%, 60% { left: -100%; }
    100% { left: 200%; }
}

.br-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.65);
    border-color: #ffffff;
}

.br-btn-primary span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.br-btn-primary:hover span {
    transform: translate(4px, -3px);
}

.br-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 0, 127, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: btnBorderPulse 2.5s infinite ease-in-out alternate;
    flex-shrink: 0;
}

@keyframes btnBorderPulse {
    0% {
        border-color: rgba(255, 0, 127, 0.2);
        box-shadow: 0 0 0px transparent;
    }
    100% {
        border-color: rgba(255, 0, 127, 0.5);
        box-shadow: 0 0 14px rgba(255, 0, 127, 0.2);
    }
}

.br-btn-secondary:hover {
    background: rgba(255, 0, 127, 0.12);
    border-color: var(--magenta-primary);
    color: #ffffff;
    transform: translateY(-4px) scale(1.02);
}

/* --- Columna Derecha: Bucle de 3 Logotipos Vectoriales --- */
.br-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.br-deconstruct-container {
    width: 100%;
    max-width: 500px;
    background: rgba(10, 5, 8, 0.55);
    border: 1px solid rgba(255, 0, 127, 0.18);
    border-radius: 24px;
    padding: 28px 24px 20px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7), 
        inset 0 0 25px rgba(255, 0, 127, 0.04);
    position: relative;
    backdrop-filter: blur(14px);
    overflow: hidden;
}

/* Decoraciones compases y guías en el Hero visual */
.br-geom-grid {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-geom-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.br-geom-svg circle,
.br-geom-svg line,
.br-geom-svg path,
.br-geom-svg rect,
.br-geom-svg ellipse {
    stroke: rgba(255, 0, 127, 0.22);
    stroke-width: 1;
    fill: none;
}

.br-geom-svg .golden-ratio-circle {
    stroke: rgba(255, 255, 255, 0.07);
    stroke-dasharray: 4 4;
}

/* --- Encabezado HUD del Laboratorio --- */
.br-hud-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 0, 127, 0.2);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    width: 100%;
}

.hud-label-mode {
    color: var(--magenta-primary);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
    transition: color 0.4s ease;
}

/* Stage del Isotipo Scorpio "S" (Las 9 variantes WebP) */
.br-logo-stage {
    position: absolute;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.scorpio-s-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.scorpio-s-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.scorpio-s-img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--active-glow, rgba(255, 0, 127, 0.4)));
    transition: filter 0.5s ease;
}

/* --- ANIMACIONES TÉCNICAS DE PROCESO DE DISEÑO --- */

/* Modo 1: Trazado Vectorial Láser (`.anim-trace`) */
.draw-path-laser {
    stroke: var(--magenta-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    fill: none;
    opacity: 0;
}

.scorpio-s-slide.anim-trace .scorpio-s-img {
    animation: revealTrace 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealTrace {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        opacity: 0.2;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

/* Modo 2: Revelado Cromático con Pincel/Láser (`.anim-brush`) */
.scorpio-s-slide.anim-brush .scorpio-s-img {
    animation: revealBrush 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealBrush {
    0% {
        clip-path: circle(0% at 50% 50%);
        transform: scale(0.92);
        opacity: 0;
    }
    60% {
        clip-path: circle(75% at 50% 50%);
        transform: scale(1.02);
        opacity: 0.9;
    }
    100% {
        clip-path: circle(100% at 50% 50%);
        transform: scale(1);
        opacity: 1;
    }
}

/* Modo 3: Ensamblaje de Nodos Geométricos (`.anim-assembly`) */
.scorpio-s-slide.anim-assembly .scorpio-s-img {
    animation: revealAssembly 2.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealAssembly {
    0% {
        transform: scale(0.75) rotate(-12deg);
        opacity: 0;
        filter: blur(10px) drop-shadow(0 0 0 transparent);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 20px var(--active-glow, rgba(255, 0, 127, 0.5)));
    }
}

/* Modo 4: Calibración y Morfosis Cromática (`.anim-morph`) */
.scorpio-s-slide.anim-morph .scorpio-s-img {
    animation: revealMorph 2.5s ease-in-out forwards;
}

@keyframes revealMorph {
    0% {
        opacity: 0.2;
        transform: scale(1.06);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modo 5: Escaneo Holográfico Diagonal (`.anim-scan`) */
.scorpio-s-slide.anim-scan .scorpio-s-img {
    animation: revealScan 2.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes revealScan {
    0% {
        clip-path: polygon(-30% 0, -10% 0, -30% 100%, -50% 100%);
        opacity: 0.1;
        filter: brightness(1.8) drop-shadow(0 0 30px var(--active-glow));
    }
    100% {
        clip-path: polygon(-30% 0, 150% 0, 130% 100%, -50% 100%);
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 15px var(--active-glow));
    }
}

/* Selector Interactivo de Muestras de Color HUD */
.br-hud-swatches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 0, 127, 0.2);
}

.hud-swatch-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 6px var(--swatch-color);
    transition: transform 0.3s ease;
}

.hud-swatch-btn:hover,
.hud-swatch-btn.active {
    transform: scale(1.25);
    border-color: var(--swatch-color);
    box-shadow: 0 0 12px var(--swatch-color);
}

.hud-swatch-btn.active .swatch-dot {
    transform: scale(1.1);
}

/* Indicador HUD Inferior en la tarjeta Hero */
.br-hud-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.08em;
}

.hud-dot {
    width: 7px;
    height: 7px;
    background: var(--magenta-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--magenta-primary);
    animation: hudPulse 1.5s infinite ease-in-out;
}

@keyframes hudPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Compás o guías giratorias */
.br-compass-arm {
    transform-origin: 50% 50%;
    animation: compassRotate 12s linear infinite;
    stroke: rgba(255, 0, 127, 0.4) !important;
    stroke-dasharray: 4 2;
}

@keyframes compassRotate {
    to { transform: rotate(360deg); }
}

/* --- SECCIÓN 2: Soluciones de Marca (Cuadrícula 2x2) --- */
.sw-section-header {
    text-align: center !important;
    max-width: 920px;
    margin: 0 auto 50px auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sw-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 16px 0 !important;
    text-align: center !important;
    width: 100%;
}

.sw-section-title span.glow-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--magenta-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(255, 0, 127, 0.3));
}

.sw-section-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 760px;
    margin: 0 auto !important;
    line-height: 1.65;
    text-align: center !important;
    width: 100%;
}

.br-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.br-sol-card {
    background: var(--magenta-glass);
    border: 1px solid var(--magenta-border);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.br-sol-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(255, 0, 127, 0.05);
}

.br-sol-header {
    height: 120px;
    background: rgba(8, 4, 6, 0.5);
    border: 1px solid rgba(255, 0, 127, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.br-sol-svg {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

/* --- ANIMACIONES VECTORIALES ESPECÍFICAS POR TARJETA --- */

/* Card 1: Vector Bezier & Pen Tool Tracing */
.svg-tech-grid {
    stroke: rgba(255, 255, 255, 0.12) !important;
    stroke-width: 1.2 !important;
    stroke-dasharray: 4 4;
    fill: none !important;
}

.svg-vector-trace {
    stroke: var(--magenta-primary) !important;
    stroke-width: 3.5 !important;
    stroke-linecap: round;
    fill: none !important;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    filter: drop-shadow(0 0 12px var(--magenta-primary));
    animation: drawVectorTrace 2.6s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawVectorTrace {
    0% {
        stroke-dashoffset: 300;
        opacity: 0.3;
    }
    15% {
        opacity: 1;
    }
    75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    90% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 300;
        opacity: 0.3;
    }
}

.vector-node-rect {
    fill: #ffffff !important;
    stroke: var(--magenta-primary) !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 0 6px var(--magenta-primary));
    opacity: 0.95;
}

.pen-tool-group {
    filter: drop-shadow(0 0 8px var(--magenta-primary));
}

/* Card 2: Digital Brandbook & Color Swatches */
.brandbook-frame {
    stroke: rgba(255, 0, 127, 0.45) !important;
    fill: rgba(18, 9, 14, 0.85) !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.brandbook-spine {
    stroke: rgba(255, 0, 127, 0.4) !important;
    stroke-dasharray: 4 4;
}

.swatch-card {
    stroke: none !important;
    transform-box: fill-box;
    transform-origin: center;
    animation: swatchLightPulse 2.4s infinite ease-in-out;
}

.swatch-card.s-1 { animation-delay: 0s; }
.swatch-card.s-2 { animation-delay: 0.6s; }
.swatch-card.s-3 { animation-delay: 1.2s; }
.swatch-card.s-4 { animation-delay: 1.8s; }

@keyframes swatchLightPulse {
    0%, 100% {
        opacity: 0.45;
        filter: drop-shadow(0 0 0px transparent);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 14px currentColor);
    }
}

/* Card 3: 3D Layered Stationery & Foil Shine */
.folder-mockup {
    stroke: rgba(255, 255, 255, 0.25) !important;
    fill: rgba(255, 255, 255, 0.04) !important;
    stroke-width: 1.5 !important;
}

.card-mockup-group {
    transform-box: fill-box;
    transform-origin: center;
    animation: cardFloat 3.5s infinite ease-in-out;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.business-card-rect {
    stroke: var(--magenta-primary) !important;
    fill: rgba(26, 11, 20, 0.95) !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.8));
}

.card-scorpio-logo {
    filter: drop-shadow(0 0 10px var(--magenta-primary));
}

.foil-shine-line {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    filter: drop-shadow(0 0 14px var(--magenta-primary));
    animation: foilShine 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes foilShine {
    0% {
        stroke-dashoffset: 240;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    75%, 100% {
        stroke-dashoffset: -240;
        opacity: 0;
    }
}

/* Card 4: Multi-Screen Digital Ecosystem Mockup */
.digital-desktop-frame {
    stroke: rgba(255, 0, 127, 0.4) !important;
    fill: rgba(18, 9, 14, 0.85) !important;
    stroke-width: 1.8 !important;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.mobile-mockup-group {
    transform-box: fill-box;
    transform-origin: center;
    animation: mobileFloat 3.6s infinite ease-in-out;
}

@keyframes mobileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.digital-mobile-frame {
    stroke: var(--magenta-primary) !important;
    fill: rgba(26, 11, 20, 0.95) !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.85));
}

.story-gradient-ring {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transform-box: fill-box;
    transform-origin: center;
    animation: storyRingRotate 4s linear infinite;
}

@keyframes storyRingRotate {
    0% { stroke-dashoffset: 100; transform: rotate(0deg); }
    100% { stroke-dashoffset: 0; transform: rotate(360deg); }
}

.br-sol-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.br-sol-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- SECCIÓN 3: El Valor de una Marca Bien Construida (Ingeniería Visual Grid) --- */
.br-eng-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .br-eng-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

.br-eng-card {
    background: rgba(14, 7, 12, 0.55);
    border: 1px solid rgba(255, 0, 127, 0.12);
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.br-eng-card:hover {
    border-color: rgba(255, 0, 127, 0.35);
    background: rgba(20, 9, 16, 0.85);
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(255, 0, 127, 0.15);
}

.br-eng-visual {
    width: 100%;
    height: 120px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.br-eng-svg {
    width: 100%;
    height: 100%;
}

.br-eng-badge-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    min-height: 28px;
}

.br-eng-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-magenta {
    background: rgba(255, 0, 127, 0.12);
    color: #ff007f;
    border: 1px solid rgba(255, 0, 127, 0.35);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.badge-green {
    background: rgba(0, 184, 148, 0.12);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.35);
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.2);
}

.badge-gold {
    background: rgba(253, 203, 110, 0.12);
    color: #fdcb6e;
    border: 1px solid rgba(253, 203, 110, 0.35);
    box-shadow: 0 0 10px rgba(253, 203, 110, 0.2);
}

.br-eng-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.br-eng-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Keyframe animations for Section 3 Grid Visuals */
.radar-scan-line {
    transform-box: fill-box;
    transform-origin: 0% 50%;
    animation: radarScan 3s linear infinite;
}

@keyframes radarScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.prism-incoming-beam {
    animation: laserStreamIn 1.4s linear infinite;
}

@keyframes laserStreamIn {
    0% { stroke-dashoffset: 16; }
    100% { stroke-dashoffset: 0; }
}

.prism-glass-body {
    transform-box: fill-box;
    transform-origin: center;
    animation: prismGlassPulse 3s infinite ease-in-out alternate;
}

@keyframes prismGlassPulse {
    0% {
        stroke: rgba(255, 255, 255, 0.35);
        filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.25));
    }
    100% {
        stroke: rgba(255, 255, 255, 0.65);
        filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.55));
    }
}

.prism-ray-1,
.prism-ray-2,
.prism-ray-3 {
    animation: laserStreamOut 1.8s linear infinite;
}

.prism-ray-2 {
    animation-delay: 0.3s;
}

.prism-ray-3 {
    animation-delay: 0.6s;
}

@keyframes laserStreamOut {
    0% { stroke-dashoffset: 20; }
    100% { stroke-dashoffset: 0; }
}

.node-pulse-1,
.node-pulse-2,
.node-pulse-3 {
    transform-box: fill-box;
    transform-origin: center;
    animation: nodePrecisionPulse 2.2s infinite ease-in-out alternate;
}

.node-pulse-2 { animation-delay: 0.3s; }
.node-pulse-3 { animation-delay: 0.6s; }

@keyframes nodePrecisionPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px #fdcb6e); }
}

/* Card 3 Animation Keyframes: Golden Ratio CAD Matrix & Pen Tool Drawing */
.golden-grid-group {
    transform-box: fill-box;
    transform-origin: center;
    animation: goldenGridRotate 22s linear infinite;
}

@keyframes goldenGridRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bezier-trace-path {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: bezierCurveDraw 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes bezierCurveDraw {
    0% {
        stroke-dashoffset: 220;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    80%, 100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.pen-handle-group {
    transform-box: fill-box;
    transform-origin: center;
    animation: handleFloat 3s ease-in-out infinite alternate;
}

@keyframes handleFloat {
    0% { transform: scale(0.96) rotate(-2deg); }
    100% { transform: scale(1.04) rotate(2deg); }
}

/* --- SECCIÓN 4: Proceso de Trabajo (Timeline) --- */
section#valor.sw-section {
    padding-top: 60px;
    padding-bottom: 30px;
}

section#proceso.sw-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.br-process-flow {
    position: relative;
    max-width: 1000px;
    margin: 24px auto 0;
    padding: 16px 0;
}

/* Línea magenta horizontal centrada exactamente en los nodos (1, 2, 3, 4) */
.br-process-line {
    position: absolute;
    top: 39px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 0, 127, 0.3) 0%, var(--magenta-primary) 50%, rgba(255, 0, 127, 0.3) 100%);
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.6);
    z-index: 1;
}

.br-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.br-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.br-step-node {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #090305;
    border: 3px solid var(--magenta-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.35);
    transition: all 0.3s ease;
}

.br-step-card:hover .br-step-node {
    background: var(--magenta-primary);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
    transform: scale(1.1);
}

.br-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.br-step-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 10px;
}

/* --- SECCIÓN 5: CTA Final (Sin sombras en la sección / tarjeta) --- */
.br-cta-section {
    padding: 45px 24px 80px;
    background: radial-gradient(circle at center, rgba(177, 0, 88, 0.08) 0%, rgba(8, 10, 18, 0) 70%);
    text-align: center;
    box-shadow: none !important;
}

.br-cta-card {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(22, 10, 18, 0.65) 0%, rgba(10, 4, 8, 0.85) 100%);
    border: 1px solid rgba(255, 0, 127, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(16px);
    box-shadow: none !important; /* Estrictamente sin sombra por requerimiento del usuario */
    position: relative;
    overflow: hidden;
}

.br-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.br-cta-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 660px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* --- Animaciones de Entrada (Scroll) --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsividad --- */

@media (max-width: 1024px) {
    .br-hero-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .br-hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-buttons-inline,
    .br-btn-group {
        justify-content: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .br-value-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-buttons-inline,
    .br-btn-group {
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        width: 100%;
        gap: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .br-btn-primary,
    .br-btn-secondary {
        width: 100%;
        max-width: 380px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
        white-space: normal;
    }

    .br-solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .br-process-line {
        display: none;
    }
    
    .br-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .br-step-node {
        margin-bottom: 12px;
    }
}
