/* ========================================
   SINAPSYS AUTOMATION - Design System
   Bootstrap 5 + Custom Theme (Improved)
======================================== */

:root {
    /* Primary Colors */
    --color-primary: #14B8A6;
    --color-primary-dark: #0D9488;
    --color-primary-light: #2DD4BF;
    --color-secondary: #F97316;
    --color-secondary-dark: #EA580C;
    --color-secondary-light: #FB923C;
    
    /* Background Colors - Dark Theme */
    --bg-dark: #0F1419;
    --bg-darker: #0A0D11;
    --bg-card: #1A2029;
    --bg-card-hover: #242D3A;
    
    /* Background Colors - Light Theme */
    --bg-light: #F8FAFC;
    --bg-light-alt: #F1F5F9;
    --bg-white: #FFFFFF;
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-muted-dark: #B8C4D0;
    --text-on-light: #1E293B;
    --text-muted-light: #64748B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #14B8A6, #0891B2);
    --gradient-secondary: linear-gradient(135deg, #F97316, #FB923C);
    --gradient-dark: linear-gradient(180deg, #0F1419 0%, #1A2029 100%);
    --gradient-hero: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow-primary: 0 0 30px rgba(20, 184, 166, 0.3);
    --shadow-glow-secondary: 0 0 30px rgba(249, 115, 22, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* ========================================
   Base Styles
======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-on-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

/* ========================================
   Section Themes
======================================== */

/* Dark Section */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.section-dark .text-muted,
.section-dark p {
    color: var(--text-muted-dark) !important;
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
    color: var(--text-white);
}

/* Darker Section */
.section-darker {
    background-color: var(--bg-darker);
    color: var(--text-white);
}

.section-darker .text-muted,
.section-darker p {
    color: var(--text-muted-dark) !important;
}

/* Light Section */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

.section-light .text-muted {
    color: var(--text-muted-light) !important;
}

/* Light Alt Section */
.section-light-alt {
    background-color: var(--bg-light-alt);
    color: var(--text-on-light);
}

/* White Section */
.section-white {
    background-color: var(--bg-white);
    color: var(--text-on-light);
}

/* Sectores con video de fondo */
.sectores-video-section {
    position: relative;
    overflow: hidden;
}

.sectores-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(0.95) brightness(0.82);
}

.sectores-video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(9, 13, 19, 0.78), rgba(9, 13, 19, 0.82)),
        radial-gradient(ellipse at 20% 10%, rgba(20, 184, 166, 0.15), transparent 45%),
        radial-gradient(ellipse at 80% 85%, rgba(249, 115, 22, 0.12), transparent 50%);
}

.sectores-video-section > .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Header / Navbar
======================================== */
.navbar-dark-blur {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    transition: var(--transition-normal);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.navbar-dark-blur .navbar-brand img,
.footer-dark img {
    mix-blend-mode: screen;
}

.navbar-dark-blur .navbar-brand {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.navbar-dark-blur .navbar-brand::after {
    content: '';
    position: absolute;
    top: -35%;
    left: -35%;
    width: 26%;
    height: 170%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-220%) rotate(18deg);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0)
    );
}

.navbar-dark-blur .navbar-brand:hover::after {
    opacity: 1;
    animation: logo-shine-sweep 0.55s ease-out 1;
}

.navbar-dark-blur.scrolled {
    background: rgba(10, 13, 17, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Dropdown Menus */
.dropdown-menu-dark {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-primary);
}

/* Mega Menu */
.mega-menu {
    min-width: 600px;
    padding: 1.5rem;
}

.mega-menu h6 {
    color: var(--color-primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu ul li a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-muted-dark);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.mega-menu ul li a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

/* ========================================
   Buttons
======================================== */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.82rem 1.9rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
    color: white;
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-secondary-custom {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-secondary);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-outline-primary-custom:hover {
    background: var(--color-primary);
    color: white;
}

.btn-outline-light-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--bg-dark);
    border-color: white;
}

/* Badge custom */
.badge-primary {
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.badge-secondary {
    background: var(--gradient-secondary);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Numeracion 01/02/03 en seccion de soluciones */
.solution-step-badge {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.62rem 1.15rem;
    letter-spacing: 0.02em;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.05) contrast(1.02);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 14, 19, 0.93), rgba(10, 14, 19, 0.66)),
        linear-gradient(to bottom, rgba(8, 12, 18, 0.22), rgba(8, 12, 18, 0.45));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-section .lead {
    max-width: 58ch !important;
    line-height: 1.85;
}

.hero-section .btn-secondary-custom {
    transform: translateZ(0);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.25);
    font-weight: 700;
}

.hero-section .btn-secondary-custom:hover {
    transform: translateY(-3px);
}

.hero-section .btn-outline-light-custom {
    border-color: rgba(255, 255, 255, 0.45);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 3rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-muted-dark);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   Cards
======================================== */
.card-dark {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card-dark:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}

.card-light {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card-light:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

/* Pillar Cards */
.pillar-card {
    position: relative;
    padding: 2rem;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: var(--transition-normal);
}

.pillar-card.pillar-primary::before {
    background: var(--gradient-primary);
}

.pillar-card.pillar-secondary::before {
    background: var(--gradient-secondary);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 34px rgba(15, 25, 35, 0.13);
}

/* Icon Boxes */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    transform-origin: center center;
    will-change: transform;
}

.icon-box-primary {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-primary);
}

.icon-box-secondary {
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-secondary);
}

.card-light:hover .icon-box-primary,
.card-dark:hover .icon-box-primary {
    background: var(--gradient-primary);
    color: white;
}

.card-light:hover .icon-box-secondary,
.card-dark:hover .icon-box-secondary {
    background: var(--gradient-secondary);
    color: white;
}

/* Giro rapido del icono superior en tarjetas de pilares */
.pillar-card:hover .icon-box {
    animation: icon-spin-triple 0.5s ease-out 1;
}

/* Icon Circle (for Why Us section) */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.icon-circle-primary {
    background: var(--gradient-primary);
}

.icon-circle-secondary {
    background: var(--gradient-secondary);
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0.5rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted-light);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    filter: grayscale(1);
    opacity: 0.86;
}

.partner-logo:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px) scale(1.02);
    filter: grayscale(0);
    opacity: 1;
    background: rgba(20, 184, 166, 0.06);
}

/* ========================================
   Solutions Section
======================================== */
.solution-visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.solution-visual-primary {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(8, 145, 178, 0.05));
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.solution-visual-secondary {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.solution-visual i {
    font-size: 6rem;
    opacity: 0.3;
}

.solution-visual-primary i {
    color: var(--color-primary);
}

.solution-visual-secondary i {
    color: var(--color-secondary);
}

.solution-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.solution-img:hover {
    transform: scale(1.02);
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-list li:last-child {
    border-bottom: none;
}

.solution-list li i {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.section-dark .solution-list li {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Why Us Section
======================================== */
.why-us-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
}

.why-us-number {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.section-light .why-us-number {
    color: rgba(0, 0, 0, 0.03);
}

/* ========================================
   Testimonial Section
======================================== */
.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-quote .highlight {
    color: var(--color-primary);
    font-style: normal;
    font-weight: 600;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   CTA Final
======================================== */
.cta-final {
    position: relative;
    overflow: hidden;
    background: #000108;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.cta-final-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
    pointer-events: none;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 1, 8, 0.96) 0%,
        rgba(0, 1, 8, 0.88) 34%,
        rgba(0, 1, 8, 0.45) 62%,
        rgba(0, 1, 8, 0.18) 100%
    );
    pointer-events: none;
}

.cta-final-content {
    position: relative;
    z-index: 2;
}

.cta-final-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1.1rem;
}

.cta-final-title span {
    color: var(--color-primary);
}

.cta-final-lead {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.cta-final-btn {
    border-radius: 999px;
    padding-inline: 1.6rem;
}

@media (max-width: 991.98px) {
    .cta-final {
        min-height: 380px;
        text-align: center;
    }
    .cta-final-bg {
        left: 0;
        opacity: 0.55;
        object-position: 70% center;
    }
    .cta-final::before {
        background: linear-gradient(
            180deg,
            rgba(0, 1, 8, 0.88) 0%,
            rgba(0, 1, 8, 0.78) 55%,
            rgba(0, 1, 8, 0.9) 100%
        );
    }
    .cta-final-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   Footer
======================================== */
.footer-dark {
    position: relative;
    overflow: hidden;
    background: #000108;
}

.footer-neon-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.08) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(20, 184, 166, 0.15) 12%,
        rgba(45, 212, 191, 0.95) 50%,
        rgba(20, 184, 166, 0.15) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 6px rgba(20, 184, 166, 0.85),
        0 0 14px rgba(20, 184, 166, 0.45),
        0 0 28px rgba(20, 184, 166, 0.25);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-neon-divider {
    height: 1px;
    margin: 0.5rem 0 0.25rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(20, 184, 166, 0.12) 10%,
        rgba(45, 212, 191, 0.85) 50%,
        rgba(20, 184, 166, 0.12) 90%,
        transparent 100%
    );
    box-shadow:
        0 0 6px rgba(20, 184, 166, 0.7),
        0 0 14px rgba(20, 184, 166, 0.35);
}

.footer-heading {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--color-primary);
    font-size: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   WhatsApp Float Button
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

/* ========================================
   Utilities
======================================== */
.text-primary-custom {
    color: var(--color-primary) !important;
}

.text-secondary-custom {
    color: var(--color-secondary) !important;
}

.bg-primary-custom {
    background: var(--gradient-primary) !important;
}

.bg-secondary-custom {
    background: var(--gradient-secondary) !important;
}

.section-title {
    margin-bottom: 1rem;
    letter-spacing: -0.012em;
}

.section-subtitle {
    color: var(--text-muted-light);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: var(--text-muted-dark);
}

/* ========================================
   Animations
======================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes icon-spin-triple {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logo-shine-sweep {
    0% {
        transform: translateX(-220%) rotate(18deg);
    }
    100% {
        transform: translateX(510%) rotate(18deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scroll reveal (activated with JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Adjustments
======================================== */
main > section:not(.hero-section) {
    padding-top: clamp(4.25rem, 8vw, 5.5rem) !important;
    padding-bottom: clamp(4.25rem, 8vw, 5.5rem) !important;
}

@media (max-width: 991.98px) {
    .mega-menu {
        min-width: 100%;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-section .lead {
        line-height: 1.9;
        max-width: 65ch !important;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .solution-visual {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.88;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .testimonial-quote {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

/* === HOME HERO V2 === */
.btn-nav-consulta {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-normal);
    white-space: nowrap;
}
.btn-nav-consulta:hover {
    background: rgba(20, 184, 166, 0.12);
    color: #5eead4;
    border-color: #5eead4;
}

.badge-outline-teal {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(20, 184, 166, 0.55);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.9rem;
    border-radius: 0.55rem;
}

.hero-section--home {
    padding-top: 96px;
    padding-bottom: 2.5rem;
    align-items: stretch;
    background: #000108;
}

.hero-bg-cube {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

.hero-section--home::before {
    background: linear-gradient(
        90deg,
        rgba(0, 1, 8, 0.94) 0%,
        rgba(0, 1, 8, 0.78) 12%,
        rgba(0, 1, 8, 0.45) 22%,
        rgba(0, 1, 8, 0) 30%,
        rgba(0, 1, 8, 0) 100%
    );
}

.hero-section--home .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 96px);
    padding-bottom: 1rem;
}

.hero-main-row {
    flex: 1;
    min-height: 0;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    line-height: 1.05;
    margin-bottom: 1.35rem;
    letter-spacing: 0.01em;
}

.hero-title-brand {
    display: block;
    color: var(--color-primary);
}

.hero-title-line {
    display: block;
    color: #fff;
}

.hero-lead {
    color: rgba(232, 238, 245, 0.92);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 36rem;
    margin-bottom: 1.75rem;
}


.hero-stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 1.25rem;
    border: 1px solid rgba(20, 184, 166, 0.28);
    border-radius: 1.25rem;
    background: rgba(10, 16, 24, 0.55);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.hero-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.15rem 1.35rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.hero-stat:last-child {
    border-right: 0;
}

.hero-stat > i {
    font-size: 1.55rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.hero-stat h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1;
}

.hero-stat p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.hero-section--home .btn-secondary-custom,
.hero-section--home .btn-outline-primary-custom {
    border-radius: 999px;
}

.hero-section--home .btn-outline-primary-custom {
    color: #fff;
    border-color: rgba(20, 184, 166, 0.7);
}

.hero-section--home .btn-outline-primary-custom:hover {
    background: rgba(20, 184, 166, 0.15);
    color: #fff;
    border-color: var(--color-primary);
}

@media (max-width: 991.98px) {
    .hero-section--home {
        text-align: center;
    }
    .hero-section--home::before {
        background: linear-gradient(
            180deg,
            rgba(0, 1, 8, 0.78) 0%,
            rgba(0, 1, 8, 0.72) 45%,
            rgba(0, 1, 8, 0.8) 100%
        );
    }
    .hero-section--home .hero-content {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-copy .d-flex {
        justify-content: center;
    }
    .hero-bg-cube {
        left: 0;
        width: 100%;
        opacity: 0.85;
    }
    .hero-stats-panel {
        grid-template-columns: 1fr;
    }
    .hero-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: center;
    }
    .hero-stat:last-child {
        border-bottom: 0;
    }
}


/* === HERO TECH LOGOS MARQUEE === */
.hero-tech-logos {
    margin-top: 1.75rem;
    padding-bottom: 0.25rem;
}

.hero-tech-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: rgba(184, 196, 208, 0.75);
    margin: 0 0 1.1rem;
    font-weight: 500;
}

.hero-logo-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-logo-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: hero-logo-scroll 42s linear infinite;
}

.hero-logo-track img {
    height: 50px;
    width: auto;
    max-width: none;
    object-fit: contain;
    opacity: 0.88;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.hero-logo-marquee:hover .hero-logo-track {
    animation-play-state: paused;
}

@keyframes hero-logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1.5rem 2rem;
    }
}

/* === SOLUCIONES / PILARES DARK === */
.section-soluciones {
    background: #000108;
    color: #fff;
    position: relative;
}


.soluciones-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.01em;
}

.soluciones-title span {
    color: var(--color-primary);
}

.soluciones-subtitle {
    color: rgba(184, 196, 208, 0.9);
    max-width: 42rem;
    margin: 0.85rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.solucion-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.85rem 1.75rem 1.6rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.solucion-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.solucion-card--orange:hover {
    border-color: rgba(249, 115, 22, 0.35);
}

.solucion-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    color: #fff;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.04);
}

.solucion-card--teal .solucion-icon {
    box-shadow:
        0 0 0 1px rgba(20, 184, 166, 0.35),
        0 0 22px rgba(20, 184, 166, 0.55),
        0 0 48px rgba(20, 184, 166, 0.28);
    background: radial-gradient(circle at 40% 35%, rgba(20, 184, 166, 0.35), rgba(10, 16, 24, 0.9) 70%);
}

.solucion-card--orange .solucion-icon {
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.4),
        0 0 22px rgba(249, 115, 22, 0.55),
        0 0 48px rgba(249, 115, 22, 0.28);
    background: radial-gradient(circle at 40% 35%, rgba(249, 115, 22, 0.38), rgba(10, 16, 24, 0.9) 70%);
}

.solucion-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.solucion-card p {
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.solucion-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.solucion-card--teal .solucion-link {
    color: var(--color-primary);
}

.solucion-card--orange .solucion-link {
    color: var(--color-secondary);
}

.solucion-link:hover {
    gap: 0.55rem;
    opacity: 0.9;
}

/* === NUESTRAS SOLUCIONES === */
.section-nuestras-soluciones {
    background: #000108;
    color: #fff;
}

.ns-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

.ns-title span {
    color: var(--color-primary);
}

.ns-subtitle {
    color: rgba(184, 196, 208, 0.9);
    max-width: 44rem;
    margin: 0.85rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.ns-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    align-items: stretch;
    background: rgba(16, 22, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.35rem;
    overflow: hidden;
    margin-bottom: 1.75rem;
    min-height: 340px;
}

.ns-block--reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.ns-block--reverse .ns-block-copy {
    order: 2;
}

.ns-block--reverse .ns-block-media {
    order: 1;
}

.ns-block-copy {
    padding: 2.25rem 2.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ns-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #fff;
}

.ns-block--teal .ns-step {
    background: rgba(20, 184, 166, 0.2);
    color: var(--color-primary);
    box-shadow: 0 0 18px rgba(20, 184, 166, 0.25);
}

.ns-block--orange .ns-step {
    background: rgba(249, 115, 22, 0.2);
    color: var(--color-secondary);
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.25);
}

.ns-block-copy h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    color: #fff;
    margin-bottom: 0.85rem;
}

.ns-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.15rem;
}

.ns-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.35rem;
}

.ns-list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.85rem;
}

.ns-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
}

.ns-block--teal .ns-list li::before {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.7);
}

.ns-block--orange .ns-list li::before {
    background: var(--color-secondary);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}

.ns-list strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.ns-list span {
    display: block;
    color: rgba(184, 196, 208, 0.85);
    font-size: 0.86rem;
    line-height: 1.45;
}

.ns-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: gap 0.2s ease;
}

.ns-block--teal .ns-link { color: var(--color-primary); }
.ns-block--orange .ns-link { color: var(--color-secondary); }

.ns-link:hover { gap: 0.55rem; }

.ns-block-media {
    position: relative;
    min-height: 280px;
    height: 100%;
    overflow: hidden;
}

.ns-block-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 991.98px) {
    .ns-block,
    .ns-block--reverse {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .ns-block--reverse .ns-block-copy,
    .ns-block--reverse .ns-block-media {
        order: initial;
    }
    .ns-block-media {
        min-height: 220px;
        order: -1;
    }
    .ns-block-copy {
        padding: 1.6rem 1.35rem 1.75rem;
    }
}

/* === FAQ DARK === */
.section-faq-dark {
    background: #000108;
    color: #fff;
    position: relative;
}


.faq-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

.faq-title span {
    color: var(--color-primary);
}

.faq-subtitle {
    color: rgba(184, 196, 208, 0.9);
    max-width: 40rem;
    margin: 0.85rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.75rem 1.6rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.faq-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.faq-card p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-card a:hover {
    text-decoration: underline;
}

/* === ENTORNOS / SECTORES === */
.section-entornos {
    background: #000108;
    color: #fff;
}

.section-entornos.sectores-video-section::before {
    background:
        linear-gradient(180deg, rgba(0, 1, 8, 0.72), rgba(0, 1, 8, 0.82)),
        radial-gradient(ellipse at 20% 10%, rgba(20, 184, 166, 0.12), transparent 45%),
        radial-gradient(ellipse at 80% 85%, rgba(249, 115, 22, 0.1), transparent 50%);
}

.entornos-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

.entornos-title span {
    color: var(--color-primary);
}

.entornos-subtitle {
    color: rgba(184, 196, 208, 0.9);
    max-width: 42rem;
    margin: 0.85rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.entorno-card {
    background: rgba(18, 24, 34, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.35rem;
    padding: 2rem 1.85rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.entorno-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.entorno-card--teal:hover {
    border-color: rgba(20, 184, 166, 0.35);
}

.entorno-card--orange:hover {
    border-color: rgba(249, 115, 22, 0.35);
}

.entorno-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.entorno-card--teal .entorno-icon {
    background: radial-gradient(circle at 40% 35%, rgba(20, 184, 166, 0.4), rgba(10, 16, 24, 0.95) 70%);
    box-shadow:
        0 0 0 1px rgba(20, 184, 166, 0.35),
        0 0 22px rgba(20, 184, 166, 0.5),
        0 0 44px rgba(20, 184, 166, 0.25);
}

.entorno-card--orange .entorno-icon {
    background: radial-gradient(circle at 40% 35%, rgba(249, 115, 22, 0.42), rgba(10, 16, 24, 0.95) 70%);
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.4),
        0 0 22px rgba(249, 115, 22, 0.5),
        0 0 44px rgba(249, 115, 22, 0.25);
}

.entorno-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.entorno-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.entorno-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    flex: 1;
}

.entorno-list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.9rem;
}

.entorno-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
}

.entorno-card--teal .entorno-list li::before {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.7);
}

.entorno-card--orange .entorno-list li::before {
    background: var(--color-secondary);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}

.entorno-list strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.entorno-list span {
    display: block;
    color: rgba(184, 196, 208, 0.85);
    font-size: 0.86rem;
    line-height: 1.45;
}

.entorno-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: gap 0.2s ease;
}

.entorno-card--teal .entorno-link { color: var(--color-primary); }
.entorno-card--orange .entorno-link { color: var(--color-secondary); }
.entorno-link:hover { gap: 0.55rem; }

/* === SECTION NEON SEPARATORS === */
main > section:not(#inicio):not(#contacto-hero):not(#legal-hero):not(#landing-hero) {
    position: relative;
}

main > section:not(#inicio):not(#contacto-hero):not(#legal-hero):not(#landing-hero)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(20, 184, 166, 0.15) 12%,
        rgba(45, 212, 191, 0.95) 50%,
        rgba(20, 184, 166, 0.15) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 6px rgba(20, 184, 166, 0.85),
        0 0 14px rgba(20, 184, 166, 0.45),
        0 0 28px rgba(20, 184, 166, 0.25);
    pointer-events: none;
    z-index: 6;
}

/* === POR QUE SINAPSYS === */
.section-porque {
    background: #000108;
    color: #fff;
}

.porque-title {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

.porque-title span {
    color: var(--color-primary);
}

.porque-subtitle {
    color: rgba(184, 196, 208, 0.9);
    max-width: 40rem;
    margin: 0.85rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.porque-card {
    position: relative;
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2rem 1.6rem 1.75rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.porque-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.porque-card--teal:hover {
    border-color: rgba(20, 184, 166, 0.3);
}

.porque-card--orange:hover {
    border-color: rgba(249, 115, 22, 0.35);
}

.porque-step {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.55;
}

.porque-card--teal .porque-step { color: var(--color-primary); }
.porque-card--orange .porque-step { color: var(--color-secondary); }

.porque-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.35rem auto 1.25rem;
    color: #fff;
    font-size: 1.4rem;
}

.porque-card--teal .porque-icon {
    background: radial-gradient(circle at 40% 35%, rgba(20, 184, 166, 0.4), rgba(10, 16, 24, 0.95) 70%);
    box-shadow:
        0 0 0 1px rgba(20, 184, 166, 0.35),
        0 0 22px rgba(20, 184, 166, 0.5),
        0 0 44px rgba(20, 184, 166, 0.25);
}

.porque-card--orange .porque-icon {
    background: radial-gradient(circle at 40% 35%, rgba(249, 115, 22, 0.42), rgba(10, 16, 24, 0.95) 70%);
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.4),
        0 0 22px rgba(249, 115, 22, 0.5),
        0 0 44px rgba(249, 115, 22, 0.25);
}

.porque-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.porque-card p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* === REFERENCIAS / TESTIMONIOS === */
.section-referencias {
    position: relative;
    background: #000108;
    color: #fff;
    overflow: hidden;
}

.section-referencias::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(0, 1, 8, 0.45), rgba(0, 1, 8, 0.55)),
        url('../img/fondo-soluciones.jpg') center / cover no-repeat;
    pointer-events: none;
}

.section-referencias > .container {
    position: relative;
    z-index: 1;
}

.referencias-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(232, 238, 245, 0.88);
    margin: 0;
}

.ref-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.85rem 1.7rem 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ref-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.ref-quote {
    display: block;
    font-size: 1.65rem;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.85rem;
    line-height: 1;
}

.ref-card blockquote {
    margin: 0 0 1.35rem;
    padding: 0;
    border: 0;
    color: rgba(226, 232, 240, 0.95);
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
}

.ref-card blockquote strong {
    color: #fff;
    font-weight: 700;
}

.ref-card footer {
    margin-top: auto;
}

.ref-card footer strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.ref-card footer span {
    display: block;
    color: rgba(184, 196, 208, 0.85);
    font-size: 0.88rem;
}

/* === CONTACTO PAGE === */
.page-contacto {
    background: #000108;
}

.contacto-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: 8.5rem 0 3.5rem;
    background: #000108;
}

.contacto-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.contacto-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 1, 8, 0.94) 0%,
        rgba(0, 1, 8, 0.75) 45%,
        rgba(0, 1, 8, 0.35) 100%
    );
}

.contacto-hero-content {
    position: relative;
    z-index: 2;
}

.contacto-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.contacto-hero-title span {
    color: var(--color-primary);
}

.contacto-hero-lead {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 40rem;
    margin: 0;
}

.section-contacto-main,
.section-contacto-links {
    background: #000108;
    color: #fff;
}

.section-contacto-wa {
    position: relative;
    overflow: hidden;
    background: #000108;
    color: #fff;
}

.section-contacto-wa::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(0, 1, 8, 0.45), rgba(0, 1, 8, 0.55)),
        url('../img/fondo-soluciones.jpg') center / cover no-repeat;
    pointer-events: none;
}

.section-contacto-wa > .container {
    position: relative;
    z-index: 1;
}

.contacto-block-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.55rem;
}

.contacto-muted {
    color: rgba(184, 196, 208, 0.9) !important;
}

.contacto-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contacto-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.contacto-info-icon--teal {
    background: radial-gradient(circle at 40% 35%, rgba(20, 184, 166, 0.4), rgba(10, 16, 24, 0.95) 70%);
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.35), 0 0 18px rgba(20, 184, 166, 0.4);
}

.contacto-info-icon--orange {
    background: radial-gradient(circle at 40% 35%, rgba(249, 115, 22, 0.4), rgba(10, 16, 24, 0.95) 70%);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4), 0 0 18px rgba(249, 115, 22, 0.4);
}

.contacto-info-item h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contacto-info-item p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    line-height: 1.55;
}

.contacto-info-item a {
    color: rgba(226, 232, 240, 0.95);
    text-decoration: none;
}

.contacto-info-item a:hover {
    color: var(--color-primary);
}

.contacto-neon-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.75), transparent);
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.45);
}

.contacto-social-label {
    color: #fff;
    font-weight: 700;
}

.contacto-form-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.35rem;
    padding: 1.85rem 1.6rem;
}

.page-contacto .form-label,
.landing-contact-form .form-label {
    color: rgba(184, 196, 208, 0.95);
}

.contacto-input {
    background: rgba(8, 12, 18, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.contacto-input:focus {
    border-color: rgba(20, 184, 166, 0.55) !important;
    box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.2) !important;
}

.contacto-input::placeholder {
    color: rgba(184, 196, 208, 0.45);
}

.page-contacto .form-check-label a,
.landing-contact-form .form-check-label a {
    color: var(--color-primary);
}

.contacto-link-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.6rem 1.45rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contacto-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.3);
}

.contacto-link-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
}

.contacto-link-card p {
    color: rgba(184, 196, 208, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contacto-link-card a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.contacto-link-card a:hover {
    gap: 0.55rem;
}

/* === LEGAL PAGES (privacidad / terminos) === */
.page-legal {
    background: #000108;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 8.5rem 0 3rem;
    background: #000108;
}

.legal-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 0;
    pointer-events: none;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 1, 8, 0.94) 0%,
        rgba(0, 1, 8, 0.75) 45%,
        rgba(0, 1, 8, 0.35) 100%
    );
}

.legal-hero-content {
    position: relative;
    z-index: 2;
}

.legal-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 4.5vw, 3.3rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.legal-hero-title span {
    color: var(--color-primary);
}

.legal-hero-lead {
    color: rgba(184, 196, 208, 0.9);
    margin: 0;
    font-size: 1.05rem;
}

.section-legal-content {
    background: #000108;
    color: #fff;
}

.legal-card {
    background: rgba(18, 24, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.35rem;
    padding: 2rem 1.75rem;
}

.legal-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    margin: 1.75rem 0 0.85rem;
}

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

.legal-card p,
.legal-card li {
    color: rgba(184, 196, 208, 0.92);
    line-height: 1.7;
}

.legal-card p {
    margin-bottom: 1rem;
}

.legal-card ul {
    margin-bottom: 1.25rem;
    padding-left: 1.2rem;
}

.legal-card li {
    margin-bottom: 0.4rem;
}

.legal-card strong {
    color: #fff;
}

.legal-card a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* === LANDING AUTOMATIZACION === */
.page-landing--auto,
.page-landing--redes {
    background: #04101e;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    min-height: min(88vh, 760px);
    display: flex;
    align-items: center;
    padding: 7.5rem 0 4rem;
    background: #04101e;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
    pointer-events: none;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(4, 16, 30, 0.92) 0%,
        rgba(4, 16, 30, 0.72) 38%,
        rgba(4, 16, 30, 0.28) 68%,
        rgba(4, 16, 30, 0.12) 100%
    );
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
}

.landing-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2.1rem, 4.8vw, 3.5rem);
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.15rem;
}

.landing-hero-lead {
    color: rgba(232, 238, 245, 0.92);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 34rem;
    margin-bottom: 1.75rem;
}


.landing-hero-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.landing-hero-badges {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.landing-hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(20, 184, 166, 0.45);
    border-radius: 0.55rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    background: rgba(4, 16, 30, 0.35);
    backdrop-filter: blur(4px);
}

.landing-hero-badges i {
    color: var(--color-primary);
    font-size: 0.95rem;
}

.landing-hero--redes {
    min-height: min(62vh, 520px);
    padding: 6.5rem 0 3rem;
}

.landing-hero--redes .landing-hero-bg {
    inset: auto 0 0 auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: auto;
    height: 100%;
    max-width: 78%;
    object-fit: cover;
    object-position: center right;
}

/* Mitad izquierda: blur + fundido hacia la imagen */
.landing-hero--redes::before {
    background: linear-gradient(
        90deg,
        rgba(4, 16, 30, 0.88) 0%,
        rgba(4, 16, 30, 0.55) 38%,
        rgba(4, 16, 30, 0.18) 58%,
        transparent 78%
    );
}

.landing-hero--redes::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 58%;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: linear-gradient(
        90deg,
        rgba(4, 16, 30, 0.55) 0%,
        rgba(4, 16, 30, 0.28) 55%,
        rgba(4, 16, 30, 0) 100%
    );
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}

@media (max-width: 991.98px) {
    .landing-hero--redes .landing-hero-bg {
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: 70% center;
    }

    .landing-hero--redes::after {
        width: 100%;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: linear-gradient(
            180deg,
            rgba(4, 16, 30, 0.72) 0%,
            rgba(4, 16, 30, 0.45) 55%,
            rgba(4, 16, 30, 0.25) 100%
        );
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 767.98px) {
    .landing-hero-badges {
        margin-top: 1.35rem;
    }

    .landing-hero-badges li {
        font-size: 0.82rem;
        padding: 0.4rem 0.7rem;
    }
}

.landing-btn-primary {
    border-radius: 999px;
    box-shadow: 0 0 24px rgba(20, 184, 166, 0.35);
}

.landing-btn-wa {
    border-radius: 999px;
    border: 1.5px solid rgba(37, 211, 102, 0.7);
    color: #6ee7a8;
    background: transparent;
}

.landing-btn-wa:hover {
    background: rgba(37, 211, 102, 0.12);
    color: #86efac;
    border-color: #25d366;
}



.landing-conectividad {
    background: #04101e;
}

.landing-conect-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(56, 189, 248, 0.28);
    min-height: 280px;
    display: flex;
    align-items: center;
    background: #06101c;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 0 28px rgba(14, 165, 233, 0.12);
}

.landing-conect-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(58%, 720px);
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    pointer-events: none;
}

.landing-conect-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #06101c 0%,
        #06101c 38%,
        rgba(6, 16, 28, 0.82) 52%,
        rgba(6, 16, 28, 0.35) 72%,
        rgba(6, 16, 28, 0.12) 100%
    );
}

.landing-conect-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: linear-gradient(90deg, rgba(6, 16, 28, 0.45), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 40%, transparent 100%);
}

.landing-conect-content {
    position: relative;
    z-index: 2;
    padding: 2.4rem 2rem;
    max-width: 36rem;
}

.landing-conect-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.landing-conect-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.landing-conect-features li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    max-width: 14rem;
    line-height: 1.35;
}

.landing-conect-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    background: radial-gradient(circle at 40% 35%, rgba(56, 189, 248, 0.55), rgba(8, 18, 30, 0.95) 72%);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.45),
        0 0 14px rgba(14, 165, 233, 0.45);
}

@media (max-width: 991.98px) {
    .landing-conect-banner {
        min-height: 320px;
    }

    .landing-conect-bg {
        width: 100%;
        opacity: 0.55;
    }

    .landing-conect-banner::before {
        background: linear-gradient(
            180deg,
            rgba(6, 16, 28, 0.92) 0%,
            rgba(6, 16, 28, 0.78) 55%,
            rgba(6, 16, 28, 0.7) 100%
        );
    }

    .landing-conect-banner::after {
        width: 100%;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        -webkit-mask-image: none;
        mask-image: none;
        background: rgba(6, 16, 28, 0.35);
    }

    .landing-conect-content {
        max-width: none;
    }
}


.landing-problemas {
    background: #04101e;
    color: #fff;
}

.landing-problemas-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    color: #fff;
    margin: 0 auto 0.85rem;
    max-width: 22ch;
    line-height: 1.15;
}

.landing-problemas-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 1.02rem;
    margin: 0 auto;
    max-width: 36rem;
}

.landing-problemas-grid {
    align-items: stretch;
}

.landing-problema-card {
    background: rgba(8, 18, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 1.1rem 1.35rem;
    height: 100%;
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.landing-problema-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
}

.landing-problema-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.55rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}

.landing-problema-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.landing-problema-card p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.88rem;
    line-height: 1.5;
}

.landing-problemas-foot {
    margin: 2.25rem auto 0;
    max-width: 46rem;
    text-align: center;
    color: rgba(184, 196, 208, 0.92);
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .landing-problemas-grid > [class*="col-"] {
        flex: 1 1 0;
        max-width: none;
        width: auto;
    }
}


.landing-tech-logos {
    background: #04101e;
}

.landing-tech-panel {
    background: rgba(8, 18, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.35rem;
    padding: 2rem 1.75rem;
}

.landing-tech-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.landing-tech-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.98rem;
    line-height: 1.65;
}

.landing-tech-logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
}

.landing-tech-logos-row img {
    height: 44px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.92;
    filter: brightness(0) invert(1);
}

.landing-valores {
    background: #04101e;
    color: #fff;
}

.landing-valores-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    color: #fff;
    margin: 0 auto;
    max-width: 24ch;
    line-height: 1.15;
}

.landing-valor-card {
    background: rgba(8, 18, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.35rem 1rem;
    height: 100%;
    text-align: center;
}

.landing-valor-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.35rem;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.landing-valor-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

.landing-pasos {
    background: #04101e;
    color: #fff;
}

.landing-pasos-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    color: #fff;
    margin: 0 auto;
    line-height: 1.15;
}

.landing-paso-card {
    background: rgba(8, 18, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem 1.1rem 1.35rem;
    height: 100%;
    text-align: center;
}

.landing-paso-num {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #04101e;
    background: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.landing-paso-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.45rem;
}

.landing-paso-card p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .landing-pasos-grid > [class*="col-"] {
        flex: 1 1 0;
        max-width: none;
        width: auto;
    }
}

.landing-faq--redes .landing-faq-title {
    margin-bottom: 0.5rem;
}

.landing-faq-side-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 1rem;
    line-height: 1.6;
}

.landing-faq-accordion--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1.5rem;
}

@media (min-width: 768px) {
    .landing-faq-accordion--split {
        grid-template-columns: 1fr 1fr;
    }

    .landing-faq-accordion--split .landing-faq-item:nth-child(1) { grid-row: 1; grid-column: 1; }
    .landing-faq-accordion--split .landing-faq-item:nth-child(2) { grid-row: 2; grid-column: 1; }
    .landing-faq-accordion--split .landing-faq-item:nth-child(3) { grid-row: 3; grid-column: 1; }
    .landing-faq-accordion--split .landing-faq-item:nth-child(4) { grid-row: 1; grid-column: 2; }
    .landing-faq-accordion--split .landing-faq-item:nth-child(5) { grid-row: 2; grid-column: 2; }
    .landing-faq-accordion--split .landing-faq-item:nth-child(6) { grid-row: 3; grid-column: 2; }
}

.landing-faq-accordion--split .landing-faq-item:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .landing-faq-accordion--split .landing-faq-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
}


.landing-cta-redes {
    background: #04101e;
}

.landing-cta-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.35rem;
    min-height: 340px;
    display: flex;
    align-items: center;
    background: #04101e;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(58%, 780px);
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    pointer-events: none;
}

.landing-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #04101e 0%,
        #04101e 40%,
        rgba(4, 16, 30, 0.82) 55%,
        rgba(4, 16, 30, 0.35) 75%,
        rgba(4, 16, 30, 0.12) 100%
    );
}

.landing-cta-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    max-width: 34rem;
}

.landing-cta-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.landing-cta-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.landing-cta-lead {
    color: rgba(232, 238, 245, 0.92);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .landing-cta-banner {
        min-height: 380px;
    }

    .landing-cta-bg {
        width: 100%;
    }

    .landing-cta-banner::before {
        background: linear-gradient(
            180deg,
            rgba(4, 16, 30, 0.88) 0%,
            rgba(4, 16, 30, 0.78) 50%,
            rgba(4, 16, 30, 0.7) 100%
        );
    }

    .landing-cta-content {
        max-width: none;
    }
}

.landing-servicios {
    background: #04101e;
    color: #fff;
}

.landing-servicios-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}


.landing-servicios-title--wide {
    max-width: 22ch;
}

.landing-servicios-lead {
    color: rgba(184, 196, 208, 0.92);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 42rem;
    margin: 0.9rem auto 0;
}

.landing-svc-card--start {
    text-align: left;
    border-color: rgba(56, 189, 248, 0.18);
    padding: 1.5rem 1.35rem 1.4rem;
}

.landing-svc-card--start .landing-svc-icon {
    margin: 0 0 1rem;
}

.landing-svc-card--start:hover {
    border-color: rgba(56, 189, 248, 0.4);
}

.landing-servicios-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    color: #fff;
    margin: 0 auto;
    max-width: 28ch;
    line-height: 1.15;
}

.landing-svc-card {
    background: rgba(10, 24, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.15rem;
    padding: 1.65rem 1.25rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.landing-svc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.landing-svc-icon {
    width: 3.1rem;
    height: 3.1rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    background: radial-gradient(circle at 40% 35%, rgba(20, 184, 166, 0.42), rgba(8, 18, 30, 0.95) 70%);
    box-shadow:
        0 0 0 1px rgba(20, 184, 166, 0.35),
        0 0 18px rgba(20, 184, 166, 0.4);
}

.landing-svc-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.65rem;
}

.landing-svc-card p {
    margin: 0;
    color: rgba(184, 196, 208, 0.92);
    font-size: 0.92rem;
    line-height: 1.6;
}


.landing-integraciones {
    background: #04101e;
    color: #fff;
}

.landing-integraciones-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.landing-integraciones-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    color: #fff;
    margin: 0;
}

.landing-integraciones-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-integraciones-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem 2.5rem;
    width: 100%;
}

.landing-integraciones-grid img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}


.landing-escenarios {
    background: #04101e;
    color: #fff;
}

.landing-escenarios-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.landing-escenarios-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    color: #fff;
    margin: 0 auto;
    max-width: 28ch;
    line-height: 1.15;
}

.landing-escena-card {
    position: relative;
    border-radius: 1.15rem;
    overflow: hidden;
    min-height: 360px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-escena-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.landing-escena-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem 1.25rem 1.35rem;
    background: linear-gradient(
        180deg,
        rgba(4, 16, 30, 0.05) 0%,
        rgba(4, 16, 30, 0.35) 40%,
        rgba(4, 16, 30, 0.88) 100%
    );
}

.landing-escena-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #fff;
    background: rgba(20, 184, 166, 0.95);
    box-shadow: 0 0 16px rgba(20, 184, 166, 0.45);
    font-size: 1.05rem;
}

.landing-escena-overlay h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.45rem;
}

.landing-escena-overlay p {
    margin: 0;
    color: rgba(232, 238, 245, 0.92);
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .landing-escena-card {
        min-height: 300px;
    }
}


.landing-beneficios-proceso {
    background: #04101e;
    color: #fff;
}

.landing-bp-panel {
    background: rgba(8, 18, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.35rem;
    padding: 2.25rem 1.5rem 2rem;
}

@media (min-width: 992px) {
    .landing-bp-panel {
        padding: 2.75rem 2.25rem 2.5rem;
    }
}

.landing-bp-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.landing-bp-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    color: #fff;
    margin: 0 auto;
    max-width: 32ch;
    line-height: 1.15;
}

.landing-beneficio-item {
    text-align: center;
    height: 100%;
    padding: 0.35rem 0.25rem;
}

.landing-beneficio-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.55rem;
    line-height: 1;
}

.landing-beneficio-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
}

.landing-beneficio-item h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.landing-beneficio-item p {
    margin: 0;
    color: rgba(232, 238, 245, 0.92);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .landing-beneficios-grid > [class*="col-"]:not(:nth-child(3n + 1)) .landing-beneficio-item {
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        padding-left: 1rem;
    }
}

@media (min-width: 1200px) {
    .landing-beneficios-grid > [class*="col-"]:not(:first-child) .landing-beneficio-item {
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}


.landing-proceso-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem 0.35rem;
}

.landing-proceso-step {
    flex: 1 1 9.5rem;
    max-width: 11.5rem;
    text-align: center;
    padding: 0.25rem 0.35rem;
}

.landing-proceso-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
}

.landing-proceso-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.55rem;
    line-height: 1;
}

.landing-proceso-step h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.landing-proceso-step h3 span {
    color: rgba(232, 238, 245, 0.7);
    font-weight: 600;
}

.landing-proceso-step p {
    margin: 0;
    color: rgba(232, 238, 245, 0.9);
    font-size: 0.86rem;
    line-height: 1.5;
}

.landing-proceso-arrow {
    display: none;
    align-self: center;
    color: var(--color-primary);
    font-size: 1.15rem;
    opacity: 0.85;
    padding-top: 0.35rem;
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .landing-proceso-track {
        flex-wrap: nowrap;
        gap: 0.15rem;
    }

    .landing-proceso-step {
        flex: 1 1 0;
        max-width: none;
    }

    .landing-proceso-arrow {
        display: flex;
    }
}

@media (max-width: 991.98px) {
    .landing-proceso-step {
        flex: 1 1 calc(50% - 1rem);
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .landing-bp-panel {
        padding: 1.75rem 1.1rem 1.5rem;
    }
}


.landing-faq {
    background: #04101e;
    color: #fff;
}

.landing-faq-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.landing-faq-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    color: #fff;
    margin: 0 0 1.75rem;
    line-height: 1.15;
}

.landing-faq-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-color: #fff;
    --bs-accordion-active-color: #fff;
    --bs-accordion-btn-focus-box-shadow: none;
}

.landing-faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
}

.landing-faq-item:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-faq-btn {
    padding: 1.15rem 2.5rem 1.15rem 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.35;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 1rem;
}

.landing-faq-btn span {
    flex: 1;
    text-align: left;
}

.landing-faq-btn::after {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-left: 0;
    background-image: none !important;
    content: "+";
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-primary);
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-faq-btn:not(.collapsed)::after {
    content: "−";
    color: var(--color-primary);
}

.landing-faq-btn:hover,
.landing-faq-btn:focus {
    color: #fff !important;
    z-index: 1;
}

.landing-faq-answer {
    padding: 0 0 1.2rem;
}

.landing-faq-answer p {
    margin: 0;
    color: rgba(184, 196, 208, 0.95);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 38rem;
}

.landing-faq-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.35rem;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-end;
}

@media (min-width: 992px) {
    .landing-faq-cta {
        margin-top: 1.75rem;
        min-height: 460px;
        height: calc(100% - 1.75rem);
    }
}

.landing-faq-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.landing-faq-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(4, 16, 30, 0.92) 0%,
        rgba(4, 16, 30, 0.72) 48%,
        rgba(4, 16, 30, 0.35) 100%
    );
}

.landing-faq-cta-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.75rem 2.1rem;
    max-width: 28rem;
}

.landing-faq-cta-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.landing-faq-cta-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .landing-faq-cta {
        min-height: 360px;
    }

    .landing-faq-cta-content {
        max-width: none;
    }
}

.landing-body {
    background: #04101e;
    color: #fff;
}


.landing-panel--split {
    padding: 2rem 1.5rem;
}

@media (min-width: 992px) {
    .landing-panel--split {
        padding: 2.25rem 2rem;
    }

    .landing-body-form {
        border-left: 1px solid rgba(255, 255, 255, 0.14);
        padding-left: 2rem;
    }
}

@media (max-width: 991.98px) {
    .landing-body-form {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding-top: 1.75rem;
    }
}

.landing-body-copy h2 {
    margin-bottom: 1rem;
}

.landing-body-contact-title {
    margin-top: 2rem;
    margin-bottom: 1.35rem;
    font-size: 1.35rem;
}

.landing-body-copy .contacto-info-item p,
.landing-body-copy .contacto-info-item p a {
    color: rgba(184, 196, 208, 0.95);
    text-decoration: none;
}

.landing-body-copy .contacto-info-item p a:hover {
    color: var(--color-primary);
}


.landing-contact-form .form-check-input {
    background-color: rgba(8, 12, 18, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

.landing-contact-form .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.landing-contact-form .form-select.contacto-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2314b8a6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.landing-panel {
    background: rgba(10, 24, 40, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 1.85rem 1.6rem;
}

.landing-panel h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 1rem;
}

.landing-panel ul {
    color: rgba(184, 196, 208, 0.95);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.landing-panel p {
    color: rgba(184, 196, 208, 0.92);
}

.landing-panel a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.landing-panel a:hover {
    text-decoration: underline;
}


/* smart home block under hero */
.landing-smart {
    background: #04101e;
}

.landing-smart-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    background: rgba(8, 20, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.35rem;
    overflow: hidden;
    min-height: 360px;
}

.landing-smart-copy {
    padding: 2.4rem 2.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-smart-eyebrow {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.landing-smart-copy h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.landing-smart-copy > p {
    color: rgba(226, 232, 240, 0.92);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.35rem;
}

.landing-smart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: gap 0.2s ease;
}

.landing-smart-link:hover {
    gap: 0.55rem;
    color: #5eead4;
}

.landing-smart-media {
    position: relative;
    min-height: 280px;
}

.landing-smart-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 991.98px) {
    .landing-smart-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .landing-smart-media {
        min-height: 240px;
        order: -1;
    }
    .landing-smart-copy {
        padding: 1.6rem 1.35rem 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .landing-hero {
        min-height: auto;
        text-align: center;
        padding-top: 7rem;
    }
    .landing-hero::before {
        background: linear-gradient(
            180deg,
            rgba(4, 16, 30, 0.82) 0%,
            rgba(4, 16, 30, 0.78) 50%,
            rgba(4, 16, 30, 0.9) 100%
        );
    }
    .landing-hero-bg {
        object-position: 65% center;
        opacity: 0.9;
    }
    .landing-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .landing-hero-actions {
        justify-content: center;
    }
}
