/* Design System & Custom Properties */
:root {
    --primary-navy: #0A1118;
    --primary-orange: #F4C20D;
    --light-bg: #F8F9FA;
    --text-dark: #1B263B;
    --text-muted: #415A77;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Base Styles */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-weight: 700;
}

/* Utilities */
.text-orange {
    color: var(--primary-orange);
}

.bg-navy {
    background-color: var(--primary-navy);
}

.btn-orange {
    background-color: var(--primary-orange);
    color: #111827;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-orange:hover {
    background-color: #d4a805;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 194, 13, 0.35);
    color: #111827;
}

/* Minimalist Header */
.top-header-new {
    height: 40px;
    background-color: var(--primary-orange);
    color: #111827;
    font-size: 0.8rem;
    font-weight: 400;
}

.top-header-new .text-orange,
.top-header-new i {
    color: #111827 !important;
}

.social-links-top a {
    color: #111827;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links-top a:hover {
    color: #000000;
    opacity: 0.75;
}

.navbar-new {
    background: white;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    top: 0;
    z-index: 1030;
}

.navbar-new.scrolled {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    margin-left: 0;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(10, 17, 24, 0.15);
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Reducir padding de la marca y links en modo scrolled */
.navbar-new.scrolled .navbar-brand img {
    height: 38px;
    transition: var(--transition);
}

.btn-orange-rounded {
    background-color: var(--primary-orange);
    color: #111827;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-orange-rounded:hover {
    background-color: #d4a805;
    transform: scale(1.05);
    color: #111827;
}

.nav-link {
    color: var(--primary-navy) !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

@media (max-width: 991px) {
    .navbar-new {
        padding: 10px 0;
    }

    .navbar-new .container {
        position: relative;
    }

    .navbar-new .navbar-toggler {
        padding: 0.35rem 0.55rem;
        border: none !important;
        border-radius: 12px;
    }

    .navbar-new .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-new .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        box-shadow: 0 14px 30px rgba(10, 17, 24, 0.14);
        padding: 10px 12px 12px;
        z-index: 1200;
    }

    .navbar-new .navbar-nav {
        margin: 0 !important;
    }

    .navbar-new .nav-link {
        margin: 0;
        padding: 9px 4px;
        font-size: 1rem;
    }

    .navbar-new .nav-link::after {
        display: none;
    }

    .navbar-new .btn-orange-rounded {
        margin-top: 8px;
        padding: 8px 16px;
        font-size: 0.92rem;
    }
}

/* Hero Section */
.hero-section {
    padding: 160px 0 200px;
    background: linear-gradient(rgba(17, 24, 39, 0.65), rgba(17, 24, 39, 0.5)), url('../Imagenes/home-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Animaciones de entrada escalonadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--primary-orange);
    display: block;
    min-height: 1.5rem;
    /* Evita que colapse */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    min-height: 8.5rem;
    /* Altura aproximada para 2 líneas */
}

.hero-separator {
    width: 300px;
    border-top: 2px dashed rgba(255, 255, 255, 0.4);
    margin: 30px auto;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #f8f9fa;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    min-height: 4rem;
    /* Altura para 2 líneas */
}

.btn-hero {
    background-color: var(--primary-orange);
    color: #111827;
    padding: 15px 45px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.6s;
}

/* --- FLOATING FEATURE CARDS --- */
.floating-cards-wrapper {
    margin-top: -165px;
    position: relative;
    z-index: 50;
    padding-bottom: 30px;
    background: linear-gradient(transparent 165px, #ffffff 0%);
}

#problema.grid-pattern-bg::before {
    display: none;
}

.floating-card-horizontal {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 5;
    animation: fadeInUp 0.8s ease-out both;
}

#problema .col-lg-4:nth-child(1) .floating-card-horizontal,
#problema .col-lg-4:nth-child(2) .floating-card-horizontal {
    background: #ffffff;
}

#problema .col-lg-4:nth-child(3) .floating-card-horizontal {
    background: linear-gradient(180deg, rgba(244, 194, 13, 0.92), rgba(244, 194, 13, 0.86));
    border-color: rgba(244, 194, 13, 0.72);
    box-shadow: 0 16px 42px rgba(244, 194, 13, 0.28);
}

/* Línea naranja INTERIOR (Cuadrado completo) */
.floating-card-horizontal::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(243, 112, 33, 0.2);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

#problema .col-lg-4:nth-child(3) .floating-card-horizontal::after {
    border-color: rgba(17, 24, 39, 0.18);
}

.floating-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.floating-card-horizontal:hover::after {
    border-color: var(--primary-orange);
    top: 8px;
    left: 8px;
    right: 8px;
    border-width: 1.5px;
}

.floating-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

#problema .col-lg-4:nth-child(3) .floating-icon-box {
    background: #0f172a;
    color: #ffffff;
}

.floating-card-horizontal:hover .floating-icon-box {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 15px rgba(243, 112, 33, 0.2);
}

#problema .col-lg-4:nth-child(3) .floating-card-horizontal:hover .floating-icon-box {
    background: rgba(17, 24, 39, 0.35);
}

.floating-card-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    text-align: center;
}

#problema .col-lg-4:nth-child(3) .floating-card-content h4 {
    color: #0f172a;
}

.floating-card-content p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: #475569;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
}

#problema .col-lg-4:nth-child(3) .floating-card-content p {
    color: rgba(15, 23, 42, 0.84);
    margin-bottom: 10px;
}

.floating-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    margin: 2px auto 0;
}

.floating-card-cta:hover {
    color: #ffffff;
    background: #1f2937;
}

/* Media query consolidado para el floating section */
@media (max-width: 991px) {
    .floating-cards-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    #problema .floating-card-horizontal {
        padding: 20px 16px;
        gap: 10px;
        border-radius: 10px;
    }

    #problema .floating-card-horizontal::after {
        top: 7px;
        left: 7px;
        right: 7px;
        bottom: 7px;
    }

    #problema .floating-icon-box {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
        border-radius: 9px;
    }

    #problema .floating-card-content h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    #problema .floating-card-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    #problema .floating-card-cta {
        font-size: 0.62rem;
        padding: 6px 9px;
        border-radius: 6px;
    }
}

.hero-img-container {
    position: relative;
    z-index: 1;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

/* Section Transitions */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Card Customization */
.custom-card {
    border: none;
    border-radius: 16px;
    padding: 30px;
    background: white;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(243, 112, 33, 0.1);
    color: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* IoT Animation Section */
.iot-display {
    background: var(--primary-navy);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.data-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Courier New', monospace;
}

.data-unit {
    font-size: 1rem;
    color: #e0e1dd;
}

/* About Us Section (Redesign) */
.about-panel {
    max-width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.about-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.42fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: start;
}

.about-collage::after {
    content: '';
    position: absolute;
    left: -10px;
    bottom: -12px;
    width: 92px;
    height: 62px;
    background-image:
        radial-gradient(circle, rgba(148, 163, 184, 0.35) 1.5px, transparent 1.6px);
    background-size: 10px 10px;
    opacity: 0.55;
    pointer-events: none;
}

.about-collage-main {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    aspect-ratio: 0.68;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

.about-collage-secondary {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 0.9;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.about-stat-card {
    grid-column: 2;
    grid-row: 2;
    background: var(--primary-orange);
    color: #111827;
    border-radius: 8px;
    padding: 28px 22px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(244, 194, 13, 0.28);
}

.about-stat-number {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.about-stat-text {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 700;
}

.about-title {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0f172a;
    font-weight: 800;
    max-width: 680px;
}

.about-description {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #475569;
    max-width: 680px;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-mission-card {
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    padding: 20px 22px;
    min-height: 170px;
    background: #fff;
}

.mission-card {
    border-color: rgba(244, 194, 13, 0.95);
    background: linear-gradient(180deg, rgba(244, 194, 13, 0.08), rgba(244, 194, 13, 0.03));
}

.vision-card {
    border-color: rgba(15, 23, 42, 0.38);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.98));
}

.about-mission-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d97706;
    margin-bottom: 10px;
}

.about-mission-label.vision {
    color: #111827;
}

.about-mission-card p {
    margin-bottom: 0;
    color: #334155;
    line-height: 1.5;
    font-size: 0.88rem;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.chip-amber {
    background: rgba(244, 194, 13, 0.14);
    color: #7c5f00;
    border: 1px solid rgba(244, 194, 13, 0.35);
}

.chip-dark {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.about-values li {
    color: #334155;
    font-size: 0.98rem;
}

.about-panel .about-mission-grid {
    max-width: 720px;
}

.about-legacy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-legacy-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111827;
    border: 1px solid transparent;
}

.tag-yellow {
    background: var(--primary-orange);
    border-color: rgba(244, 194, 13, 0.85);
}

.tag-muted {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

.about-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    color: #374151;
}

.about-benefit-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 500;
    white-space: nowrap;
}

.about-team-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.about-team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #111827;
    border: 1px solid rgba(244, 194, 13, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.about-team-card h6 {
    color: #0f172a;
}

.about-team-card p {
    color: var(--primary-orange);
    font-size: 0.86rem;
}

.about-img-main {
    width: 85%;
    height: 540px;
    /* Un poco más largo */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.about-img-secondary {
    position: absolute;
    top: 10%;
    right: 0;
    width: 45%;
    border: 10px solid white;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.about-experience-box {
    position: absolute;
    bottom: -20px;
    right: 5%;
    /* Movido más a la derecha */
    background-color: var(--primary-orange);
    color: #111827;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(243, 112, 33, 0.4);
}

.about-tagline {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-tagline::before {
    content: '';
    width: 30px;
    height: 2px;
    background-color: var(--primary-orange);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-list li {
    margin-bottom: 12px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: var(--primary-orange);
}

.signature-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    border-left: 5px solid var(--primary-orange);
}

.signature-card .font-italic {
    color: #f97316;
}

.signature-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.plan-card.highlight {
    border-color: var(--primary-orange);
    position: relative;
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Contact Form */
.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.25rem rgba(243, 112, 33, 0.1);
}

/* Footer */
footer {
    background: #2c3e50;
    color: #e0e1dd;
    padding: 60px 0 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-orange);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .navbar-new.scrolled {
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 94%;
        max-width: 560px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(10, 17, 24, 0.18);
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    .about-panel {
        padding: 0;
        border-radius: 0;
    }

    .about-collage {
        grid-template-columns: 1.28fr 0.92fr;
        gap: 12px;
        margin-bottom: 10px;
    }

    .about-collage-main {
        border-radius: 6px;
    }

    .about-stat-card {
        min-height: 126px;
        padding: 16px 12px;
        border-radius: 6px;
    }

    .about-stat-text {
        font-size: 0.72rem;
        margin-top: 8px;
    }

    .about-collage-secondary {
        border-radius: 6px;
    }

    .about-title {
        font-size: 1.8rem;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .about-description {
        font-size: 0.9rem;
        line-height: 1.62;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-mission-card {
        padding: 16px 16px;
        min-height: auto;
        border-radius: 14px;
    }

    .about-mission-label {
        font-size: 0.74rem;
        margin-bottom: 8px;
    }

    .about-mission-card p,
    .about-values li {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .about-badges {
        gap: 8px;
    }

    .about-badge {
        font-size: 0.68rem;
        padding: 7px 10px;
    }

    .signature-card {
        padding: 14px;
        border-radius: 12px;
        gap: 12px;
    }

    .signature-card h6 {
        font-size: 0.92rem;
    }

    .signature-card p {
        font-size: 0.75rem;
    }

    .about-legacy-tags {
        gap: 6px;
    }

    .about-legacy-tag {
        font-size: 0.58rem;
        padding: 5px 9px;
    }

    .about-benefits-row {
        gap: 10px;
        align-items: flex-start;
    }

    .about-benefit-item {
        font-size: 0.72rem;
        white-space: normal;
    }

    .about-team-card {
        padding-top: 12px;
        gap: 12px;
    }

    .about-team-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.82rem;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.22;
        min-height: auto;
        margin-bottom: 18px;
    }

    .hero-tagline {
        font-size: 0.82rem;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.45;
        min-height: auto;
        margin-bottom: 32px;
        max-width: 330px;
    }

    .hero-separator {
        width: 150px;
    }

    .hero-section {
        padding: 150px 0 100px;
    }

    .btn-hero {
        padding: 11px 24px;
        font-size: 0.92rem;
        gap: 8px;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }
}

/* Tech Section Redesign (Framed Left Layout) */
.tech-feature-card {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    z-index: 5;
    animation: fadeInUp 0.8s ease-out both;
    overflow: hidden;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    min-height: 132px;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(244, 194, 13, 0.45);
    border-radius: 12px;
    z-index: 0;
    pointer-events: none;
}

.tech-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* Retrasos para las 4 tarjetas tech */
.tech-panels-grid > div:nth-child(1) .tech-feature-card {
    animation-delay: 0.2s;
}

.tech-panels-grid > div:nth-child(2) .tech-feature-card {
    animation-delay: 0.4s;
}

.tech-panels-grid > div:nth-child(3) .tech-feature-card {
    animation-delay: 0.6s;
}

.tech-panels-grid > div:nth-child(4) .tech-feature-card {
    animation-delay: 0.8s;
}

.tech-icon-circle {
    width: 52px;
    height: 52px;
    background: rgba(244, 194, 13, 0.14);
    border-radius: 50%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e3b422;
    transition: all 0.4s ease;
    align-self: center;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.tech-feature-card:hover .tech-icon-circle {
    background: rgba(244, 194, 13, 0.22);
    color: #ca8a04;
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(244, 194, 13, 0.18);
}

.tech-feature-card h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.tech-feature-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.42;
    color: #64748b;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.tech-feature-copy {
    min-width: 0;
    padding-right: 4px;
}

/* InfraTrack Operations Showcase */
.ops-showcase-panel {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    margin: 48px auto 0;
    max-width: 1100px;
}

.ops-showcase-header {
    margin-bottom: 12px;
}

.ops-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #41546f;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 4px 0 10px;
}

.ops-subtitle span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(202, 138, 4, 0.14);
    color: #a16207;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 900;
}

.ops-subtitle-bottom {
    margin-top: 12px;
}

.ops-kicker {
    color: #ca8a04;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ops-kpi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ops-kpi-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 12px;
    min-height: 94px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ops-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}


.ops-kpi-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #1e293b;
}

.icon-fuel {
    background: rgba(234, 88, 12, 0.18);
}

.icon-gps {
    background: rgba(37, 99, 235, 0.18);
}

.icon-engine {
    background: rgba(202, 138, 4, 0.2);
}

.icon-roi {
    background: rgba(16, 185, 129, 0.18);
}

.ops-kpi-title {
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    color: #516179;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ops-kpi-value {
    font-size: 1.64rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin: 0 0 3px;
}

.ops-kpi-meta {
    font-size: 0.63rem;
    color: #5f6f87;
    font-weight: 700;
    margin: 0;
}

.ops-kpi-side {
    justify-self: end;
    text-align: right;
    min-width: 72px;
    padding-left: 8px;
}

.ops-kpi-side span {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 3px;
}

.ops-kpi-side strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

.ops-modules-row {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.ops-module-chip {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 9px 10px;
}

.ops-module-chip i {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: rgba(202, 138, 4, 0.15);
    color: #a16207;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    margin-top: 1px;
}

.ops-module-chip h6 {
    margin: 0 0 3px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1f2d42;
    line-height: 1.2;
}

.ops-module-chip p {
    margin: 0;
    font-size: 0.67rem;
    color: #5f6f87;
    font-weight: 600;
    line-height: 1.3;
}

.ops-liveboard-panel {
    margin-top: 8px;
    background: #ffffff;
    border: 1px dashed #cfd9e7;
    border-radius: 12px;
    padding: 10px;
}

.ops-liveboard-title {
    margin: 0 0 8px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #334155;
}

.ops-liveboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ops-live-unit {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
}

.ops-live-unit.ok {
    border-color: rgba(22, 163, 74, 0.28);
}

.ops-live-unit.warn {
    border-color: rgba(234, 179, 8, 0.42);
}

.ops-live-unit.plan {
    border-color: rgba(37, 99, 235, 0.3);
}

.ops-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ops-live-head strong {
    font-size: 0.68rem;
    color: #1f2d42;
}

.unit-state {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}

.ops-live-unit.ok .unit-state {
    background: rgba(22, 163, 74, 0.14);
    color: #166534;
}

.ops-live-unit.warn .unit-state {
    background: rgba(234, 179, 8, 0.2);
    color: #92400e;
}

.ops-live-unit.plan .unit-state {
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.ops-live-metrics {
    display: grid;
    gap: 3px;
}

.ops-live-metrics span {
    font-size: 0.63rem;
    color: #475569;
    font-weight: 700;
}

.ops-side-card {
    background: #ffffff;
    color: #1f2d42;
    border-radius: 14px;
    padding: 10px 10px;
    border: 1px solid #dbe4f0;
}

.ops-side-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #0f172a;
}

.ops-event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ops-event-list li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 8px;
}

.event-time {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 800;
    color: #ca8a04;
    margin-bottom: 2px;
}

.ops-event-list p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.32;
    color: #334155;
}

.ops-asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.76rem;
}

.ops-asset-row strong {
    color: #facc15;
}

.ops-side-foot {
    margin-top: 6px;
    font-size: 0.68rem;
    color: #64748b;
}

.ops-impact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.ops-impact-pill {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
}

.ops-impact-pill i {
    color: #ca8a04;
    font-size: 0.95rem;
}

.ops-daily-summary {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #e8eef6;
}

.ops-daily-summary .ops-impact-row {
    max-width: 100%;
}

@media (max-width: 1199px) {
    #tecnologia .ops-showcase-panel {
        padding: 22px 18px;
    }

    #tecnologia .ops-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.text-muted-dark {
    color: #64748b;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    #tecnologia {
        padding: 72px 0;
    }

    #tecnologia .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    #tecnologia .section-title {
        margin-bottom: 34px;
    }

    #tecnologia .section-title>span {
        font-size: 0.76rem;
        letter-spacing: 1.5px !important;
    }

    #tecnologia .section-title h2 {
        font-size: 2rem !important;
        line-height: 1.18;
        margin-top: 8px !important;
    }

    #tecnologia .section-title p {
        font-size: 0.9rem;
        line-height: 1.45;
        max-width: 320px !important;
        margin-top: 8px;
    }

    #tecnologia .bg-text-watermark {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    #tecnologia .row.g-4.mb-5 {
        --bs-gutter-x: 0.9rem;
        --bs-gutter-y: 0.9rem;
        margin-bottom: 32px !important;
    }

    #tecnologia .tech-feature-card {
        min-height: 124px;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 10px;
        align-items: center;
        padding: 14px 14px;
        border-radius: 12px;
    }

    #tecnologia .tech-feature-card::before {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 10px;
    }

    #tecnologia .tech-feature-card h4 {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    #tecnologia .tech-feature-card p {
        font-size: 0.7rem;
        line-height: 1.35;
        margin-bottom: 0;
    }

    #tecnologia .tech-icon-circle {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin-bottom: 0;
        margin-top: 0;
    }

    #tecnologia .ops-showcase-panel {
        margin-top: 30px;
        padding: 20px 12px;
        border-radius: 16px;
    }

    #tecnologia .ops-kicker {
        font-size: 0.66rem;
        letter-spacing: 1px;
    }

    #tecnologia .ops-showcase-header h3 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    #tecnologia .ops-showcase-header p.small {
        font-size: 0.82rem;
    }

    #tecnologia .ops-subtitle {
        font-size: 0.64rem;
        margin-bottom: 8px;
    }

    #tecnologia .ops-subtitle span {
        width: 17px;
        height: 17px;
        font-size: 0.58rem;
    }

    #tecnologia .ops-kpi-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #tecnologia .ops-kpi-card {
        min-height: auto;
        grid-template-columns: 36px minmax(0, 1fr) auto;
        padding: 10px;
        border-radius: 10px;
    }

    #tecnologia .ops-kpi-icon {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    #tecnologia .ops-kpi-title {
        font-size: 0.6rem;
    }

    #tecnologia .ops-kpi-value {
        font-size: 1.42rem;
    }

    #tecnologia .ops-kpi-meta {
        font-size: 0.6rem;
    }

    #tecnologia .ops-kpi-side {
        min-width: 62px;
    }

    #tecnologia .ops-kpi-side span {
        font-size: 0.54rem;
    }

    #tecnologia .ops-kpi-side strong {
        font-size: 0.64rem;
    }

    #tecnologia .ops-modules-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    #tecnologia .ops-module-chip {
        padding: 8px 9px;
    }

    #tecnologia .ops-module-chip h6 {
        font-size: 0.66rem;
    }

    #tecnologia .ops-module-chip p {
        font-size: 0.62rem;
    }

    #tecnologia .ops-liveboard-panel {
        margin-top: 8px;
        padding: 8px;
    }

    #tecnologia .ops-liveboard-title {
        font-size: 0.66rem;
        margin-bottom: 6px;
    }

    #tecnologia .ops-liveboard-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    #tecnologia .ops-live-unit {
        padding: 7px;
    }

    #tecnologia .ops-live-head strong {
        font-size: 0.63rem;
    }

    #tecnologia .ops-live-metrics span {
        font-size: 0.6rem;
    }

    #tecnologia .ops-side-card {
        padding: 13px 12px;
    }

    #tecnologia .ops-side-title {
        font-size: 0.84rem;
        margin-bottom: 10px;
    }

    #tecnologia .ops-event-list p {
        font-size: 0.72rem;
    }

    #tecnologia .ops-impact-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    #tecnologia .ops-daily-summary {
        margin-top: 10px;
        padding-top: 10px;
    }

    #tecnologia .ops-impact-pill {
        font-size: 0.72rem;
        padding: 9px 10px;
    }

    #tecnologia .text-center.mt-5.pt-4 {
        margin-top: 30px !important;
        padding-top: 8px !important;
    }

    #tecnologia .text-center.mt-5.pt-4 p {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 300px !important;
        margin-bottom: 18px !important;
    }

    #tecnologia .text-center.mt-5.pt-4 .btn-hero {
        padding: 8px 14px;
        font-size: 0.78rem;
        line-height: 1.25;
        border-radius: 6px;
    }
}

/* Sector Premium Redesign (White High-Fidelity Style) */
.sector-card-premium {
    background: white;
    border-radius: 12px;
    position: relative;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
    border: 1px solid #edf2f7;
}

/* Marco decorativo EXTERIOR (como estaban antes) */
.sector-card-premium::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2.5px solid rgba(0, 0, 0, 0.08);
    /* Marco más visible */
    border-radius: 12px;
    z-index: -1;
    transition: all 0.4s ease;
    pointer-events: none;
}

/* La línea naranja curva para sectores */
.sector-card-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary-orange);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.sector-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.sector-card-premium:hover::before {
    border-color: var(--primary-orange);
    transform: translate(6px, 6px);
}

.sector-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sector-card-premium:hover .sector-img {
    transform: scale(1.1);
}

.sector-floating-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-orange);
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 6px solid white;
    position: relative;
    z-index: 15;
    margin: -35px auto 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sector-card-premium:hover .sector-floating-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-orange);
}

.sector-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    z-index: 10;
}

.sector-badge.orange {
    background: rgba(244, 194, 13, 0.92);
    color: #111827;
}

.sector-badge.blue {
    background: rgba(17, 24, 39, 0.9);
    color: #ffffff;
}

.sector-badge.green {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.sector-content {
    padding: 0 25px 25px;
    /* Padding superior eliminado para subir el texto */
    text-align: center;
}

.sector-title {
    color: var(--primary-navy);
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 0;
    /* Pegado al máximo */
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.sector-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    /* Más compacto */
}

.sector-tags {
    display: flex;
    justify-content: center;
    /* Centrar tags */
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
    /* Más compacto */
}

.tag {
    background: #f8fafc;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e2e8f0;
}

.sector-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.sector-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.sector-link:hover {
    gap: 12px;
    color: var(--primary-navy);
}

@media (max-width: 768px) {
    #sectores {
        padding: 70px 0;
    }

    #sectores .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    #sectores .section-title {
        margin-bottom: 28px;
    }

    #sectores .section-title>span {
        font-size: 0.78rem;
        letter-spacing: 1.8px !important;
    }

    #sectores .section-title h2 {
        font-size: 1.95rem !important;
        line-height: 1.18;
        margin-top: 8px !important;
    }

    #sectores .section-title p {
        font-size: 0.88rem;
        line-height: 1.42;
        max-width: 320px !important;
    }

    #sectores .bg-text-watermark {
        font-size: 2.1rem;
        letter-spacing: 2px;
    }

    #sectores .row.g-4 {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

    #sectores .sector-card-premium {
        border-radius: 10px;
    }

    #sectores .sector-card-premium::before {
        top: 7px;
        left: 7px;
        right: 7px;
        bottom: 7px;
        border-width: 1.5px;
    }

    #sectores .sector-card-premium::after {
        height: 6px;
    }

    #sectores .sector-img-wrapper {
        height: 180px;
    }

    #sectores .sector-badge {
        top: 10px;
        left: 10px;
        gap: 5px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    #sectores .sector-floating-icon {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
        border-width: 4px;
        margin: -28px auto 0;
    }

    #sectores .sector-content {
        padding: 8px 14px 14px;
    }

    #sectores .sector-title {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    #sectores .sector-text {
        font-size: 0.74rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    #sectores .sector-tags {
        gap: 4px;
        margin-bottom: 10px !important;
    }

    #sectores .tag {
        font-size: 0.56rem;
        padding: 3px 7px;
        letter-spacing: 0.3px;
    }

    #sectores .sector-footer {
        padding-top: 10px;
    }

    #sectores .sector-link {
        font-size: 0.72rem;
        gap: 6px;
    }
}

/* Sector Cards (Image 6 style) */
.sector-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #edf2f7;
    height: 100%;
    position: relative;
}

.sector-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.sector-img-wrapper {
    position: relative;
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.sector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-icon-float {
    position: absolute;
    top: 200px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

.sector-content {
    padding: 60px 30px 30px;
}

.sector-content h4 {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.sector-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- PRICING SECTION PREMIUM (WHITE STYLE) --- */
.pricing-section-premium {
    padding: 100px 0;
    background: #ffffff;
}

.title-separator-standard {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.pricing-card-white {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1.5px solid #cbd5e1;
    /* Gris más fuerte */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.pricing-card-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #94a3b8;
}

.pricing-card-white.highlight {
    border: 2px solid var(--primary-orange);
    transform: scale(1.08);
    /* Ligeramente más grande */
    z-index: 10;
    padding: 70px 40px 60px;
    /* Mucho más largo (taller) */
    box-shadow: 0 30px 60px rgba(243, 112, 33, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: #111827;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(243, 112, 33, 0.2);
}

.plan-name {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: block;
}

.orange-text {
    color: var(--primary-orange) !important;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
    letter-spacing: -1.5px;
}

.price-period {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    margin-left: 4px;
}

.plan-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0;
}

.pricing-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 25px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.active {
    color: #334155;
    font-weight: 500;
}

.pricing-features li.inactive {
    color: #cbd5e1;
}

.pricing-features li.active i {
    color: #4CAF50;
    font-size: 1rem;
}

.pricing-features li.inactive i {
    color: #e2e8f0;
    font-size: 1rem;
}

.btn-outline-pricing {
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-outline-pricing:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-solid-pricing {
    background: var(--primary-orange);
    color: #111827;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(244, 194, 13, 0.35);
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-solid-pricing:hover {
    background: #d4a805;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(244, 194, 13, 0.4);
}

@media (max-width: 991px) {
    .pricing-card-white.highlight {
        transform: scale(1);
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    #planes {
        padding: 72px 0 48px;
    }

    #planes .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    #planes .section-title {
        margin-bottom: 28px;
    }

    #planes .section-title>span {
        font-size: 0.78rem;
        letter-spacing: 1.8px !important;
    }

    #planes .section-title h2 {
        font-size: 1.9rem !important;
        line-height: 1.18;
    }

    #planes .section-title p {
        font-size: 0.86rem;
        line-height: 1.42;
        max-width: 315px !important;
    }

    #planes .row.g-4 {
        --bs-gutter-x: 0.8rem;
        --bs-gutter-y: 0.8rem;
    }

    #planes .pricing-card-white {
        padding: 24px 18px;
        border-radius: 14px;
    }

    #planes .pricing-card-white.highlight {
        padding: 36px 18px 30px;
        margin: 10px 0;
        box-shadow: 0 18px 35px rgba(243, 112, 33, 0.12);
    }

    #planes .recommended-badge {
        top: -10px;
        font-size: 0.58rem;
        padding: 4px 12px;
        letter-spacing: 0.8px;
    }

    #planes .plan-name {
        font-size: 0.68rem;
        margin-bottom: 8px;
    }

    #planes .plan-price {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    #planes .price-period {
        font-size: 0.78rem;
    }

    #planes .plan-desc {
        font-size: 0.8rem;
        line-height: 1.38;
    }

    #planes .pricing-divider {
        margin: 18px 0;
    }

    #planes .pricing-features {
        margin-bottom: 20px;
    }

    #planes .pricing-features li {
        font-size: 0.78rem;
        margin-bottom: 10px;
        gap: 8px;
    }

    #planes .pricing-features li.active i,
    #planes .pricing-features li.inactive i {
        font-size: 0.85rem;
    }

    #planes .btn-outline-pricing,
    #planes .btn-solid-pricing {
        font-size: 0.76rem;
        padding: 10px 10px;
        border-radius: 8px;
    }

    #planes .pricing-bottom-info {
        margin-top: 20px !important;
    }

    #planes .pricing-bottom-info p {
        font-size: 0.72rem !important;
        line-height: 1.35;
        margin-bottom: 0;
    }
}

/* --- NEW CONTACT SECTION (IMAGE 1) --- */
.contact-section-new {
    padding: 60px 0 100px;
    background-color: #fff;
}

.contact-tagline {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.contact-title-big {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 25px;
}

.contact-desc {
    color: #64748b;
    margin-bottom: 40px;
    max-width: 500px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.info-box-new {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon-box {
    width: 45px;
    height: 45px;
    background: #fdf2e9;
    color: var(--primary-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h6 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-navy);
}

.info-text p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.social-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.social-links-circle {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: #fdf2e9;
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

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

.contact-card-white {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-label-new {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.form-control-new {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-control-new:focus {
    background: white;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.1);
}

.btn-send-message {
    background: var(--primary-orange);
    color: #111827;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-send-message:hover {
    background: #d4a805;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 194, 13, 0.35);
}

/* --- NEW FOOTER (IMAGE 2) --- */
.footer-dark-new {
    background: var(--primary-orange);
    color: #1f2937;
    padding: 80px 0 30px;
}

.footer-logo-box {
    margin-bottom: 25px;
}

.footer-logo-box img {
    height: 45px;
    margin-bottom: 15px;
}

.footer-logo-box h4 {
    color: #111827;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-nav-center {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-nav-center a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.footer-nav-center a:hover {
    color: #000000;
    opacity: 0.75;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    /* Para la marca de agua */
    z-index: 1;
}

.bg-text-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    /* Elevado un poco más */
    font-size: 8rem;
    font-weight: 900;
    color: #f1f5f9;
    /* Un poco más visible */
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 12px;
}

@media (max-width: 991px) {
    .bg-text-watermark {
        font-size: 4rem;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .bg-text-watermark {
        font-size: 2.6rem;
        letter-spacing: 4px;
    }
}


.title-separator-standard {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.footer-bottom-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subscribe-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subscribe-box h6 {
    color: #111827;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscribe-form {
    display: flex;
    max-width: 400px;
    gap: 0;
}

.subscribe-input {
    background: #fff8db;
    border: none;
    padding: 12px 20px;
    border-radius: 8px 0 0 8px;
    color: #111827;
    width: 250px;
}

.subscribe-btn {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
}

.grid-pattern-bg {
    position: relative;
}

.grid-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(135deg, rgba(250, 204, 21, 0.08) 0 2px, transparent 2px 38px),
        repeating-linear-gradient(45deg, rgba(37, 99, 235, 0.04) 0 1px, transparent 1px 52px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.9) 42%, rgba(255, 255, 255, 0.96) 100%);
    pointer-events: none;
    z-index: 0;
}

.grid-pattern-bg>.container {
    position: relative;
    z-index: 1;
}

.reveal-card,
.reveal-left,
.reveal-right,
.reveal-item,
.reveal-zoom,
.reveal-watermark {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-card {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-item {
    transform: translateY(20px);
}

.reveal-zoom {
    transform: scale(0.8);
}

.reveal-watermark {
    transform: translate(-50%, -45%) scale(1.1);
}

/* Estado inicial ligeramente abajo y más grande */

.reveal-card.active,
.reveal-left.active,
.reveal-right.active,
.reveal-item.active,
.reveal-zoom.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.reveal-watermark.active {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1);
    /* Posición final exacta original */
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.payment-badge {
    height: 25px;
    opacity: 0.7;
    transition: 0.3s;
}

.payment-badge:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .contact-title-big {
        font-size: 2.2rem;
    }

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

    .footer-bottom-info {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-dark-new {
        padding: 56px 0 18px;
    }

    .footer-nav-center {
        gap: 12px 24px;
        margin-bottom: 24px;
    }

    .footer-nav-center a {
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }

    .footer-bottom-info {
        padding-top: 24px;
    }

    .footer-logo-box img {
        height: 36px;
        margin-bottom: 10px;
    }

    .footer-logo-box h4 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .footer-logo-box p,
    .footer-contact-details p {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .subscribe-box h6 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .subscribe-form {
        width: 100%;
        max-width: 300px;
    }

    .subscribe-input {
        width: calc(100% - 48px);
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .subscribe-btn {
        width: 48px;
        padding: 0;
    }

    .payment-icons {
        gap: 10px;
        margin-top: 14px;
    }

    .payment-badge {
        height: 20px;
    }

    .footer-dark-new .text-center.mt-5.pt-4 {
        margin-top: 24px !important;
        padding-top: 12px !important;
        font-size: 0.72rem;
    }
}


/* Stats Counter Section (InfraTrack redesign) */
.stats-counter-section {
    position: relative;
    padding: 108px 0;
    background: url('../Imagenes/section-porcentajes.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 12% 16%, rgba(251, 191, 36, 0.22) 0%, rgba(251, 191, 36, 0) 36%),
        radial-gradient(circle at 88% 82%, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0) 42%),
        linear-gradient(120deg, rgba(10, 10, 10, 0.66) 0%, rgba(20, 20, 20, 0.52) 100%);
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.stat-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 10px 6px;
    transition: transform 0.28s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-blob {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    background: linear-gradient(145deg, #facc15 0%, #eab308 100%);
    color: #111111;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    border-radius: 50%;
    box-shadow: 0 10px 18px rgba(234, 179, 8, 0.35);
    position: relative;
}

.stat-blob::after {
    display: none;
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 2.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.8px;
    line-height: 1;
    color: #ffffff;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .stats-counter-section {
        padding: 64px 0;
        background-attachment: scroll;
    }

    .stats-counter-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .stats-counter-section .row.g-4 {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .stat-item {
        gap: 10px;
        padding: 8px 2px;
    }

    .stat-number {
        font-size: 1.55rem;
        margin-bottom: 4px;
    }

    .stat-blob {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    .stat-content {
        text-align: left;
    }

    .stat-label {
        font-size: 0.56rem;
        letter-spacing: 1.2px;
    }

    /* About Us Mobile Optimization */
    #nosotros {
        padding: 50px 0 !important;
    }

    #nosotros .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .about-image-group {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .about-img-main {
        height: 320px !important;
        width: 100% !important;
    }

    .about-img-secondary {
        width: 50% !important;
        top: 15% !important;
    }

    .about-experience-box {
        padding: 15px !important;
        width: 130px !important;
        bottom: 10px !important;
        right: 0 !important;
    }

    .about-experience-box i {
        font-size: 1.5rem !important;
    }

    .about-experience-box h3 {
        font-size: 1.6rem !important;
    }

    .about-tagline {
        font-size: 0.8rem;
    }

    #nosotros .display-5 {
        font-size: 1.95rem !important;
        line-height: 1.18;
        margin-bottom: 16px !important;
    }

    #nosotros .fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 20px !important;
    }

    #nosotros .about-feature h5 {
        font-size: 1.05rem;
    }

    #nosotros .about-feature p,
    #nosotros .about-list li {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    /* Contact Section Mobile Optimization */
    #contacto {
        padding: 62px 0 72px;
    }

    #contacto .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    #contacto .row.g-5 {
        --bs-gutter-x: 0.9rem;
        --bs-gutter-y: 1rem;
    }

    #contacto>.container>.row>.col-lg-6:first-child>p.text-orange,
    #contacto .text-orange.fw-bold.text-uppercase.letter-spacing-2 {
        font-size: 0.78rem;
        letter-spacing: 1.8px !important;
    }

    #contacto .display-5 {
        font-size: 1.9rem !important;
        line-height: 1.18;
    }

    #contacto .text-muted.mt-3.mb-5 {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 24px !important;
    }

    #contacto .info-grid {
        gap: 16px;
        margin-bottom: 28px;
    }

    #contacto .info-box-new {
        gap: 10px;
    }

    #contacto .info-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 7px;
    }

    #contacto .info-text h6 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    #contacto .info-text p {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    #contacto .social-title {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }

    #contacto .social-links-circle {
        gap: 8px;
        margin-bottom: 8px;
    }

    #contacto .social-btn {
        width: 34px;
        height: 34px;
        font-size: 0.88rem;
    }

    #contacto .contact-card-white {
        padding: 20px 14px;
        border-radius: 12px;
    }

    #contacto .row>.col-lg-6:last-child {
        margin-top: 18px;
    }

    #contacto .contact-card-white h3 {
        font-size: 1.18rem;
        margin-bottom: 10px !important;
    }

    #contacto .contact-card-white p.small {
        font-size: 0.72rem;
        line-height: 1.38;
        margin-bottom: 14px !important;
    }

    #contacto .form-label-new {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }

    #contacto .form-control-new {
        font-size: 0.84rem;
        padding: 10px 12px;
    }

    #contacto textarea.form-control-new {
        min-height: 90px;
    }

    #contacto .btn-send-message {
        font-size: 0.8rem;
        padding: 11px;
        letter-spacing: 0.7px;
        margin-top: 4px;
    }
}