:root {
    --premium-primary: #0f2d5c;
    --premium-primary-soft: #163b78;
    --premium-accent: #1f8f4e;
    --premium-red: #c63b45;
    --premium-dark: #0f1728;
    --premium-text: #334155;
    --premium-muted: #64748b;
    --premium-bg: #f8fafc;
    --premium-surface: #ffffff;
    --premium-surface-soft: #f1f5f9;
    --premium-border: #e2e8f0;

    --shadow-soft: 0 10px 30px rgba(15, 23, 40, 0.06);
    --shadow-medium: 0 18px 45px rgba(15, 23, 40, 0.1);
    --shadow-strong: 0 24px 60px rgba(15, 23, 40, 0.14);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;
}

html {
    scroll-behavior: smooth;
}

header[id],
section[id] {
    scroll-margin-top: 90px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--premium-text);
    background: #fff;
    letter-spacing: 0.1px;
}

.text-yasbe-blue {
    color: var(--premium-primary) !important;
}

/* ==========================
TOPBAR
========================== */

.topbar {
    background: linear-gradient(90deg, var(--premium-primary), #14386f);
    color: #fff;
    font-size: 0.95rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1101;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.topbar.topbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.topbar .top-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

/* ==========================
NAVBAR
========================== */

.navbar-custom {
    position: fixed;
    top: 48px;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 32px rgba(15, 23, 40, 0.06);
    border-bottom: 1px solid rgba(15, 45, 92, 0.08);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.navbar-custom.navbar-scrolled {
    top: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    box-shadow: 0 14px 38px rgba(15, 23, 40, 0.1);
}

.navbar-custom.navbar-scrolled .navbar-brand img {
    max-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.navbar-brand img {
    max-height: 84px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--premium-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1rem !important;
    position: relative;
    transition: color 0.25s ease;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.2rem;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--premium-primary),
        var(--premium-accent)
    );
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-whatsapp-nav {
    background: linear-gradient(135deg, #24b15f, #1f8f4e);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 16px;
    padding: 0.9rem 1.45rem;
    box-shadow: 0 10px 22px rgba(31, 143, 78, 0.22);
    transition: all 0.25s ease;
}

.btn-whatsapp-nav:hover {
    background: linear-gradient(135deg, #1f8f4e, #18763f);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================
HERO
========================== */

.hero {
    min-height: 780px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(9, 24, 53, 0.82) 0%,
            rgba(9, 24, 53, 0.56) 40%,
            rgba(9, 24, 53, 0.18) 100%
        ),
        url("../img/hero.webp") center center / cover no-repeat;
    position: relative;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.02;
    text-transform: none;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    letter-spacing: -1.5px;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    max-width: 760px;
}

.hero p {
    font-size: clamp(1rem, 1.9vw, 1.3rem);
    max-width: 640px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.btn-hero-primary,
.btn-hero-secondary {
    border-radius: 16px;
    font-weight: 700;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-width: 240px;
    box-shadow: var(--shadow-medium);
}

.btn-hero-primary {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    border: none;
    color: #fff;
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: #fff;
}

.btn-hero-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* ==========================
TÍTULOS GENERALES
========================== */

.section-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 800;
    color: var(--premium-primary);
    text-align: center;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--premium-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-line {
    width: 72px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--premium-primary),
        var(--premium-accent)
    );
}

/* ==========================
SECCIÓN NOSOTROS
========================== */

.bg-nosotros-soft {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.nosotros-section {
    overflow: hidden;
}

.nosotros-copy {
    max-width: 100%;
}

.nosotros-etiqueta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--premium-primary);
    text-transform: uppercase;
}

.nosotros-titulo {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--premium-dark);
    max-width: 680px;
    letter-spacing: -0.8px;
}

.nosotros-texto {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--premium-muted);
    max-width: 620px;
}

.nosotros-iconos .mini-feature {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 45, 92, 0.06);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    min-height: 150px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nosotros-iconos .mini-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mini-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #fff;
}

.bg-blue-soft {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
}

.bg-green-soft {
    background: linear-gradient(135deg, var(--premium-accent), #28a45a);
}

.bg-red-soft {
    background: linear-gradient(135deg, var(--premium-red), #d85a63);
}

.mini-feature h6 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--premium-dark);
    margin-bottom: 6px;
}

.mini-feature p {
    margin: 0;
    color: var(--premium-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.experiencia-box {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid rgba(15, 45, 92, 0.12);
    padding: 1rem 1.4rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    max-width: 100%;
}

.experiencia-numero {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--premium-primary);
}

.experiencia-texto {
    display: flex;
    flex-direction: column;
    color: var(--premium-dark);
}

.experiencia-texto span {
    font-weight: 600;
}

.experiencia-texto strong {
    font-size: 1.55rem;
    font-weight: 800;
}

.nosotros-imagenes {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
}

.marco-fondo {
    position: absolute;
    top: 70px;
    left: 28px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(15, 45, 92, 0.15);
    border-radius: 22px;
    z-index: 1;
}

.imagen {
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-medium);
    background: #fff;
    z-index: 2;
}

.imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imagen-superior img,
.imagen-inferior img {
    object-position: center center;
}

.imagen-superior {
    width: 100%;
    height: 330px;
}

.imagen-inferior {
    width: 100%;
    height: 330px;
}

/* ==========================
ANIMACIONES
========================== */

.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

.floating-card {
    animation: floatCard 4.2s ease-in-out infinite;
}

.delay-card {
    animation-delay: 0.9s;
}

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

/* ==========================
IMÁGENES NOSOTROS RESPONSIVE
========================== */

@media (min-width: 768px) {
    .nosotros-imagenes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: center;
    }

    .imagen-superior,
    .imagen-inferior {
        position: relative;
        width: 100%;
        height: 300px;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .marco-fondo {
        display: none;
    }
}

@media (min-width: 992px) {
    .nosotros-imagenes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: center;
    }

    .imagen-superior,
    .imagen-inferior {
        height: 360px;
    }

    .nosotros-copy {
        max-width: 680px;
    }
}

/* ==========================
DIFERENCIALES
========================== */

.diferenciales-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.diferencial-texto-principal {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--premium-primary);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.diferencial-texto-secundario {
    color: var(--premium-muted);
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-diferencial {
    background: linear-gradient(135deg, var(--premium-accent), #28a45a);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 25px;
    box-shadow: 0 10px 24px rgba(31, 143, 78, 0.2);
}

.btn-diferencial:hover {
    color: #fff;
    transform: translateY(-2px);
}

.diferencial-card {
    border: 1px solid rgba(15, 45, 92, 0.06);
    border-radius: 22px;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.diferencial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px; /* antes era -60px */

    font-size: 28px;
    color: #fff;
}

.bg-blue {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
}

.bg-green {
    background: linear-gradient(135deg, var(--premium-accent), #28a45a);
}

.bg-red {
    background: linear-gradient(135deg, var(--premium-red), #d85a63);
}

.diferencial-numero {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--premium-primary);
}

/* ==========================
SERVICIOS
========================== */

.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    padding-top: 90px;
    padding-bottom: 90px;
}

.service-card {
    border: 1px solid rgba(15, 45, 92, 0.06);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    height: 100%;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(15, 45, 92, 0.14);
}

.service-card .service-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.service-title-band {
    padding: 1.35rem 1.25rem 0.55rem;
    color: var(--premium-dark);
    text-align: left;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff !important;
}

.service-title-band h3 {
    font-size: 1.18rem;
    margin: 0;
    font-weight: 800;
    line-height: 1.35;
    color: var(--premium-dark);
    letter-spacing: -0.3px;
}

.band-blue,
.band-red,
.band-green,
.band-light {
    background: #fff !important;
    color: var(--premium-dark) !important;
}

.service-body {
    padding: 0.4rem 1.25rem 1.4rem;
}

.service-body p {
    color: var(--premium-muted);
    min-height: 96px;
    line-height: 1.75;
}

.service-link {
    color: var(--premium-primary);
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.service-link:hover {
    color: var(--premium-primary-soft);
    gap: 0.65rem;
}

/* ==========================
COTIZADOR
========================== */

.cotizador-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 45, 92, 0.08);
    color: var(--premium-primary);
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.cotizador-subtitle {
    max-width: 760px;
    margin: 0.8rem auto 0;
    font-size: 1.05rem;
    color: var(--premium-muted);
    line-height: 1.8;
}

.cotizador-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: #fff;
    border: 1px solid rgba(15, 45, 92, 0.06);
}

.cotizador-top {
    background: linear-gradient(
        135deg,
        rgba(15, 45, 92, 0.04),
        rgba(31, 143, 78, 0.03)
    );
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid rgba(15, 45, 92, 0.08);
}

.cotizador-feature {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-weight: 700;
    color: var(--premium-dark);
    min-height: 58px;
    border: 1px solid rgba(15, 45, 92, 0.06);
    box-shadow: 0 8px 20px rgba(15, 23, 40, 0.04);
}

.cotizador-feature i {
    color: var(--premium-primary);
    font-size: 1.1rem;
}

.cotizador-body {
    background: #fff;
}

.cotizador-helper {
    color: var(--premium-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.cotizador-group-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--premium-primary);
    margin-bottom: 0.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 45, 92, 0.1);
}

.cotizador-input {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fbff;
    transition: all 0.25s ease;
    box-shadow: none;
}

.cotizador-input:focus {
    border-color: rgba(15, 45, 92, 0.35);
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(15, 45, 92, 0.07);
}

.cotizador-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cotizador-note {
    color: var(--premium-muted);
    font-size: 0.94rem;
}

.cotizador-intro {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(
        135deg,
        rgba(15, 45, 92, 0.06),
        rgba(31, 143, 78, 0.04)
    );
    border: 1px solid rgba(15, 45, 92, 0.08);
    border-radius: 20px;
    padding: 1.2rem 1.3rem;
}

.cotizador-intro-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 12px 24px rgba(15, 45, 92, 0.18);
}

.cotizador-intro h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--premium-dark);
    margin-bottom: 0.25rem;
}

.cotizador-intro p {
    margin: 0;
    color: var(--premium-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-submit-cotizador {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 1rem 1.7rem;
    box-shadow: 0 14px 28px rgba(15, 45, 92, 0.2);
    transition: all 0.25s ease;
}

.btn-submit-cotizador:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 45, 92, 0.26);
}

/* ==========================
BANNER INTERMEDIO
========================== */

.mid-banner {
    min-height: 450px;
    background:
        linear-gradient(180deg, rgba(15, 23, 40, 0.16), rgba(15, 23, 40, 0.16)),
        url("../img/hero-yasbe.jpg") center bottom / cover no-repeat;
    position: relative;
}

/* ==========================
CARDS GENERALES
========================== */

.content-card,
.cotizador-card,
.contact-card {
    border: none;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

/* ==========================
FORMULARIOS
========================== */

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 45, 92, 0.35);
    box-shadow: 0 0 0 0.25rem rgba(15, 45, 92, 0.07);
}

.btn-submit {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    padding: 0.9rem 1.3rem;
    box-shadow: 0 12px 26px rgba(15, 45, 92, 0.16);
}

.btn-submit:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================
CONTACTO
========================== */

.contact-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.4rem;
    border-radius: 22px;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 45, 92, 0.06);
    box-shadow: var(--shadow-soft);
}

.map-embed iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

/* ==========================
BOTONES FLOTANTES
========================== */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #1faa53);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 16px 30px rgba(15, 23, 40, 0.22);
    z-index: 1080;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-4px);
}

.btn-arriba {
    border: 2px solid rgba(255, 255, 255, 0.85);
    position: fixed;
    bottom: 115px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 14px 28px rgba(15, 23, 40, 0.24);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.btn-arriba.mostrar {
    opacity: 1;
    visibility: visible;
}

.btn-arriba:hover {
    transform: translateY(-4px);
}

/* ==========================
FOOTER
========================== */

.footer {
    background: linear-gradient(180deg, #101828 0%, #0b1323 100%);
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================
RESPONSIVE
========================== */

@media (max-width: 1199.98px) {
    .nosotros-imagenes {
        min-height: 500px;
    }

    .imagen-superior {
        width: 270px;
        height: 310px;
        right: 40px;
    }

    .imagen-inferior {
        width: 290px;
        height: 300px;
        right: 0;
    }

    .marco-fondo {
        width: 240px;
        height: 240px;
        left: 20px;
        top: 70px;
    }
}

@media (max-width: 991.98px) {
    header[id],
    section[id] {
        scroll-margin-top: 80px;
    }

    .hero {
        min-height: 620px;
        padding: 4rem 0;
        background-position: center center;
    }

    .hero h1,
    .hero p {
        max-width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        min-width: unset;
        width: 100%;
    }

    .topbar .top-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.88rem;
    }

    .nosotros-copy {
        text-align: center;
        margin: 0 auto;
    }

    .nosotros-titulo,
    .nosotros-texto {
        max-width: 100%;
    }

    .experiencia-box {
        justify-content: center;
    }

    .nosotros-imagenes {
        margin-top: 2rem;
        min-height: 430px;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .imagen-superior {
        width: 240px;
        height: 280px;
        right: 40px;
    }

    .imagen-inferior {
        width: 260px;
        height: 270px;
        right: 0;
    }

    .marco-fondo {
        width: 220px;
        height: 220px;
        left: 10px;
        top: 55px;
    }
}

@media (max-width: 767.98px) {
    /* OCULTAR TOPBAR EN MÓVIL */
    .topbar {
        display: none !important;
    }

    .navbar-custom,
    .navbar-custom.navbar-scrolled {
        top: 0;
    }

    .hero {
        min-height: 560px;
    }

    .navbar-brand img {
        max-height: 56px;
    }

    .service-card .service-image {
        height: 210px;
    }

    .nosotros-titulo {
        font-size: 2rem;
    }

    .nosotros-texto {
        font-size: 1rem;
    }

    .nosotros-iconos .col-sm-4 {
        width: 100%;
    }

    .experiencia-box {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.6rem;
    }

    .experiencia-numero {
        font-size: 3.2rem;
    }

    .experiencia-texto strong {
        font-size: 1.4rem;
    }

    .nosotros-imagenes {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .marco-fondo {
        display: none;
    }

    .imagen,
    .imagen-superior,
    .imagen-inferior {
        position: relative;
        width: 100%;
        height: 240px;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-card,
    .delay-card {
        animation: none;
    }

    .imagen-superior img {
        object-position: 30% center;
    }

    .imagen-inferior img {
        object-position: center center;
    }

    .cotizador-top {
        padding: 1rem;
    }

    .cotizador-feature {
        justify-content: flex-start;
    }

    .cotizador-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit-cotizador {
        width: 100%;
    }
}

/* ==========================
COTIZADOR PASOS
========================== */

.cotizador-progress {
    height: 10px;
    border-radius: 999px;
    background: #e9ecef;
    overflow: hidden;
}

.cotizador-progress-bar {
    transition: width 0.45s ease-in-out;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--premium-primary),
        var(--premium-accent)
    );
}

.cotizador-steps {
    gap: 12px;
}

.cotizador-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a8f98;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 2;
}

.cotizador-step.active,
.cotizador-step.completed {
    color: var(--premium-primary);
}

.cotizador-step-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(15, 45, 92, 0.25);
}

.cotizador-step.active .cotizador-step-circle,
.cotizador-step.completed .cotizador-step-circle {
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: #fff;
    box-shadow: 0 0 0 8px rgba(15, 45, 92, 0.08);
}

.cotizador-step-line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    min-width: 20px;
}

.cotizador-step-text {
    color: #6c757d;
    font-weight: 600;
}

.cotizador-step-panel {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        max-height 0.5s ease;
}

.cotizador-step-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 2500px;
    overflow: visible;
}

.cotizador-input.is-invalid {
    border-color: #dc3545;
    box-shadow: none;
}

.cotizador-input.is-valid {
    border-color: #198754;
    box-shadow: none;
}

.cotizador-actions-step1,
.cotizador-actions-step2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cotizador-turnstile-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767.98px) {
    .cotizador-steps {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .cotizador-step {
        justify-content: flex-start;
    }

    .cotizador-step-line {
        display: none;
    }

    .cotizador-actions-step1,
    .cotizador-actions-step2 {
        flex-direction: column;
        align-items: stretch;
    }

    .cotizador-actions-step1 .btn,
    .cotizador-actions-step2 .btn {
        width: 100%;
    }

    .cotizador-turnstile-wrap {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .cotizador-note {
        text-align: center;
        width: 100%;
    }
    .cotizador-intro {
        align-items: flex-start;
        padding: 1rem;
    }

    .cotizador-intro-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}

/* =========================================
CORRECCIÓN VISUAL PARA SELECT VALIDADO
========================================= */

select.cotizador-input.is-valid,
select.cotizador-input.is-invalid,
select.form-select.is-valid,
select.form-select.is-invalid {
    background-image: none !important;
    padding-right: 0.75rem !important;
}

select.cotizador-input,
select.form-select {
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 16px !important;
}

select.cotizador-input.is-valid {
    border-color: #198754;
}

select.cotizador-input.is-invalid {
    border-color: #dc3545;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.hero-highlight {
    display: inline;
    color: #ffffff;
    position: relative;
}

.hero-description {
    max-width: 700px;
}

.hero-actions {
    align-items: stretch;
}

.hero-trust-row {
    max-width: 900px;
}

.hero-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1rem 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.hero-mini-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.1rem;
}

.hero-mini-card strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.hero-mini-card span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .hero-badge {
        font-size: 0.86rem;
        padding: 0.65rem 0.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-mini-card {
        padding: 0.9rem;
    }

    .hero-mini-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }
}

/* ==========================
HERO SLIDER VIDEO
========================== */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    background: #091835;
}

.hero-slider,
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
}

.hero-slider .carousel-item {
    position: relative;
}

.hero-video,
.hero-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster {
    z-index: 0;
}

.hero-video {
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(9, 24, 53, 0.84) 0%,
        rgba(9, 24, 53, 0.58) 38%,
        rgba(9, 24, 53, 0.28) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 7.8rem;
    padding-bottom: 2.5rem;
    color: #fff;
    max-width: 760px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -1.4px;
    margin-bottom: 1.2rem;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    max-width: 820px;
}

.hero-content h1 span {
    color: #ffffff;
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 240px;
}

.hero-slider-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-slider-controls .carousel-control-prev,
.hero-slider-controls .carousel-control-next {
    width: 8%;
    pointer-events: auto;
    opacity: 1;
}

.hero-control-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.hero-control-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.hero-indicators {
    z-index: 5;
    bottom: 24px;
    margin-bottom: 0;
    gap: 0.55rem;
}

.hero-indicators [data-bs-target] {
    width: 34px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.42);
    opacity: 1;
}

.hero-indicators .active {
    background-color: #fff;
}

/* =========================================
HERO SLIDER RESPONSIVE
========================================= */

@media (max-width: 991.98px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        height: auto;
        min-height: 720px;
    }

    .hero-content {
        height: auto;
        min-height: 720px;
        justify-content: center;
        padding-top: 8.5rem;
        padding-bottom: 5rem;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 6vw, 3.4rem);
        line-height: 1.08;
        max-width: 680px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 620px;
    }

    .hero-buttons {
        width: 100%;
        max-width: 520px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .hero-slider-controls {
        display: none;
    }

    .hero-indicators {
        bottom: 18px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        height: auto;
        min-height: 660px;
    }

    .hero-content {
        height: auto;
        min-height: 660px;
        padding-top: 6.8rem;
        padding-bottom: 5rem;
        text-align: left;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.08;
        letter-spacing: -0.8px;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.4rem;
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 0.6rem 0.85rem;
        margin-bottom: 0.9rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(9, 24, 53, 0.9) 0%,
            rgba(9, 24, 53, 0.72) 48%,
            rgba(9, 24, 53, 0.42) 100%
        );
    }

    .hero-video {
        display: none;
    }

    .hero-poster {
        z-index: 1;
    }

    .hero-overlay,
    .hero-content {
        z-index: 2;
    }

    .hero-poster,
    .hero-video {
        object-position: center center;
    }
}

@media (max-width: 575.98px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item {
        min-height: 620px;
    }

    .hero-content {
        min-height: 620px;
        padding-top: 6.2rem;
        padding-bottom: 4.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}

/* ==========================
CONTACTO PREMIUM
========================== */

#contacto {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    position: relative;
}

#contacto .container {
    position: relative;
    z-index: 2;
}

#contacto .contact-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 45, 92, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 40, 0.08);
    padding: 2rem !important;
}

#contacto .contact-card h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem !important;
}

#contacto .contact-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 45, 92, 0.08);
    border-radius: 22px;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 40, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#contacto .contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 40, 0.08);
    border-color: rgba(15, 45, 92, 0.16);
}

#contacto .contact-box h5 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem !important;
    color: var(--premium-dark);
}

#contacto .contact-box p {
    margin: 0;
    color: var(--premium-muted);
    font-size: 1rem;
    line-height: 1.7;
}

#contacto .map-embed {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(15, 45, 92, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 40, 0.08);
    background: #fff;
    min-height: 100%;
}

#contacto .map-embed iframe {
    width: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    display: block;
    filter: saturate(1.02) contrast(1.01);
}

@media (max-width: 991.98px) {
    #contacto .contact-card {
        padding: 1.5rem !important;
    }

    #contacto .map-embed iframe {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    #contacto {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    #contacto .contact-card {
        padding: 1.25rem !important;
        border-radius: 24px;
    }

    #contacto .contact-box {
        padding: 1.1rem 1.1rem;
        border-radius: 18px;
    }

    #contacto .map-embed {
        border-radius: 24px;
    }

    #contacto .map-embed iframe {
        min-height: 340px;
    }
}

/* ==========================
CLIENTES
========================== */

.clientes-section {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 45, 92, 0.06);
}

.clientes-badge {
    display: inline-flex;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(15, 45, 92, 0.08);
    color: var(--premium-primary);
    font-weight: 700;
}

.cliente-logo-card {
    background: #fff;
    border: 1px solid rgba(15, 45, 92, 0.08);
    border-radius: 22px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: 0.25s;
}

.cliente-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.cliente-logo {
    max-height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.25s;
}

.cliente-logo-card:hover .cliente-logo {
    opacity: 1;
    filter: none;
}

/* ==========================
MÉTRICAS
========================== */

.metricas-section {
    background: linear-gradient(135deg, #0f2d5c 0%, #163b78 100%);
}

.metricas-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}
.metricas-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
}

.metricas-text {
    color: var(--premium-muted);
}

.metrica-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 45, 92, 0.08);
    box-shadow: var(--shadow-soft);
    transition: 0.25s;
}

.metrica-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.metrica-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}

.metrica-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--premium-primary);
}

.metrica-label {
    color: var(--premium-muted);
}

@media (max-width: 767.98px) {
    .metricas-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .metricas-panel {
        padding: 1.3rem;
        border-radius: 24px;
    }

    .metricas-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .metricas-text {
        text-align: center;
        font-size: 0.98rem;
    }

    .metrica-card {
        padding: 1.2rem;
        border-radius: 20px;
        text-align: center;
    }

    .metrica-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .metrica-number {
        font-size: 1.6rem;
    }
}

/* ==========================
PROCESO
========================== */

.proceso-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.proceso-badge,
.cta-badge,
.testimonios-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(15, 45, 92, 0.08);
    color: var(--premium-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.proceso-subtitle,
.testimonios-subtitle {
    max-width: 760px;
}

.proceso-card {
    position: relative;
    overflow: visible;
    padding-top: 2.8rem;
}

.proceso-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--premium-dark);
    margin-bottom: 0.8rem;
}

.proceso-card p {
    color: var(--premium-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.proceso-numero {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(15, 45, 92, 0.08);
    line-height: 1;
}

/* ==========================
CTA INTERMEDIO
========================== */

.cta-intermedio-section {
    /* background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%); */
    background: #eef4fb;
    padding-top: 90px;
    padding-bottom: 90px;
}

.cta-intermedio-box {
    background:
        linear-gradient(
            135deg,
            rgba(15, 45, 92, 0.96),
            rgba(22, 59, 120, 0.94)
        ),
        radial-gradient(
            circle at top right,
            rgba(31, 143, 78, 0.35),
            transparent 38%
        );
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.cta-intermedio-box::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    right: -90px;
    top: -90px;
}

.cta-intermedio-box .row {
    position: relative;
    z-index: 2;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.cta-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 680px;
}

.btn-cta-intermedio,
.btn-cta-intermedio:focus,
.btn-cta-intermedio:active,
.btn-cta-intermedio:focus-visible {
    background: #ffffff !important;
    color: var(--premium-primary) !important;
    border: none;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.btn-cta-intermedio:hover {
    background: #f8fafc !important;
    color: var(--premium-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

/* ==========================
TESTIMONIOS
========================== */

.testimonios-section {
    background:
        radial-gradient(
            circle at top right,
            rgba(31, 143, 78, 0.08),
            transparent 32%
        ),
        linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.testimonio-card {
    background: #fff;
    border: 1px solid rgba(15, 45, 92, 0.08);
    border-radius: 26px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(15, 45, 92, 0.14);
}

.testimonio-stars {
    color: #f4b400;
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonio-text {
    color: var(--premium-muted);
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 1.4rem;
}

.testimonio-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonio-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.testimonio-user strong {
    display: block;
    color: var(--premium-dark);
    font-size: 0.98rem;
}

.testimonio-user span {
    display: block;
    color: var(--premium-muted);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .cta-intermedio-box {
        padding: 2rem;
        text-align: center;
    }

    .cta-text {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .cta-intermedio-box {
        padding: 1.5rem;
        border-radius: 26px;
    }

    .btn-cta-intermedio {
        width: 100%;
    }

    .testimonio-card {
        border-radius: 22px;
        padding: 1.3rem;
    }
}

/* ==========================
SERVICIOS PREMIUM
========================== */

.premium-service-card {
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 45, 92, 0.08);
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.premium-service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-medium);
    border-color: rgba(15, 45, 92, 0.16);
}

.service-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.service-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 40, 0.02),
        rgba(15, 23, 40, 0.28)
    );
}

.premium-service-card .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.premium-service-card:hover .service-image {
    transform: scale(1.06);
}

.premium-service-card .service-body {
    position: relative;
    padding: 2.2rem 1.25rem 1.4rem;
}

.service-icon {
    position: absolute;
    top: -30px;
    left: 1.25rem;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        var(--premium-primary),
        var(--premium-primary-soft)
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 14px 28px rgba(15, 23, 40, 0.18);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--premium-dark);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.service-description {
    color: var(--premium-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    min-height: 82px;
}

.service-ideal {
    background: rgba(15, 45, 92, 0.06);
    border-left: 4px solid var(--premium-accent);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    color: var(--premium-primary);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.service-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.2rem;
    min-height: 92px;
}

.service-benefits li {
    position: relative;
    padding-left: 1.45rem;
    margin-bottom: 0.45rem;
    color: var(--premium-muted);
    font-size: 0.93rem;
}

.service-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--premium-accent);
    font-weight: 800;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--premium-primary);
    font-weight: 800;
    text-decoration: none;
    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.service-cta:hover {
    gap: 0.7rem;
    color: var(--premium-primary-soft);
}

@media (max-width: 767.98px) {
    .services-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .service-img-wrap {
        height: 200px;
    }

    .premium-service-card .service-body {
        padding: 2.1rem 1.15rem 1.3rem;
    }

    .service-description,
    .service-benefits {
        min-height: auto;
    }
}

.cta-servicios-text {
    font-size: 1.05rem;
    color: var(--premium-muted);
    font-weight: 600;
}

/* ==========================
FOOTER PREMIUM
========================== */

.footer-premium {
    background:
        radial-gradient(
            circle at top left,
            rgba(31, 143, 78, 0.18),
            transparent 32%
        ),
        linear-gradient(180deg, #101828 0%, #0b1323 100%);
    color: rgba(255, 255, 255, 0.82);
}

.footer-brand h4 {
    color: #fff;
    font-weight: 800;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 1.3rem;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact i {
    color: var(--premium-accent);
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--premium-accent);
    transform: translateY(-3px);
}

.footer-btn {
    background: #fff;
    color: var(--premium-primary);
    border-radius: 16px;
    padding: 0.85rem 1.2rem;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.footer-btn:hover {
    background: #f8fafc; /* evita que se oscurezca */

    color: var(--premium-primary);

    transform: translateY(-2px);

    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767.98px) {
    .footer-premium {
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

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

/* ==========================
MICROANIMACIONES PREMIUM
========================== */

.reveal-premium {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
    will-change: opacity, transform;
}

.reveal-premium.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

.reveal-scale {
    transform: translateY(24px) scale(0.97);
}

.reveal-scale.show {
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-premium,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
