/* ===== PROYECTOS DESTACADOS (carrusel reubicado) ===== */
.seccion-proyectos {
    background: var(--sic-dark);
    padding: 70px 0 80px;
}
.seccion-proyectos .section-title {
    color: #fff !important;
}
.seccion-proyectos .seccion-label-orange {
    color: var(--sic-orange);
}
.seccion-proyectos .section-title::after {
    background: linear-gradient(90deg, var(--sic-blue), var(--sic-orange));
}
.proyectos-carrusel-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ===== CARRUSEL ===== */
.seccion-carrusel {
    position: relative;
    overflow: hidden;
}
.carousel-sic-img {
    height: 480px;
    object-fit: cover;
    display: block;
    width: 100%;
}
/* Gradiente de abajo hacia arriba para que el caption resalte */
.carousel-sic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    pointer-events: none;
}
/* Caption posicionado en la parte inferior */
.carousel-sic-caption {
    position: absolute;
    bottom: 80px;
    left: 60px;
    right: 60px;
    z-index: 3;
}
.carousel-sic-badge {
    display: inline-block;
    background: var(--sic-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.carousel-sic-titulo {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.carousel-sic-desc {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 560px;
}
/* Botones prev/next rediseñados */
.carousel-sic-btn {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3) !important;
    transition: background 0.25s ease !important;
    opacity: 1 !important;
}
.carousel-sic-btn:hover {
    background: var(--sic-orange) !important;
    border-color: var(--sic-orange) !important;
}
.carousel-sic-btn i {
    font-size: 1.3rem;
    color: white;
}
.carousel-control-prev.carousel-sic-btn { left: 20px; }
.carousel-control-next.carousel-sic-btn { right: 20px; }
/* Paginador / indicadores */
.carousel-indicators-sic {
    bottom: 24px !important;
    gap: 6px;
    margin: 0 !important;
    justify-content: center;
}
.carousel-indicators-sic button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: none !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
    opacity: 1 !important;
}
.carousel-indicators-sic button.active {
    background-color: var(--sic-orange) !important;
    transform: scale(1.35);
}
@media (max-width: 768px) {
    .carousel-sic-img { height: 260px; }
    .carousel-sic-caption { bottom: 40px; left: 20px; right: 20px; }
    .carousel-sic-titulo { font-size: 1.4rem; }
    .carousel-sic-desc { font-size: 0.9rem; }
    .carousel-sic-btn { width: 38px !important; height: 38px !important; }
    .seccion-proyectos { padding: 50px 0 60px; }
    .proyectos-carrusel-wrap { border-radius: 10px; }
}

/* ===== VARIABLES DE MARCA ===== */
:root {
    --sic-blue:         #5aa6bd;
    --sic-orange:       #ed7d31;
    --sic-blue-light:   #edf6fa;
    --sic-orange-light: #fef6f0;
    --sic-dark:         #1e2d3d;
}

/* ===== ANIMACIONES DE ENTRADA ===== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ===== TÍTULO DE SECCIÓN ===== */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 0;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--sic-blue), var(--sic-orange));
    border-radius: 2px;
}

/* ===== NAVBAR ===== */
.navbar-sic {
    background: var(--sic-dark) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    transition: box-shadow 0.35s ease;
    padding: 10px 0;
}
.navbar-sic.scrolled {
    box-shadow: 0 4px 28px rgba(0,0,0,0.28) !important;
    background: rgba(30,45,61,0.97) !important;
    backdrop-filter: blur(14px);
}
.navbar-sic .navbar-toggler:focus { box-shadow: none; }

.nav-link-sic {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.68) !important;
    padding: 8px 10px !important;
    white-space: nowrap;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}
.nav-link-sic::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--sic-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link-sic:hover { color: #fff !important; }
.nav-link-sic:hover::after { width: 55%; }

.nav-icon-sic {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.68);
    font-size: 1.35rem;
    padding: 6px 10px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}
.nav-icon-sic:hover { color: #fff; }

/* Navbar mobile collapse */
@media (max-width: 991px) {
    .navbar-sic .navbar-collapse {
        background: var(--sic-dark);
        border-top: 1px solid rgba(255,255,255,0.06);
        padding: 10px 0 16px;
        margin-top: 8px;
    }
    .nav-link-sic::after { display: none; }
}

/* ===== SECCIÓN EMPRESA ===== */
.seccion-empresa {
    background: #f4f7fa;
    padding: 70px 0 70px;
}
.empresa-card-img {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 24px rgba(90,166,189,0.12);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.empresa-card-texto {
    border-radius: 14px;
    background: white;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    height: 100%;
    padding: 36px;
    border-left: 4px solid var(--sic-blue);
}
.empresa-card-texto p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #444;
}
.stats-row {
    margin-top: 56px;
}
.stat-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 4px 18px rgba(90,166,189,0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--sic-blue);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(90,166,189,0.22);
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sic-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.4rem;
    color: var(--sic-blue);
}
.stat-numero {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sic-blue);
    line-height: 1;
}
.stat-numero span {
    font-size: 1.3rem;
    color: var(--sic-orange);
}
.stat-label {
    font-size: 0.82rem;
    color: #6c757d;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== SECCIÓN SERVICIOS ===== */
.seccion-servicios {
    background: #ffffff;
    padding: 70px 0 50px;
}
.card-servicio {
    border: none !important;
    border-radius: 16px !important;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: white;
}
.card-servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(90,166,189,0.22) !important;
}
.card-servicio .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.card-servicio .img-wrap img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.card-servicio:hover .img-wrap img {
    transform: scale(1.06);
}
.card-servicio .servicio-badge {
    position: absolute;
    top: 187px;
    left: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    z-index: 2;
}
.card-servicio .card-body {
    padding: 32px 22px 22px !important;
}
.card-servicio .card-title {
    font-size: 1.05rem;
    color: var(--sic-dark);
}
.card-servicio .card-text {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.7;
}

/* ===== SECCIÓN CONTACTO ===== */
.seccion-contacto {
    background: #f4f7fa;
    padding: 70px 0 60px;
}
.contacto-info-panel {
    background: var(--sic-dark);
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    color: white;
}
.contacto-info-panel h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}
.contacto-info-panel p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    margin-bottom: 28px;
}
.ctt-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.ctt-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: rgba(90,166,189,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--sic-blue);
}
.ctt-item-texto strong {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.ctt-item-texto span {
    font-size: 0.95rem;
    color: white;
}
.contacto-form-panel {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.07);
    height: 100%;
}

/* ===== SWITCH SERVICIO / PRODUCTO (formulario de ventas) ===== */
.ctt-switch-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.ctt-switch-label {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: #9aa7b5;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}
.ctt-switch-label.active {
    color: var(--sic-dark, #1e2d3d);
}
.ctt-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex: none;
    cursor: pointer;
}
.ctt-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ctt-switch-track {
    position: absolute;
    inset: 0;
    background: var(--sic-blue);
    border-radius: 999px;
    transition: background 0.25s ease;
}
.ctt-switch-track::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.ctt-switch input:checked + .ctt-switch-track {
    background: var(--sic-orange);
}
.ctt-switch input:checked + .ctt-switch-track::before {
    transform: translateX(20px);
}
.ctt-switch input:focus-visible + .ctt-switch-track {
    outline: 2px solid var(--sic-blue);
    outline-offset: 2px;
}

/* ===== FOOTER ===== */
.footer-sic {
    background: var(--sic-dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
.footer-sic h5, .footer-sic h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}
.footer-sic p {
    font-size: 0.92rem;
    line-height: 1.75;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--sic-orange);
}
.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-social-btn:hover {
    background: var(--sic-orange);
    color: white;
    transform: translateY(-3px);
}
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 0;
    margin-top: 50px;
    font-size: 0.85rem;
}
.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: var(--sic-orange);
}
.footer-divider {
    border-color: rgba(255,255,255,0.08) !important;
    margin: 0 0 20px;
}

/* ===== POPUP MI CUENTA — mismo lenguaje visual que .menu-sub del sistema ===== */
.popup-cuenta {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.13);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 6px;
    z-index: 1050;
}
.popup-cuenta.activo {
    display: block;
}
.popup-cuenta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 4px;
}
.popup-cuenta-item {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--sic-dark);
    text-decoration: none;
    transition: background .2s;
}
.popup-cuenta-item:hover {
    background: var(--sic-blue-light);
    color: var(--sic-dark);
}
.popup-cuenta-item.text-danger:hover {
    background: #fff0f0;
}

/* ===== BADGE CARRITO ===== */
.badge-carrito {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 0 3px;
}

/* ===== SECCIÓN CATÁLOGO (compacto) ===== */
.seccion-catalogo {
    background: var(--sic-dark);
    background-image: radial-gradient(ellipse at 80% 20%, rgba(90,166,189,0.08) 0%, transparent 50%);
    padding: 80px 0;
}
.seccion-catalogo .section-title { color: #fff !important; }
.seccion-catalogo .section-title::after {
    background: linear-gradient(90deg, var(--sic-blue), var(--sic-orange));
}
.catalogo-cat-item {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.25s ease, transform 0.3s ease, border-color 0.3s ease;
}
.catalogo-cat-item:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-5px);
    border-color: rgba(90,166,189,0.35);
}
.catalogo-cat-img {
    height: 160px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}
.catalogo-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.catalogo-cat-item:hover .catalogo-cat-img img { transform: scale(1.07); }
.catalogo-cat-nombre {
    display: block;
    text-align: center;
    color: rgba(255,255,255,0.78);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    padding: 12px 10px;
    text-transform: uppercase;
}
@media (max-width: 576px) {
    .catalogo-cat-img { height: 120px; }
}

/* ===== TIPOGRAFÍA — DM SERIF DISPLAY ===== */
body {
    font-family: 'DM Sans', system-ui, sans-serif;
}
.seccion-empresa .display-5,
.seccion-servicios .display-5,
.seccion-contacto .display-5,
h1.display-5, h2.display-5 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-weight: 400 !important;
}
.section-title {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-weight: 400 !important;
}

/* ===== HERO SECTION ===== */
.seccion-hero {
    background: var(--sic-dark);
    background-image:
        radial-gradient(ellipse at 15% 60%, rgba(90,166,189,0.18) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 10%, rgba(237,125,49,0.13) 0%, transparent 46%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image:
        linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hero-watermark {
    position: absolute;
    right: -60px;
    bottom: -60px;
    opacity: 0.04;
    width: 400px;
    height: 400px;
    background-repeat: no-repeat;
    background-size: contain;
    filter: brightness(10);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    background: rgba(90,166,189,0.14);
    border: 1px solid rgba(90,166,189,0.24);
    color: var(--sic-blue);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.hero-titulo {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 3.25rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.14;
    margin-bottom: 20px;
}
.hero-titulo em {
    color: var(--sic-orange);
    font-style: italic;
}
.hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 440px;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: var(--sic-orange);
    color: #fff;
    border: 1px solid var(--sic-orange);
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.hero-btn-primary:hover { background: #d46e24; color: #fff; }
.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 7px;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.hero-btn-ghost:hover { background: rgba(255,255,255,0.13); color: rgba(255,255,255,0.9); }
.hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 300px;
}
.hero-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 18px;
}
.hero-stat-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
    line-height: 1.45;
}

/* ===== TRUST INDICATORS ===== */
.seccion-confianza {
    background: #f4f7fa;
    padding: 76px 0;
}
.confianza-card {
    background: var(--sic-blue-light);
    border-radius: 14px;
    padding: 28px 26px;
    border: 1px solid #e4e9f0;
    height: 100%;
}
.confianza-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.confianza-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sic-dark);
    margin-bottom: 8px;
}
.confianza-card p {
    font-size: 0.875rem;
    color: #7a8a9a;
    line-height: 1.7;
    margin: 0;
}
.seccion-label-orange {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sic-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}
.seccion-label-blue {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sic-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

/* ===== CTA SECTION ===== */
.seccion-cta {
    background: #ffffff;
    padding: 80px 0;
}
.cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sic-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.6rem;
    color: var(--sic-blue);
}
.cta-titulo {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--sic-dark);
    margin-bottom: 14px;
}
.cta-desc {
    color: #7a8a9a;
    font-size: 0.975rem;
    line-height: 1.78;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contacto-info-panel { margin-bottom: 24px; }
    .seccion-empresa, .seccion-servicios,
    .seccion-productos, .seccion-contacto { padding: 50px 0 36px; }
    .hero-titulo { font-size: 2.2rem; }
    .hero-stat-grid { display: none; }
    .seccion-hero { padding: 60px 0; }
    .seccion-confianza, .seccion-cta { padding: 50px 0; }
}

/* ===== CONTROLES DEL CARRUSEL ===== */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

/* ===== AVISOS (alerta): clases propias porque Bootstrap oculta .toast ===== */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.ds-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid;
    font-size: 0.875rem;
    min-width: 260px;
    max-width: 380px;
    box-shadow: 0 4px 16px rgba(30,45,61,0.15);
    pointer-events: auto;
    cursor: pointer;
    background: #fff;
}
.ds-toast.ds-toast-out { opacity: 0; transition: opacity 0.2s ease; animation: ds-toast-fin 0.2s forwards; }
@keyframes ds-toast-fin { to { opacity: 0; } }
.ds-toast-success { background: #ebf5ee; border-color: #5a9b6f; color: #467d58; }
.ds-toast-error   { background: #fbeceb; border-color: #cf5a5a; color: #b14545; }
.ds-toast-warning { background: #fbf3e1; border-color: #c89320; color: #a87a14; }
.ds-toast-info    { background: var(--sic-blue-light); border-color: var(--sic-blue); color: var(--sic-dark); }

/* ===== MINI CARRITO ===== */
.mini-carrito { position: relative; }
.mini-carrito-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: rgba(255,255,255,0.68);
    cursor: pointer;
    transition: color 0.2s ease;
}
.mini-carrito-btn:hover { color: #fff; }
.mini-carrito-btn svg { width: 22px; height: 22px; }
.mini-carrito-cuenta {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sic-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.mini-carrito-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #fff;
    color: var(--sic-dark);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.18);
    z-index: 1060;
}
.mini-carrito-panel.abierto { display: block; }
.mini-carrito-titulo { padding: 14px 16px; font-weight: 600; border-bottom: 1px solid #e4e9f0; }
.mini-carrito-lista { max-height: 260px; overflow-y: auto; }
.mini-carrito-item { display: flex; gap: 12px; align-items: center; padding: 10px 16px; font-size: 0.875rem; }
.mini-carrito-img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #f0f3f7; }
.mini-carrito-info { flex: 1; min-width: 0; }
.mini-carrito-nombre { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-carrito-meta { font-size: 0.78rem; color: #7a8a9a; }
.mini-carrito-precio { white-space: nowrap; font-weight: 500; }
.mini-carrito-resumen { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #e4e9f0; font-weight: 600; }
.mini-carrito-nota { padding: 0 16px 10px; font-size: 0.78rem; color: #7a8a9a; }
.mini-carrito-vacio { padding: 24px 16px; text-align: center; font-size: 0.875rem; color: #7a8a9a; }
.mini-carrito-ir {
    display: block;
    margin: 0 16px 16px;
    padding: 9px 12px;
    text-align: center;
    border-radius: 7px;
    background: var(--sic-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.mini-carrito-ir:hover { background: #d46e24; color: #fff; }
@media (max-width: 991px) {
    .mini-carrito-panel { left: 0; right: auto; }
}

.hero-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* Botón de iniciar sesión en la barra */
.nav-btn-sic {
    padding: 7px 14px;
    font-size: 0.875rem;
    white-space: nowrap;
}
