
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Spline+Sans:wght@300..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body{
    background-color: #f4f8fb;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================header=========================== */
header{
    background-color: #034d99;
    color: #f4f8fb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 96px;
    height: auto;
    position: relative;
    z-index: 1100;

    border-bottom: #ffffff 1vh solid;

}

.logo{
    font-family: 'Spline Sans', sans-serif;
    font-weight: bold;
    font-size: 32px;
}

.logo,
.nav-bar{
    margin: 20px 10%;
}


.nav-bar ul li{

    list-style: none;
    display: inline-block;
    padding: 0 10px;
}

.nav-bar ul li a{
    font-family: 'Spline Sans', sans-serif;
    text-decoration: none;
    color: #f4f8fb;
    font-weight: 500;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
}

.nav-bar ul li a:hover{
    background-color: #f4f8fb;
    color: #034d99;
    transition: 500ms;
}

/* ============================ VALORES EMPRESA =========================== */
.valores-empresa {
    background: linear-gradient(135deg, #f4f8fb 0%, #e8f1f8 100%);
    padding: 80px 10%;
    font-family: 'Spline Sans', sans-serif;
}

.valores-container h2 {
    font-size: 3rem;
    color: #034d99;
    text-align: center;
    margin-bottom: 20px;
}

.valores-descripcion {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    font-family: 'Geist', sans-serif;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.valor-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(3, 77, 153, 0.15);
}

.valor-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #034d99 0%, #0569c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.valor-item h3 {
    font-size: 1.5rem;
    color: #034d99;
    margin-bottom: 15px;
    font-weight: 600;
}

.valor-item p {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive para valores */
@media (max-width: 768px) {
    .valores-empresa {
        padding: 50px 5%;
    }
    
    .valores-container h2 {
        font-size: 2rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .valor-item {
        padding: 30px 20px;
    }
}

/* ============================ DECORATIVE LINE =========================== */
.decorative-line {
    width: 80px;
    height: 4px;
    background-color: #ff6b00;
    margin: 20px auto;
    border-radius: 2px;
}

/* Ocultar h2::after cuando hay una línea decorativa personalizada */
.sobre-nosotros h2::after,
.por-que-elegirnos h2::after,
#productos h2::after,
.proceso-trabajo h2::after,
.cotizacion-rapida h2::after,
.cta-section h2::after {
    display: none;
}

/* ============================ SOBRE NOSOTROS =========================== */
.sobre-nosotros {
    padding: 80px 10%;
    background-color: #ffffff;
    font-family: 'Spline Sans', sans-serif;
}

.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sobre-content h2 {
    font-size: 3rem;
    color: #034d99;
    margin-bottom: 10px;
}

.sobre-intro {
    font-size: 1.4rem;
    color: #ff6b00;
    font-weight: 600;
    margin: 30px 0 40px;
}

.sobre-texto {
    font-family: 'Geist', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* ============================ DIRECCIONAMIENTO EMPRESARIAL =========================== */
.direccionamiento-empresa {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
    padding: 20px 10% 80px;
    font-family: 'Spline Sans', sans-serif;
}

.direccionamiento-container {
    max-width: 1200px;
    margin: 0 auto;
}

.direccionamiento-container h2 {
    text-align: center;
    color: #034d99;
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.direccionamiento-descripcion {
    text-align: center;
    color: #5a6675;
    font-family: 'Geist', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 34px;
}

.direccionamiento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.direccionamiento-item {
    background: #ffffff;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(3, 77, 153, 0.08);
}

.direccionamiento-item h3 {
    color: #034d99;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.direccionamiento-item p {
    font-family: 'Geist', sans-serif;
    color: #3d4958;
    line-height: 1.75;
    text-align: justify;
}

/* ============================ ESTADÍSTICAS =========================== */
.estadisticas {
    background: linear-gradient(135deg, #034d99 0%, #0569c7 100%);
    padding: 60px 10%;
    color: white;
    font-family: 'Spline Sans', sans-serif;
}

.estadisticas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.estadistica-item {
    text-align: center;
    padding: 20px;
}

.numero {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.estadistica-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e8f1f8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================ POR QUÉ ELEGIRNOS =========================== */
.por-que-elegirnos {
    padding: 80px 10%;
    background-color: #ffffff;
    font-family: 'Spline Sans', sans-serif;
}

.por-que-container h2 {
    font-size: 3rem;
    color: #034d99;
    text-align: center;
    margin-bottom: 20px;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 50px auto 0;
}

.ventaja-item {
    background: #f4f8fb;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ventaja-item:hover {
    border-color: #034d99;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(3, 77, 153, 0.12);
}

.ventaja-icono {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ventaja-item h3 {
    font-size: 1.4rem;
    color: #034d99;
    margin-bottom: 15px;
    font-weight: 600;
}

.ventaja-item p {
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============================ CTA SECTION =========================== */
.cta-section {
    background: linear-gradient(135deg, #034d99 0%, #0569c7 100%);
    padding: 80px 10%;
    text-align: center;
    font-family: 'Spline Sans', sans-serif;
    color: white;
}

.cta-container h2 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-container p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Spline Sans', sans-serif;
}

.btn-primary {
    background-color: #ff6b00;
    color: white;
    border: 2px solid #ff6b00;
}

.btn-primary:hover {
    background-color: #ff8c33;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #034d99;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.header-shell {
    width: 100%;
    max-width: 1660px;
    margin: 0 auto;
    min-height: 150px;
    padding: 16px 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-shell .logo,
.header-shell .nav-bar {
    margin: 0;
}

.logo{
    font-family: 'Spline Sans', sans-serif;
    font-weight: 700;
    font-size: 1.4  rem;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo-image-slot {
    width: 84px;
    height: 62px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px;
    overflow: hidden;
}

.logo-image {
    width: 200%;
    height: 200%;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(9, 31, 54, 0.2));
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    gap: 4px;
}

.header-shell .logo-text {
    letter-spacing: 0.2px;
    font-size: 1.34rem;
}

.logo-subtext {
    font-family: 'Geist', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(244, 248, 251, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 22px;
    height: 2.4px;
    background-color: #ffffff;
    border-radius: 2px;
}

.nav-bar ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
}

.header-shell .nav-bar {
    flex: 1;
}

.nav-bar ul li{
    list-style: none;
}

.header-shell .nav-bar ul li {
    display: block;
    padding: 0;
}

.nav-bar ul li a{
    font-family: 'Spline Sans', sans-serif;
    text-decoration: none;
    color: #f4f8fb;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 11px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-label {
    line-height: 1;
    white-space: nowrap;
}

.nav-item-cart a {
    justify-content: flex-start;
    min-width: 0;
    padding: 11px 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-bar ul li a:hover,
.nav-bar ul li a.active {
    background-color: #ffffff;
    color: #034d99;
}

/* ============================ RESPONSIVE MEDIA QUERIES =========================== */
@media (max-width: 768px) {
    .presentacion-principal {
        padding: 34px 5% 30px;
    }

    .presentacion-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.9px;
    }

    .presentacion-titulo {
        font-size: 2.1rem;
    }

    .presentacion-subtitulo {
        font-size: 1.02rem;
    }

    .presentacion-content {
        grid-template-columns: 1fr;
    }

    .presentacion-copy {
        padding: 24px 20px;
    }

    .presentacion-puntos {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .presentacion-panel-titulo {
        font-size: 1.15rem;
    }

    .presentacion-metricas {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .presentacion-actions {
        width: 100%;
    }

    .presentacion-actions .button {
        width: 100%;
        text-align: center;
    }

    .trust-strip {
        padding: 22px 5%;
    }

    .proceso-trabajo {
        padding: 50px 5%;
    }

    .proceso-descripcion {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .sobre-nosotros {
        padding: 50px 5%;
    }
    
    .sobre-content h2 {
        font-size: 2.2rem;
    }
    
    .sobre-intro {
        font-size: 1.1rem;
    }
    
    .sobre-texto {
        font-size: 1rem;
        text-align: left;
    }

    .direccionamiento-empresa {
        padding: 12px 5% 50px;
    }

    .direccionamiento-container h2 {
        font-size: 1.9rem;
    }

    .direccionamiento-descripcion {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .direccionamiento-item {
        padding: 22px 18px;
    }

    .direccionamiento-item p {
        text-align: left;
    }
    
    .estadisticas {
        padding: 40px 5%;
    }
    
    .numero {
        font-size: 3rem;
    }
    
    .estadistica-item p {
        font-size: 0.9rem;
    }
    
    .por-que-elegirnos {
        padding: 50px 5%;
    }
    
    .por-que-container h2 {
        font-size: 2.2rem;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-section {
        padding: 50px 5%;
    }
    
    .cta-container h2 {
        font-size: 2rem;
    }
    
    .cta-container p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .cotizacion-rapida {
        padding: 50px 5%;
    }

    .cotizacion-wrap {
        grid-template-columns: 1fr;
    }
}

/* ============================ BACK TO TOP BUTTON =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #034d99 0%, #0569c7 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(3, 77, 153, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #023a73 0%, #034d99 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(3, 77, 153, 0.4);
}

.back-to-top:active {
    transform: translateY(-3px);
}

/* ============================ QUICK CONTACT BUTTONS =========================== */
.quick-contact {
    position: fixed;
    right: 30px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.quick-contact.visible {
    opacity: 1;
    visibility: visible;
}

.quick-contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(4, 31, 56, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.quick-contact-btn.whatsapp {
    background: linear-gradient(135deg, #1fbe5b 0%, #138a3f 100%);
}

.quick-contact-btn.call {
    background: linear-gradient(135deg, #ff6b00 0%, #df5a00 100%);
}

.quick-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(4, 31, 56, 0.28);
    filter: saturate(1.08);
}

.quick-contact-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .quick-contact {
        right: 15px;
        bottom: 82px;
        gap: 8px;
    }

    .quick-contact-btn {
        width: 44px;
        height: 44px;
    }

    .back-to-top {
        right: 12px;
        bottom: 24px;
    }
}

/* ============================footer=========================== */

footer{
    background-color: #034d99;
    color: #f4f8fb;
    font-family: 'Spline Sans', sans-serif;
    border-top: #ffffff 1vh solid;
    
}

.footer-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 10% 26px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 24px;
}

.footer-brand p {
    margin-top: 12px;
    font-family: 'Spline Sans', sans-serif;
    color: #f4f8fb;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 320px;
}

.footer-links h3,
.footer-contacto h3 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #ffffff;
}

footer ul li a{
    text-decoration: none;
    color: #f4f8fb;
    font-weight: 500;
    font-size: 0.92rem;
    opacity: 0.92;
    transition: color 0.2s ease;
}

.footer-links ul li,
.footer-contacto ul li {
    list-style: none;
    margin-bottom: 9px;
}

footer ul li a:hover {
    color: #ffffff;
}

.footer-contacto ul {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding: 14px 10%;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Spline Sans', sans-serif;
    color: #f4f8fb;
    font-size: 0.86rem;
    opacity: 0.9;
}

.footer-logo{
    font-family: 'Spline Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .header-shell {
        min-height: 88px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .logo-subtext {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-bar {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: block;
        background: #034d99;
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 12px;
        padding: 10px 6%;
        box-shadow: 0 16px 34px rgba(9, 31, 54, 0.36);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease;
        z-index: 1300;
    }

    .nav-bar.open {
        max-height: 78vh;
        opacity: 1;
        pointer-events: auto;
        overflow-y: auto;
        transform: translateY(0);
    }

    .nav-bar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-bar ul li a {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-item-cart {
        display: block;
    }

    .nav-item-cart a {
        width: 100%;
    }

    .footer-shell {
        padding-left: 6%;
        padding-right: 6%;
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        padding-left: 6%;
        padding-right: 6%;
    }
}

@media (max-width: 768px) {
    .header-shell {
        min-height: 84px;
        padding-left: 4.5%;
        padding-right: 4.5%;
    }

    .logo-subtext {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-bar {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: block;
        background: #034d99;
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 12px;
        padding: 10px 5%;
        box-shadow: 0 16px 34px rgba(9, 31, 54, 0.36);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: max-height 0.28s ease, opacity 0.24s ease, transform 0.24s ease;
        z-index: 1300;
    }

    .nav-bar.open {
        max-height: 78vh;
        opacity: 1;
        pointer-events: auto;
        overflow-y: auto;
        transform: translateY(0);
    }

    .nav-bar ul {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .header-shell {
        min-height: 80px;
        padding-left: 4.5%;
        padding-right: 4.5%;
    }

    .logo-image-slot {
        width: 62px;
        height: 46px;
    }

    .header-shell .logo-text {
        font-size: 1.08rem;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================ HERO =========================== */
.hero {
    width: 100%;
    background: #e8eff6;
}

.hero-carrusel {
    position: relative;
    overflow: hidden;
}

.hero-track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.hero-slide picture,
.hero-slide img {
    display: block;
    width: 100%;
}

.hero-slide img {
    height: clamp(240px, 44vw, 620px);
    object-fit: cover;
}

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(3, 77, 153, 0.68);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 107, 0, 0.9);
    transform: translateY(-50%) scale(1.04);
}

.hero-control.prev {
    left: 16px;
}

.hero-control.next {
    right: 16px;
}

.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(9, 31, 54, 0.3);
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
    background: #ff6b00;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-slide {
        aspect-ratio: 540 / 550;
    }

    .hero-slide img {
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hero-carrusel {
        background: #e8eff6;
    }

    .hero-control {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }

    .hero-control.prev {
        left: 10px;
    }

    .hero-control.next {
        right: 10px;
    }

    .hero-indicators {
        bottom: 10px;
        gap: 7px;
        padding: 7px 9px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-track {
        transition: none;
    }
}

/* ============================ PRESENTACION PRINCIPAL =========================== */
.presentacion-principal {
    position: relative;
    padding: 88px 8% 72px;
    background: linear-gradient(180deg, #ffffff 0%, #edf5fb 52%, #ffffff 100%);
    overflow: hidden;
}

.presentacion-principal::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.24) 0%, rgba(255, 107, 0, 0) 70%);
    pointer-events: none;
}

.presentacion-content {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    display: block;
}

.presentacion-copy {
    border-radius: 16px;
    padding: 44px 46px;
    box-shadow: 0 14px 36px rgba(9, 51, 94, 0.1);
    animation: presentacionFadeUp 0.65s ease both;
}

.presentacion-copy {
    background-color: #ffffff;
    border: 1px solid #dbe8f4;
}

.presentacion-kicker {
    display: inline-flex;
    align-items: center;
    font-family: 'Geist', sans-serif;
    font-size: 0.86rem;
    line-height: 1.2;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #0b4d93;
    background-color: #e8f2fb;
    border: 1px solid #c7dcf1;
    padding: 7px 13px;
    border-radius: 999px;
    margin: 0 0 1.35rem;
    width: fit-content;
    max-width: 100%;
}

.presentacion-titulo {
    font-family: 'Spline Sans', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #034d99;
    margin-bottom: 1.35rem;
    line-height: 1.06;
}

.presentacion-subtitulo {
    font-family: 'Geist', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4e5b67;
    margin-bottom: 1.4rem;
    max-width: 700px;
    line-height: 1.55;
}

.presentacion-puntos {
    list-style: none;
    margin-bottom: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.presentacion-puntos li {
    font-family: 'Geist', sans-serif;
    font-size: 0.94rem;
    color: #20415f;
    background-color: #f2f8fd;
    border: 1px solid #d8e7f5;
    border-radius: 10px;
    padding: 11px 12px 11px 36px;
    position: relative;
    line-height: 1.35;
}

.presentacion-puntos li::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 12px;
    top: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6b00 0%, #ff9a4d 100%);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.presentacion-copy .presentacion-productos {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    margin: 0 0 2.45rem;
}

.presentacion-copy .presentacion-productos .producto {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 280px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(9, 51, 94, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.presentacion-copy .presentacion-productos .producto a {
    position: relative;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 18px;
    overflow: hidden;
    border-radius: 16px;
}

.presentacion-copy .presentacion-productos .producto a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 77, 153, 0.06) 34%, rgba(3, 77, 153, 0.84) 100%);
    transition: background 0.25s ease;
}

.presentacion-copy .presentacion-productos .producto:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(9, 51, 94, 0.2);
}

.presentacion-copy .presentacion-productos .producto:hover a::before {
    background: linear-gradient(180deg, rgba(3, 77, 153, 0.12) 30%, rgba(3, 77, 153, 0.9) 100%);
}

.presentacion-copy .presentacion-productos .presentacion-card-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.presentacion-copy .presentacion-productos .presentacion-card-copy h3 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.28;
    color: #f4f8fb;
    margin: 0;
    padding: 0;
    background: transparent;
}

.presentacion-copy .presentacion-productos .presentacion-card-copy p {
    font-family: 'Geist', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(244, 248, 251, 0.92);
    margin: 0;
}

.presentacion-copy .presentacion-productos .presentacion-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Geist', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #ffcfad;
    margin-top: 4px;
}

.presentacion-copy .presentacion-productos .presentacion-card-cta::after {
    content: "->";
}

.presentacion-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.35rem;
    
}

.presentacion-actions .button {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8e3a 100%);
    color: #f4f8fb;
    padding: 13px 26px;
    text-decoration: none;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-shadow: none;
    border: 2px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;

}

/* .presentacion-actions .button-outline {
    background-color: transparent;
    border-color: #034d99;
    color: #034d99;
} */

.presentacion-actions .button:hover {
    background: #fff5ee;
    color: #d25500;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.25);
    transform: translateY(-2px);
    text-shadow: none;
}

.presentacion-actions .button-outline:hover {
    background-color: #034d99;
    color: #ffffff;
    transform: translateY(-2px);
}

.presentacion-actions .button:active {
    transform: scale(0.97);
}

@media (max-width: 1024px) {
    .presentacion-principal {
        padding: 68px 6% 56px;
    }

    .presentacion-content {
        max-width: 100%;
    }

    .presentacion-copy {
        padding: 36px 30px;
    }

    .presentacion-titulo {
        font-size: clamp(2rem, 5.2vw, 2.8rem);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .presentacion-copy {
        animation: none;
    }
}

@media (max-width: 900px) {
    .presentacion-principal {
        padding: 56px 6% 46px;
    }

    .presentacion-copy {
        padding: 30px 24px;
    }

    .presentacion-copy .presentacion-productos {
        flex-wrap: wrap;
    }

    .presentacion-copy .presentacion-productos .producto {
        flex: 1 1 calc(50% - 8px);
        height: 240px;
    }

    .presentacion-actions {
        width: 100%;
    }

    .presentacion-actions .button {
        flex: 1 1 calc(50% - 7px);
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .container-productos,
    .container-categorias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .presentacion-principal {
        padding: 42px 5% 36px;
    }

    .presentacion-copy {
        padding: 24px 18px;
    }

    .presentacion-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.8px;
        margin-bottom: 1rem;
    }

    .presentacion-titulo {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        line-height: 1.12;
        margin-bottom: 1.05rem;
    }

    .presentacion-copy .presentacion-productos {
        gap: 12px;
        margin-bottom: 1.4rem;
    }

    .presentacion-copy .presentacion-productos .producto {
        flex: 1 1 100%;
    }

    .presentacion-copy .presentacion-productos .producto {
        height: 220px;
    }

    .presentacion-copy .presentacion-productos .presentacion-card-copy h3 {
        font-size: 1rem;
    }

    .presentacion-copy .presentacion-productos .presentacion-card-copy p {
        font-size: 0.84rem;
    }

    .presentacion-copy .presentacion-productos .presentacion-card-copy p {
        max-width: 90%;
    }

    .presentacion-actions .button {
        flex: 1 1 100%;
    }
}

/* ============================ TRUST STRIP =========================== */
.trust-strip {
    background-color: #ffffff;
    border-top: 1px solid #d7e3ef;
    border-bottom: 1px solid #d7e3ef;
    padding: 24px 0;
}

.trust-strip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10%;
}

.trust-logos-banner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(9, 51, 94, 0.08);
    background-color: #ffffff;
}

.trust-logos-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .trust-strip-container {
        padding: 0 6%;
    }

    .trust-strip .trust-strip-container > h2 {
        font-size: 2.2rem;
        margin: 30px auto 18px;
    }
}

@media (max-width: 640px) {
    .trust-strip {
        padding: 20px 0;
    }

    .trust-strip .trust-strip-container > h2 {
        font-size: 1.65rem;
        margin: 24px auto 14px;
        padding: 0 5%;
    }

    .trust-strip .trust-strip-container > h2::after {
        width: 64px;
        height: 4px;
        margin-top: 8px;
    }

    .trust-logos-banner {
        border-left: none;
        border-right: none;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ============================ PROCESO =========================== */
.proceso-trabajo {
    background-color: #ffffff;
    padding: 80px 10%;
}

.proceso-container {
    max-width: 1200px;
    margin: 0 auto;
}

.proceso-container h2{
    margin-bottom: 12px;
}

.proceso-descripcion {
    font-family: 'Geist', sans-serif;
    text-align: center;
    color: #5f6a73;
    margin: 0 auto 44px;
    max-width: 860px;
    font-size: 1.08rem;
    line-height: 1.55;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.proceso-item {
    background-color: #f7fbff;
    border: 1px solid #d6e5f3;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.proceso-numero {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: #034d99;
    color: #ffffff;
    font-family: 'Spline Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
}

.proceso-item h3 {
    font-family: 'Spline Sans', sans-serif;
    color: #034d99;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.proceso-item p {
    font-family: 'Geist', sans-serif;
    color: #5f6a73;
    line-height: 1.5;
    font-size: 0.96rem;
}

/* ============================ COTIZACION =========================== */
.cotizacion-rapida {
    padding: 80px 10%;
    background: linear-gradient(180deg, #f4f8fb 0%, #e8f1f8 100%);
}

.cotizacion-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.cotizacion-texto p {
    font-family: 'Geist', sans-serif;
    color: #5f6a73;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.cotizacion-lista {
    list-style: none;
}

.cotizacion-lista li {
    font-family: 'Geist', sans-serif;
    color: #174a76;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.cotizacion-lista li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff6b00;
    position: absolute;
    left: 0;
    top: 8px;
}

.cotizacion-form {
    background-color: #ffffff;
    border: 1px solid #d6e5f3;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(3, 77, 153, 0.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.cotizacion-form label {
    font-family: 'Spline Sans', sans-serif;
    font-size: 0.92rem;
    color: #034d99;
    margin-top: 8px;
}

.cotizacion-form input,
.cotizacion-form select {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #c9d9e8;
    padding: 0 12px;
    font-family: 'Geist', sans-serif;
    font-size: 0.96rem;
    color: #1f2f3d;
}

.cotizacion-form input:focus,
.cotizacion-form select:focus {
    outline: none;
    border-color: #034d99;
    box-shadow: 0 0 0 3px rgba(3, 77, 153, 0.14);
}

.cotizacion-btn {
    margin-top: 12px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background-color: #ff6b00;
    color: #ffffff;
    font-family: 'Spline Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.cotizacion-btn:hover {
    background-color: #ff8c33;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .cotizacion-rapida {
        padding: 56px 6%;
    }

    .cotizacion-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .cotizacion-rapida {
        padding: 44px 5%;
    }

    .cotizacion-wrap {
        gap: 14px;
    }

    .cotizacion-form {
        padding: 18px;
        border-radius: 12px;
    }

    .cotizacion-btn {
        width: 100%;
    }
}

/* ============================ TARJETAS PAGINA PRINCIPAL =========================== */
h2{
    font-family: 'Spline Sans', sans-serif;
    text-align: center;
    margin: 5% auto;
    font-size: 3rem;
    color: #034d99;
}


h2::after {
    content: '';
    display: block;
    width: 80px; /* Línea corta debajo del título */
    height: 5px;
    background-color: #ff6b00;
    margin: 10px auto 0; /* Centrar la línea debajo del título */
    border-radius: 2px;
}

/* ============================ PRODUCTOS SECTION =========================== */
#productos {
    padding: 80px 10%;
    background-color: #f4f8fb;
}

#productos h2 {
    font-size: 3rem;
    color: #034d99;
    text-align: center;
    margin-bottom: 10px;
}

.productos-descripcion {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin: 30px 0 60px;
    font-family: 'Geist', sans-serif;
}

.tarjeta-productos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.producto{
    width: 480px;
    height: 400px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
    cursor: pointer;
}

.producto a{
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;

    width: 100%;
    height: 100%;
    border-radius: 20px;
    text-decoration: none;
}

.producto:hover{
    transform:translateY(-10px);
    transition: 500ms;
}

.producto h3{

    font-family: 'Spline Sans', sans-serif;
    font-size: 1.3rem;
    background-color: #f4f8fb;
    color: #034d99;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.producto h3:hover{
    background-color: #034d99;
    color:#f4f8fb;
    transition: 500ms;
    cursor: pointer;
}

.producto h3:active{
    transform: scale(0.95);
}

.flexibles{

    background:linear-gradient(rgba(31, 66, 94, 0.7), rgba(31, 66, 94, 0.7)),
    url('../assets/images/productos_flexibles.webp') no-repeat center center/cover;

}

.termoformados{

    background:linear-gradient(rgba(31, 66, 94, 0.7), rgba(31, 66, 94, 0.7)),
    url('../assets/images/termoformados.webp') no-repeat center center/cover;

}
.carnicos{

    background:linear-gradient(rgba(31, 66, 94, 0.7), rgba(31, 66, 94, 0.7)),
    url('../assets/images/carnicos.webp') no-repeat center center/cover;

}

/* ============================ CATEGORIAS =========================== */

.categorias-page {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    padding: 0;
    padding-bottom: 70px;
}

.categorias-intro h1{
    text-align: center;
}

#categorias.categorias-page {
    padding: 0;
}

.categorias-page .banner {
    width: 100%;
    margin-left: 0;
}

.categorias-intro {
    max-width: 1240px;
    margin: 36px auto 12px;
    padding: 0 10%;
}

.categorias-intro h1 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.9rem;
    color: #034d99;
    margin-bottom: 10px;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.container-categorias{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 0 10%;
}

.tarjeta-categoria figure{
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 10px 24px rgba(18, 56, 90, 0.14);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background-color: #ffffff;
}

.tarjeta-categoria figure:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(18, 56, 90, 0.22);

}

.imagen-categoria{
    width: 100%;
    height: 80%;
    overflow: hidden;
}

.imagen-categoria img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tarjeta-categoria figure:hover .imagen-categoria img {
    transform: scale(1.04);
}

.titulo-categoria{
    background: linear-gradient(160deg, #034d99 0%, #0569c7 100%);
    color: #f4f8fb;
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.titulo-categoria h3{
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.08rem;
    text-align: center;

}

.link-categoria{
    text-decoration: none;
}

.categorias-asesoria {
    max-width: 1240px;
    margin: 52px auto 0;
    padding: 0 10%;
    
}

.categorias-asesoria-content {
    background: linear-gradient(115deg, #034d99 0%, #0569c7 66%, #1f7ecf 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.categorias-asesoria-content h2 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 2rem;

}

.categorias-asesoria-content h2::after {
    display: none;
}

.categorias-asesoria-content p {
    font-family: 'Geist', sans-serif;
    font-size: 1.03rem;
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 20px;
}

/* ===================== PRODUCTOS =========================== */

.catalogo-page {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    padding: 0;
    padding-bottom: 70px;
}

#productos.catalogo-page {
    padding: 0;
}

.catalogo-page .banner {
    width: 100%;
    margin-left: 0;
}

.catalogo-intro {
    max-width: 1240px;
    margin: 36px auto 12px;
    padding: 0 10%;
}

.catalogo-intro h1{
    text-align: center;
}

.catalogo-breadcrumb {
    font-family: 'Geist', sans-serif;
    color: #6a7987;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.catalogo-breadcrumb a {
    color: #034d99;
    text-decoration: none;
    font-weight: 600;
}

.catalogo-intro h1 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.9rem;
    color: #034d99;
    margin-bottom: 10px;
}

.catalogo-descripcion {
    font-family: 'Geist', sans-serif;
    color: #556473;
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 26px 0;
    text-align: center;
}

.catalogo-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.meta-tag,
.meta-count {
    font-family: 'Geist', sans-serif;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-tag {
    background-color: #e8f1f8;
    color: #034d99;
}

.meta-count {
    background-color: #ffffff;
    border: 1px solid #d2deea;
    color: #5f6a73;
}

.filtro-categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.chip-categoria {
    font-family: 'Geist', sans-serif;
    text-decoration: none;
    border: 1px solid #c5d6e7;
    border-radius: 999px;
    color: #174a76;
    background-color: #ffffff;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.chip-categoria:hover {
    border-color: #034d99;
    color: #034d99;
}

.chip-categoria.activa {
    background-color: #034d99;
    border-color: #034d99;
    color: #ffffff;
}

.container-productos{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 0 10%;
}

.tarjeta-producto figure{
    width: 100%;
    height: 335px;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 10px 24px rgba(18, 56, 90, 0.14);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background-color: #ffffff;
}

.tarjeta-producto figure:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(18, 56, 90, 0.22);
}

.imagen-producto{
    width: 100%;
    height: 68%;
    overflow: hidden;

}
.imagen-producto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tarjeta-producto figure:hover .imagen-producto img {
    transform: scale(1.04);
}

.detalles-producto{
    background: linear-gradient(160deg, #034d99 0%, #0569c7 100%);
    color: #f4f8fb;
    width: 100%;
    height: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 14px;

}
.detalles-producto h3{
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 6px;
}
.detalles-producto p{
    font-family: 'Geist', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
}

.link-producto{
    text-decoration: none;
}

.catalogo-empty {
    font-family: 'Geist', sans-serif;
    background: #ffffff;
    border: 1px solid #d6e5f3;
    border-radius: 12px;
    padding: 18px;
    color: #4f6172;
}

.catalogo-asesoria {
    max-width: 1240px;
    margin: 52px auto 0;
    padding: 0 10%;
}

.catalogo-asesoria-content {
    background: linear-gradient(115deg, #034d99 0%, #0569c7 66%, #1f7ecf 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;

}

.catalogo-asesoria-content h2 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 2rem;

}

#productos.catalogo-page .catalogo-asesoria-content h2 {
    color: #ffffff;
    font-size: 2rem;
}

.catalogo-asesoria-content h2::after {
    display: none;
}

.catalogo-asesoria-content p {
    font-family: 'Geist', sans-serif;
    font-size: 1.03rem;
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 20px;
    
}

.btn-catalogo-asesoria {
    display: inline-block;
    text-decoration: none;
    font-family: 'Spline Sans', sans-serif;
    font-weight: 700;
    color: #034d99;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 18px;
    border: 2px solid #ffffff;
    transition: all 0.25s ease;
}

.btn-catalogo-asesoria:hover {
    background-color: transparent;
    color: #ffffff;
}

@media (max-width: 900px) {
    .catalogo-intro,
    .container-productos,
    .catalogo-asesoria {
        padding-left: 6%;
        padding-right: 6%;
    }

    .catalogo-intro h1 {
        font-size: 2.3rem;
    }

    .container-productos {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .catalogo-intro {
        margin-top: 24px;
    }

    .catalogo-intro h1 {
        font-size: 1.9rem;
    }

    .catalogo-descripcion {
        font-size: 0.98rem;
    }

    .catalogo-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .filtro-categorias {
        gap: 8px;
    }

    .chip-categoria {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .container-productos {
        grid-template-columns: 1fr;
    }

    .tarjeta-producto figure {
        height: 320px;
    }

    .catalogo-asesoria-content {
        padding: 24px;
    }

    .catalogo-asesoria-content h2 {
        font-size: 1.5rem;
    }

    .categorias-intro {
        margin-top: 24px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .categorias-intro h1 {
        font-size: 1.9rem;
    }

    .container-categorias,
    .categorias-asesoria {
        padding-left: 6%;
        padding-right: 6%;
    }

    .container-categorias {
        grid-template-columns: 1fr;
    }

    .tarjeta-categoria figure {
        height: 320px;
    }

    .categorias-asesoria-content {
        padding: 24px;
    }

    .categorias-asesoria-content h2 {
        font-size: 1.5rem;
    }
}

/* ===================================== PAGINA DE PRODUCTO ========================== */

.detalle-page {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    padding: 28px 0 70px;
}

.detalle-intro {
    max-width: 1240px;
    margin: 0 auto 18px;
    padding: 0 10%;
}

.detalle-intro h1 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.6rem;
    color: #034d99;
    margin-bottom: 8px;
    margin-top: 30px;
    text-align: center;
}

.container-detalles-producto{
    max-width: 1240px;
    margin: 20px auto 0;
    padding: 0 10%;
}

.detalle-producto-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid #d6e5f3;
    box-shadow: 0 16px 34px rgba(18, 56, 90, 0.12);
    padding: 24px;
}

.detalle-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carrusel-producto {
    border-radius: 14px;
    width: 100%;
    height: clamp(340px, 54vh, 560px);
    overflow: hidden;
    margin: 0;
    position: relative;

}

.carrusel-fila {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carrusel-fila img {
        width: 100%;
        min-width: 100%;
        height: clamp(340px, 54vh, 560px);
    object-fit: cover;

}
.carrusel-producto button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
    background: rgba(3, 77, 153, 0.72);
  color: white;
  border: none;
    font-size: 1.6rem;
  cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  z-index: 1;
}

.carrusel-producto .prev {
  left: 10px;
}

.carrusel-producto .next {
  right: 10px;
}


.detalles-texto{
    width: 100%;
    min-height: 100%;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
}

.detalles-texto h2 {
    margin: 0 0 12px;
    text-align: left;
    font-size: 2rem;
}

.detalles-texto h2::after {
    display: none;
}

.detalle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detalle-categoria,
.detalle-referencia {
    font-family: 'Geist', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 12px;
}

.detalle-categoria {
    background-color: #e8f1f8;
    color: #034d99;
}

.detalle-referencia {
    border: 1px solid #d2deea;
    color: #5f6a73;
}

.descripcion-larga-producto{
    font-family: 'Geist', sans-serif;
    font-size: 1.04rem;
    width: 100%;
    margin: 0 0 16px;
    line-height: 1.65;
    color: #495867;
}

.precio-producto{
    font-family: 'Spline Sans', sans-serif;
    color: #034d99;
    font-size: 1.45rem;
    font-weight: bolder;
    width: 100%;
    margin: 0 0 14px;
    text-align: left;
}

.precio-producto::after {
    content: '';
    display: block;
    width: 68px;
    height: 4px;
    background-color: #ff6b00;
    margin: 10px 0 0;
    border-radius: 2px;
}

.selector-variante-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    border: 1px solid #d6e5f3;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
    border-radius: 12px;
    padding: 10px 12px;
}

.selector-variante-titulo,
.selector-variante-label {
    font-family: 'Spline Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #034d99;
    margin: 0;
}

.selector-variante-grupo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variantes-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variante-chip {
    border: 1px solid #c9d9e8;
    background-color: #ffffff;
    color: #3b4d5e;
    border-radius: 999px;
    padding: 7px 12px;
    font-family: 'Geist', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variante-chip:hover {
    border-color: #9bb8d4;
    color: #1f3750;
}

.variante-chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 77, 153, 0.16);
    border-color: #034d99;
}

.variante-chip.is-active {
    background-color: #034d99;
    border-color: #034d99;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(3, 77, 153, 0.2);
}

.selector-variante-ayuda {
    margin: 0;
    font-family: 'Geist', sans-serif;
    font-size: 0.8rem;
    color: #617486;
}

.selector-variante {
    min-width: 0;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c9d9e8;
    border-radius: 8px;
    background-color: #ffffff;
    color: #304152;
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
}

.selector-variante:focus {
    border-color: #034d99;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 77, 153, 0.13);
}

.selector-variante:hover {
    border-color: #9bb8d4;
}

.detalle-beneficios {
  list-style: none;
  margin: 0 0 8px;
}

.detalle-beneficios li {
  position: relative;
  font-family: 'Geist', sans-serif;
  color: #4f6172;
  margin-bottom: 8px;
  padding-left: 18px;
  font-size: 0.95rem;
}

.detalle-beneficios li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ff6b00;
}

/* botones pagina producto */


.acciones-producto {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 8px;
}

.acciones-producto label {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  color: #3e4f5f;

}

.cantidad-producto {
  width: 84px;
  height: 40px;
  padding: 6px;
  font-size: 1rem;
  border: 1px solid #c9d9e8;
  border-radius: 8px;
}

.btn-agregar, .btn-comprar {
  padding: 11px 15px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-agregar {

  width: auto;
  background-color: #034d99;
  border-color: #034d99;
  color: white;
}

.btn-agregar:hover {
  background-color: #023a73;
}

.btn-comprar {
  width: auto;
  background-color: #ff6b00;
  border-color: #ff6b00;
  color: white;
}

.btn-comprar:hover {
  background-color: #e76200;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Spline Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 14px;
  border: 2px solid #25d366;
  color: #169c49;
  background-color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
}

.detalle-asesoria {
    max-width: 1240px;
    margin: 48px auto 0;
    padding: 0 10%;
}

.detalle-asesoria-content {
    background: linear-gradient(115deg, #034d99 0%, #0569c7 66%, #1f7ecf 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.detalle-asesoria-content h2 {
    color: #ffffff;
    margin: 0 0 10px;

    font-size: 2rem;
}

.detalle-asesoria-content h2::after {
    display: none;
}

.detalle-asesoria-content p {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 16px;
}

@media (max-width: 980px) {
    .detalle-intro,
    .container-detalles-producto,
    .detalle-asesoria {
        padding-left: 6%;
        padding-right: 6%;
    }

    .detalle-producto-card {
        grid-template-columns: 1fr;
    }

    .detalles-texto h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 1024px) {
    .detalle-producto-card {
        grid-template-columns: 1fr;
    }

    .carrusel-producto,
    .carrusel-fila img {
        height: clamp(300px, 48vh, 500px);
    }
}

@media (max-width: 640px) {
    .detalle-page {
        padding-top: 18px;
    }

    .detalle-intro h1 {
        font-size: 1.9rem;
    }

    .detalle-producto-card {
        padding: 16px;
        border-radius: 14px;
    }

    .carrusel-producto,
    .carrusel-fila img {
        height: 320px;
    }

    .acciones-producto {
        gap: 8px;
    }

    .btn-agregar,
    .btn-comprar,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
    }

    .cantidad-producto {
        width: 100%;
    }

    .selector-variante {
        width: 100%;
        min-width: 0;
    }

    .variantes-chips {
        gap: 6px;
    }

    .variante-chip {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .detalle-asesoria-content {
        padding: 22px;
    }

    .detalle-asesoria-content h2 {
        font-size: 1.45rem;
    }
}


/* ============================ CARRITO =========================== */

.carrito-page {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    padding: 30px 0 70px;
}

.carrito-intro {
    max-width: 1240px;
    margin: 0 auto 16px;
    padding: 0 10%;
}

.carrito-intro h1 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.6rem;
    color: #034d99;
    margin-bottom: 8px;
    text-align: center;
}

.carrito-intro p{
    text-align: center;
}

.carrito {
    max-width: 1240px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 24px;
    margin: 24px auto 0;
    padding: 0 10%;
}

.checkout-form {
    padding: 26px;
    background-color: #ffffff;
    border: 1px solid #d6e5f3;
    box-shadow: 0 16px 34px rgba(18, 56, 90, 0.12);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    font-family: 'Geist', sans-serif;
}

.checkout-form h2 {
    grid-column: span 2;
    text-align: left;
    margin: 0;
    font-family: 'Spline Sans', sans-serif;
    color: #034d99;
    font-size: 1.9rem;
}

.checkout-form h2::after {
    display: none;
}

.checkout-ayuda {
    grid-column: span 2;
    font-family: 'Geist', sans-serif;
    color: #5f6a73;
    line-height: 1.55;
    margin: -4px 0 2px;
}

.checkout-form h3 {
    grid-column: span 2;
    font-size: 1.15rem;
    font-family: 'Spline Sans', sans-serif;
    color: #034d99;
    border-bottom: 1px solid #d8e5f2;
    padding-bottom: 7px;
    margin-top: 8px;
}

.grupo-opciones-entrega,
.grupo-opciones-pago {
    background: #f6f9fd;
    border: 1px solid #d9e5f2;
    border-radius: 10px;
    padding: 12px;
}

.campo-titulo {
    font-family: 'Spline Sans', sans-serif;
    color: #034d99;
    font-size: 0.96rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-family: 'Geist', sans-serif;
    color: #304152;
}

.radio-option input[type="radio"] {
    margin-top: 0;
    width: 16px;
    height: 16px;
}

.pickup-info,
.payment-info {
    margin: 8px 0 0;
    font-family: 'Geist', sans-serif;
    font-size: 0.86rem;
    color: #556473;
    line-height: 1.5;
}

.checkout-form label {
    font-weight: 600;
    color: #3e4f5f;
    width: 100%;
    font-size: 0.92rem;
}

.checkout-form input,
.checkout-form select {
    margin-top: 6px;
    padding: 10px 11px;
    border: 1px solid #c9d9e8;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
    border-color: #034d99;
    box-shadow: 0 0 0 3px rgba(3, 77, 153, 0.13);
    outline: none;
}

#nombre, #apellidos, #telefono, #email, #departamento {
    grid-column: span 1;
}

#direccion, #detalle-direccion, #ciudad {
    grid-column: span 2;
}

.checkout-form .btn-confirmar {
    grid-column: span 2;
    padding: 12px;
    background-color: #034d99;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    border: 2px solid #034d99;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Spline Sans', sans-serif;
}

.checkout-form .btn-confirmar:hover {
    background-color: #023a73;
}

.carrito-productos {
    background-color: #ffffff;
    border: 1px solid #d6e5f3;
    box-shadow: 0 16px 34px rgba(18, 56, 90, 0.12);
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Geist', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: sticky;
    top: 106px;
    align-self: start;
    padding: 14px 14px 0;
    max-height: 72vh;
}

.carrito-items-scroll {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 12px;
    flex: 1 1 auto;
    min-height: 0;
}

@media (min-width: 981px) {
    .carrito-productos {
        position: -webkit-sticky;
        position: sticky;
        top: 106px;
        align-self: start;
    }
}

.tarjeta-carrito {
    width: 100%;
}

.tarjeta-carrito figure {
    margin: 0;
    box-shadow: 0 10px 24px rgba(18, 56, 90, 0.12);
    border-radius: 14px;
    width: 100%;
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 140px;
    overflow: hidden;
    background-color: #ffffff;
}

.imagen-carrito {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.en-linea {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#cantidad1 {
    width: 58px;
    margin-left: 6px;
}

.detalles-carrito {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Spline Sans', sans-serif;
  padding: 12px;
  background-color: #ffffff;
  align-items: flex-start;
}

.nombre-carrito {
  font-size: 1.03rem;
  font-weight: 700;
  color: #034d99;
  margin: 0;
}

.variante-carrito {
    margin: 0;
    font-family: 'Geist', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3d5164;
    background-color: #edf4fb;
    border: 1px solid #d6e5f3;
    border-radius: 999px;
    padding: 4px 10px;
}

.precio-carrito {
  font-size: 0.98rem;
  font-weight: 700;
  color: #3b4d5e;
  background-color: #f3f8fc;
  padding: 6px 10px;
  border: 1px solid #d5e3f0;
  border-radius: 7px;
  min-width: 90px;
  text-align: center;
}

.cantidad-carrito {
  font-family: 'Geist', sans-serif;
  font-size: 0.88rem;
  color: #556473;
}

.cantidad-carrito input[type="number"] {
  width: 58px;
  padding: 6px;
  font-size: 0.95rem;
  text-align: center;
  border: 1px solid #c9d9e8;
  border-radius: 7px;
  background-color: #ffffff;
  color: #333;
}

.cantidad-carrito input[type="number"]::-webkit-inner-spin-button,
.cantidad-carrito input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cantidad-carrito input[type="number"]:focus {
  border-color: #034d99;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 77, 153, 0.13);
}

.btn-eliminar {
  background: none;
  border: none;
  color: #7a8896;
  font-size: 0.86rem;
  font-family: 'Spline Sans', sans-serif;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.btn-eliminar:hover {
  color: #5f6d7a;
}

.precio-pedido {
    border-top: 1px solid #d7e5f2;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    background-color: #ffffff;
    width: 100%;
    padding: 14px 4px 10px;
    margin-top: auto;
}

.total-line,
.total-zone {
    margin: 0 0 7px;
    color: #4f6172;
    font-size: 0.92rem;
}

.total-pedido {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #034d99;
    margin-bottom: 14px;
}

.btn-pagar {
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: #fff;
  font-family: 'Spline Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 11px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-pagar:hover {
  background: linear-gradient(135deg, #e65c00, #ff6b00);
  transform: translateY(-2px);
}

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

.btn-pagar:disabled {
  background: linear-gradient(135deg, #cccccc, #e0e0e0);
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.85;
}

.carrito-asesoria {
    max-width: 1240px;
    margin: 42px auto 0;
    padding: 0 10%;
}

.carrito-asesoria-content {
    background: linear-gradient(115deg, #034d99 0%, #0569c7 66%, #1f7ecf 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px;
}

.carrito-asesoria-content h2 {
    color: #ffffff;
    margin: 0 0 10px;
    text-align: left;
    font-size: 1.8rem;
}

.carrito-asesoria-content h2::after {
    display: none;
}

.carrito-asesoria-content p {
    font-family: 'Geist', sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 760px;
    margin-bottom: 16px;
}

@media (min-width: 1100px) {
    .carrito {
        grid-template-columns: minmax(620px, 1.22fr) minmax(360px, 0.78fr);
        gap: 30px;
        align-items: start;
    }

    .checkout-form {
        padding: 30px 32px;
        gap: 16px 18px;
        border-radius: 18px;
    }

    .checkout-form h2 {
        font-size: 2rem;
    }

    .checkout-form .btn-confirmar {
        margin-top: 2px;
    }

    .carrito-productos {
        align-self: start;
        position: sticky;
        top: 106px;
        max-height: calc(100vh - 128px);
        padding: 16px;
        gap: 12px;
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .tarjeta-carrito figure {
        grid-template-columns: 112px 1fr;
        min-height: 124px;
        border: 1px solid #deebf7;
        box-shadow: 0 8px 18px rgba(18, 56, 90, 0.1);
    }

    .imagen-carrito {
        background: linear-gradient(180deg, #f2f8ff 0%, #e8f1fb 100%);
    }

    .imagen-carrito img {
        object-fit: contain;
        padding: 6px;
    }

    .detalles-carrito {
        padding: 12px 14px 10px;
        gap: 7px;
    }

    .nombre-carrito {
        font-size: 1rem;
        line-height: 1.25;
    }

    .en-linea {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .precio-pedido {
        padding: 16px 8px 8px;
        border-top: 1px solid #cfe0ef;
        box-shadow: 0 -6px 18px rgba(18, 56, 90, 0.08);
        backdrop-filter: none;
    }

    .total-line,
    .total-zone {
        font-size: 0.9rem;
    }

    .total-pedido {
        font-size: 1.28rem;
        margin-bottom: 12px;
    }

    .btn-pagar {
        width: 100%;
        padding: 12px 20px;
        letter-spacing: 0.02em;
    }
}

/* Toast notifications */
.toast-stack {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 250px;
    max-width: 340px;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: 'Geist', sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-info {
    background-color: #034d99;
    color: #ffffff;
}

.toast-success {
    background-color: #1d7e4a;
    color: #ffffff;
}

.toast-warning {
    background-color: #ff6b00;
    color: #ffffff;
}

.toast-error {
    background-color: #b42318;
    color: #ffffff;
}

@media (max-width: 980px) {
    .carrito-intro,
    .carrito,
    .carrito-asesoria {
        padding-left: 6%;
        padding-right: 6%;
    }

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

    .carrito-productos {
        position: relative;
        top: auto;
        align-self: auto;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .carrito-intro,
    .carrito,
    .carrito-asesoria {
        padding-left: 5%;
        padding-right: 5%;
    }

    .checkout-form {
        grid-template-columns: 1fr;
    }

    .checkout-form h2,
    .checkout-ayuda,
    .checkout-form h3,
    .checkout-form .btn-confirmar,
    #direccion,
    #detalle-direccion,
    #ciudad {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .carrito-page {
        padding-top: 18px;
    }

    .carrito-intro h1 {
        font-size: 1.95rem;
    }

    .checkout-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .checkout-form h2,
    .checkout-ayuda,
    .checkout-form h3,
    #direccion,
    #detalle-direccion,
    #ciudad,
    .checkout-form .btn-confirmar {
        grid-column: span 1;
    }

    .tarjeta-carrito figure {
        grid-template-columns: 1fr;
    }

    .imagen-carrito {
        height: 180px;
    }

    .detalles-carrito {
        align-items: flex-start;
    }

    .en-linea {
        width: 100%;
    }

    .btn-pagar {
        width: 100%;
    }

    .carrito-asesoria-content {
        padding: 22px;
    }

    .carrito-asesoria-content h2 {
        font-size: 1.4rem;
    }

    .toast-stack {
        top: auto;
        bottom: 16px;
        right: 12px;
        left: 12px;
    }

    .toast {
        max-width: 100%;
    }
}

/* ============================ RESULTADO CHECKOUT =========================== */

.checkout-result-page {
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%);
    padding: 30px 0 70px;
}

.checkout-result-intro {
    max-width: 980px;
    margin: 0 auto 16px;
    padding: 0 10%;
    text-align: center;
}

.checkout-result-intro h1 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.5rem;
    color: #034d99;
    margin-bottom: 8px;
}

.checkout-result-shell {
    max-width: 980px;
    margin: 24px auto 0;
    padding: 0 10%;
}

.checkout-result-card {
    background: #ffffff;
    border: 1px solid #d6e5f3;
    box-shadow: 0 18px 36px rgba(18, 56, 90, 0.13);
    border-radius: 16px;
    padding: 26px;
}

.checkout-result-sync {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-family: 'Geist', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.checkout-result-card h2 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2rem;
    margin: 0 0 10px;
}

.checkout-result-card h2::after {
    display: none;
}

.checkout-result-card > p {
    font-family: 'Geist', sans-serif;
    color: #475869;
    line-height: 1.55;
    margin: 0 0 16px;
}

.checkout-result-grid {
    margin: 0;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 8px;
}

.checkout-result-grid dt {
    font-family: 'Spline Sans', sans-serif;
    color: #4d5f70;
    font-weight: 700;
}

.checkout-result-grid dd {
    margin: 0;
    font-family: 'Geist', sans-serif;
    color: #1f2d3d;
}

.checkout-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.checkout-result-btn {
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Spline Sans', sans-serif;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.checkout-result-btn-primary {
    background: #034d99;
    color: #ffffff;
}

.checkout-result-btn-primary:hover {
    background: #023a73;
}

.checkout-result-btn-secondary {
    background: #ffffff;
    color: #034d99;
    border-color: #cfe1f2;
}

.checkout-result-btn-secondary:hover {
    background: #f4f8fc;
}

.checkout-result--info {
    border-left: 6px solid #0359b5;
}

.checkout-result--info .checkout-result-sync {
    background: #eaf4ff;
    color: #12314f;
}

.checkout-result--success {
    border-left: 6px solid #0f9d58;
}

.checkout-result--success .checkout-result-sync {
    background: #e8f7ef;
    color: #11452b;
}

.checkout-result--warning {
    border-left: 6px solid #d97706;
}

.checkout-result--warning .checkout-result-sync {
    background: #fff6e8;
    color: #5b3b0d;
}

.checkout-result--error {
    border-left: 6px solid #c62828;
}

.checkout-result--error .checkout-result-sync {
    background: #fdecec;
    color: #5e1f1f;
}

@media (max-width: 980px) {
    .checkout-result-intro,
    .checkout-result-shell {
        padding-left: 6%;
        padding-right: 6%;
    }
}

@media (max-width: 640px) {
    .checkout-result-page {
        padding-top: 18px;
    }

    .checkout-result-intro h1 {
        font-size: 1.95rem;
    }

    .checkout-result-card {
        padding: 18px;
    }

    .checkout-result-card h2 {
        font-size: 1.5rem;
    }

    .checkout-result-grid {
        grid-template-columns: 1fr;
    }

    .checkout-result-btn {
        width: 100%;
        text-align: center;
    }
}
