:root {
    --azul-electrico: #0057ff;
    --azul-profundo: #06142e;
    --amarillo-industrial: #ffc400;
    --gris-oscuro: #1b1f2a;
    --gris-claro: #f4f7fb;
    --blanco: #ffffff;
    --texto-suave: #d7dde8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--gris-oscuro);
    background: var(--blanco);
}

/* =========================================================
   NAVBAR
========================================================= */

.electro-navbar {
    padding: 18px 0;
    z-index: 1000;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar-over-hero,
.navbar-solid {
    background: transparent !important;
    box-shadow: none !important;
}

.electro-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.electro-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blanco);
    font-weight: 900;
    text-decoration: none;
    min-width: 0;
}

.brand-mark,
.brand-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--amarillo-industrial), #ff9f1c);
    color: #111827;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.32);
}

.brand-text,
.electro-navbar .navbar-brand span:last-child {
    font-size: 22px;
    line-height: 1.1;
    white-space: nowrap;
}

.electro-navbar .nav-link {
    color: var(--blanco);
    font-weight: 800;
    font-size: 16px;
    padding: 10px 14px;
}

.electro-navbar .nav-link.active,
.electro-navbar .nav-link:hover {
    color: var(--amarillo-industrial);
}

.btn-contacto {
    background: var(--amarillo-industrial);
    color: #111827 !important;
    padding: 14px 28px !important;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.32);
}

.btn-contacto:hover,
.btn-contacto.active {
    background: #ffb000;
    color: #111827 !important;
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    padding: 0;
    margin-left: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(6, 20, 46, 0.52);
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.25);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* =========================================================
   HERO SLIDER
========================================================= */

.hero-carousel {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    min-height: 100vh;
    min-height: 100svh;
}

.hero-industrial,
.hero-industrial.hero-slide {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--blanco);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-industrial.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0, 87, 255, 0.12), transparent 45%),
        rgba(2, 8, 20, 0.30);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0, 87, 255, 0.16), transparent 42%),
        rgba(0, 0, 0, 0.22);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 95px;
    padding-bottom: 55px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: var(--blanco);
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.hero-industrial h1 {
    max-width: 820px;
    margin: 0 auto;
    color: var(--blanco);
    font-size: clamp(46px, 5vw, 78px);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -1.8px;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.60);
}

.hero-subtitle-clean {
    max-width: 780px;
    margin: 22px auto 0;
    color: var(--blanco);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.8px;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.60);
}

.hero-more-link {
    display: inline-block;
    margin-top: 38px;
    color: var(--blanco);
    text-decoration: none;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 9px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.hero-more-link:hover {
    color: var(--amarillo-industrial);
    transform: translateY(-3px);
}

.hero-down-arrow {
    display: block;
    width: max-content;
    margin: 24px auto 0;
    color: var(--blanco);
    font-size: 42px;
    text-decoration: none;
    animation: arrowMove 1.4s infinite ease-in-out;
}

.hero-down-arrow:hover {
    color: var(--amarillo-industrial);
}

.hero-buttons {
    display: none !important;
}

/* Movimiento suave de imagen */
.hero-carousel .carousel-item.active .hero-slide {
    animation: heroZoomMove 6s ease-in-out forwards;
}

@keyframes heroZoomMove {
    0% {
        transform: scale(1);
        background-position: center center;
    }

    100% {
        transform: scale(1.04);
        background-position: center center;
    }
}

/* Animación del texto */
.hero-carousel .carousel-item.active .hero-kicker,
.hero-carousel .carousel-item.active h1,
.hero-carousel .carousel-item.active .hero-subtitle-clean,
.hero-carousel .carousel-item.active .hero-more-link,
.hero-carousel .carousel-item.active .hero-down-arrow {
    animation: heroTextUp 1s ease both;
}

.hero-carousel .carousel-item.active h1 {
    animation-delay: 0.15s;
}

.hero-carousel .carousel-item.active .hero-subtitle-clean {
    animation-delay: 0.30s;
}

.hero-carousel .carousel-item.active .hero-more-link {
    animation-delay: 0.45s;
}

.hero-carousel .carousel-item.active .hero-down-arrow {
    animation-delay: 0.60s;
}

@keyframes heroTextUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

/* =========================================================
   SECCIONES INTERNAS
========================================================= */

.internal-hero {
    padding: 150px 0 80px;
    background:
        linear-gradient(135deg, rgba(0, 87, 255, 0.11), transparent 36%),
        var(--gris-claro);
}

.internal-hero h1 {
    margin: 0;
    color: var(--azul-profundo);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
}

.internal-hero p {
    max-width: 820px;
    margin: 18px auto 0;
    color: #596475;
    font-size: 18px;
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--azul-electrico);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.services-section {
    padding: 86px 0;
    background: var(--blanco);
}

.service-card {
    padding: 32px;
    border-radius: 8px;
    background: var(--blanco);
    border: 1px solid rgba(6, 20, 46, 0.1);
    box-shadow: 0 18px 45px rgba(6, 20, 46, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(6, 20, 46, 0.13);
}

.service-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 8px;
    color: #111827;
    background: linear-gradient(135deg, var(--amarillo-industrial), #ff9f1c);
    font-size: 32px;
}

.service-card h2 {
    color: var(--azul-profundo);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.service-card p {
    color: #606a7c;
    line-height: 1.7;
    margin: 0;
}

/* =========================================================
   CONTACTO
========================================================= */

.contact-hero {
    padding-bottom: 86px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    font-weight: 800;
    border-radius: 8px;
}

.btn-warning {
    color: #111827;
    box-shadow: 0 12px 28px rgba(255, 196, 0, 0.3);
}

.contact-panel {
    padding: 32px;
    border-radius: 8px;
    background: var(--azul-profundo);
    color: var(--blanco);
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.22);
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-item i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    border-radius: 8px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 24px;
}

.contact-item strong {
    display: block;
    font-size: 17px;
}

.contact-item span {
    display: block;
    color: var(--texto-suave);
}

.map-section {
    padding: 70px 0 90px;
    background: var(--blanco);
}

.map-placeholder {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 32px;
    border: 2px dashed rgba(0, 87, 255, 0.26);
    border-radius: 8px;
    background: var(--gris-claro);
    color: #596475;
    text-align: center;
}

.map-placeholder i {
    color: var(--azul-electrico);
    font-size: 44px;
}

.map-placeholder strong,
.map-placeholder span {
    display: block;
}

.map-placeholder strong {
    color: var(--azul-profundo);
    font-size: 20px;
}

.site-footer {
    padding: 28px 0;
    background: #050b18;
    color: #cbd5e1;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .electro-navbar {
        padding: 14px 0;
    }

    .electro-navbar .navbar-collapse {
        margin-top: 14px;
        padding: 18px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 55px rgba(6, 20, 46, 0.18);
    }

    .brand-mark,
    .brand-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 25px;
    }

    .brand-text,
    .electro-navbar .navbar-brand span:last-child {
        font-size: 19px;
    }

    .hero-industrial h1 {
        max-width: 720px;
        font-size: clamp(42px, 7vw, 64px);
        line-height: 1.05;
        letter-spacing: -1.3px;
    }

    .hero-subtitle-clean {
        max-width: 650px;
        font-size: clamp(22px, 3.8vw, 30px);
        line-height: 1.2;
    }

    .hero-content {
        padding-top: 105px;
    }

    .hero-more-link {
        margin-top: 34px;
        font-size: 16px;
        letter-spacing: 7px;
    }

    .hero-down-arrow {
        font-size: 38px;
    }

    .internal-hero {
        padding: 126px 0 68px;
    }

    .contact-panel {
        margin-top: 8px;
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 575px) {
    .electro-navbar {
        padding: 12px 0;
        background: transparent;
    }

    .electro-navbar .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .electro-navbar .navbar-brand {
        gap: 10px;
        max-width: calc(100% - 58px);
    }

    .brand-mark,
    .brand-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 24px;
        border-radius: 9px;
    }

    .brand-text,
    .electro-navbar .navbar-brand span:last-child {
        font-size: 17px;
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-toggler {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        margin-left: 8px;
    }

    .electro-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.98);
    }

    .electro-navbar .nav-link {
        padding: 12px 10px;
    }

    .btn-contacto {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-industrial,
    .hero-industrial.hero-slide {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-industrial.hero-slide {
        align-items: center;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-content {
        padding-top: 94px;
        padding-bottom: 34px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-kicker {
        margin-bottom: 20px;
        padding: 8px 14px;
        font-size: 13px;
        max-width: 100%;
    }

    .hero-industrial h1 {
        max-width: 310px;
        font-size: 35px;
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .hero-subtitle-clean {
        max-width: 305px;
        margin-top: 20px;
        font-size: 21px;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }

    .hero-more-link {
        margin-top: 38px;
        font-size: 14px;
        letter-spacing: 6px;
    }

    .hero-down-arrow {
        margin-top: 20px;
        font-size: 36px;
    }

    .services-section {
        padding: 64px 0;
    }

    .service-card,
    .contact-panel {
        padding: 26px;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .map-placeholder {
        min-height: 240px;
        flex-direction: column;
    }
}

/* Celulares pequeños */
@media (max-width: 380px) {
    .brand-text,
    .electro-navbar .navbar-brand span:last-child {
        font-size: 16px;
        max-width: 195px;
    }

    .hero-content {
        padding-top: 88px;
    }

    .hero-industrial h1 {
        max-width: 290px;
        font-size: 32px;
    }

    .hero-subtitle-clean {
        max-width: 285px;
        font-size: 19px;
    }

    .hero-more-link {
        font-size: 13px;
        letter-spacing: 5px;
    }
}
/* =========================================================
   AJUSTE FINAL HERO + MENÚ CELULAR BLANCO + FLECHAS LATERALES
========================================================= */

/* Botones laterales del carrusel */
.hero-control {
    width: 74px !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

.hero-control-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
    font-size: 34px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.hero-control-icon:hover {
    background: #ffc400;
    color: #111827;
    border-color: #ffc400;
    transform: scale(1.08);
}

.hero-control-prev {
    left: 22px !important;
}

.hero-control-next {
    right: 22px !important;
}

/* Ajuste del texto del hero en PC */
.hero-industrial h1 {
    max-width: 820px !important;
    font-size: clamp(46px, 5vw, 78px) !important;
    line-height: 1.03 !important;
}

.hero-subtitle-clean {
    max-width: 780px !important;
    font-size: clamp(22px, 2.4vw, 34px) !important;
    line-height: 1.18 !important;
}

/* MENÚ CELULAR BLANCO */
@media (max-width: 575px) {
    .electro-navbar {
        padding: 12px 0 !important;
        background: transparent !important;
    }

    .electro-navbar .container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .electro-navbar .navbar-brand {
        max-width: calc(100% - 58px) !important;
        gap: 10px !important;
    }

    .brand-mark,
    .brand-icon {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        font-size: 23px !important;
        border-radius: 9px !important;
    }

    .brand-text,
    .electro-navbar .navbar-brand span:last-child {
        font-size: 16px !important;
        max-width: 205px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .navbar-toggler {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        margin-left: 8px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        border: 1px solid rgba(255, 196, 0, 0.70) !important;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25) !important;
    }

    .navbar-toggler-icon {
        filter: none !important;
    }

    .electro-navbar .navbar-collapse {
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 3000 !important;

        margin: 0 !important;
        padding: 16px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38) !important;
        border: 1px solid rgba(6, 20, 46, 0.10) !important;
    }

    .electro-navbar .navbar-nav {
        gap: 8px !important;
    }

    .electro-navbar .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 13px 14px !important;
        font-size: 17px !important;
        text-align: left !important;
        border-radius: 12px !important;
        color: #06142e !important;
        font-weight: 900 !important;
    }

    .electro-navbar .nav-link:hover,
    .electro-navbar .nav-link.active {
        color: #06142e !important;
        background: rgba(255, 196, 0, 0.18) !important;
    }

    .btn-contacto {
        width: 100% !important;
        margin-top: 8px !important;
        padding: 14px 18px !important;
        text-align: center !important;
        border-radius: 12px !important;
        background: #ffc400 !important;
        color: #111827 !important;
    }

    /* Hero en celular */
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-industrial,
    .hero-industrial.hero-slide {
        min-height: 100vh !important;
        min-height: 100svh !important;
    }

    .hero-industrial.hero-slide {
        align-items: center !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-content {
        padding-top: 96px !important;
        padding-bottom: 36px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .hero-kicker {
        margin-bottom: 20px !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    .hero-industrial h1 {
        max-width: 310px !important;
        font-size: 34px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.7px !important;
    }

    .hero-subtitle-clean {
        max-width: 305px !important;
        margin-top: 18px !important;
        font-size: 20px !important;
        line-height: 1.25 !important;
        letter-spacing: -0.3px !important;
    }

    .hero-more-link {
        margin-top: 34px !important;
        font-size: 13px !important;
        letter-spacing: 6px !important;
    }

    .hero-down-arrow {
        margin-top: 18px !important;
        font-size: 34px !important;
    }

    /* Flechas laterales en celular */
    .hero-control {
        width: 42px !important;
    }

    .hero-control-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 24px !important;
        background: rgba(255, 255, 255, 0.18) !important;
    }

    .hero-control-prev {
        left: 6px !important;
    }

    .hero-control-next {
        right: 6px !important;
    }
}
/* =========================================================
   NOSOTROS DEBAJO DEL HERO
========================================================= */

.about-home-section {
    padding: 95px 0;
    background: #ffffff;
}

.about-home-section h2 {
    color: var(--azul-profundo);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.about-home-section p {
    color: #5f6b7c;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.about-home-card {
    padding: 34px;
    border-radius: 18px;
    background: var(--azul-profundo);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.22);
}

.about-home-item {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-home-item:first-child {
    padding-top: 0;
}

.about-home-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.about-home-item i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    border-radius: 14px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 25px;
}

.about-home-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.about-home-item span {
    color: var(--texto-suave);
    line-height: 1.5;
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    z-index: 5000;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.42);
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.55);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: whatsappPulse 1.6s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 575px) {
    .about-home-section {
        padding: 68px 0;
    }

    .about-home-card {
        padding: 26px;
        border-radius: 16px;
    }

    .about-home-actions .btn {
        width: 100%;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        font-size: 30px;
    }
}

/* =========================================================
   NAVBAR FIJO: INICIO BLANCO / OTRAS PÁGINAS NEGRO
========================================================= */

.electro-navbar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* INICIO: letras blancas */
.navbar-home-white .navbar-brand,
.navbar-home-white .brand-text,
.navbar-home-white .nav-link {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55) !important;
}

/* SERVICIOS Y CONTACTO: letras negras */
.navbar-inner-dark .navbar-brand,
.navbar-inner-dark .brand-text,
.navbar-inner-dark .nav-link {
    color: #06142e !important;
    text-shadow: none !important;
}

/* Activo y hover */
.navbar-home-white .nav-link.active,
.navbar-home-white .nav-link:hover,
.navbar-inner-dark .nav-link.active,
.navbar-inner-dark .nav-link:hover {
    color: var(--amarillo-industrial) !important;
}

/* Botón contacto */
.navbar-home-white .btn-contacto,
.navbar-inner-dark .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
    box-shadow: 0 12px 28px rgba(255, 196, 0, 0.28) !important;
}

/* Logo real opcional */
.brand-logo {
    height: 58px;
    width: auto;
    display: block;
}

/* El hero no se baja */
.hero-carousel,
.hero-industrial {
    margin-top: 0 !important;
}

/* Menú hamburguesa */
.navbar-home-white .navbar-toggler {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.navbar-home-white .navbar-toggler-icon {
    filter: invert(1) !important;
}

.navbar-inner-dark .navbar-toggler {
    background: rgba(255, 255, 255, 0.90) !important;
    border: 1px solid rgba(6, 20, 46, 0.20) !important;
}

.navbar-inner-dark .navbar-toggler-icon {
    filter: none !important;
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 575px) {
    .electro-navbar {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .electro-navbar .container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .electro-navbar .navbar-brand {
        max-width: calc(100% - 58px) !important;
        gap: 10px !important;
    }

    .brand-mark,
    .brand-icon {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        font-size: 23px !important;
        border-radius: 9px !important;
    }

    .brand-text,
    .electro-navbar .navbar-brand span:last-child {
        font-size: 16px !important;
        max-width: 205px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .brand-logo {
        height: 46px !important;
    }

    .navbar-toggler {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        margin-left: 8px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20) !important;
    }

    /* Menú desplegable blanco en celular */
    .electro-navbar .navbar-collapse {
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 3000 !important;

        margin: 0 !important;
        padding: 16px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.97) !important;
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28) !important;
        border: 1px solid rgba(6, 20, 46, 0.10) !important;
    }

    .electro-navbar .navbar-collapse .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 13px 14px !important;
        font-size: 17px !important;
        text-align: left !important;
        border-radius: 12px !important;
        color: #06142e !important;
        font-weight: 900 !important;
        text-shadow: none !important;
    }

    .electro-navbar .navbar-collapse .nav-link:hover,
    .electro-navbar .navbar-collapse .nav-link.active {
        background: rgba(255, 196, 0, 0.18) !important;
        color: #06142e !important;
    }

    .electro-navbar .navbar-collapse .btn-contacto {
        width: 100% !important;
        margin-top: 8px !important;
        padding: 14px 18px !important;
        text-align: center !important;
        border-radius: 12px !important;
        background: var(--amarillo-industrial) !important;
        color: #111827 !important;
    }
}

/* =========================================================
   NAVBAR TRANSPARENTE DEFINITIVO
========================================================= */

.electro-navbar,
.electro-navbar.navbar-home-white,
.electro-navbar.navbar-home-white.navbar-after-hero,
.electro-navbar.navbar-inner-dark,
.navbar-over-hero,
.navbar-solid,
.navbar-scrolled,
.navbar-fixed-white,
.navbar-fixed-dark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar-home-white .navbar-brand,
.navbar-home-white .brand-text,
.navbar-home-white .nav-link {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55) !important;
}

.navbar-home-white .nav-link.active {
    color: #ffffff !important;
}

.navbar-home-white.navbar-after-hero .navbar-brand,
.navbar-home-white.navbar-after-hero .brand-text,
.navbar-home-white.navbar-after-hero .nav-link,
.navbar-home-white.navbar-after-hero .nav-link.active,
.navbar-inner-dark .navbar-brand,
.navbar-inner-dark .brand-text,
.navbar-inner-dark .nav-link,
.navbar-inner-dark .nav-link.active {
    color: #06142e !important;
    text-shadow: none !important;
}

.navbar-home-white .nav-link:hover,
.navbar-home-white.navbar-after-hero .nav-link:hover,
.navbar-inner-dark .nav-link:hover {
    color: var(--amarillo-industrial) !important;
}

.btn-contacto,
.navbar-home-white .btn-contacto,
.navbar-home-white.navbar-after-hero .btn-contacto,
.navbar-inner-dark .btn-contacto,
.electro-navbar .navbar-collapse .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.28) !important;
}

.btn-contacto:hover,
.btn-contacto.active,
.navbar-home-white .btn-contacto:hover,
.navbar-home-white .btn-contacto.active,
.navbar-home-white.navbar-after-hero .btn-contacto:hover,
.navbar-home-white.navbar-after-hero .btn-contacto.active,
.navbar-inner-dark .btn-contacto:hover,
.navbar-inner-dark .btn-contacto.active {
    background: #ffb000 !important;
    color: #111827 !important;
}

.navbar-home-white .navbar-toggler {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: none !important;
}

.navbar-home-white .navbar-toggler-icon {
    filter: invert(1) !important;
}

.navbar-home-white.navbar-after-hero .navbar-toggler,
.navbar-inner-dark .navbar-toggler {
    background: transparent !important;
    border: 1px solid rgba(6, 20, 46, 0.45) !important;
    box-shadow: none !important;
}

.navbar-home-white.navbar-after-hero .navbar-toggler-icon,
.navbar-inner-dark .navbar-toggler-icon {
    filter: none !important;
}

#heroElectroCarousel,
.hero-carousel,
.hero-industrial {
    margin-top: 0 !important;
}

#nosotros {
    scroll-margin-top: 92px;
}

@media (max-width: 991px) {
    .electro-navbar,
    .electro-navbar.navbar-home-white,
    .electro-navbar.navbar-home-white.navbar-after-hero,
    .electro-navbar.navbar-inner-dark {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        border: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .electro-navbar .container {
        position: relative !important;
    }

    .electro-navbar .navbar-collapse,
    .electro-navbar .navbar-collapse.collapsing,
    .electro-navbar .navbar-collapse.show {
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 14px !important;
        right: 14px !important;
        z-index: 3000 !important;
        margin: 0 !important;
        padding: 16px !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(6, 20, 46, 0.1) !important;
        box-shadow: 0 22px 55px rgba(6, 20, 46, 0.18) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .electro-navbar .navbar-collapse .nav-link,
    .electro-navbar .navbar-collapse .nav-link.active {
        display: block !important;
        width: 100% !important;
        padding: 13px 14px !important;
        border-radius: 12px !important;
        color: #06142e !important;
        text-align: left !important;
        text-shadow: none !important;
    }

    .electro-navbar .navbar-collapse .nav-link:hover,
    .electro-navbar .navbar-collapse .nav-link.active:hover {
        color: #06142e !important;
        background: rgba(255, 196, 0, 0.18) !important;
    }

    .electro-navbar .navbar-collapse .btn-contacto,
    .electro-navbar .navbar-collapse .btn-contacto.active,
    .electro-navbar .navbar-collapse .btn-contacto:hover {
        width: 100% !important;
        margin-top: 8px !important;
        padding: 14px 18px !important;
        text-align: center !important;
        background: var(--amarillo-industrial) !important;
        color: #111827 !important;
    }
}

/* =========================================================
   CORRECCION FINAL: NAVBAR TRANSPARENTE + ESPACIO NOSOTROS
========================================================= */

.electro-navbar {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar-home-white .navbar-brand,
.navbar-home-white .brand-text,
.navbar-home-white .nav-link {
    color: #ffffff !important;
}

.navbar-home-white.navbar-after-hero .navbar-brand,
.navbar-home-white.navbar-after-hero .brand-text,
.navbar-home-white.navbar-after-hero .nav-link,
.navbar-inner-dark .navbar-brand,
.navbar-inner-dark .brand-text,
.navbar-inner-dark .nav-link {
    color: #06142e !important;
    text-shadow: none !important;
}

.btn-contacto,
.navbar-home-white .btn-contacto,
.navbar-home-white.navbar-after-hero .btn-contacto,
.navbar-inner-dark .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
}

.about-home-section {
    padding-top: 170px !important;
}

#nosotros {
    scroll-margin-top: 130px !important;
}

@media (max-width: 575px) {
    .about-home-section {
        padding-top: 130px !important;
    }

    #nosotros {
        scroll-margin-top: 105px !important;
    }
}

/* =========================================================
   CORRECCION DEFINITIVA: NAVBAR ESTATICO ARRIBA
========================================================= */

.electro-navbar,
.electro-navbar.fixed-top,
.navbar.fixed-top.electro-navbar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body,
main,
#heroElectroCarousel,
.hero-carousel,
.hero-industrial {
    margin-top: 0 !important;
    padding-top: 0;
}

.navbar-home-white .navbar-brand,
.navbar-home-white .brand-text,
.navbar-home-white .nav-link {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55) !important;
}

.navbar-inner-dark .navbar-brand,
.navbar-inner-dark .brand-text,
.navbar-inner-dark .nav-link {
    color: #06142e !important;
    text-shadow: none !important;
}

.navbar-home-white .btn-contacto,
.navbar-inner-dark .btn-contacto,
.btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
}

.about-home-section {
    padding-top: 95px !important;
}

#nosotros {
    scroll-margin-top: 0 !important;
}

@media (max-width: 575px) {
    .electro-navbar,
    .electro-navbar.fixed-top,
    .navbar.fixed-top.electro-navbar {
        position: absolute !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body,
    main,
    #heroElectroCarousel,
    .hero-carousel,
    .hero-industrial {
        margin-top: 0 !important;
        padding-top: 0;
    }

    .about-home-section {
        padding-top: 68px !important;
    }

    #nosotros {
        scroll-margin-top: 0 !important;
    }
}

/* =========================================================
   SOLUCION FINAL REAL: ANULA CUALQUIER NAVBAR FIXED
========================================================= */

html body .electro-navbar,
html body .electro-navbar.navbar-home-white,
html body .electro-navbar.navbar-home-white.navbar-after-hero,
html body .electro-navbar.navbar-inner-dark,
html body .navbar.electro-navbar,
html body .navbar.electro-navbar.navbar-home-white,
html body .navbar.electro-navbar.navbar-home-white.navbar-after-hero,
html body .navbar.electro-navbar.navbar-inner-dark,
html body .navbar.fixed-top.electro-navbar,
html body .navbar.fixed-top.electro-navbar.navbar-home-white,
html body .navbar.fixed-top.electro-navbar.navbar-home-white.navbar-after-hero,
html body .navbar.fixed-top.electro-navbar.navbar-inner-dark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html body .navbar-home-white .navbar-brand,
html body .navbar-home-white .brand-text,
html body .navbar-home-white .nav-link {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55) !important;
}

html body .navbar-inner-dark .navbar-brand,
html body .navbar-inner-dark .brand-text,
html body .navbar-inner-dark .nav-link {
    color: #06142e !important;
    text-shadow: none !important;
}

html body .navbar-home-white .btn-contacto,
html body .navbar-home-white.navbar-after-hero .btn-contacto,
html body .navbar-inner-dark .btn-contacto,
html body .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
}

html body .about-home-section {
    padding-top: 95px !important;
}

html body #nosotros {
    scroll-margin-top: 0 !important;
}

@media (max-width: 991px) {
    html body .electro-navbar,
    html body .electro-navbar.navbar-home-white,
    html body .electro-navbar.navbar-home-white.navbar-after-hero,
    html body .electro-navbar.navbar-inner-dark,
    html body .navbar.electro-navbar,
    html body .navbar.electro-navbar.navbar-home-white,
    html body .navbar.electro-navbar.navbar-home-white.navbar-after-hero,
    html body .navbar.electro-navbar.navbar-inner-dark,
    html body .navbar.fixed-top.electro-navbar,
    html body .navbar.fixed-top.electro-navbar.navbar-home-white,
    html body .navbar.fixed-top.electro-navbar.navbar-home-white.navbar-after-hero,
    html body .navbar.fixed-top.electro-navbar.navbar-inner-dark {
        position: absolute !important;
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        border: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@media (max-width: 575px) {
    html body .about-home-section {
        padding-top: 68px !important;
    }

    html body #nosotros {
        scroll-margin-top: 0 !important;
    }
}
/* =========================================================
   NOSOTROS - AJUSTE FINAL
========================================================= */

.about-home-section {
    padding: 140px 0 90px !important;
    background: #f4f6fa;
}

.about-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #06142e;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.18);
    max-width: 100%;
}

.about-image-box img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.about-image-badge {
    position: absolute;
    left: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(6, 20, 46, 0.90);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.about-image-badge i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 20px;
}

.about-content-box {
    padding-left: 18px;
}

.about-content-box h3 {
    color: #06142e;
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.about-content-box p {
    color: #4b5b70;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
}

.about-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.about-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #344054;
    font-size: 17px;
    font-weight: 700;
}

.about-list i {
    color: var(--amarillo-industrial);
    font-size: 20px;
    margin-top: 2px;
}

.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* Para que la imagen se vea más larga visualmente */
@media (min-width: 992px) {
    .about-home-section .col-lg-6:first-child {
        flex: 0 0 52%;
        max-width: 52%;
    }

    .about-home-section .col-lg-6:last-child {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .about-image-box img {
        height: 500px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .about-home-section {
        padding: 120px 0 80px !important;
    }

    .about-content-box {
        padding-left: 0;
    }

    .about-image-box img {
        height: 400px;
    }

    .about-content-box h3 {
        font-size: 48px;
    }
}

/* Celular */
@media (max-width: 575px) {
    .about-home-section {
        padding: 110px 0 70px !important;
    }

    .about-image-box {
        border-radius: 18px;
    }

    .about-image-box img {
        height: 290px;
        border-radius: 18px;
    }

    .about-image-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .about-image-badge i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .about-content-box h3 {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .about-content-box p {
        font-size: 16px;
        text-align: justify;
    }

    .about-list div {
        font-size: 15px;
    }

    .about-home-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   NOSOTROS - TÍTULO PRINCIPAL + IMAGEN Y TEXTO
========================================================= */

.about-home-section {
    padding: 140px 0 90px !important;
    background: #f4f6fa;
}

.about-home-heading {
    max-width: 820px;
    margin: 0 auto 65px;
}

.about-home-heading .section-label {
    color: var(--azul-electrico);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.about-home-heading h2 {
    color: #06142e;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin: 0;
}

.about-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #06142e;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.18);
}

.about-image-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.about-content-box h3 {
    color: #06142e;
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.about-content-box p {
    color: #4b5b70;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    text-align-last: left;
}

@media (max-width: 991px) {
    .about-home-section {
        padding: 120px 0 80px !important;
    }

    .about-home-heading {
        margin-bottom: 45px;
    }

    .about-image-box img {
        height: 400px;
    }

    .about-content-box h3 {
        font-size: 46px;
    }
}

@media (max-width: 575px) {
    .about-home-section {
        padding: 100px 0 70px !important;
    }

    .about-home-heading {
        margin-bottom: 35px;
    }

    .about-home-heading h2 {
        font-size: 38px;
    }

    .about-image-box img {
        height: 300px;
    }

    .about-content-box h3 {
        font-size: 34px;
        line-height: 1.1;
    }

    .about-content-box p {
        font-size: 16px;
        text-align: left;
    }
}
/* =========================================================
   SERVICIOS DESTACADOS - CÍRCULOS GRANDES + ANIMACIÓN
========================================================= */

.services-home-section {
    position: relative;
    overflow: hidden;
    padding: 130px 0 120px !important;
    background: #061b3d;
    isolation: isolate;
}

.services-home-bg {
    position: absolute;
    inset: -35px;
    z-index: 0;
    background: url("../img/servicios/fondo-servicios.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: servicesBgMove 22s ease-in-out infinite alternate;
}

.services-home-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 196, 0, 0.12), transparent 32%),
        linear-gradient(rgba(4, 24, 58, 0.84), rgba(4, 24, 58, 0.91)),
        linear-gradient(135deg, rgba(0, 87, 255, 0.20), rgba(255, 196, 0, 0.08));
}

@keyframes servicesBgMove {
    0% {
        transform: scale(1.06) translateX(-18px) translateY(-12px);
    }

    50% {
        transform: scale(1.12) translateX(14px) translateY(10px);
    }

    100% {
        transform: scale(1.16) translateX(-8px) translateY(16px);
    }
}

.services-home-section .container {
    position: relative;
    z-index: 2;
}

.services-home-heading {
    max-width: 900px;
    margin: 0 auto 85px !important;
}

.section-label--light {
    display: inline-block;
    color: #ffd34d;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.services-home-heading h2 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 74px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.services-home-heading p {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.services-circle-row {
    row-gap: 95px !important;
}

.service-circle-card {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-inline: 20px;
}

/* Círculos grandes */
.service-circle-card__image-wrap {
    position: relative;
    width: 390px !important;
    height: 390px !important;
    max-width: 100%;
    margin: 0 auto 34px !important;
    border-radius: 50%;
    padding: 9px;
    background: linear-gradient(135deg, #ffc400, #ffe083);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.35),
        0 0 0 7px rgba(255, 196, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-circle-card__image-wrap::before {
    content: "";
    position: absolute;
    inset: -11px;
    border-radius: 50%;
    border: 2px solid rgba(255, 196, 0, 0.58);
}

.service-circle-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 35%);
    pointer-events: none;
    z-index: 3;
}

.service-circle-card__image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 7px solid rgba(6, 20, 46, 0.95);
}

/* Si no existe imagen, muestra icono */
.service-circle-card__fallback {
    position: absolute;
    inset: 9px;
    z-index: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe58a, #ffc400);
    color: #06142e;
    font-size: 92px;
}

.service-circle-card:hover .service-circle-card__image-wrap {
    transform: translateY(-12px) scale(1.04);
    box-shadow:
        0 36px 80px rgba(0, 0, 0, 0.44),
        0 0 0 9px rgba(255, 196, 0, 0.22);
}

.service-circle-card__content h3 {
    max-width: 720px;
    margin: 0 auto 18px;
    color: var(--amarillo-industrial);
    font-size: clamp(29px, 2.35vw, 39px);
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service-circle-card__content p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.75;
}

.btn-service-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
    border: none;
    box-shadow: 0 12px 28px rgba(255, 196, 0, 0.30);
    transition: all 0.25s ease;
}

.btn-service-mini:hover {
    background: #ffd54d;
    color: #111827;
    transform: translateY(-3px);
}

.services-home-footer {
    position: relative;
    z-index: 2;
    margin-top: 80px !important;
}

/* =========================================================
   ANIMACIONES DE ENTRADA
========================================================= */

.services-home-section.services-animate .services-home-heading,
.services-home-section.services-animate .service-circle-card {
    opacity: 0;
}

.services-home-section.services-visible .services-home-heading {
    animation: servicesHeadingEnter 0.9s ease forwards;
}

.services-home-section.services-visible .service-circle-card--one {
    animation: serviceFromLeft 1s cubic-bezier(.2, .8, .2, 1) forwards;
}

.services-home-section.services-visible .service-circle-card--two {
    animation: serviceFromRight 1s cubic-bezier(.2, .8, .2, 1) 0.15s forwards;
}

.services-home-section.services-visible .service-circle-card--three {
    animation: serviceFromBottomLeft 1s cubic-bezier(.2, .8, .2, 1) 0.30s forwards;
}

.services-home-section.services-visible .service-circle-card--four {
    animation: serviceFromBottomRight 1s cubic-bezier(.2, .8, .2, 1) 0.45s forwards;
}

@keyframes servicesHeadingEnter {
    0% {
        opacity: 0;
        transform: translateY(-35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(35px) scale(0.90);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes serviceFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(35px) scale(0.90);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes serviceFromBottomLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateY(100px) scale(0.90);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes serviceFromBottomRight {
    0% {
        opacity: 0;
        transform: translateX(80px) translateY(100px) scale(0.90);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Movimiento flotante después de aparecer */
.services-home-section.services-visible .service-circle-card__image-wrap {
    animation: serviceCircleFloat 4.8s ease-in-out infinite;
}

.services-home-section.services-visible .service-circle-card--two .service-circle-card__image-wrap {
    animation-delay: 0.35s;
}

.services-home-section.services-visible .service-circle-card--three .service-circle-card__image-wrap {
    animation-delay: 0.70s;
}

.services-home-section.services-visible .service-circle-card--four .service-circle-card__image-wrap {
    animation-delay: 1.05s;
}

@keyframes serviceCircleFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -12px;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .service-circle-card__image-wrap {
        width: 330px !important;
        height: 330px !important;
    }

    .service-circle-card__content h3 {
        font-size: 31px;
    }
}

@media (max-width: 991px) {
    .services-home-section {
        padding: 105px 0 95px !important;
    }

    .services-home-heading {
        margin-bottom: 65px !important;
    }

    .services-circle-row {
        row-gap: 75px !important;
    }

    .service-circle-card__image-wrap {
        width: 285px !important;
        height: 285px !important;
    }

    .service-circle-card__content h3 {
        font-size: 27px;
    }

    .service-circle-card__content p {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .services-home-section {
        padding: 85px 0 78px !important;
    }

    .services-home-bg {
        inset: -18px;
    }

    .services-home-heading {
        margin-bottom: 48px !important;
    }

    .services-home-heading h2 {
        font-size: 34px;
    }

    .services-home-heading p {
        font-size: 16px;
        line-height: 1.65;
    }

    .services-circle-row {
        row-gap: 65px !important;
    }

    .service-circle-card {
        padding-inline: 0;
    }

    .service-circle-card__image-wrap {
        width: 255px !important;
        height: 255px !important;
        margin-bottom: 24px !important;
    }

    .service-circle-card__fallback {
        font-size: 68px;
    }

    .service-circle-card__content h3 {
        font-size: 23px;
        line-height: 1.12;
    }

    .service-circle-card__content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .btn-service-mini {
        min-width: 175px;
        padding: 12px 22px;
        font-size: 13px;
    }

    .services-home-footer {
        margin-top: 45px !important;
    }

    .services-home-footer .btn {
        width: 100%;
    }
}
/* =========================================================
   AJUSTE FINAL SERVICIOS - MÁS COMPACTO Y CÍRCULOS JUNTOS
========================================================= */

.services-home-section {
    padding: 80px 0 70px !important;
    min-height: auto !important;
}

.services-home-heading {
    max-width: 760px !important;
    margin: 0 auto 45px !important;
}

.services-home-heading h2 {
    font-size: clamp(34px, 4vw, 56px) !important;
    margin-bottom: 12px !important;
}

.services-home-heading p {
    max-width: 680px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Contenedor de los 4 servicios más cerrado */
.services-circle-row {
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    row-gap: 45px !important;
    --bs-gutter-x: 2.2rem !important;
    --bs-gutter-y: 2.8rem !important;
}

/* Círculos más proporcionados */
.service-circle-card__image-wrap {
    width: 285px !important;
    height: 285px !important;
    margin-bottom: 22px !important;
}

/* Texto más compacto */
.service-circle-card {
    padding-inline: 10px !important;
}

.service-circle-card__content h3 {
    max-width: 440px !important;
    font-size: clamp(22px, 2vw, 29px) !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
}

.service-circle-card__content p {
    max-width: 440px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
}

.btn-service-mini {
    min-width: 165px !important;
    padding: 10px 22px !important;
    font-size: 12px !important;
}

/* Botón final más cerca */
.services-home-footer {
    margin-top: 42px !important;
}

/* Tablet */
@media (max-width: 991px) {
    .services-home-section {
        padding: 75px 0 65px !important;
    }

    .services-circle-row {
        max-width: 760px !important;
        row-gap: 42px !important;
        --bs-gutter-x: 1.8rem !important;
    }

    .service-circle-card__image-wrap {
        width: 245px !important;
        height: 245px !important;
    }

    .service-circle-card__content h3 {
        font-size: 23px !important;
    }
}

/* Celular */
@media (max-width: 575px) {
    .services-home-section {
        padding: 65px 0 58px !important;
    }

    .services-home-heading {
        margin-bottom: 35px !important;
    }

    .services-home-heading h2 {
        font-size: 31px !important;
    }

    .services-circle-row {
        row-gap: 45px !important;
        --bs-gutter-y: 2.5rem !important;
    }

    .service-circle-card__image-wrap {
        width: 225px !important;
        height: 225px !important;
        margin-bottom: 18px !important;
    }

    .service-circle-card__content h3 {
        font-size: 21px !important;
    }

    .service-circle-card__content p {
        font-size: 14.5px !important;
        line-height: 1.55 !important;
    }

    .services-home-footer {
        margin-top: 32px !important;
    }
}
/* =========================================================
   NUESTRAS EXPERIENCIAS - CARRUSEL INFINITO ORDENADO
========================================================= */

.experiences-home-section {
    overflow: hidden;
    padding: 95px 0 80px;
    background: #ffffff;
}

.experiences-heading {
    max-width: 850px;
    margin: 0 auto 58px;
    opacity: 0;
    transform: translateY(35px);
}

.experiences-home-section.experiences-visible .experiences-heading {
    animation: experiencesFadeUp 0.9s ease forwards;
}

.experiences-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--amarillo-industrial);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experiences-heading h2 {
    color: #06142e;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.experiences-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #4b5b70;
    font-size: 18px;
    line-height: 1.7;
}

.experiences-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.experiences-divider span {
    width: 70px;
    height: 2px;
    background: var(--amarillo-industrial);
}

.experiences-divider i {
    color: #06142e;
    font-size: 24px;
}

/* Carrusel */
.experiences-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.experiences-home-section.experiences-visible .experiences-carousel {
    animation: experiencesFadeUp 0.9s ease 0.25s forwards;
}

.experiences-track {
    display: flex;
    width: max-content;
    animation: experiencesMove 36s linear infinite;
}

.experiences-track:hover {
    animation-play-state: paused;
}

.experience-slide {
    flex: 0 0 420px;
    height: 300px;
    overflow: hidden;
}

.experience-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.experience-slide:hover img {
    transform: scale(1.08);
}

/* Sombras laterales suaves */
.experiences-carousel::before,
.experiences-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 130px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.experiences-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.experiences-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

@keyframes experiencesMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes experiencesFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .experiences-home-section {
        padding: 80px 0 70px;
    }

    .experience-slide {
        flex-basis: 340px;
        height: 250px;
    }

    .experiences-track {
        animation-duration: 30s;
    }
}

/* Celular */
@media (max-width: 575px) {
    .experiences-home-section {
        padding: 65px 0 60px;
    }

    .experiences-heading {
        margin-bottom: 42px;
    }

    .experiences-heading h2 {
        font-size: 32px;
    }

    .experiences-heading p {
        font-size: 16px;
    }

    .experiences-divider span {
        width: 45px;
    }

    .experience-slide {
        flex-basis: 280px;
        height: 210px;
    }

    .experiences-carousel::before,
    .experiences-carousel::after {
        width: 55px;
    }

    .experiences-track {
        animation-duration: 24s;
    }
}
/* =========================================================
   POR QUÉ ELEGIRNOS - FONDO PARALLAX + CÍRCULOS
========================================================= */

.why-home-section {
    position: relative;
    overflow: hidden;
    padding: 115px 0 105px;
    background:
        linear-gradient(rgba(3, 10, 24, 0.76), rgba(3, 10, 24, 0.82)),
        url("../img/porque/fondo-porque.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.why-home-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 196, 0, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(0, 87, 255, 0.14), rgba(0, 0, 0, 0.34));
    z-index: 1;
}

.why-home-section .container {
    z-index: 2;
}

.why-home-heading {
    margin-bottom: 68px;
    opacity: 0;
    transform: translateY(35px);
}

.why-home-section.why-visible .why-home-heading {
    animation: whyFadeUp 0.9s ease forwards;
}

.why-home-logo {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amarillo-industrial), #ff9f1c);
    color: #06142e;
    font-size: 44px;
    box-shadow: 0 18px 40px rgba(255, 196, 0, 0.34);
}

.why-home-heading h2 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 26px;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.why-home-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.why-home-divider span {
    width: 72px;
    height: 2px;
    background: var(--amarillo-industrial);
}

.why-home-divider i {
    color: #ffffff;
    font-size: 24px;
}

.why-card {
    text-align: center;
    opacity: 0;
    transform: translateY(45px);
}

.why-home-section.why-visible .why-card--one {
    animation: whyFromLeft 0.9s ease forwards;
}

.why-home-section.why-visible .why-card--two {
    animation: whyFromBottom 0.9s ease 0.18s forwards;
}

.why-home-section.why-visible .why-card--three {
    animation: whyFromRight 0.9s ease 0.36s forwards;
}

.why-card-image {
    position: relative;
    width: 285px;
    height: 285px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 7px;
    background: linear-gradient(135deg, var(--amarillo-industrial), #ffe083);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.42),
        0 0 0 5px rgba(255, 196, 0, 0.18);
    transition: transform 0.35s ease;
}

.why-card-image::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 196, 0, 0.60);
}

.why-card-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(6, 20, 46, 0.95);
}

.why-fallback-icon {
    position: absolute;
    inset: 7px;
    z-index: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe58a, #ffc400);
    color: #06142e;
    font-size: 78px;
}

.why-card:hover .why-card-image {
    transform: translateY(-10px) scale(1.04);
}

.why-card h3 {
    color: var(--amarillo-industrial);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.why-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.why-card li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.why-card li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--amarillo-industrial);
    font-size: 18px;
}

/* Animaciones */
@keyframes whyFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes whyFromLeft {
    from {
        opacity: 0;
        transform: translateX(-90px) translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes whyFromRight {
    from {
        opacity: 0;
        transform: translateX(90px) translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes whyFromBottom {
    from {
        opacity: 0;
        transform: translateY(90px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Movimiento suave de los círculos */
.why-home-section.why-visible .why-card-image {
    animation: whyCircleFloat 4.8s ease-in-out infinite;
}

.why-home-section.why-visible .why-card--two .why-card-image {
    animation-delay: 0.4s;
}

.why-home-section.why-visible .why-card--three .why-card-image {
    animation-delay: 0.8s;
}

@keyframes whyCircleFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .why-home-section {
        padding: 95px 0 85px;
        background-attachment: scroll;
    }

    .why-card-image {
        width: 245px;
        height: 245px;
    }

    .why-card h3 {
        font-size: 25px;
    }
}

/* Celular */
@media (max-width: 575px) {
    .why-home-section {
        padding: 75px 0 70px;
        background-attachment: scroll;
    }

    .why-home-heading {
        margin-bottom: 48px;
    }

    .why-home-logo {
        width: 66px;
        height: 66px;
        font-size: 34px;
        margin-bottom: 20px;
    }

    .why-home-heading h2 {
        font-size: 32px;
    }

    .why-home-divider span {
        width: 48px;
    }

    .why-card-image {
        width: 225px;
        height: 225px;
    }

    .why-fallback-icon {
        font-size: 62px;
    }

    .why-card h3 {
        font-size: 22px;
    }

    .why-card li {
        font-size: 15px;
    }
}
/* =========================================================
   UBICACIÓN + PREGUNTAS FRECUENTES
========================================================= */

.location-faq-section {
    padding: 105px 0;
    background:
        linear-gradient(135deg, rgba(0, 87, 255, 0.04), transparent 38%),
        #f4f7fb;
    overflow: hidden;
}

.location-box,
.faq-box {
    opacity: 0;
    transform: translateY(45px);
}

.location-faq-section.location-visible .location-box {
    animation: locationFromLeft 0.9s ease forwards;
}

.location-faq-section.location-visible .faq-box {
    animation: locationFromRight 0.9s ease 0.18s forwards;
}

.location-box h2,
.faq-box h2 {
    color: #06142e;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.location-box p,
.faq-box p {
    color: #526176;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.location-map {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 22px;
    background: #06142e;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.16);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: saturate(1.05) contrast(1.02);
}

.location-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #06142e;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.location-badge i {
    color: var(--amarillo-industrial);
}

/* FAQ */
.electro-faq {
    background: #ffffff;
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.10);
}

.electro-faq .accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(6, 20, 46, 0.08);
    background: transparent;
}

.electro-faq .accordion-item:last-child {
    border-bottom: 0;
}

.electro-faq .accordion-button {
    padding: 20px 14px;
    background: transparent;
    color: #06142e;
    font-size: 17px;
    font-weight: 900;
    box-shadow: none;
}

.electro-faq .accordion-button:not(.collapsed) {
    color: #06142e;
    background: rgba(255, 196, 0, 0.10);
    border-radius: 14px;
}

.electro-faq .accordion-button::after {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(0, 87, 255, 0.10);
    background-size: 16px;
    background-position: center;
    padding: 10px;
}

.electro-faq .accordion-body {
    padding: 0 14px 20px;
    color: #526176;
    font-size: 16px;
    line-height: 1.7;
}

/* Animaciones */
@keyframes locationFromLeft {
    from {
        opacity: 0;
        transform: translateX(-70px) translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes locationFromRight {
    from {
        opacity: 0;
        transform: translateX(70px) translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .location-faq-section {
        padding: 85px 0;
    }

    .location-map {
        height: 380px;
    }
}

/* Celular */
@media (max-width: 575px) {
    .location-faq-section {
        padding: 70px 0;
    }

    .location-box h2,
    .faq-box h2 {
        font-size: 34px;
    }

    .location-box p,
    .faq-box p {
        font-size: 16px;
    }

    .location-map {
        height: 320px;
        border-radius: 18px;
    }

    .electro-faq {
        border-radius: 18px;
    }

    .electro-faq .accordion-button {
        font-size: 15.5px;
        padding: 18px 12px;
    }

    .faq-box .btn {
        width: 100%;
    }
}
/* =========================================================
   CONTACTO RÁPIDO - BARRA CON IMAGEN DE FONDO Y ANIMACIÓN
========================================================= */

.quick-contact-section {
    padding: 95px 0;
    background: #ffffff;
    overflow: hidden;
}

.quick-contact-panel {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 56px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(6, 20, 46, 0.18);
    opacity: 0;
    transform: translateY(45px);
}

.quick-contact-section.quick-contact-visible .quick-contact-panel {
    animation: quickContactEnter 0.95s ease forwards;
}

.quick-contact-bg {
    position: absolute;
    inset: -30px;
    background: url("../img/contacto/contacto-electrico.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: quickContactBgMove 18s ease-in-out infinite alternate;
    z-index: 0;
}

.quick-contact-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 20, 46, 0.88), rgba(6, 20, 46, 0.60)),
        radial-gradient(circle at right, rgba(255, 196, 0, 0.18), transparent 35%);
    z-index: 1;
}

.quick-contact-main,
.quick-contact-info {
    position: relative;
    z-index: 2;
}

.quick-contact-label {
    color: var(--amarillo-industrial) !important;
    margin-bottom: 12px;
}

.quick-contact-main h2 {
    color: #ffffff;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.quick-contact-main p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.quick-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 14px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(255, 196, 0, 0.34);
    transition: all 0.25s ease;
}

.quick-contact-button:hover {
    color: #111827;
    background: #ffd84d;
    transform: translateY(-4px);
}

.quick-contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.quick-contact-info-card {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: #ffffff;
    transform: translateY(25px);
    opacity: 0;
}

.quick-contact-info-card:nth-child(3) {
    grid-column: span 2;
}

.quick-contact-section.quick-contact-visible .quick-contact-info-card:nth-child(1) {
    animation: quickContactCardEnter 0.75s ease 0.25s forwards;
}

.quick-contact-section.quick-contact-visible .quick-contact-info-card:nth-child(2) {
    animation: quickContactCardEnter 0.75s ease 0.38s forwards;
}

.quick-contact-section.quick-contact-visible .quick-contact-info-card:nth-child(3) {
    animation: quickContactCardEnter 0.75s ease 0.50s forwards;
}

.quick-contact-info-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-contact-info-card strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
}

@keyframes quickContactBgMove {
    0% {
        transform: scale(1.06) translateX(-16px);
    }

    50% {
        transform: scale(1.12) translateX(14px);
    }

    100% {
        transform: scale(1.16) translateX(-8px);
    }
}

@keyframes quickContactEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes quickContactCardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .quick-contact-section {
        padding: 80px 0;
    }

    .quick-contact-panel {
        grid-template-columns: 1fr;
        padding: 42px;
    }

    .quick-contact-info {
        grid-template-columns: 1fr;
    }

    .quick-contact-info-card:nth-child(3) {
        grid-column: auto;
    }
}

/* Celular */
@media (max-width: 575px) {
    .quick-contact-section {
        padding: 65px 0;
    }

    .quick-contact-panel {
        min-height: auto;
        padding: 30px;
        border-radius: 22px;
    }

    .quick-contact-main h2 {
        font-size: 34px;
    }

    .quick-contact-main p {
        font-size: 16px;
    }

    .quick-contact-button {
        width: 100%;
        justify-content: center;
        font-size: 16px;
    }

    .quick-contact-info-card {
        padding: 18px;
    }

    .quick-contact-info-card strong {
        font-size: 16px;
    }
}
/* =========================================================
   FOOTER PROFESIONAL CON IMAGEN DE FONDO Y MOVIMIENTO
========================================================= */

.footer-electro {
    position: relative;
    overflow: hidden;
    padding: 90px 0 0;
    background: #050b18;
    color: #ffffff;
}

.footer-electro-bg {
    position: absolute;
    inset: -35px;
    background: url("../img/footer/footer-electrico.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: footerBgMove 20s ease-in-out infinite alternate;
    z-index: 0;
}

.footer-electro-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 196, 0, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(5, 11, 24, 0.94), rgba(6, 20, 46, 0.88));
    z-index: 1;
}

.footer-electro .container {
    position: relative;
    z-index: 2;
}

@keyframes footerBgMove {
    0% {
        transform: scale(1.06) translateX(-18px) translateY(-10px);
    }

    50% {
        transform: scale(1.12) translateX(16px) translateY(8px);
    }

    100% {
        transform: scale(1.16) translateX(-10px) translateY(14px);
    }
}

/* Marca */
.footer-brand {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.footer-brand-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    border-radius: 16px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 34px;
    box-shadow: 0 16px 35px rgba(255, 196, 0, 0.32);
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 14px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Columnas */
.footer-column h4 {
    color: var(--amarillo-industrial);
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 12px;
    font-size: 15.5px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-column a:hover {
    color: var(--amarillo-industrial);
    padding-left: 5px;
}

/* Contacto */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact p i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--amarillo-industrial);
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
    transition: all 0.25s ease;
}

.footer-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.38);
}

/* Parte baja */
.footer-bottom {
    margin-top: 70px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.70);
}

.footer-bottom p,
.footer-bottom span {
    margin: 0;
    font-size: 14.5px;
}

/* Animación de entrada */
.footer-electro .footer-brand,
.footer-electro .footer-column,
.footer-electro .footer-bottom {
    opacity: 0;
    transform: translateY(35px);
}

.footer-electro.footer-visible .footer-brand {
    animation: footerItemUp 0.8s ease forwards;
}

.footer-electro.footer-visible .footer-column {
    animation: footerItemUp 0.8s ease forwards;
}

.footer-electro.footer-visible .footer-column:nth-child(1) {
    animation-delay: 0.10s;
}

.footer-electro.footer-visible .footer-column:nth-child(2) {
    animation-delay: 0.20s;
}

.footer-electro.footer-visible .footer-column:nth-child(3) {
    animation-delay: 0.30s;
}

.footer-electro.footer-visible .footer-bottom {
    animation: footerItemUp 0.8s ease 0.35s forwards;
}

@keyframes footerItemUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .footer-electro {
        padding-top: 75px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 50px;
    }
}

/* Celular */
@media (max-width: 575px) {
    .footer-electro {
        padding-top: 65px;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-brand h3 {
        font-size: 24px;
    }

    .footer-brand-icon {
        width: 56px;
        height: 56px;
        font-size: 30px;
    }

    .footer-column h4 {
        margin-bottom: 16px;
    }

    .footer-bottom {
        padding: 22px 0;
    }
}
/* =========================================================
   FOOTER - AJUSTE FINAL MÁS CORTO Y TEXTO CENTRADO
========================================================= */

.footer-electro {
    padding: 70px 0 0 !important;
}

.footer-bottom {
    margin-top: 45px !important;
    padding: 22px 0 !important;
    justify-content: center !important;
    text-align: center !important;
}

.footer-bottom p {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
}

.footer-bottom span {
    display: none !important;
}

@media (max-width: 575px) {
    .footer-electro {
        padding-top: 55px !important;
    }

    .footer-bottom {
        margin-top: 35px !important;
        padding: 20px 0 !important;
    }
}
/* =========================================================
   PÁGINA SERVICIOS - DISEÑO TIPO PORTAFOLIO
========================================================= */

.services-showcase-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 0 110px;
    background: url("../img/servicios/fondo-servicios.jpg") center center / cover no-repeat;
    color: #ffffff;
}

.services-showcase-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 196, 0, 0.12), transparent 34%),
        linear-gradient(rgba(3, 10, 24, 0.78), rgba(3, 10, 24, 0.88));
}

.services-showcase-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.services-showcase-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
    line-height: 1.7;
}

.services-showcase-section {
    padding: 95px 0 105px;
    background: #f5f7fb;
}

.services-showcase-head {
    max-width: 1040px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.services-showcase-head h2 {
    color: #06142e;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 12px;
}

.services-showcase-head p {
    max-width: 620px;
    margin: 0;
    color: #526176;
    font-size: 17px;
    line-height: 1.7;
}

.services-showcase-whatsapp {
    white-space: nowrap;
    font-weight: 900;
    border-radius: 999px;
    padding: 14px 24px;
}

.services-showcase-grid {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.service-showcase-card {
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(6, 20, 46, 0.08);
    opacity: 0;
    transform: translateY(45px);
    transition: all 0.3s ease;
}

.service-showcase-card.service-card-visible {
    animation: serviceCardUp 0.85s ease forwards;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(6, 20, 46, 0.14);
}

.service-showcase-card__body {
    padding: 34px 34px 26px;
}

.service-showcase-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--amarillo-industrial);
    color: #06142e;
    font-size: 30px;
    box-shadow: 0 14px 30px rgba(255, 196, 0, 0.28);
}

.service-showcase-card h3 {
    color: #06142e;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.service-showcase-card p {
    color: #526176;
    font-size: 16px;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 18px;
}

.service-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #06142e;
    font-weight: 900;
    text-decoration: none;
}

.service-showcase-link:hover {
    color: var(--amarillo-industrial);
}

.service-showcase-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #06142e;
}

.service-showcase-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.service-showcase-card:hover .service-showcase-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.service-showcase-image__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(255, 196, 0, 0.25), transparent 35%),
        linear-gradient(135deg, #06142e, #08224f);
    color: var(--amarillo-industrial);
    font-size: 74px;
}

@keyframes serviceCardUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .services-showcase-hero {
        padding: 145px 0 90px;
    }

    .services-showcase-section {
        padding: 80px 0 90px;
    }

    .services-showcase-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 45px;
    }

    .services-showcase-whatsapp {
        width: auto;
    }

    .service-showcase-image {
        height: 240px;
    }
}

/* Celular */
@media (max-width: 575px) {
    .services-showcase-hero {
        padding: 130px 0 75px;
    }

    .services-showcase-hero h1 {
        font-size: 38px;
    }

    .services-showcase-hero p {
        font-size: 16px;
    }

    .services-showcase-section {
        padding: 65px 0 75px;
    }

    .services-showcase-head {
        margin-bottom: 35px;
    }

    .services-showcase-head h2 {
        font-size: 32px;
    }

    .services-showcase-head p {
        font-size: 16px;
    }

    .services-showcase-whatsapp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .service-showcase-card__body {
        padding: 28px 26px 22px;
    }

    .service-showcase-card h3 {
        font-size: 22px;
    }

    .service-showcase-card p {
        font-size: 15px;
        text-align: left;
    }

    .service-showcase-image {
        height: 215px;
    }
}
/* =========================================================
   CORRECCIÓN SERVICIOS - IMÁGENES COMPLETAS AL 100%
========================================================= */

.service-showcase-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 22px !important;
}

/* El texto ocupa su espacio y la imagen siempre baja al final */
.service-showcase-card__body {
    flex: 1 1 auto !important;
}

/* Imagen siempre pegada abajo y ocupando todo el ancho */
.service-showcase-image {
    flex: 0 0 260px !important;
    width: 100% !important;
    height: 260px !important;
    margin-top: auto !important;
    overflow: hidden !important;
    border-radius: 0 0 22px 22px !important;
    background: #06142e !important;
}

/* La imagen real se ajusta completa al bloque */
.service-showcase-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Si no carga imagen, el icono fallback también ocupa todo */
.service-showcase-image__fallback {
    width: 100% !important;
    height: 100% !important;
}

/* En tablet */
@media (max-width: 991px) {
    .service-showcase-image {
        flex-basis: 240px !important;
        height: 240px !important;
    }
}

/* En celular */
@media (max-width: 575px) {
    .service-showcase-image {
        flex-basis: 215px !important;
        height: 215px !important;
    }
}
/* =========================================================
   SERVICIOS - RESPONSIVE FINAL PARA CELULAR Y TABLET
========================================================= */

/* Tablet y pantallas medianas */
@media (max-width: 991px) {
    .services-showcase-section {
        padding: 70px 0 80px !important;
    }

    .services-showcase-section .container {
        max-width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .services-showcase-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 32px !important;
    }

    .service-showcase-card {
        width: 100% !important;
        border-radius: 22px !important;
    }

    .service-showcase-card__body {
        padding: 30px 30px 24px !important;
    }

    .service-showcase-card h3 {
        font-size: 25px !important;
        line-height: 1.12 !important;
    }

    .service-showcase-card p {
        font-size: 16px !important;
        line-height: 1.65 !important;
        text-align: left !important;
    }

    .service-showcase-image {
        height: 235px !important;
        flex-basis: 235px !important;
    }
}

/* Celular */
@media (max-width: 575px) {
    .services-showcase-section {
        padding: 55px 0 65px !important;
    }

    .services-showcase-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .services-showcase-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 26px !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 26px !important;
    }

    .services-showcase-grid > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .service-showcase-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 18px 45px rgba(6, 20, 46, 0.12) !important;
    }

    .service-showcase-card__body {
        padding: 24px 24px 20px !important;
        flex: 1 1 auto !important;
    }

    .service-showcase-icon {
        width: 58px !important;
        height: 58px !important;
        font-size: 28px !important;
        border-radius: 15px !important;
        margin-bottom: 20px !important;
    }

    .service-showcase-card h3 {
        font-size: 24px !important;
        line-height: 1.12 !important;
        margin-bottom: 14px !important;
        word-break: normal !important;
    }

    .service-showcase-card p {
        font-size: 16px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }

    .service-showcase-link {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .service-showcase-image {
        width: 100% !important;
        height: 210px !important;
        flex: 0 0 210px !important;
        margin-top: auto !important;
        border-radius: 0 0 20px 20px !important;
    }

    .service-showcase-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .service-showcase-image__fallback {
        width: 100% !important;
        height: 100% !important;
        font-size: 68px !important;
    }

    /* Que el botón flotante no tape tanto la tarjeta */
    .whatsapp-float {
        width: 54px !important;
        height: 54px !important;
        right: 14px !important;
        bottom: 14px !important;
        font-size: 28px !important;
    }
}

/* Celulares muy angostos */
@media (max-width: 360px) {
    .services-showcase-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .service-showcase-card__body {
        padding: 22px 20px 18px !important;
    }

    .service-showcase-card h3 {
        font-size: 22px !important;
    }

    .service-showcase-card p {
        font-size: 15px !important;
    }

    .service-showcase-image {
        height: 195px !important;
        flex-basis: 195px !important;
    }
}
/* =========================================================
   CONTACTO NUEVO - FORMULARIO WHATSAPP + MAPA + HORARIO
========================================================= */

.contact-form-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 0 115px;
    background: #06142e;
    color: #ffffff;
}

.contact-form-bg {
    position: absolute;
    inset: -35px;
    background: url("../img/contacto/contacto-electrico.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: contactBgMove 20s ease-in-out infinite alternate;
    z-index: 0;
}

.contact-form-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 35%),
        linear-gradient(rgba(3, 10, 24, 0.72), rgba(3, 10, 24, 0.88));
    z-index: 1;
}

.contact-form-hero .container {
    z-index: 2;
}

@keyframes contactBgMove {
    0% {
        transform: scale(1.06) translateX(-18px) translateY(-10px);
    }

    50% {
        transform: scale(1.12) translateX(14px) translateY(10px);
    }

    100% {
        transform: scale(1.16) translateX(-8px) translateY(16px);
    }
}

.contact-form-heading {
    max-width: 850px;
    margin: 0 auto 52px;
    animation: contactTitleEnter 0.85s ease both;
}

.contact-form-heading h1 {
    color: #ffffff;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
}

.contact-form-heading p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    margin: 0;
}

@keyframes contactTitleEnter {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FORMULARIO */
.contact-whatsapp-form {
    max-width: 920px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(35px);
}

.contact-whatsapp-form.contact-element-visible {
    animation: contactFormEnter 0.85s ease forwards;
}

@keyframes contactFormEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-whatsapp-form label {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-whatsapp-form input,
.contact-whatsapp-form select,
.contact-whatsapp-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    outline: none;
    font-size: 16px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-whatsapp-form input::placeholder,
.contact-whatsapp-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.contact-whatsapp-form select option {
    color: #06142e;
}

.contact-whatsapp-form input:focus,
.contact-whatsapp-form select:focus,
.contact-whatsapp-form textarea:focus {
    border-color: var(--amarillo-industrial);
    background: rgba(255, 255, 255, 0.08);
}

.contact-whatsapp-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 42px;
    border: none;
    border-radius: 999px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(255, 196, 0, 0.34);
    transition: all 0.25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-4px);
    background: #ffd84d;
}

/* =========================================================
   3 BLOQUES
========================================================= */

.contact-cards-section {
    padding: 70px 0;
    background: #ffffff;
}

.contact-info-card-pro {
    display: block;
    height: 100%;
    padding: 28px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, 0.14), transparent 34%),
        linear-gradient(135deg, #06142e, #081d42);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.14);
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.25s ease;
}

.contact-info-card-pro.contact-element-visible {
    animation: contactCardEnter 0.8s ease forwards;
}

.contact-info-card-pro:hover {
    color: #ffffff;
    transform: translateY(-8px);
}

.contact-info-card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--amarillo-industrial);
    color: #06142e;
    font-size: 26px;
}

.contact-info-card-icon--green {
    background: #25d366;
    color: #ffffff;
}

.contact-info-card-pro h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-info-card-pro p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-info-card-pro span {
    color: var(--amarillo-industrial);
    font-weight: 800;
}

@keyframes contactCardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MAPA + HORARIO
========================================================= */

.contact-map-hours-section {
    padding: 85px 0 100px;
    background: #ffffff;
}

.contact-map-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}

.contact-map-title h2 {
    color: #06142e;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 10px;
}

.contact-map-title p {
    color: #526176;
    font-size: 17px;
    margin: 0;
}

.contact-map-title a {
    color: var(--amarillo-industrial);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.contact-real-map {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 24px;
    background: #06142e;
    box-shadow: 0 26px 70px rgba(6, 20, 46, 0.14);
    opacity: 0;
    transform: translateY(35px);
}

.contact-real-map.contact-element-visible {
    animation: contactMapEnter 0.85s ease forwards;
}

.contact-real-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-map-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    background: #06142e;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.contact-map-badge i {
    color: var(--amarillo-industrial);
}

.contact-hours-card {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(6, 20, 46, 0.08);
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.10);
    opacity: 0;
    transform: translateY(35px);
}

.contact-hours-card.contact-element-visible {
    animation: contactMapEnter 0.85s ease forwards;
}

@keyframes contactMapEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hours-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.contact-hours-header h2 {
    color: #06142e;
    font-size: 31px;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-hours-header p {
    color: #526176;
    margin: 0;
}

.contact-hours-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    border-radius: 14px;
    background: rgba(255, 196, 0, 0.16);
    color: var(--amarillo-industrial);
    font-size: 25px;
}

.contact-hours-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(6, 20, 46, 0.08);
}

.contact-hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 20, 46, 0.08);
}

.contact-hours-list span {
    color: #526176;
    font-weight: 700;
}

.contact-hours-list strong {
    color: #06142e;
    font-weight: 900;
}

.contact-hours-list .closed strong {
    color: #ef4444;
}

/* =========================================================
   RESPONSIVE CONTACTO
========================================================= */

@media (max-width: 991px) {
    .contact-form-hero {
        padding: 145px 0 95px;
    }

    .contact-cards-section {
        padding: 60px 0;
    }

    .contact-map-title {
        flex-direction: column;
    }

    .contact-real-map {
        height: 380px;
    }
}

@media (max-width: 575px) {
    .contact-form-hero {
        padding: 130px 0 75px;
    }

    .contact-form-heading {
        margin-bottom: 38px;
    }

    .contact-form-heading h1 {
        font-size: 39px;
    }

    .contact-form-heading p {
        font-size: 16px;
    }

    .contact-whatsapp-form input,
    .contact-whatsapp-form select,
    .contact-whatsapp-form textarea {
        font-size: 15px;
        padding: 14px;
    }

    .contact-submit-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .contact-cards-section {
        padding: 50px 0;
    }

    .contact-info-card-pro {
        padding: 24px;
    }

    .contact-map-hours-section {
        padding: 65px 0 75px;
    }

    .contact-map-title h2 {
        font-size: 32px;
    }

    .contact-real-map {
        height: 315px;
        border-radius: 20px;
    }

    .contact-hours-card {
        padding: 25px;
        border-radius: 20px;
    }

    .contact-hours-header {
        flex-direction: column;
    }

    .contact-hours-header h2 {
        font-size: 28px;
    }

    .contact-hours-list div {
        flex-direction: column;
        gap: 4px;
    }
}
/* =========================================================
   CONTACTO FINAL - NAVBAR BLANCO + FORMULARIO + MAPA
========================================================= */

/* Navbar blanco sobre el hero de contacto */
body.contact-page .electro-navbar:not(.navbar-after-hero) {
    background: transparent !important;
    box-shadow: none !important;
}

body.contact-page .electro-navbar:not(.navbar-after-hero) .navbar-brand,
body.contact-page .electro-navbar:not(.navbar-after-hero) .brand-text,
body.contact-page .electro-navbar:not(.navbar-after-hero) .nav-link:not(.btn-contacto) {
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75) !important;
}

body.contact-page .electro-navbar:not(.navbar-after-hero) .brand-mark {
    box-shadow: 0 14px 34px rgba(255, 196, 0, 0.38) !important;
}

/* Navbar oscuro cuando se baja del hero */
body.contact-page .electro-navbar.navbar-after-hero .navbar-brand,
body.contact-page .electro-navbar.navbar-after-hero .brand-text,
body.contact-page .electro-navbar.navbar-after-hero .nav-link:not(.btn-contacto) {
    color: #06142e !important;
    text-shadow: none !important;
}

/* Botón contacto siempre amarillo */
body.contact-page .electro-navbar .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
}

/* =========================================================
   HERO CONTACTO
========================================================= */

.contact-form-hero {
    position: relative;
    overflow: hidden;
    padding: 165px 0 115px !important;
    background: #06142e;
    color: #ffffff;
}

.contact-form-bg {
    position: absolute;
    inset: -35px;
    background: url("../img/contacto/contacto-electrico.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: contactBgMove 20s ease-in-out infinite alternate;
    z-index: 0;
}

.contact-form-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 35%),
        linear-gradient(rgba(3, 10, 24, 0.72), rgba(3, 10, 24, 0.90));
    z-index: 1;
}

.contact-form-hero .container {
    position: relative;
    z-index: 2;
}

@keyframes contactBgMove {
    0% {
        transform: scale(1.06) translateX(-18px) translateY(-10px);
    }

    50% {
        transform: scale(1.12) translateX(14px) translateY(10px);
    }

    100% {
        transform: scale(1.16) translateX(-8px) translateY(16px);
    }
}

.contact-form-heading {
    max-width: 850px;
    margin: 0 auto 52px !important;
    animation: contactTitleEnter 0.85s ease both;
}

.contact-form-heading h1 {
    color: #ffffff !important;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
}

.contact-form-heading p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    margin: 0;
}

@keyframes contactTitleEnter {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   FORMULARIO WHATSAPP
========================================================= */

.contact-whatsapp-form {
    max-width: 920px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(35px);
}

.contact-whatsapp-form.contact-element-visible {
    animation: contactFormEnter 0.85s ease forwards;
}

@keyframes contactFormEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-whatsapp-form label {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-whatsapp-form input,
.contact-whatsapp-form select,
.contact-whatsapp-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    outline: none;
    font-size: 16px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-whatsapp-form input::placeholder,
.contact-whatsapp-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.contact-whatsapp-form select option {
    color: #06142e;
}

.contact-whatsapp-form input:focus,
.contact-whatsapp-form select:focus,
.contact-whatsapp-form textarea:focus {
    border-color: var(--amarillo-industrial);
    background: rgba(255, 255, 255, 0.08);
}

.contact-whatsapp-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 42px;
    border: none;
    border-radius: 999px;
    background: var(--amarillo-industrial);
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(255, 196, 0, 0.34);
    transition: all 0.25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-4px);
    background: #ffd84d;
}

/* =========================================================
   3 BLOQUES DE CONTACTO
========================================================= */

.contact-cards-section {
    padding: 70px 0 !important;
    background: #ffffff;
}

.contact-info-card-pro {
    display: block;
    height: 100%;
    padding: 28px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 196, 0, 0.14), transparent 34%),
        linear-gradient(135deg, #06142e, #081d42);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.14);
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.25s ease;
}

.contact-info-card-pro.contact-element-visible {
    animation: contactCardEnter 0.8s ease forwards;
}

.contact-info-card-pro:hover {
    color: #ffffff !important;
    transform: translateY(-8px);
}

.contact-info-card-icon,
.contact-info-card-icon--green {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--amarillo-industrial) !important;
    color: #06142e !important;
    font-size: 26px;
}

.contact-info-card-pro h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-info-card-pro p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-info-card-pro span {
    color: var(--amarillo-industrial);
    font-weight: 800;
}

@keyframes contactCardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MAPA + HORARIO
========================================================= */

.contact-map-hours-section {
    padding: 85px 0 100px !important;
    background: #ffffff;
}

.contact-map-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}

.contact-map-title h2 {
    color: #06142e;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 10px;
}

.contact-map-title p {
    color: #526176;
    font-size: 17px;
    margin: 0;
}

.contact-map-title a {
    color: var(--amarillo-industrial);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.contact-real-map {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 24px;
    background: #06142e;
    box-shadow: 0 26px 70px rgba(6, 20, 46, 0.14);
    opacity: 0;
    transform: translateY(35px);
}

.contact-real-map.contact-element-visible {
    animation: contactMapEnter 0.85s ease forwards;
}

.contact-real-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-map-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    background: #06142e;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.contact-map-badge i {
    color: var(--amarillo-industrial);
}

.contact-hours-card {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(6, 20, 46, 0.08);
    box-shadow: 0 24px 60px rgba(6, 20, 46, 0.10);
    opacity: 0;
    transform: translateY(35px);
}

.contact-hours-card.contact-element-visible {
    animation: contactMapEnter 0.85s ease forwards;
}

@keyframes contactMapEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hours-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.contact-hours-header h2 {
    color: #06142e;
    font-size: 31px;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-hours-header p {
    color: #526176;
    margin: 0;
}

.contact-hours-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    border-radius: 14px;
    background: rgba(255, 196, 0, 0.16);
    color: var(--amarillo-industrial);
    font-size: 25px;
}

.contact-hours-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(6, 20, 46, 0.08);
}

.contact-hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 20, 46, 0.08);
}

.contact-hours-list span {
    color: #526176;
    font-weight: 700;
}

.contact-hours-list strong {
    color: #06142e;
    font-weight: 900;
}

/* Domingo cerrado oscuro, no rojo */
.contact-hours-list .closed strong {
    color: #06142e !important;
}

.contact-hours-list .closed span {
    color: #526176 !important;
}

/* =========================================================
   RESPONSIVE CONTACTO
========================================================= */

@media (max-width: 991px) {
    .contact-form-hero {
        padding: 145px 0 95px !important;
    }

    .contact-cards-section {
        padding: 60px 0 !important;
    }

    .contact-map-title {
        flex-direction: column;
    }

    .contact-real-map {
        height: 380px;
    }
}

@media (max-width: 575px) {
    .contact-form-hero {
        padding: 130px 0 75px !important;
    }

    .contact-form-heading {
        margin-bottom: 38px !important;
    }

    .contact-form-heading h1 {
        font-size: 39px;
    }

    .contact-form-heading p {
        font-size: 16px;
    }

    .contact-whatsapp-form input,
    .contact-whatsapp-form select,
    .contact-whatsapp-form textarea {
        font-size: 15px;
        padding: 14px;
    }

    .contact-submit-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .contact-cards-section {
        padding: 50px 0 !important;
    }

    .contact-info-card-pro {
        padding: 24px;
    }

    .contact-map-hours-section {
        padding: 65px 0 75px !important;
    }

    .contact-map-title h2 {
        font-size: 32px;
    }

    .contact-real-map {
        height: 315px;
        border-radius: 20px;
    }

    .contact-hours-card {
        padding: 25px;
        border-radius: 20px;
    }

    .contact-hours-header {
        flex-direction: column;
    }

    .contact-hours-header h2 {
        font-size: 28px;
    }

    .contact-hours-list div {
        flex-direction: column;
        gap: 4px;
    }

    body.contact-page .electro-navbar .navbar-collapse .nav-link {
        color: #06142e !important;
        text-shadow: none !important;
    }

    body.contact-page .electro-navbar .navbar-collapse .btn-contacto {
        color: #111827 !important;
    }
}
/* =========================================================
   SERVICIOS - AJUSTE FINAL COMPLETO
   Navbar blanco sobre hero + responsive celular
========================================================= */

/* Navbar blanco arriba del hero de servicios */
body.services-page .electro-navbar:not(.navbar-after-hero) {
    background: transparent !important;
    box-shadow: none !important;
}

body.services-page .electro-navbar:not(.navbar-after-hero) .navbar-brand,
body.services-page .electro-navbar:not(.navbar-after-hero) .brand-text,
body.services-page .electro-navbar:not(.navbar-after-hero) .nav-link:not(.btn-contacto) {
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75) !important;
}

body.services-page .electro-navbar:not(.navbar-after-hero) .brand-mark {
    box-shadow: 0 14px 34px rgba(255, 196, 0, 0.38) !important;
}

/* Al bajar del hero, vuelve oscuro */
body.services-page .electro-navbar.navbar-after-hero .navbar-brand,
body.services-page .electro-navbar.navbar-after-hero .brand-text,
body.services-page .electro-navbar.navbar-after-hero .nav-link:not(.btn-contacto) {
    color: #06142e !important;
    text-shadow: none !important;
}

/* Botón contacto siempre amarillo */
body.services-page .electro-navbar .btn-contacto {
    background: var(--amarillo-industrial) !important;
    color: #111827 !important;
    text-shadow: none !important;
}

/* Activo en hero */
body.services-page .electro-navbar:not(.navbar-after-hero) .nav-link.active:not(.btn-contacto) {
    color: #ffffff !important;
}

/* Activo después del hero */
body.services-page .electro-navbar.navbar-after-hero .nav-link.active:not(.btn-contacto) {
    color: var(--amarillo-industrial) !important;
}

/* Hero con fondo animado */
.services-showcase-hero {
    position: relative !important;
    overflow: hidden !important;
    padding: 165px 0 110px !important;
    background: #06142e !important;
    color: #ffffff !important;
}

.services-showcase-hero__bg {
    position: absolute;
    inset: -35px;
    background: url("../img/servicios/fondo-servicios1.jpg") center center / cover no-repeat;
    transform: scale(1.08);
    animation: servicesPageBgMove 20s ease-in-out infinite alternate;
    z-index: 0;
}

.services-showcase-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at top, rgba(255, 196, 0, 0.12), transparent 34%),
        linear-gradient(rgba(3, 10, 24, 0.76), rgba(3, 10, 24, 0.90));
}

.services-showcase-hero .container {
    position: relative;
    z-index: 2;
}

@keyframes servicesPageBgMove {
    0% {
        transform: scale(1.06) translateX(-18px) translateY(-10px);
    }

    50% {
        transform: scale(1.12) translateX(14px) translateY(10px);
    }

    100% {
        transform: scale(1.16) translateX(-8px) translateY(16px);
    }
}

.services-showcase-hero h1 {
    color: #ffffff !important;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.services-showcase-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
    line-height: 1.7;
}

/* Tarjetas completas y bien alineadas */
.service-showcase-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 22px !important;
}

.service-showcase-card__body {
    flex: 1 1 auto !important;
}

.service-showcase-image {
    flex: 0 0 260px !important;
    width: 100% !important;
    height: 260px !important;
    margin-top: auto !important;
    overflow: hidden !important;
    border-radius: 0 0 22px 22px !important;
    background: #06142e !important;
}

.service-showcase-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.service-showcase-image__fallback {
    width: 100% !important;
    height: 100% !important;
}

/* Tablet */
@media (max-width: 991px) {
    .services-showcase-hero {
        padding: 145px 0 90px !important;
    }

    .services-showcase-section {
        padding: 70px 0 80px !important;
    }

    .services-showcase-section .container {
        max-width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .services-showcase-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 32px !important;
    }

    .service-showcase-card__body {
        padding: 30px 30px 24px !important;
    }

    .service-showcase-card h3 {
        font-size: 25px !important;
        line-height: 1.12 !important;
    }

    .service-showcase-card p {
        font-size: 16px !important;
        line-height: 1.65 !important;
        text-align: left !important;
    }

    .service-showcase-image {
        height: 235px !important;
        flex-basis: 235px !important;
    }
}

/* Celular */
@media (max-width: 575px) {
    /* Menú celular visible cuando se abre */
    body.services-page .electro-navbar .navbar-collapse .nav-link {
        color: #06142e !important;
        text-shadow: none !important;
    }

    body.services-page .electro-navbar .navbar-collapse .btn-contacto {
        color: #111827 !important;
    }

    .services-showcase-hero {
        padding: 135px 0 80px !important;
    }

    .services-showcase-hero h1 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        margin-bottom: 0 !important;
    }

    /* Oculta SOLO EN CELULAR el texto:
       "Soluciones profesionales en instalaciones..." */
    .services-hero-subtitle {
        display: none !important;
    }

    .services-showcase-hero .section-label {
        margin-bottom: 14px !important;
    }

    .services-showcase-section {
        padding: 55px 0 65px !important;
    }

    .services-showcase-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .services-showcase-head {
        margin-bottom: 35px !important;
        align-items: flex-start !important;
    }

    .services-showcase-head h2 {
        font-size: 32px !important;
    }

    .services-showcase-head p {
        font-size: 16px !important;
    }

    .services-showcase-whatsapp {
        width: 100% !important;
        justify-content: center !important;
    }

    .services-showcase-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 26px !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 26px !important;
    }

    .services-showcase-grid > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .service-showcase-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px !important;
        box-shadow: 0 18px 45px rgba(6, 20, 46, 0.12) !important;
    }

    .service-showcase-card__body {
        padding: 24px 24px 20px !important;
    }

    .service-showcase-icon {
        width: 58px !important;
        height: 58px !important;
        font-size: 28px !important;
        border-radius: 15px !important;
        margin-bottom: 20px !important;
    }

    .service-showcase-card h3 {
        font-size: 24px !important;
        line-height: 1.12 !important;
        margin-bottom: 14px !important;
    }

    .service-showcase-card p {
        font-size: 16px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
    }

    .service-showcase-link {
        font-size: 16px !important;
    }

    .service-showcase-image {
        width: 100% !important;
        height: 210px !important;
        flex: 0 0 210px !important;
        border-radius: 0 0 20px 20px !important;
    }

    .service-showcase-image__fallback {
        font-size: 68px !important;
    }

    .whatsapp-float {
        width: 54px !important;
        height: 54px !important;
        right: 14px !important;
        bottom: 14px !important;
        font-size: 28px !important;
    }
}

/* Celulares muy angostos */
@media (max-width: 360px) {
    .services-showcase-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .services-showcase-hero h1 {
        font-size: 34px !important;
    }

    .service-showcase-card__body {
        padding: 22px 20px 18px !important;
    }

    .service-showcase-card h3 {
        font-size: 22px !important;
    }

    .service-showcase-card p {
        font-size: 15px !important;
    }

    .service-showcase-image {
        height: 195px !important;
        flex-basis: 195px !important;
    }
}
/* =========================================================
   CONTACTO - FRANJAS DORADAS + HORARIO RESPONSIVE MEJORADO
   Pegar al final del CSS
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.contact-page {
    background: #ffffff;
}

/* Contenedor general */
body.contact-page .contact-container-safe {
    max-width: 1320px;
}

/* =========================================================
   3 BLOQUES CONTACTO - SE DEJA COMO YA ESTABA
========================================================= */

body.contact-page .contact-cards-section--magic {
    padding-top: 90px;
    padding-bottom: 90px;
    background: #ffffff;
}

body.contact-page .contactMagicCard {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    display: block;
    min-height: 250px;
    padding: 36px 34px !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #061126 0%, #08234a 100%) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.contact-page .contactMagicCard > * {
    position: relative;
    z-index: 3;
}

body.contact-page .contactMagicCard h3 {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    margin-top: 26px;
    margin-bottom: 14px;
}

body.contact-page .contactMagicCard p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 0;
}

body.contact-page .contactMagicCard p span {
    display: inline-block;
    color: #ffc107 !important;
    font-weight: 900;
    margin-top: 4px;
}

body.contact-page .contactMagicCard .contact-info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffc107 !important;
    color: #061126 !important;
    font-size: 30px;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.24);
}

body.contact-page .contactMagicCard::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255, 193, 7, 0.95);
    border-right-color: rgba(255, 193, 7, 0.58);
    top: -170px;
    right: -135px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.42));
    animation: contactFranjaGira 7s linear infinite;
}

body.contact-page .contactMagicCard::after {
    content: "";
    position: absolute;
    width: 285px;
    height: 285px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-left-color: rgba(255, 193, 7, 0.85);
    border-bottom-color: rgba(255, 193, 7, 0.50);
    bottom: -155px;
    left: -125px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.30));
    animation: contactFranjaGiraContra 9s linear infinite;
}

body.contact-page .contact-cards-row > div:nth-child(2) .contactMagicCard::before {
    left: -130px;
    right: auto;
    top: -160px;
}

body.contact-page .contact-cards-row > div:nth-child(2) .contactMagicCard::after {
    right: -125px;
    left: auto;
    bottom: -145px;
}

body.contact-page .contactMagicCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.22) !important;
}

@keyframes contactFranjaGira {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.04);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes contactFranjaGiraContra {
    0% {
        transform: rotate(360deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* =========================================================
   MAPA + HORARIO BASE
========================================================= */

body.contact-page .contact-map-hours-section {
    overflow: hidden;
}

body.contact-page .contact-map-hours-row {
    width: 100%;
}

body.contact-page .contact-real-map {
    width: 100%;
    overflow: hidden;
}

body.contact-page .contact-hours-card-responsive,
body.contact-page .contact-hours-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.contact-page .contact-hours-list {
    width: 100%;
}

body.contact-page .contact-hours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(8, 18, 38, 0.08);
}

body.contact-page .contact-hours-item span {
    color: #52627a;
    font-weight: 800;
}

body.contact-page .contact-hours-item strong {
    color: #061126;
    font-weight: 900;
    text-align: right;
}

body.contact-page .contact-hours-item.closed strong {
    color: #111827 !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    body.contact-page .contact-container-safe {
        max-width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    body.contact-page .contact-cards-section--magic {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    body.contact-page .contactMagicCard {
        min-height: 235px;
    }
}

/* =========================================================
   CELULAR - GENERAL
========================================================= */

@media (max-width: 575px) {

    body.contact-page main,
    body.contact-page section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    body.contact-page .contact-container-safe {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Hero formulario */
    body.contact-page .contact-form-hero {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    body.contact-page .contact-form-heading h1 {
        font-size: 34px !important;
        line-height: 1.1 !important;
    }

    body.contact-page .contact-form-heading p {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    body.contact-page .contact-whatsapp-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 18px !important;
        border-radius: 22px !important;
    }

    body.contact-page .contact-whatsapp-form input,
    body.contact-page .contact-whatsapp-form select,
    body.contact-page .contact-whatsapp-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
    }

    body.contact-page .contact-whatsapp-form textarea {
        min-height: 130px !important;
        resize: vertical;
    }

    body.contact-page .contact-submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 18px !important;
        font-size: 17px !important;
        justify-content: center !important;
        white-space: normal !important;
    }

    /* 3 tarjetas */
    body.contact-page .contact-cards-section--magic {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }

    body.contact-page .contact-cards-row {
        --bs-gutter-y: 18px;
    }

    body.contact-page .contactMagicCard {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 210px !important;
        padding: 28px 24px !important;
        border-radius: 22px !important;
    }

    body.contact-page .contactMagicCard .contact-info-card-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        font-size: 26px;
    }

    body.contact-page .contactMagicCard h3 {
        font-size: 24px !important;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    body.contact-page .contactMagicCard p {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    body.contact-page .contactMagicCard::before {
        width: 240px;
        height: 240px;
        top: -135px;
        right: -115px;
        animation-duration: 11s;
        opacity: 0.85;
    }

    body.contact-page .contactMagicCard::after {
        width: 230px;
        height: 230px;
        bottom: -130px;
        left: -110px;
        animation-duration: 13s;
        opacity: 0.75;
    }

    body.contact-page .contactMagicCard:hover {
        transform: none !important;
    }
}

/* =========================================================
   CELULAR - HORARIO USANDO TODO EL ESPACIO
========================================================= */

@media (max-width: 575px) {

    body.contact-page .contact-map-hours-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 45px !important;
        padding-bottom: 55px !important;
        overflow-x: hidden !important;
    }

    body.contact-page .contact-map-hours-section > .container,
    body.contact-page .contact-map-hours-section .container,
    body.contact-page .contact-map-hours-section .contact-container-safe {
        width: 100% !important;
        max-width: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.contact-page .contact-map-hours-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 24px !important;
    }

    body.contact-page .contact-map-hours-row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.contact-page .contact-map-title {
        display: block !important;
        text-align: left !important;
        margin-bottom: 20px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    body.contact-page .contact-map-title h2 {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    body.contact-page .contact-map-title p {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    body.contact-page .contact-map-title a {
        display: inline-flex !important;
        margin-top: 12px !important;
        font-size: 15px !important;
    }

    body.contact-page .contact-real-map {
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
        min-height: 320px !important;
        border-radius: 22px !important;
    }

    body.contact-page .contact-map-badge {
        left: 14px !important;
        bottom: 14px !important;
        max-width: calc(100% - 28px) !important;
        font-size: 14px !important;
    }

    /* TARJETA HORARIO MÁS ANCHA */
    body.contact-page .contact-hours-card-responsive,
    body.contact-page .contact-hours-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 26px 20px !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.contact-page .contact-hours-header {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 14px !important;
        width: 100% !important;
        margin-bottom: 18px !important;
    }

    body.contact-page .contact-hours-header > div:first-child {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body.contact-page .contact-hours-header h2 {
        font-size: 30px !important;
        line-height: 1.08 !important;
        margin-bottom: 10px !important;
        max-width: 100% !important;
    }

    body.contact-page .contact-hours-header p {
        font-size: 16px !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }

    body.contact-page .contact-hours-icon {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        border-radius: 16px !important;
        font-size: 24px !important;
        flex: 0 0 58px !important;
    }

    body.contact-page .contact-hours-list {
        width: 100% !important;
    }

    /* Ahora día y hora van en una sola línea para aprovechar el ancho */
    body.contact-page .contact-hours-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 14px 0 !important;
    }

    body.contact-page .contact-hours-item span {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body.contact-page .contact-hours-item strong {
        flex: 0 0 auto !important;
        text-align: right !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    body.contact-page .contact-hours-whatsapp-btn {
        width: 100% !important;
        padding: 15px 16px !important;
        font-size: 16px !important;
        border-radius: 16px !important;
        white-space: normal !important;
    }
}

/* =========================================================
   CELULAR PEQUEÑO 360PX - AHÍ SÍ SE APILA PARA NO ROMPER
========================================================= */

@media (max-width: 360px) {
    body.contact-page .contact-container-safe {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.contact-page .contact-map-hours-section > .container,
    body.contact-page .contact-map-hours-section .container,
    body.contact-page .contact-map-hours-section .contact-container-safe {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.contact-page .contact-whatsapp-form {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.contact-page .contactMagicCard {
        padding: 24px 20px !important;
    }

    body.contact-page .contact-hours-card-responsive,
    body.contact-page .contact-hours-card {
        padding: 24px 16px !important;
    }

    body.contact-page .contact-hours-header h2 {
        font-size: 28px !important;
    }

    body.contact-page .contact-hours-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    body.contact-page .contact-hours-item span {
        white-space: normal !important;
    }

    body.contact-page .contact-hours-item strong {
        text-align: left !important;
        white-space: normal !important;
    }
}

/* =========================================================
   WHATSAPP FLOTANTE EN CELULAR
========================================================= */

@media (max-width: 575px) {
    body.contact-page .whatsapp-float,
    body.contact-page .float-whatsapp,
    body.contact-page .floating-whatsapp,
    body.contact-page .btn-whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        right: 14px !important;
        bottom: 14px !important;
        z-index: 9999 !important;
    }
}

/* =========================================================
   REDUCIR ANIMACIÓN SI EL DISPOSITIVO LO PIDE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    body.contact-page .contactMagicCard::before,
    body.contact-page .contactMagicCard::after {
        animation: none !important;
    }
}
/* Ocultar icono de horario solo en celular */
@media (max-width: 575px) {
    body.contact-page .contact-hours-icon {
        display: none !important;
    }

    body.contact-page .contact-hours-header {
        display: block !important;
    }

    body.contact-page .contact-hours-header > div:first-child {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* =========================================================
   SERVICIOS - ANIMACIÓN DE PORTADA AL RECARGAR
========================================================= */

body.services-page .servicesHeroReload {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Estado inicial antes de cargar */
body.services-page .servicesHeroReload .services-hero-label,
body.services-page .servicesHeroReload h1,
body.services-page .servicesHeroReload .services-hero-subtitle {
    opacity: 0;
}

/* Brillo circular del fondo */
body.services-page .servicesHeroReload::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 193, 7, 0.20) 0%,
        rgba(255, 193, 7, 0.09) 35%,
        transparent 72%
    );
    top: -250px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

body.services-page .servicesHeroReload.services-hero-loaded::before {
    animation: serviciosHeroGlowEntrada 1.5s ease-out forwards,
               serviciosHeroGlowFlotar 6s ease-in-out infinite 1.5s;
}

/* Franja brillante que cruza la portada */
body.services-page .servicesHeroReload::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 160%;
    top: -30%;
    left: -260px;
    transform: rotate(18deg);
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 45%,
        transparent 75%
    );
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

body.services-page .servicesHeroReload.services-hero-loaded::after {
    animation: serviciosHeroFranjaPasa 2.2s ease-out 0.25s forwards;
}

/* Contenido encima del brillo */
body.services-page .servicesHeroReload .container,
body.services-page .servicesHeroReload .services-hero-animate-content {
    position: relative;
    z-index: 5;
}

/* Label SERVICIOS */
body.services-page .servicesHeroReload.services-hero-loaded .services-hero-label {
    animation: serviciosHeroLabelEntrada 0.7s ease-out 0.15s forwards;
}

/* Título principal */
body.services-page .servicesHeroReload.services-hero-loaded h1 {
    animation: serviciosHeroTituloEntrada 0.95s cubic-bezier(.2,.8,.2,1) 0.3s forwards;
}

/* Texto debajo */
body.services-page .servicesHeroReload.services-hero-loaded .services-hero-subtitle {
    animation: serviciosHeroTextoEntrada 0.85s ease-out 0.58s forwards;
}

/* Animaciones */
@keyframes serviciosHeroTituloEntrada {
    0% {
        opacity: 0;
        transform: translateY(36px) scale(0.96);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes serviciosHeroTextoEntrada {
    0% {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes serviciosHeroLabelEntrada {
    0% {
        opacity: 0;
        transform: translateY(-18px);
        letter-spacing: 5px;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 3px;
    }
}

@keyframes serviciosHeroGlowEntrada {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.7);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes serviciosHeroGlowFlotar {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(22px) scale(1.06);
    }
}

@keyframes serviciosHeroFranjaPasa {
    0% {
        left: -260px;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

/* Celular */
@media (max-width: 575px) {
    body.services-page .servicesHeroReload::before {
        width: 360px;
        height: 360px;
        top: -150px;
    }

    body.services-page .servicesHeroReload::after {
        width: 110px;
    }

    body.services-page .servicesHeroReload.services-hero-loaded h1 {
        animation-duration: 0.8s;
    }
}

/* Reducir animación si el dispositivo lo pide */
@media (prefers-reduced-motion: reduce) {
    body.services-page .servicesHeroReload::before,
    body.services-page .servicesHeroReload::after,
    body.services-page .servicesHeroReload .services-hero-label,
    body.services-page .servicesHeroReload h1,
    body.services-page .servicesHeroReload .services-hero-subtitle {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
/* =========================================================
   INICIO - NOSOTROS PRO
   Animación + marco de texto + tarjetas flotantes
========================================================= */

.home-about-pro {
    position: relative;
    padding: 100px 0;
    background: #f5f7fb;
    overflow: hidden;
}

.home-about-pro__heading {
    margin-bottom: 44px;
}

.home-about-pro__heading h2 {
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 900;
    line-height: 0.95;
    color: #061126;
    margin: 12px 0 0;
}

/* IMAGEN */
.home-about-pro__image-frame {
    position: relative;
    min-height: 510px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #031126 0%, #06244d 100%);
    box-shadow: 0 28px 70px rgba(4, 18, 45, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.12);
}

.home-about-pro__image {
    width: 100%;
    height: 510px;
    object-fit: cover;
    display: block;
}

.home-about-pro__image-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.12), transparent 32%),
        linear-gradient(135deg, #031126 0%, #06244d 100%);
}

.home-about-pro__fallback-badge {
    position: absolute;
    left: 26px;
    bottom: 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(3, 17, 38, 0.90);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.home-about-pro__fallback-badge i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffc107;
    color: #061126;
    font-size: 22px;
}

/* TARJETAS FLOTANTES */
.home-about-pro__float-card {
    position: absolute;
    z-index: 5;
    width: 230px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(5, 18, 45, 0.94);
    border: 1px solid rgba(255, 193, 7, 0.18);
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    animation: aboutFloatCard 4.5s ease-in-out infinite;
}

.home-about-pro__float-card strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 5px;
}

.home-about-pro__float-card span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.home-about-pro__float-card--left {
    top: 24px;
    left: 24px;
}

.home-about-pro__float-card--right {
    top: 34px;
    right: 24px;
    animation-delay: 1s;
}

.home-about-pro__float-card--bottom {
    right: 24px;
    bottom: 28px;
    animation-delay: 2s;
}

/* TEXTO */
.home-about-pro__content h3 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.95;
    color: #061126;
    margin: 12px 0 24px;
}

.home-about-pro__text-box {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(6, 17, 38, 0.08);
    box-shadow: 0 24px 55px rgba(6, 17, 38, 0.08);
    margin-bottom: 24px;
}

.home-about-pro__text-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    bottom: 26px;
    width: 5px;
    border-radius: 20px;
    background: #ffc107;
}

.home-about-pro__text-box p {
    font-size: 17px;
    line-height: 1.75;
    color: #51627a;
    margin-bottom: 18px;
}

.home-about-pro__text-box p:last-child {
    margin-bottom: 0;
}

.home-about-pro__text-box strong {
    color: #061126;
    font-weight: 900;
}

.home-about-pro__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.home-about-pro__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #18243a;
    font-size: 16px;
    font-weight: 800;
}

.home-about-pro__list i {
    color: #ffc107;
    margin-top: 4px;
}

.home-about-pro__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-about-pro__buttons .btn {
    min-width: 160px;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 900;
}

/* ANIMACIÓN DE ENTRADA */
.aboutRevealItem {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.aboutRevealItem.about-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-about-pro__heading.about-visible {
    transition-delay: 0.05s;
}

.home-about-pro__visual.about-visible {
    transition-delay: 0.18s;
}

.home-about-pro__content.about-visible {
    transition-delay: 0.3s;
}

@keyframes aboutFloatCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .home-about-pro {
        padding: 80px 0;
    }

    .home-about-pro__image-frame,
    .home-about-pro__image {
        min-height: 450px;
        height: 450px;
    }
}

@media (max-width: 575px) {
    .home-about-pro {
        padding: 60px 0;
    }

    .home-about-pro__heading h2 {
        font-size: 48px;
    }

    .home-about-pro__image-frame,
    .home-about-pro__image {
        min-height: 370px;
        height: 370px;
        border-radius: 24px;
    }

    .home-about-pro__float-card {
        width: 175px;
        padding: 12px 13px;
        border-radius: 15px;
    }

    .home-about-pro__float-card strong {
        font-size: 13px;
    }

    .home-about-pro__float-card span {
        font-size: 11.5px;
    }

    .home-about-pro__float-card--left {
        top: 12px;
        left: 12px;
    }

    .home-about-pro__float-card--right {
        top: 90px;
        right: 12px;
    }

    .home-about-pro__float-card--bottom {
        right: 12px;
        bottom: 72px;
    }

    .home-about-pro__fallback-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .home-about-pro__content h3 {
        font-size: 42px;
    }

    .home-about-pro__text-box {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .home-about-pro__text-box p {
        font-size: 15.5px;
        line-height: 1.65;
    }

    .home-about-pro__buttons .btn {
        width: 100%;
    }
}
/* =========================================================
   AJUSTES NOSOTROS - LIMPIEZA + RESPONSIVE FINAL
========================================================= */

/* Texto del cuadro Nosotros justificado y bien ordenado */
.home-about-pro__text-box p {
    text-align: justify !important;
    text-justify: inter-word;
}

/* Evita que el texto se vea apretado */
.home-about-pro__content {
    width: 100%;
}

.home-about-pro__text-box {
    max-width: 100%;
}

/* Imagen ocupando bien su cuadro */
.home-about-pro__image-frame {
    position: relative;
    overflow: hidden;
}

.home-about-pro__image {
    width: 100% !important;
    height: 100% !important;
    min-height: 510px;
    object-fit: cover !important;
    object-position: center !important;
}

/* Si la imagen falla, queda solo fondo limpio sin texto abajo */
.home-about-pro__image-fallback,
.home-about-pro__fallback-badge {
    display: none !important;
}

/* =========================================================
   CELULAR - SOLO 2 CUADROS FLOTANTES Y MÁS ANCHO
========================================================= */

@media (max-width: 575px) {

    /* La sección aprovecha mejor el ancho del celular */
    .home-about-pro .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Imagen más de extremo a extremo */
    .home-about-pro__visual {
        width: 100% !important;
    }

    .home-about-pro__image-frame {
        width: 100% !important;
        min-height: 390px !important;
        height: 390px !important;
        border-radius: 22px !important;
    }

    .home-about-pro__image {
        width: 100% !important;
        height: 390px !important;
        min-height: 390px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Ocultar el tercer cuadro flotante en celular */
    .home-about-pro__float-card--bottom {
        display: none !important;
    }

    /* Solo quedan 2 cuadros flotantes */
    .home-about-pro__float-card {
        width: 175px !important;
        max-width: 175px !important;
        padding: 12px 13px !important;
        border-radius: 15px !important;
    }

    .home-about-pro__float-card strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .home-about-pro__float-card span {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    .home-about-pro__float-card--left {
        top: 14px !important;
        left: 14px !important;
    }

    .home-about-pro__float-card--right {
        top: 100px !important;
        right: 14px !important;
    }

    /* Texto de Nosotros en celular */
    .home-about-pro__content {
        padding-top: 10px !important;
    }

    .home-about-pro__content h3 {
        font-size: 42px !important;
        line-height: 0.98 !important;
        margin-bottom: 18px !important;
    }

    .home-about-pro__text-box {
        padding: 22px 18px !important;
        border-radius: 20px !important;
    }

    .home-about-pro__text-box p {
        font-size: 15.5px !important;
        line-height: 1.7 !important;
        text-align: justify !important;
    }
}

/* Celular muy pequeño */
@media (max-width: 360px) {
    .home-about-pro .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .home-about-pro__image-frame,
    .home-about-pro__image {
        height: 370px !important;
        min-height: 370px !important;
    }

    .home-about-pro__float-card {
        width: 160px !important;
        max-width: 160px !important;
    }

    .home-about-pro__float-card--right {
        top: 105px !important;
    }

    .home-about-pro__content h3 {
        font-size: 38px !important;
    }
}
/* =========================================================
   CELULAR - CUADROS FLOTANTES EN DIAGONAL
   Automatización arriba izquierda
   Industria y vivienda abajo derecha
========================================================= */
@media (max-width: 575px) {

    .home-about-pro__float-card {
        width: 165px !important;
        max-width: 165px !important;
        padding: 12px 13px !important;
        border-radius: 15px !important;
    }

    .home-about-pro__float-card strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .home-about-pro__float-card span {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    /* Primer cuadro: arriba izquierda */
    .home-about-pro__float-card--left {
        top: 14px !important;
        left: 14px !important;
        right: auto !important;
        bottom: auto !important;
    }

    /* Segundo cuadro: abajo derecha */
    .home-about-pro__float-card--right {
        top: auto !important;
        left: auto !important;
        right: 14px !important;
        bottom: 26px !important;
    }

    /* Tercer cuadro oculto en celular */
    .home-about-pro__float-card--bottom {
        display: none !important;
    }
}
/* =========================================================
   HERO PRINCIPAL - IMÁGENES VISIBLES EN PC Y CELULAR
========================================================= */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #020814;
}

.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 720px;
}

.hero-industrial.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #020814;
}

/* Imagen real del hero */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--hero-img);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.04);
}

/* Capa oscura, pero sin matar la imagen */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at center,
            rgba(2, 8, 20, 0.18) 0%,
            rgba(2, 8, 20, 0.38) 42%,
            rgba(2, 8, 20, 0.70) 100%
        ),
        linear-gradient(180deg,
            rgba(2, 8, 20, 0.34) 0%,
            rgba(2, 8, 20, 0.58) 100%
        );
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 5;
    color: #ffffff;
    padding-top: 80px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    margin-bottom: 28px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero-kicker i {
    color: #ffffff;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 950;
    line-height: 0.95;
    margin-bottom: 26px;
    text-shadow: 0 16px 45px rgba(0, 0, 0, 0.48);
}

.hero-subtitle-clean {
    color: #ffffff;
    max-width: 760px;
    margin: 0 auto 34px;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.12;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.hero-more-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-down-arrow {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 42px;
    line-height: 1;
    animation: heroArrowMove 1.5s ease-in-out infinite;
}

@keyframes heroArrowMove {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Flechas laterales */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 90px;
    z-index: 8;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: 48%;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(8px);
}

/* =========================================================
   CELULAR - QUE SÍ SE NOTE LA IMAGEN
========================================================= */

@media (max-width: 575px) {

    .hero-carousel .carousel-item {
        height: 100vh;
        min-height: 700px;
    }

    .hero-industrial.hero-slide {
        height: 100vh;
        min-height: 700px;
        align-items: center;
    }

    /* En celular usamos la imagen más grande y movida para que aparezcan los objetos */
    .hero-slide-bg {
        transform: scale(1.08);
        filter: saturate(1.18) contrast(1.08) brightness(1.18);
    }

    /* HERO 1: se ve el motor y tablero */
    .hero-slide--1 .hero-slide-bg {
        background-size: auto 100%;
        background-position: 17% center;
    }

    /* HERO 2: se ve pozo a tierra / pruebas */
    .hero-slide--2 .hero-slide-bg {
        background-size: auto 100%;
        background-position: 14% center;
    }

    /* HERO 3: se ve tablero / motor del lado derecho */
    .hero-slide--3 .hero-slide-bg {
        background-size: auto 100%;
        background-position: 82% center;
    }

    /* Menos oscuro en celular */
    .hero-slide-overlay {
        background:
            radial-gradient(circle at center,
                rgba(2, 8, 20, 0.08) 0%,
                rgba(2, 8, 20, 0.26) 42%,
                rgba(2, 8, 20, 0.62) 100%
            ),
            linear-gradient(180deg,
                rgba(2, 8, 20, 0.18) 0%,
                rgba(2, 8, 20, 0.54) 100%
            );
    }

    .hero-content {
        padding-top: 82px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-kicker {
        max-width: 100%;
        padding: 9px 18px;
        margin-bottom: 26px;
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.02;
        margin-bottom: 22px;
    }

    .hero-subtitle-clean {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 34px;
    }

    .hero-more-link {
        font-size: 13px;
        letter-spacing: 8px;
        margin-bottom: 18px;
    }

    .hero-down-arrow {
        font-size: 34px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 54px;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 42px;
        height: 42px;
    }
}

/* Celular muy pequeño */
@media (max-width: 390px) {

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-subtitle-clean {
        font-size: 22px;
    }

    .hero-kicker {
        font-size: 14px;
        padding: 8px 15px;
    }

    .hero-slide--1 .hero-slide-bg {
        background-position: 15% center;
    }

    .hero-slide--2 .hero-slide-bg {
        background-position: 12% center;
    }

    .hero-slide--3 .hero-slide-bg {
        background-position: 84% center;
    }
}
/* =========================================================
   FONDO PROFESIONAL - SECCIÓN SERVICIOS INICIO
   Ruta: public/img/fondos/servicios-bg.jpg
========================================================= */

.services-home-section {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    background: #061126 !important;
}

.services-home-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    transform: scale(1.02);
}

/* Capa oscura para que las letras y círculos se lean */
.services-home-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 193, 7, 0.12) 0%,
            rgba(6, 17, 38, 0.64) 42%,
            rgba(6, 17, 38, 0.94) 100%
        ),
        linear-gradient(
            180deg,
            rgba(6, 17, 38, 0.82) 0%,
            rgba(6, 17, 38, 0.96) 100%
        ) !important;
}

/* Todo el contenido encima del fondo */
.services-home-section .container {
    position: relative !important;
    z-index: 4 !important;
}
/* =========================================================
   SOLUCIÓN DEFINITIVA - FONDO SERVICIOS DESTACADOS
   Imagen: public/img/servicios/fondo-servicios.jpg
========================================================= */

#servicios-destacados {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #061126 !important;
    padding-top: 110px !important;
    padding-bottom: 110px !important;
}

/* Imagen de fondo real */
#servicios-destacados::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image: url("/img/servicios/fondo-servicios.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    transform: scale(1.03);
}

/* Capa oscura encima de la imagen, pero sin taparla totalmente */
#servicios-destacados::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 193, 7, 0.08) 0%,
            rgba(6, 17, 38, 0.34) 38%,
            rgba(6, 17, 38, 0.80) 100%
        ),
        linear-gradient(
            180deg,
            rgba(6, 17, 38, 0.48) 0%,
            rgba(6, 17, 38, 0.84) 100%
        ) !important;
}

/* Si quedaron los div antiguos, los apagamos */
#servicios-destacados .services-home-bg,
#servicios-destacados .services-home-overlay {
    display: none !important;
}

/* Todo el contenido encima del fondo */
#servicios-destacados > .container {
    position: relative !important;
    z-index: 5 !important;
}

/* Títulos */
#servicios-destacados .services-home-heading {
    position: relative !important;
    z-index: 6 !important;
    margin-bottom: 65px !important;
}

#servicios-destacados .services-home-heading h2 {
    color: #ffffff !important;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.50);
}

#servicios-destacados .services-home-heading p {
    color: rgba(255, 255, 255, 0.90) !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.40);
}

#servicios-destacados .section-label {
    color: #ffc107 !important;
}

/* Servicios encima */
#servicios-destacados .services-circle-row,
#servicios-destacados .service-circle-card,
#servicios-destacados .services-home-footer {
    position: relative !important;
    z-index: 6 !important;
}

/* Texto de tarjetas */
#servicios-destacados .service-circle-card__content h3 {
    color: #ffc107 !important;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

#servicios-destacados .service-circle-card__content p {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.50);
}

/* Círculos más visibles */
#servicios-destacados .service-circle-card__image-wrap {
    border: 8px solid #ffc107 !important;
    box-shadow:
        0 0 0 6px rgba(255, 193, 7, 0.18),
        0 26px 65px rgba(0, 0, 0, 0.45) !important;
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 575px) {
    #servicios-destacados {
        padding-top: 75px !important;
        padding-bottom: 80px !important;
    }

    #servicios-destacados::before {
        background-position: center center !important;
        transform: scale(1.12);
    }

    #servicios-destacados::after {
        background:
            radial-gradient(
                circle at center,
                rgba(255, 193, 7, 0.06) 0%,
                rgba(6, 17, 38, 0.50) 40%,
                rgba(6, 17, 38, 0.90) 100%
            ),
            linear-gradient(
                180deg,
                rgba(6, 17, 38, 0.62) 0%,
                rgba(6, 17, 38, 0.94) 100%
            ) !important;
    }

    #servicios-destacados .services-home-heading h2 {
        font-size: 38px !important;
        line-height: 1.05 !important;
    }

    #servicios-destacados .services-home-heading p {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    #servicios-destacados .service-circle-card__image-wrap {
        width: 250px !important;
        height: 250px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* =========================================================
   SERVICIOS - FONDO MÁS VISIBLE EN 100%
   Soluciona que solo se note cuando alejas zoom
========================================================= */

#servicios-destacados {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background-color: #061126 !important;
}

/* Fondo visible completo */
#servicios-destacados::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image: url("/img/servicios/fondo-servicios.jpg") !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    filter: brightness(1.35) contrast(1.08) saturate(1.18) !important;
    transform: none !important;
}

/* Overlay más transparente para que el fondo se note */
#servicios-destacados::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 193, 7, 0.08) 0%,
            rgba(6, 17, 38, 0.18) 38%,
            rgba(6, 17, 38, 0.62) 100%
        ),
        linear-gradient(
            180deg,
            rgba(6, 17, 38, 0.32) 0%,
            rgba(6, 17, 38, 0.78) 100%
        ) !important;
}

/* Apagar overlays antiguos si existen */
#servicios-destacados .services-home-bg,
#servicios-destacados .services-home-overlay {
    display: none !important;
}

/* Contenido encima */
#servicios-destacados > .container {
    position: relative !important;
    z-index: 5 !important;
}

/* En celular se mantiene legible */
@media (max-width: 575px) {
    #servicios-destacados::before {
        background-size: cover !important;
        background-position: center center !important;
        filter: brightness(1.28) contrast(1.08) saturate(1.16) !important;
    }

    #servicios-destacados::after {
        background:
            radial-gradient(
                circle at center,
                rgba(255, 193, 7, 0.06) 0%,
                rgba(6, 17, 38, 0.36) 38%,
                rgba(6, 17, 38, 0.84) 100%
            ),
            linear-gradient(
                180deg,
                rgba(6, 17, 38, 0.52) 0%,
                rgba(6, 17, 38, 0.92) 100%
            ) !important;
    }
}
/* =========================================
   SERVICIOS - PC OSCURO SUAVE / MÁS CLARO
========================================= */
@media (min-width: 576px) {

    #servicios-destacados {
        position: relative !important;
        overflow: hidden !important;
        isolation: isolate !important;
    }

    /* Imagen de fondo un poco más clara */
    #servicios-destacados::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: url('/img/servicios/fondo-servicios.jpg') center center / cover no-repeat;
        filter: brightness(0.82) contrast(1.05) saturate(1.04) !important;
        opacity: 1 !important;
    }

    /* Capa oscura más suave */
    #servicios-destacados::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background:
            radial-gradient(
                circle at center,
                rgba(2, 8, 20, 0.28) 0%,
                rgba(2, 8, 20, 0.42) 35%,
                rgba(2, 8, 20, 0.58) 70%,
                rgba(2, 8, 20, 0.70) 100%
            ),
            linear-gradient(
                90deg,
                rgba(2, 8, 20, 0.62) 0%,
                rgba(2, 8, 20, 0.32) 50%,
                rgba(2, 8, 20, 0.62) 100%
            ) !important;
    }

    /* Contenido arriba */
    #servicios-destacados > * {
        position: relative !important;
        z-index: 2 !important;
    }

    /* Texto legible */
    #servicios-destacados h2,
    #servicios-destacados h3 {
        text-shadow: 0 5px 18px rgba(0, 0, 0, 0.65) !important;
    }

    #servicios-destacados p,
    #servicios-destacados .section-label {
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.58) !important;
    }
}
/* =========================================================
   NUESTRAS EXPERIENCIAS - DOBLE CARRUSEL INFINITO
========================================================= */

.experiences-home-section {
    position: relative;
    padding: 110px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Encabezado */
.experiences-heading {
    max-width: 980px;
    margin: 0 auto 62px;
}

.experiences-kicker {
    display: inline-block;
    color: #005cff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.experiences-heading h2 {
    color: #061126;
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 950;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.experiences-heading p {
    max-width: 920px;
    margin: 0 auto;
    color: #53627c;
    font-size: 20px;
    line-height: 1.7;
}

.experiences-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
}

.experiences-divider span {
    width: 86px;
    height: 2px;
    background: #ffc107;
    display: block;
}

.experiences-divider i {
    color: #061126;
    font-size: 24px;
}

/* Carruseles */
.experiences-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* separación entre los dos carruseles */
.experiences-carousel--left {
    margin-top: 48px;
}

.experiences-track {
    display: flex;
    width: max-content;
    gap: 28px;
    will-change: transform;
}

/* Tarjeta de imagen */
.experience-slide {
    flex: 0 0 auto;
    width: 430px;
    height: 285px;
    border-radius: 20px;
    overflow: hidden;
    background: #061126;
    box-shadow: 0 22px 55px rgba(6, 17, 38, 0.18);
    border: 4px solid #ffffff;
    position: relative;
}

.experience-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(6, 17, 38, 0.02) 0%,
            rgba(6, 17, 38, 0.20) 100%
        );
    pointer-events: none;
}

.experience-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.experience-slide:hover img {
    transform: scale(1.06);
    filter: brightness(1.08) contrast(1.05);
}

/* Degradado en laterales */
.experiences-carousel::before,
.experiences-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 130px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.experiences-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.experiences-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* Animaciones */
.experiences-track--right {
    animation: experiencesMoveRight 38s linear infinite;
}

.experiences-track--left {
    animation: experiencesMoveLeft 38s linear infinite;
}

@keyframes experiencesMoveLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 14px));
    }
}

@keyframes experiencesMoveRight {
    0% {
        transform: translateX(calc(-50% - 14px));
    }

    100% {
        transform: translateX(0);
    }
}

/* Pausar al pasar mouse */
.experiences-carousel:hover .experiences-track {
    animation-play-state: paused;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .experiences-home-section {
        padding: 90px 0;
    }

    .experiences-heading {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .experiences-heading h2 {
        font-size: 48px;
    }

    .experiences-heading p {
        font-size: 17px;
    }

    .experience-slide {
        width: 350px;
        height: 235px;
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 575px) {
    .experiences-home-section {
        padding: 70px 0;
    }

    .experiences-heading {
        margin-bottom: 38px;
        padding: 0 18px;
    }

    .experiences-kicker {
        font-size: 12px;
    }

    .experiences-heading h2 {
        font-size: 36px;
        line-height: 1.02;
    }

    .experiences-heading p {
        font-size: 15.5px;
        line-height: 1.65;
    }

    .experiences-divider {
        margin-top: 26px;
        gap: 14px;
    }

    .experiences-divider span {
        width: 58px;
    }

    .experiences-carousel--left {
        margin-top: 34px;
    }

    .experiences-track {
        gap: 18px;
    }

    .experience-slide {
        width: 280px;
        height: 190px;
        border-radius: 16px;
        border-width: 3px;
    }

    .experiences-carousel::before,
    .experiences-carousel::after {
        width: 50px;
    }

    .experiences-track--right {
        animation-duration: 28s;
    }

    .experiences-track--left {
        animation-duration: 28s;
    }
}

/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .experiences-track--right,
    .experiences-track--left {
        animation: none !important;
    }
}
/* =========================================================
   POR QUÉ ELEGIRNOS - FONDO MÁS CLARO
========================================================= */

.why-choose-section,
.whyChooseSection,
.porque-elegirnos-section {
    position: relative;
    overflow: hidden;
}

/* Si tu sección usa una capa oscura encima del fondo */
.why-choose-section::before,
.whyChooseSection::before,
.porque-elegirnos-section::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Antes seguro estaba muy oscuro.
       0.35 = más claro
       0.45 = medio
       0.55 = más oscuro */
    background: rgba(3, 18, 45, 0.35) !important;

    z-index: 1;
    pointer-events: none;
}

/* Para que el contenido quede encima */
.why-choose-section > *,
.whyChooseSection > *,
.porque-elegirnos-section > * {
    position: relative;
    z-index: 2;
}
/* =========================================================
   CONTACTO - ACLARAR FONDO
   Pegar al final del CSS
========================================================= */

.contact-home-section,
.contact-section,
.contacto-section,
.contact-wrapper {
    position: relative;
    overflow: hidden;
}

/* Capa encima del fondo: más clara */
.contact-home-section::before,
.contact-section::before,
.contacto-section::before,
.contact-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Cambia este valor:
       0.35 = claro
       0.45 = medio
       0.55 = oscuro
    */
    background: rgba(4, 18, 42, 0.35) !important;

    z-index: 1;
    pointer-events: none;
}

/* Contenido encima de la capa */
.contact-home-section > *,
.contact-section > *,
.contacto-section > *,
.contact-wrapper > * {
    position: relative;
    z-index: 2;
}
/* =========================================================
   LOGO IMAGEN - HEADER Y FOOTER
========================================================= */

.electro-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    max-width: 500px;
    min-width: 0;
    padding: 0;
    margin: 0;
}

/* Logo principal del navbar */
.electro-logo-header {
    height: 88px;          /* Tamaño del logo en PC */
    width: auto;
    max-width: 500px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

/* Quita efectos del logo viejo si todavía afectan */
.electro-brand-logo .brand-mark,
.electro-brand-logo .brand-text {
    display: none !important;
}

/* Para que el navbar tenga espacio con el logo grande */
.electro-navbar {
    min-height: 110px;
}

/* Asegura alineación vertical del menú */
.electro-navbar .container {
    display: flex;
    align-items: center;
}

/* Footer logo */
.footer-logo-box {
    width: 110px;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 110px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(255, 196, 0, 0.18));
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 991px) {
    .electro-brand-logo {
        max-width: 330px;
    }

    .electro-logo-header {
        height: 64px;
        max-width: 320px;
    }

    .electro-navbar {
        min-height: 88px;
    }

    .footer-logo-box {
        width: 95px;
        min-width: 95px;
    }

    .footer-logo-img {
        width: 95px;
    }
}

/* =========================================================
   CELULAR
========================================================= */
@media (max-width: 576px) {
    .electro-brand-logo {
        max-width: 255px;
    }

    .electro-logo-header {
        height: 54px;
        max-width: 250px;
    }

    .electro-navbar {
        min-height: 78px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo-box {
        width: 82px;
        min-width: 82px;
    }

    .footer-logo-img {
        width: 82px;
    }
}

/* =========================================================
   FOOTER - LOGO EN LUGAR DEL TEXTO
========================================================= */

.footer-brand-logo-final {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.footer-logo-final-img {
    width: 270px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.48));
}

.footer-brand-logo-final p {
    margin: 0;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.7;
}

/* Por si quedó algún h3 anterior en caché o CSS */
.footer-brand-logo-final h3 {
    display: none !important;
}

/* Celular */
@media (max-width: 576px) {
    .footer-brand-logo-final {
        align-items: center;
        text-align: center;
    }

    .footer-logo-final-img {
        width: 250px;
    }

    .footer-brand-logo-final p {
        max-width: 100%;
    }
}


/* =========================================================
   HAMBURGUESA BLANCA EN SERVICIOS Y CONTACTO - MOBILE
========================================================= */

@media (max-width: 991.98px) {

    body.services-page .electro-navbar .navbar-toggler,
    body.contact-page .electro-navbar .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        background: rgba(255, 255, 255, 0.10) !important;
        border-radius: 12px;
        padding: 8px 10px;
        box-shadow: 0 0 18px rgba(255, 193, 7, 0.25);
    }

    body.services-page .electro-navbar .navbar-toggler:focus,
    body.contact-page .electro-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 0.18rem rgba(255, 193, 7, 0.35) !important;
    }

    body.services-page .electro-navbar .navbar-toggler-icon,
    body.contact-page .electro-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 1.7em;
        height: 1.7em;
    }

    body.services-page .electro-navbar .navbar-collapse,
    body.contact-page .electro-navbar .navbar-collapse {
        background: rgba(3, 12, 28, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        padding: 16px;
        margin-top: 14px;
        backdrop-filter: blur(10px);
    }

    body.services-page .electro-navbar .nav-link,
    body.contact-page .electro-navbar .nav-link {
        color: #ffffff !important;
        font-weight: 800;
        padding: 12px 10px;
    }

    body.services-page .electro-navbar .nav-link:hover,
    body.contact-page .electro-navbar .nav-link:hover {
        color: #ffc107 !important;
    }
}