@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');
/* ===============================
   VARIABLES Y RESET GENERAL
=============================== */
:root {
    
    --color-primary: #DC0000;
    --color-primary-dark: #B30000;
    --color-primary-light: #FF2E2E;
    --color-secondary: #1a1a1a;
    --color-accent: #000000;
    --color-white: #FFFFFF;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F4F4F5;
    --color-gray-200: #E4E4E7;
    --color-gray-300: #D4D4D8;
    --color-gray-500: #71717A;
    --color-gray-700: #3F3F46;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(220,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-red: 0 10px 25px rgba(220, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #DC0000 0%, #B30000 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #FFF5F5 50%, #ffffff 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #FAFAFA 100%);
    --gradient-btn: linear-gradient(135deg, #FF2E2E 0%, #DC0000 50%, #B30000 100%);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-secondary);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.text-red {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.text-red::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0.3);
    transform-origin: left;
    animation: underlineGrow 2s ease forwards;
}

@keyframes underlineGrow {
    to { transform: scaleX(1); }
}

/* ===============================
   BOTONES GENERALES
=============================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--color-white);
    box-shadow: var(--shadow-red);
    background-size: 200% 200%;
    animation: btnShine 4s ease infinite;
}

@keyframes btnShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(220, 0, 0, 0.35);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    font-size: 14px;
    padding: 12px 24px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* ===============================
   HEADER
=============================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--color-gray-100);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-primary);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: none;
    align-items: center;
    gap: 12px;
    animation: fadeInDown 0.6s ease;
}

.logo-text i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(220,0,0,0.3));
    animation: boltPulse 2s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-title h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.logo-title p {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul li a {
    display: block;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--color-gray-700);
    border-radius: 50px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu ul li a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    color: var(--color-primary);
}

.nav-menu ul li a:hover::before {
    width: 60%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--color-primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--color-gray-50);
    cursor: pointer;
}

.menu-toggle:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ===============================
   HERO / PORTADA
=============================== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 70px 28px 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 12s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220,0,0,0.15), transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(179,0,0,0.12), transparent 70%);
    bottom: -100px;
    left: -80px;
    animation-delay: -4s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,46,46,0.1), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(220, 0, 0, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 13px;
    border-radius: 50px;
    border: 1px solid rgba(220, 0, 0, 0.2);
    margin-bottom: 24px;
    animation: badgeBounce 3s ease-in-out infinite;
}

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

.hero-badge i {
    color: #F59E0B;
}

.hero-text h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-accent);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-text p {
    font-size: 17px;
    color: var(--color-gray-700);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 480px;
}

.stat {
    text-align: center;
    padding: 18px 12px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat:hover::before { transform: scaleY(1); }

.product-card-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.stat p {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-500);
    margin: 0;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image > img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.15;
    transform: rotate(4deg);
    z-index: 1;
    animation: rotateSlow 10s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(4deg); }
    50% { transform: rotate(-4deg); }
    100% { transform: rotate(4deg); }
}

.hero-image > img:hover {
    transform: scale(1.02) rotate(-1deg);
}

.hero-card-float {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--color-white);
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
    border-left: 4px solid var(--color-primary);
}

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

.hero-card-float i {
    font-size: 30px;
    color: var(--color-primary);
    background: rgba(220, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
}

.hero-card-float h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
}

.hero-card-float p {
    font-size: 12px;
    color: var(--color-gray-500);
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   SECTION HEADERS
=============================== */
.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-subtitle {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(220, 0, 0, 0.08);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin: 0 auto 22px;
    position: relative;
}

.section-line::before,
.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-line::before { left: -18px; }
.section-line::after { right: -18px; }

.section-desc {
    font-size: 16px;
    color: var(--color-gray-500);
    line-height: 1.7;
}



/* ===============================
   ABOUT / NOSOTROS
=============================== */

.about {
    padding: 100px 28px;
    background: var(--color-white);
    position: relative;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    min-width: 0;
}

/* ===============================
   TEXTO NOSOTROS
=============================== */

.about-text {
    min-width: 0;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text > p {
    color: var(--color-gray-700);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.feature-item:hover {
    background: var(--color-white);
    border-left-color: var(--color-primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

/* ===============================
   CARACTERÍSTICAS
=============================== */

.feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(220, 0, 0, 0.25);
}

.feature-item span {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-gray-700);
}

/* ===============================
   CONTENEDOR DE IMAGEN / VIDEO
=============================== */

.about-image {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* IMAGEN ORIGINAL */

.about-image > img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: var(--transition);
}

.about-image > img:hover {
    transform: scale(1.03);
}

/* ===============================
   VIDEO EMPRESARIAL
=============================== */

.about-image.about-video {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 22px;
    background: #111111;
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-xl);
    box-sizing: border-box;
    overflow: visible;
}

/* MARCO DEL VIDEO */

.about-video .video-wrapper {
    position: relative;

    width: 100%;
    max-width: 340px;

    aspect-ratio: 9 / 16;
    height: auto;

    overflow: hidden;
    background: #000000;

    border-radius: 16px;
}

/* REPRODUCTOR YOUTUBE */

.about-video .video-wrapper iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;
    border: 0;
    margin: 0;
    padding: 0;

    background: #000000;
}

/* ===============================
   DECORACIÓN DEL CONTENEDOR
=============================== */

.about-image:not(.about-video)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    border: 5px solid var(--color-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

/* ===============================
   BADGE EMPRESARIAL
=============================== */

.about-badge {
    position: absolute;
    top: 30px;
    right: -15px;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);

    display: flex;
    align-items: center;
    gap: 12px;

    z-index: 5;
}

.about-badge i {
    font-size: 28px;
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.about-badge span {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-secondary);
    max-width: 130px;
    line-height: 1.3;
}

/* BADGE SOBRE EL VIDEO */

.about-video .about-badge {
    top: auto;
    right: auto;
    bottom: 35px;
    left: 35px;
}

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

@media (max-width: 992px) {

    .about-content {
        gap: 40px;
    }

    .about-video {
        padding: 18px;
    }

}

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

@media (max-width: 768px) {

    .about {
        padding: 65px 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h3 {
        font-size: 25px;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-image.about-video {
        width: 100%;
        padding: 14px;
    }

    .about-video .video-wrapper {
        max-width: 290px;
    }

    .about-video .about-badge {
        bottom: 24px;
        left: 22px;
    }

    .about-badge {
        right: 5px;
        top: 15px;
    }

}

/* ===============================
   CELULARES PEQUEÑOS
=============================== */

@media (max-width: 480px) {

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-video .video-wrapper {
        max-width: 260px;
    }

}


/* =========================================================
   CATÁLOGO
========================================================= */

.catalog {
    padding: 100px 28px;
    background: var(--color-gray-50);
    position: relative;
}

.catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.catalog-grid {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(380px, 1fr));

    gap: 34px;
}


/* =========================================================
   TARJETAS DE PRODUCTO
========================================================= */

.product-card {
    background: var(--gradient-card);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-md);

    overflow: hidden;

    transition: var(--transition);

    border: 1px solid var(--color-gray-200);

    position: relative;

    animation: cardFadeIn 0.8s ease backwards;
}

.product-card::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 0;

    background: var(--gradient-primary);

    transition: var(--transition);

    z-index: 0;
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 50px -12px rgba(220, 0, 0, 0.18);

    border-color: transparent;
}

.product-card:hover::before {
    height: 5px;
}


/* =========================================================
   ANIMACIÓN DE ENTRADA DE LAS TARJETAS
========================================================= */

@keyframes cardFadeIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.15s;
}

.product-card:nth-child(4) {
    animation-delay: 0.2s;
}

.product-card:nth-child(5) {
    animation-delay: 0.25s;
}

.product-card:nth-child(6) {
    animation-delay: 0.3s;
}

.product-card:nth-child(7) {
    animation-delay: 0.35s;
}

.product-card:nth-child(8) {
    animation-delay: 0.4s;
}


/* =========================================================
   ENCABEZADO DE CATEGORÍA
========================================================= */

.product-card-header {
    padding: 22px 24px 16px;

    display: flex;

    align-items: center;

    gap: 16px;

    border-bottom: 1px solid var(--color-gray-100);

    background: var(--color-white);

    position: relative;

    z-index: 1;
}

.product-number {
    font-size: 36px;

    font-weight: 900;

    line-height: 1;

    background: var(--gradient-primary);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    opacity: 0.6;
}

.product-card-header h3 {
    font-size: 18px;

    font-weight: 700;

    color: var(--color-secondary);

    line-height: 1.2;
}















/* =========================================================
   CARRUSEL
   ESTÁTICO
   SOLO CAMBIA AL HACER CLIC
========================================================= */

.carousel {
    position: relative;

    padding: 24px 24px 70px;

    background: var(--color-white);
}


/* =========================================================
   ÁREA DEL CARRUSEL
========================================================= */

.carousel-track {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    border-radius: var(--radius-md);
}


/* =========================================================
   DIAPOSITIVAS
========================================================= */

.carousel-slide {
    position: absolute;

    inset: 0;

    display: none;

    flex-direction: column;

    opacity: 1;

    visibility: visible;

    /*
       IMPORTANTE:
       No hay desplazamiento
    */
    transform: none !important;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   DIAPOSITIVA ACTIVA
========================================================= */

.carousel-slide.active {
    position: relative;

    display: flex;

    opacity: 1;

    visibility: visible;

    transform: none !important;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   ELIMINAR DESLIZAMIENTO
========================================================= */

.carousel-slide.prev,
.carousel-slide.next {
    transform: none !important;

    animation: none !important;

    transition: none !important;
}


/* =========================================================
   IMAGEN CUADRADA
========================================================= */

.slide-img-wrapper {
    width: 100%;

    /*
       CUADRADO PERFECTO
    */
    aspect-ratio: 1 / 1;

    border-radius: var(--radius-md);

    overflow: hidden;

    background: var(--color-gray-50);

    position: relative;

    margin-bottom: 18px;

    box-shadow: var(--shadow-sm);

    border: 2px solid var(--color-gray-100);

    /*
       EL CONTENEDOR NO SE MUEVE
    */
    transform: none !important;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   CAPA VISUAL
========================================================= */

.slide-img-wrapper::after {
    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(0, 0, 0, 0.03)
    );

    pointer-events: none;

    z-index: 2;
}


/* =========================================================
   IMAGEN DEL PRODUCTO
   SIN ZOOM AUTOMÁTICO
========================================================= */

.slide-img-wrapper img {
    width: 100%;

    height: 100%;

    /*
       Muestra TODO el producto
    */
    object-fit: contain;

    object-position: center;

    display: block;

    /*
       IMAGEN COMPLETAMENTE ESTÁTICA
    */
    transform: none !important;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   IMAGEN ACTIVA
========================================================= */

.carousel-slide.active .slide-img-wrapper img {
    transform: none !important;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   INFORMACIÓN DEL PRODUCTO
========================================================= */

.slide-info h4 {
    font-size: 18px;

    font-weight: 700;

    color: var(--color-secondary);

    margin-bottom: 10px;

    padding-left: 14px;

    border-left: 3px solid var(--color-primary);

    line-height: 1.3;

    transition: none !important;

    animation: none !important;
}

.slide-main-desc {
    font-size: 14px;

    color: var(--color-gray-700);

    line-height: 1.7;

    margin-bottom: 14px;

    transition: none !important;

    animation: none !important;
}


/* =========================================================
   ESPECIFICACIONES
========================================================= */

.slide-specs {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.slide-specs span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 13px;

    background: var(--color-gray-50);

    border: 1px solid var(--color-gray-200);

    border-radius: 50px;

    font-size: 12.5px;

    font-weight: 500;

    color: var(--color-gray-700);

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.slide-specs span:hover {
    background: rgba(220, 0, 0, 0.06);

    border-color: var(--color-primary);

    color: var(--color-primary);

    transform: none !important;
}

.slide-specs i {
    font-size: 11px;

    color: var(--color-primary);
}


/* =========================================================
   BOTONES DEL CARRUSEL
========================================================= */

.carousel-btn {
    position: absolute;

    /*
       Centrado vertical con la imagen
    */
    top: calc(24px + 50%);

    transform: translateY(-50%);

    width: 42px;

    height: 42px;

    background: var(--color-white);

    color: var(--color-primary);

    border-radius: 50%;

    box-shadow: var(--shadow-lg);

    font-size: 14px;

    z-index: 10;

    display: grid;

    place-items: center;

    /*
       Ocultas hasta pasar el mouse
    */
    opacity: 0;

    border: 2px solid var(--color-primary);

    cursor: pointer;

    /*
       Transición SOLO para apariencia
    */
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   MOSTRAR AMBAS FLECHAS
   EN TODOS LOS CARRUSELES
========================================================= */

.carousel:hover .carousel-btn.prev,
.carousel:hover .carousel-btn.next {
    opacity: 1;
}


/* =========================================================
   FLECHA AL PASAR EL MOUSE
========================================================= */

.carousel-btn:hover {
    background: var(--gradient-primary);

    color: var(--color-white);

    box-shadow:
        0 8px 20px rgba(220, 0, 0, 0.25);

    /*
       Mini aumento al pasar mouse
    */
    transform:
        translateY(-50%)
        scale(1.05);
}


/* =========================================================
   MINI ZOOM / REBOTE AL OPRIMIR
========================================================= */

.carousel-btn:active {
    transform:
        translateY(-50%)
        scale(0.80);

    box-shadow:
        0 3px 8px rgba(220, 0, 0, 0.20);

    transition:
        transform 0.08s ease;
}


/* =========================================================
   FLECHA IZQUIERDA
========================================================= */

.carousel-btn.prev {
    left: 12px;
}


/* =========================================================
   FLECHA DERECHA
========================================================= */

.carousel-btn.next {
    right: 12px;
}


/* =========================================================
   ASEGURAR QUE AMBAS EXISTAN VISUALMENTE
========================================================= */

.carousel .carousel-btn.prev,
.carousel .carousel-btn.next {
    display: grid;

    place-items: center;
}


/* =========================================================
   PUNTOS
========================================================= */

.carousel-dots {
    position: absolute;

    bottom: 22px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 9px;

    z-index: 10;
}

.dot {
    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: var(--color-gray-300);

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.15s ease;

    position: relative;
}

.dot::before {
    content: '';

    position: absolute;

    inset: -4px;
}


/* =========================================================
   HOVER DE LOS PUNTOS
========================================================= */

.dot:hover {
    background: var(--color-primary-light);

    transform: none !important;
}


/* =========================================================
   PUNTO ACTIVO
========================================================= */

.dot.active {
    background: var(--gradient-primary);

    width: 28px;

    border-radius: 6px;

    box-shadow:
        0 3px 8px rgba(220, 0, 0, 0.4);

    transform: none !important;
}




/*
   IMPORTANTE:
   La imagen tampoco tiene animación automática.
*/

.slide-img-wrapper img {
    animation: none !important;

    transition: none !important;

    transform: none !important;
}


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

@media (max-width: 768px) {

    .catalog {
        padding: 70px 18px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .product-card-header {
        padding: 18px 20px 14px;
    }

    .carousel {
        padding: 20px 20px 65px;
    }

    .carousel-track {
        min-height: auto;
    }

    /*
       Mantener siempre cuadrado
    */
    .slide-img-wrapper {
        aspect-ratio: 1 / 1;
    }

    /*
       Flechas para celular
    */
    .carousel-btn {
        width: 38px;

        height: 38px;

        font-size: 13px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

}

/* =================================
   VIDEO EMPRESARIAL - AJUSTE
================================= */

.about-image.about-video {
    width: 100%;
    height: 650px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 30px;
    box-sizing: border-box;
}

.about-image.about-video::after {
    display: none !important;
}

.about-image.about-video .video-wrapper {
    width: 100%;
    max-width: 340px;
    height: 100%;
    max-height: 610px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-image.about-video .video-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
    background: transparent;
}

.about-image.about-video .about-badge {
    z-index: 5;
}

@media (max-width: 768px) {
    .about-image.about-video {
        height: 570px;
        padding: 15px;
    }

    .about-image.about-video .video-wrapper {
        max-width: 300px;
        max-height: 540px;
    }
}

@media (max-width: 480px) {
    .about-image.about-video {
        height: 520px;
        padding: 10px;
    }

    .about-image.about-video .video-wrapper {
        max-width: 270px;
        max-height: 490px;
    }
}

/* ===============================
   FOOTER
=============================== */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: var(--color-gray-200);
    position: relative;
    padding-top: 0;
    margin-top: 60px;
}

.footer-wave {
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 28px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 10px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo i {
    font-size: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo h3 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo p {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-300);
    margin-bottom: 24px;
    max-width: 360px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-gray-200);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-4px) rotate(-5deg);
    box-shadow: 0 8px 18px rgba(220,0,0,0.4);
}

.footer-links ul li,
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-gray-300);
}

.footer-links ul li a {
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--color-primary-light);
    transform: translateX(4px);
}

.footer-links i {
    font-size: 10px;
    color: var(--color-primary);
}

.footer-contact i {
    font-size: 15px;
    color: var(--color-primary);
    min-width: 20px;
    padding-top: 3px;
}

.footer-contact span {
    line-height: 1.5;
}

.footer-cta p {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 28px;
    text-align: center;
    font-size: 13px;
    color: var(--color-gray-500);
}

.footer-bottom p {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===============================
   WHATSAPP FLOTANTE
=============================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappBounce 2.5s ease-in-out infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite 1s;
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    10% { transform: translateY(-6px) rotate(-6deg); }
    20% { transform: translateY(0) rotate(0); }
    30% { transform: translateY(-4px) rotate(6deg); }
    40% { transform: translateY(0) rotate(0); }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    color: var(--color-secondary);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-left: 3px solid #25D366;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--color-white);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 18px);
}

/* ===============================
   SCROLL TOP
=============================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-red);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(220, 0, 0, 0.45);
}

/* ===============================
   ANIMACIONES ON SCROLL
=============================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 1200px) {
    .hero-content { grid-template-columns: 1fr; gap: 50px; }
    .hero-text { text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .hero-image { max-width: 700px; margin: 0 auto; }
    .hero-card-float { left: 10px; bottom: -20px; }
    .about-content { grid-template-columns: 1fr; gap: 50px; }
    .about-image { max-width: 600px; margin: 0 auto; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-menu ul {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        width: 85%;
        max-width: 340px;
        height: calc(100vh - 80px);
        background: var(--color-white);
        padding: 30px 22px;
        box-shadow: -8px 0 30px rgba(0,0,0,0.1);
        gap: 6px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 3px solid var(--color-primary);
        align-items: stretch;
    }
    .nav-menu ul.open { right: 0; }
    .nav-menu ul li a {
        padding: 14px 18px;
        font-size: 15px;
        border-radius: var(--radius-sm);
        background: var(--color-gray-50);
    }
    .nav-menu ul li a:hover { background: rgba(220,0,0,0.06); }
    .nav-menu ul li a::before { display: none; }
    .menu-toggle { display: block; }

    .hero { padding: 40px 20px 70px; }
    .about, .catalog, .videos { padding: 70px 20px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); max-width: 100%; gap: 12px; }
    .stat { padding: 16px 10px; }
    .stat h3 { font-size: 26px; }
    .catalog-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .carousel-btn { opacity: 1; width: 38px; height: 38px; }
    .about-features { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .header-container { padding: 12px 16px; }
    .logo-title h1 { font-size: 15px; }
    .logo-text i { font-size: 26px; }
    .logo-img { height: 48px; }
    .section-header { margin-bottom: 40px; }
    .hero-text h2 { font-size: 36px; letter-spacing: -0.5px; }
    .hero-text p { font-size: 15px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .hero-buttons { gap: 10px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .stat h3 { font-size: 22px; }
    .stat p { font-size: 11px; }
    .hero-card-float {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        justify-content: center;
    }
    .about-content { gap: 40px; }
    .about-text h3 { font-size: 22px; }
    .about-badge { right: 10px; padding: 12px 16px; }
    .about-badge i { font-size: 22px; width: 38px; height: 38px; }
    .product-card-header { padding: 18px 18px 14px; }
    .product-number { font-size: 28px; }
    .product-card-header h3 { font-size: 16px; }
    .carousel { padding: 18px 18px 62px; }
    .carousel-track { min-height: 440px; }
    .slide-img-wrapper { margin-bottom: 14px; }
    .slide-info h4 { font-size: 16px; }
    .carousel-btn.prev { left: 6px; }
    .carousel-btn.next { right: 6px; }
    .footer-content { grid-template-columns: 1fr; gap: 38px; padding: 30px 20px 50px; }
    .footer-wave svg { height: 50px; }
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-tooltip { display: none; }
    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 400px) {
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .stat { padding: 12px 6px; }
    .stat h3 { font-size: 20px; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .section-header h2 { font-size: 26px; }
    .feature-item { padding: 12px 14px; }
}

/* =========================================
   TIPOGRAFÍA ESPECIAL ESTILO LOGO
   ELECTRICOS PUNTO COM
========================================= */

.logo-style-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.8px;
    line-height: 1.05;
}

/* Palabra roja */
.logo-style-title .red {
    color: #DC0000;
}

/* Palabra negra */
.logo-style-title .black {
    color: #1a1a1a;
}

/* Variante roja completa */
.logo-style-red {
    font-family: 'Fredoka', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #DC0000;
    letter-spacing: -0.8px;
}

/* Variante negra completa */
.logo-style-black {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: -0.8px;
}

/* =========================================
   LOGO + NOMBRE DE LA EMPRESA
========================================= */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* Imagen del logo */
.logo-img {
    display: block;
    width: 95px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Texto del nombre */
.logo-texto-principal {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: "Bauhaus 93", "Arial Rounded MT Bold", Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
}

/* ELECTRICOS */
.logo-electricos {
    color: #DC0000;
    font-family: "Bauhaus 93", "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
}

/* PUNTO COM S.A.S. */
.logo-punto {
    color: #1a1a1a;
    font-family: "Bauhaus 93", "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
}

/* En pantallas pequeñas */
@media (max-width: 768px) {

    .logo-wrapper {
        gap: 8px;
    }

    .logo-img {
        width: 65px;
        height: 55px;
    }

    .logo-electricos,
    .logo-punto {
        font-size: 20px;
    }
}



















/* =========================================================
   CARRUSEL - ELECTRICOS PUNTO COM S.A.S.
   ========================================================= */

.carousel {
    position: relative !important;
    height: auto !important;
    padding: 24px !important;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;

    --slide-shift: 48px;
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
    --brand: #dc0000;
}

.carousel:focus { outline: none; }

.carousel:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
}

.carousel img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* ---------- Track: slides apilados en la misma celda ---------- */

.carousel .carousel-track {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
}

/* ---------- Slides ---------- */

.carousel .carousel-track > .carousel-slide {
    grid-area: 1 / 1 !important;
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    display: block !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;

    transform: translateX(var(--slide-shift)) !important;
    animation: none !important;

    transition:
        opacity 0.55s var(--ease),
        transform 0.55s var(--ease),
        visibility 0s linear 0.55s !important;
}

.carousel[data-dir="prev"] .carousel-track > .carousel-slide {
    transform: translateX(calc(var(--slide-shift) * -1)) !important;
}

/* Slide activo */
.carousel .carousel-track > .carousel-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
    z-index: 2;
    transition-delay: 0s !important;
}

/* Slide que sale */
.carousel .carousel-track > .carousel-slide.prev {
    opacity: 0 !important;
    visibility: visible !important;
    z-index: 1;
    transition-delay: 0s !important;
}

.carousel[data-dir="next"] .carousel-track > .carousel-slide.prev {
    transform: translateX(calc(var(--slide-shift) * -1)) !important;
}

.carousel[data-dir="prev"] .carousel-track > .carousel-slide.prev {
    transform: translateX(var(--slide-shift)) !important;
}

/* ---------- Flechas (centradas sobre la imagen cuadrada) ---------- */

.carousel .carousel-btn {
    position: absolute !important;
    /* 24px de padding + mitad de la imagen cuadrada */
    top: calc(24px + (100% - 48px) * 0.32) !important;
    bottom: auto !important;
    z-index: 5;

    display: grid !important;
    place-items: center;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 1rem;
    cursor: pointer;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);

    transition:
        transform 0.3s var(--ease),
        background 0.25s,
        color 0.25s,
        box-shadow 0.3s;
}

.carousel .carousel-btn.prev { left: 10px !important; right: auto !important; }
.carousel .carousel-btn.next { right: 10px !important; left: auto !important; }

.carousel .carousel-btn:hover,
.carousel .carousel-btn:focus-visible {
    background: var(--brand);
    color: #fff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 22px rgba(220, 0, 0, 0.4);
}

.carousel .carousel-btn:active {
    transform: translateY(-50%) scale(0.92);
}

.carousel .carousel-btn i {
    transition: transform 0.3s var(--ease);
}

.carousel .carousel-btn.prev:hover i { transform: translateX(-3px); }
.carousel .carousel-btn.next:hover i { transform: translateX(3px); }

/* ---------- Puntos ---------- */

.carousel .carousel-dots {
    position: static !important;
    transform: none !important;

    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.9rem 0 0.3rem;
}

.carousel .carousel-dots .dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d2d2d2;
    cursor: pointer;
    transition: width 0.35s var(--ease), background 0.25s;
}

.carousel .carousel-dots .dot.active {
    width: 26px;
    background: var(--brand);
}

/* ---------- Móvil ---------- */

@media (max-width: 600px) {
    .carousel { padding: 18px !important; }

    .carousel .carousel-btn {
        width: 40px;
        height: 40px;
        top: calc(18px + (100% - 36px) * 0.30) !important;
    }
}

/* ---------- Accesibilidad ---------- */

@media (prefers-reduced-motion: reduce) {
    .carousel .carousel-track > .carousel-slide {
        transition-duration: 0.01s !important;
    }
}



/* =========================================
   VIDEO EMPRESARIAL - CONTENEDOR AJUSTADO
========================================= */

.about-image.about-video {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 9 / 16;
    padding: 0;
    margin: 0 auto;
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    box-sizing: border-box;
    display: block;
}

/* CONTENEDOR DEL REPRODUCTOR */
.about-image.about-video .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    aspect-ratio: 9 / 16;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* VIDEO GOOGLE DRIVE */
.about-image.about-video .video-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    border-radius: 20px;
}

/* QUITAR DECORACIÓN ANTIGUA */
.about-image.about-video::before,
.about-image.about-video::after {
    display: none !important;
}

/* DISTINTIVO */
.about-image.about-video .about-badge {
    position: absolute;
    left: -15px;
    bottom: 25px;
    z-index: 10;
}

/* TABLET */
@media (max-width: 768px) {
    .about-image.about-video {
        max-width: 340px;
    }
}

/* CELULAR */
@media (max-width: 480px) {
    .about-image.about-video {
        max-width: 290px;
    }

    .about-image.about-video .about-badge {
        left: 5px;
        bottom: 15px;
        transform: scale(0.85);
        transform-origin: bottom left;
    }
}
