/* *,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */

:root {
    --azul: #2b3a8f;
    --azul-oscuro: #1a2660;
    --azul-claro: #3d52c4;
    --dorado: #8b7355;
    --crema: #f5f0e8;
    --blanco: #ffffff;
    --gris-claro: #f0f2f8;
    --gris-texto: #555e7a;
    --sombra: 0 4px 24px rgba(43, 58, 143, 0.12);
    --sombra-fuerte: 0 8px 40px rgba(43, 58, 143, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Exo 2", sans-serif;
    background: var(--blanco);
    color: #1a1f3a;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 38, 96, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-logo svg {
    width: 130px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--azul);
}

.nav-cta {
    background: var(--azul);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--azul-claro) !important;
    color: white !important;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e2a 0%, #1a2660 50%, #2b3a8f 100%);
    display: flex;
    align-items: center;
    padding: 100px 80px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 115, 85, 0.15) 0%,
        transparent 70%
    );
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(61, 82, 196, 0.2) 0%,
        transparent 70%
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dorado);
    border: 1px solid rgba(139, 115, 85, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--dorado);
}

.hero p {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--azul);
    font-family: "Exo 2", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    font-family: "Exo 2", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
}

.hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 22px 20px;
    backdrop-filter: blur(8px);
    transition:
        background 0.2s,
        transform 0.2s;
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.hero-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--azul-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 20px;
}

.hero-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0;
}

/* ===== MARCAS ===== */
.marcas {
    background: var(--gris-claro);
    padding: 48px 80px;
    text-align: center;
}

.marcas p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 28px;
}

.marca-badge {
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #aab;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
    cursor: default;
}

.marca-badge:hover {
    color: var(--azul);
}

/* ===== SECCIONES ===== */
section {
    padding: 100px 80px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--azul);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: #1a1f3a;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 16px;
    color: var(--gris-texto);
    line-height: 1.7;
    max-width: 500px;
}

/* ===== CATEGORÍAS ===== */
.categorias {
    background: white;
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cat-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    height: 280px;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-fuerte);
}

.cat-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.cat-card.camaras .cat-card-bg {
    background: linear-gradient(135deg, #1a2660, #2b3a8f);
}
.cat-card.redes .cat-card-bg {
    background: linear-gradient(135deg, #0d4a6b, #1a7aa8);
}
.cat-card.cables .cat-card-bg {
    background: linear-gradient(135deg, #3d2b1a, #6b4a2b);
}

.cat-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.cat-card-info h3 {
    font-size: 20px;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cat-card-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.cat-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

/* ===== PRODUCTOS ===== */
._productos {
    background: var(--gris-claro);
}

.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filtro-btn {
    font-family: "Exo 2", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(43, 58, 143, 0.2);
    background: white;
    color: #555e7a;
    cursor: pointer;
    transition: all 0.2s;
}

.filtro-btn.active,
.filtro-btn:hover {
    background: var(--azul);
    color: white;
    border-color: var(--azul);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.prod-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(43, 58, 143, 0.07);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    cursor: pointer;
}

.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-fuerte);
}

.prod-img-wrap {
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fc;
    border-radius: 14px 14px 0 0;
}
.prod-img-wrap img,
.prod-img-photo {
    max-height: 130px;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.prod-card:hover .prod-img-wrap img,
.prod-card:hover .prod-img-photo {
    transform: scale(1.08);
}

.prod-body {
    padding: 18px;
}

.prod-marca {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--azul);
    margin-bottom: 6px;
}

.prod-nombre {
    font-size: 14px;
    font-weight: 700;
    color: #1a1f3a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.prod-desc {
    font-size: 12px;
    color: var(--gris-texto);
    line-height: 1.5;
    margin-bottom: 14px;
}

.prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prod-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.prod-badge.stock {
    background: #e8f5e9;
    color: #2e7d32;
}
.prod-badge.nuevo {
    background: #e3f2fd;
    color: #1565c0;
}

.prod-btn {
    font-family: "Exo 2", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--azul);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.prod-btn:hover {
    background: var(--azul-claro);
}

/* ===== POR QUÉ LEAC ===== */
.porque {
    background: white;
}

.porque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.porque-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(43, 58, 143, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f3a;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gris-texto);
    line-height: 1.6;
}

.porque-visual {
    background: linear-gradient(135deg, #1a2660, #2b3a8f);
    border-radius: 20px;
    padding: 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.porque-visual::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(139, 115, 85, 0.2);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-num span {
    color: var(--dorado);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* ===== CONTACTO ===== */
.contacto {
    background: linear-gradient(135deg, #0a0e2a 0%, #1a2660 100%);
    color: white;
    text-align: center;
}

.contacto .section-title {
    color: white;
}
.contacto .section-sub {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 48px;
}

.contacto-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.contacto-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 28px 36px;
    min-width: 200px;
    transition: background 0.2s;
}

.contacto-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.contacto-card .icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.contacto-card h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 8px;
}
.contacto-card p {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.contacto-card:nth-child(2) {
    padding: 28px 20px;
}
.contacto-card:nth-child(2) .icon {
    transform: scale(0.25);
    top: 0;
    margin-top: -10px;
}
.contacto-card:nth-child(2) h4 {
    margin-top: -20px;
}
/* ===== FOOTER ===== */
footer {
    background: #06081a;
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}
.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s,
        transform 0.25s,
        color 0.25s;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--azul);
    color: white;
    transform: translateY(-3px);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeUp 0.7s ease both;
}
.hero-tag {
    animation-delay: 0.1s;
}
.hero h1 {
    animation-delay: 0.2s;
}
.hero p {
    animation-delay: 0.3s;
}
.hero-btns {
    animation-delay: 0.4s;
}
.hero-visual {
    animation: fadeUp 0.9s 0.3s ease both;
}

.marcas-track-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}
.marcas-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: scroll-marcas 22s linear infinite;
}
.marca-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 160px;
}
.marca-item img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(20%) opacity(0.85);
    transition:
        filter 0.3s,
        transform 0.3s;
}
.marca-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06);
}
.marcas-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-marcas {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-slides {
    position: relative;
    height: 360px;
}
.prod-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    padding: 24px;
}
.prod-slide.active {
    opacity: 1;
}
.prod-slide img {
    max-height: 260px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}
.prod-slide.active img {
    transform: scale(1.04);
}
.prod-slide-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}
.prod-slide-marca {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.prod-slide-nombre {
    font-size: 16px;
    font-weight: 700;
    color: white;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 16px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition:
        background 0.3s,
        transform 0.3s;
}
.dot.active {
    background: white;
    transform: scale(1.3);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.hero-slide.active {
    opacity: 1;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.hero-slide.active .slide-bg {
    transform: scale(1.06);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 42, 0.75) 0%,
        rgba(26, 38, 96, 0.5) 100%
    );
}
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}
.slide-prod-img {
    max-height: 240px;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.6));
    transform: translateY(10px);
    transition: transform 1s ease;
}
.hero-slide.active .slide-prod-img {
    transform: translateY(0);
}
.slide-info {
    text-align: center;
}
.slide-desc {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}
.slide-nombre {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}
.slider-dots-hero {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.sdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.sdot.sactive {
    background: white;
    transform: scale(1.3);
}

/* ===== FULLSLIDER HERO ===== */
.fullslider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}
.fslide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}
.fslide.active {
    opacity: 1;
    pointer-events: all;
}
.fslide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease;
}
.fslide.active .fslide-bg {
    transform: scale(1);
}
.fslide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 10, 35, 0.82) 0%,
        rgba(5, 10, 35, 0.45) 55%,
        rgba(5, 10, 35, 0.1) 100%
    );
}
.fslide-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    max-width: 1300px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.fslide-left {
    flex: 0 0 45%;
    z-index: 2;
    transform: translateX(-30px);
    opacity: 0;
    transition:
        transform 0.9s 0.3s ease,
        opacity 0.9s 0.3s ease;
}
.fslide.active .fslide-left {
    transform: translateX(0);
    opacity: 1;
}
.fslide-sub {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}
.fslide-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.fslide-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 380px;
}
.fslide-btn {
    display: inline-block;
    background: white;
    color: #1a2660;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}
.fslide-btn:hover {
    background: #e8eeff;
    transform: translateY(-2px);
}
.fslide-right {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transform: translateX(30px) scale(0.95);
    opacity: 0;
    transition:
        transform 0.9s 0.2s ease,
        opacity 0.9s 0.2s ease;
}
.fslide.active .fslide-right {
    transform: translateX(0) scale(1);
    opacity: 1;
}
.fslide-img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}
.fsdots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.fsdot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.fsdot.fsactive {
    background: white;
    width: 48px;
}
.fsnav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
    padding: 0;
    line-height: 1;
}
.fsnav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.fsprev {
    left: 24px;
}
.fsnext {
    right: 24px;
}

/* ===== FULLSLIDER ===== */
.fullslider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}
.fslides-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}
.fslide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.fslide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.fslide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 10, 35, 0.82) 0%,
        rgba(5, 10, 35, 0.45) 55%,
        rgba(5, 10, 35, 0.08) 100%
    );
}
.fslide-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
}
.fslide-left {
    flex: 0 0 45%;
    z-index: 2;
}
.fslide-sub {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}
.fslide-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.fslide-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 380px;
}
.fslide-btn {
    display: inline-block;
    background: white;
    color: #1a2660;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}
.fslide-btn:hover {
    background: #e8eeff;
    transform: translateY(-2px);
}
.fslide-right {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.fslide-img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}
.fsdots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.fsdot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.fsdot.fsactive {
    background: white;
    width: 48px;
}
.fsnav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
    padding: 0;
}
.fsnav:hover {
    background: rgba(255, 255, 255, 0.28);
}
.fsprev {
    left: 24px;
}
.fsnext {
    right: 24px;
}

.gt-header {
    font-size: 13px;
    font-weight: 800;
    color: #2b3a8f;
    margin-bottom: 4px;
}
.gt-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.3;
    max-width: 220px;
}
.gt-variants {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.gt-variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
}
.gt-variant img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: #f0f2f8;
    padding: 2px;
}
.gt-variant span {
    font-size: 8px;
    font-weight: 700;
    color: #2b3a8f;
    margin-top: 2px;
    text-align: center;
}
#groupTooltip3d {
    position: absolute;
    display: none;
    z-index: 30;
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -110%);
    pointer-events: none;
    max-width: 260px;
}

.amb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.amb-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(43, 58, 143, 0.1);
    border: 1px solid rgba(43, 58, 143, 0.08);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.amb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 58, 143, 0.18);
}
.amb-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4fb, #e8edf8);
    border-bottom: 1px solid rgba(43, 58, 143, 0.08);
}
.amb-emoji {
    font-size: 32px;
    flex-shrink: 0;
}
.amb-card-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a1f3a;
    margin-bottom: 2px;
}
.amb-card-header p {
    font-size: 12px;
    color: #667;
}
.amb-cams-list {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.amb-cam {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
}
.amb-cam:hover {
    background: #f5f7fb;
}
.amb-cam img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f0f2f8;
    flex-shrink: 0;
}
.amb-cam-info {
    display: flex;
    flex-direction: column;
}
.amb-cam-info strong {
    font-size: 13px;
    color: #2b3a8f;
    font-weight: 700;
}
.amb-cam-info span {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .amb-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
    }
}
@media (max-width: 600px) {
    .amb-grid {
        grid-template-columns: 1fr;
    }
}

.casa-ilustrada-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: start;
}
.casa-ilustrada-img {
    background: linear-gradient(135deg, #e8edf8, #f4f6fb);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(43, 58, 143, 0.1);
}
.casa-svg-ilustrada {
    width: 100%;
    height: auto;
    display: block;
}
.zona-room {
    fill: rgba(43, 58, 143, 0.04);
    stroke: rgba(43, 58, 143, 0.15);
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.2s;
}
.zona-room:hover {
    fill: rgba(43, 58, 143, 0.15);
}
.zona-room.activa {
    fill: rgba(43, 58, 143, 0.25);
    stroke: #2b3a8f;
    stroke-width: 2;
}
.zona-label {
    font-size: 13px;
    font-weight: 700;
    fill: #1a1f3a;
    text-anchor: middle;
    pointer-events: none;
    user-select: none;
}

.casa-ilustrada-panel {
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(43, 58, 143, 0.1);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.zona-panel-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #aab;
    gap: 12px;
    padding: 40px 20px;
}
.zona-panel-empty p {
    font-size: 13px;
    line-height: 1.5;
}
.zona-panel-prods {
    padding: 8px;
}
.zona-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f4fb, #e8edf8);
    border-radius: 14px;
    margin-bottom: 12px;
}
.zona-panel-emoji {
    font-size: 28px;
}
.zona-panel-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a1f3a;
}
.amb-cams-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 8px 8px;
}
.amb-cam {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
}
.amb-cam:hover {
    background: #f5f7fb;
}
.amb-cam img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    background: #f0f2f8;
    flex-shrink: 0;
}
.amb-cam-info {
    display: flex;
    flex-direction: column;
}
.amb-cam-tipo {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.amb-cam-info strong {
    font-size: 13px;
    color: #1a1f3a;
    font-weight: 700;
    margin: 2px 0;
}
.amb-cam-info span:last-child {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

.leyenda-tipos {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    font-size: 12px;
    color: #667;
    font-weight: 600;
}
.leyenda-tipos .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .casa-ilustrada-wrap {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* ===== ANIMACIONES DE SCROLL ===== */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}
.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BOTON VOLVER ARRIBA ===== */
#btn-volver-arriba {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--azul);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(43, 58, 143, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.3s,
        transform 0.3s,
        background 0.2s;
}
#btn-volver-arriba.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
#btn-volver-arriba:hover {
    background: var(--azul-claro);
}

.pasos-section {
    background: #f0f2f8;
    padding-bottom: 70px;
}
.pasos-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    flex-wrap: wrap;
}
.paso-card {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: white;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(43, 58, 143, 0.1);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.paso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(43, 58, 143, 0.18);
}
.paso-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--azul);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(43, 58, 143, 0.4);
}
.paso-img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    margin: 16px 0;
}
.paso-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1a1f3a;
    margin-bottom: 10px;
}
.paso-card p {
    font-size: 13px;
    color: #667;
    line-height: 1.6;
}
.paso-flecha {
    display: flex;
    align-items: center;
    font-size: 28px;
    color: var(--dorado);
    font-weight: 300;
    align-self: center;
}
.pasos-cta {
    text-align: center;
    margin-top: 48px;
}
.pasos-cta p {
    font-size: 15px;
    color: #445;
    margin-bottom: 18px;
    font-weight: 600;
}
@media (max-width: 900px) {
    .pasos-container {
        flex-direction: column;
        align-items: center;
    }
    .paso-flecha {
        transform: rotate(90deg);
    }
}

/* ===== HERO TRUST BADGES ===== */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.trust-item strong {
    font-size: 22px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1;
}
.trust-item span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
}
.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
}

/* ===== MEJORAS TIPOGRAFICAS GENERALES ===== */
.hero h1 {
    line-height: 1.08;
}
.hero p {
    line-height: 1.75;
}
.section-title {
    line-height: 1.15;
}
.section-sub {
    line-height: 1.7;
}

/* ===== MICROINTERACCIONES ===== */
.btn-primary,
.btn-outline {
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s,
        background 0.2s;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}
.btn-outline:hover {
    transform: translateY(-3px);
}

.nav-links a {
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--azul);
    transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.hero-card {
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.25s,
        box-shadow 0.3s;
}
.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.prod-card,
.cat-card,
.feature-item,
.contacto-card {
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s;
}
.marca-badge {
    transition:
        color 0.25s,
        transform 0.25s;
}
.marca-badge:hover {
    transform: translateY(-2px);
}

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s;
    text-decoration: none;
    transform: scale(0.8);
}
.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

/* ===== ICONO USUARIO NAVBAR ===== */
.nav-user-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        transform 0.2s;
    flex-shrink: 0;
    transform: scale(0.7);
}
.nav-user-btn:hover {
    background: var(--azul);
    transform: scale(1.08);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 30, 0.7);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(4px);
}
.modal-overlay.visible {
    display: block;
}
.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 1001;
    background: white;
    border-radius: 20px;
    width: 360px;
    max-width: 94vw;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.25s;
}
.modal-box.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}
.modal-close {
    position: absolute;
    top: 5px;
    right: 8px;
    background: #f0f2f8;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: #445;
    line-height: 1;
    transition: background 0.2s;
}
.modal-close:hover {
    background: #e0e4ef;
}
.modal-tabs {
    display: flex;
    gap: 4px;
    background: #f0f2f8;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}
.modal-tab {
    flex: 1;
    padding: 9px;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #778;
    cursor: pointer;
    transition: all 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-tab.activo {
    background: white;
    color: var(--azul);
    box-shadow: 0 2px 8px rgba(43, 58, 143, 0.12);
}
.modal-desc {
    font-size: 13px;
    color: #889;
    text-align: center;
    margin-bottom: 18px;
}
.modal-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e4ef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    color: #1a1f3a;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.2s;
}
.modal-input:focus {
    border-color: var(--azul);
}
.modal-submit {
    width: 100%;
    padding: 13px;
    background: var(--azul);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition:
        background 0.2s,
        transform 0.2s;
}
.modal-submit:hover {
    background: #1e2d7d;
    transform: translateY(-1px);
}
.modal-footer-txt {
    text-align: center;
    font-size: 12px;
    color: #889;
    margin-top: 14px;
}
.modal-footer-txt a {
    color: var(--azul);
    cursor: pointer;
    font-weight: 700;
}

.prod-marca-badge {
    display: inline-block;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.prod-nombre {
    font-size: 15px;
    font-weight: 800;
    color: #1a1f3a;
    margin-bottom: 4px;
}
.prod-modelo {
    font-size: 12px;
    color: #889;
    margin-bottom: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    nav {
        padding: 0 20px;
    }
    /*.nav-links {
        display: none;         
    }*/

    .nav-cont {
        display: none;
    }
    .nav-noso {
        display: none;
    }
    .nav-pavi {
        display: none;
    }
    section,
    .hero,
    .marcas,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero-grid,
    .porque-grid {
        grid-template-columns: 1fr;
    }
    .cat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .productos-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-visual {
        display: none;
    }
}

@media (max-width: 600px) {
    .cat-grid,
    .productos-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CASA 3D ===== */
.casa-section {
    background: #f0f2f8;
    padding: 0 0 80px 0;
}
.casa-header-pro {
    background: linear-gradient(135deg, #0a1628 0%, #16284a 55%, #2b3a8f 100%);
    padding: 56px 40px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}
.casa-header-pro::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 115, 85, 0.18) 0%,
        transparent 70%
    );
}
.casa-header-pro::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(61, 82, 196, 0.22) 0%,
        transparent 70%
    );
}
.casa-header-logo {
    position: absolute;
    top: 24px;
    left: 40px;
    z-index: 2;
}
.section-tag-pro {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #8fc4ff;
    margin-bottom: 14px;
}
.casa-title-pro {
    position: relative;
    z-index: 2;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
    margin-top: 8px;
    letter-spacing: -0.5px;
}
.casa-title-pro .dash {
    color: #8b7355;
}
.casa-sub-pro {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}
.casa-watermark-logo {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 15;
    opacity: 0.85;
    pointer-events: none;
}
.casa-header {
    text-align: center;
    margin-bottom: 28px;
}
.casa-header .section-sub {
    margin: 0 auto;
}
.casa-container {
    max-width: 1100px;
    margin: 0 auto;
}

#canvas-container-3d {
    width: 100%;
    height: 560px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(43, 58, 143, 0.18);
    background: #dde3f0;
}
.marca-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 0 40px;
}
.casa-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}
.marca-tab {
    font-family: "Exo 2", sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 24px;
    border: 2px solid rgba(43, 58, 143, 0.2);
    background: white;
    color: #555e7a;
    cursor: pointer;
    transition: all 0.2s;
}
.marca-tab:hover {
    border-color: #2b3a8f;
}
.marca-tab.activo {
    background: #2b3a8f;
    color: white;
    border-color: #2b3a8f;
}
.canvas-container-3d-marca {
    width: 100%;
    height: 560px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(43, 58, 143, 0.18);
    background: #dde3f0;
    display: none;
}
.canvas-container-3d-marca.activo {
    display: block;
}
.groupTooltip3d-marca {
    position: absolute;
    display: none;
    z-index: 30;
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -110%);
    pointer-events: none;
    max-width: 260px;
}
#canvas-container-3d canvas {
    display: block;
    cursor: grab;
}
#canvas-container-3d canvas:active {
    cursor: grabbing;
}

.hud3d {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 10;
    max-width: 85%;
}
.hud-btn3d {
    font-family: "Exo 2", sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(20, 25, 50, 0.6);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}
.hud-btn3d:hover,
.hud-btn3d.activo {
    background: #2b3a8f;
    border-color: #2b3a8f;
}

.hud-controls3d {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hud-controls3d button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(20, 25, 50, 0.6);
    color: white;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.hud-controls3d button:hover {
    background: #2b3a8f;
}

.hud-hint3d {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;
    background: rgba(20, 25, 50, 0.6);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 11px;
    backdrop-filter: blur(8px);
}

.prod-tooltip3d {
    position: absolute;
    display: none;
    z-index: 30;
    background: white;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    align-items: center;
    width: 260px;
    gap: 14px;
    transform: translate(-50%, -120%);
    pointer-events: none;
}
.prod-tooltip3d img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}
.pt3-info span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2b3a8f;
    display: block;
}
.pt3-info strong {
    font-size: 14px;
    color: #1a1f3a;
    display: block;
    margin-top: 3px;
}

.loading-3d {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e2a;
    color: white;
    font-size: 14px;
    z-index: 50;
    flex-direction: column;
    gap: 12px;
}
.spinner3d {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #8b7355;
    border-radius: 50%;
    animation: spin3d 0.8s linear infinite;
}
@keyframes spin3d {
    to {
        transform: rotate(360deg);
    }
}
.error-3d {
    position: absolute;
    inset: 0;
    background: #c0392b;
    color: white;
    padding: 20px;
    font-size: 13px;
    z-index: 60;
    display: none;
    overflow: auto;
    white-space: pre-wrap;
}
