/* =========================
   VARIABLES
========================= */

:root {
    --principal: #F4A300;
    --rojo: #E4482C;
    --turquesa: #3CA9C2;
    --negro: #2C2C2C;
    --fondo: #F9F6EF;
    --blanco: #FFFFFF;
    --gris: #6B6B6B;
    --borde: #E8DED0;
    --sombra: 0 12px 30px rgba(0,0,0,0.08);
}


/* =========================
   RESET GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fondo);
    color: var(--negro);
    line-height: 1.5;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
    background: rgba(249, 246, 239, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 58px;
    width: auto;
    display: block;
}

.logo-text strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--negro);
}

.logo-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--gris);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.95rem;
}

.nav a {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}


/* =========================
   BOTONES GENERALES
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary,
.btn-whatsapp {
    background: var(--principal);
    color: #111;
}

.btn-primary:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra);
}

.btn-secondary {
    background: transparent;
    border-color: var(--negro);
}

.btn-secondary:hover {
    background: var(--negro);
    color: var(--blanco);
}

.btn-small {
    padding: 10px 18px;
    background: var(--principal);
    border-radius: 10px;
    font-size: 0.9rem;
    margin-top: 12px;
}


/* =========================
   HERO
========================= */

.hero {
    padding: 35px 0 25px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 56px;
}

.tag {
    display: inline-block;
    background: rgba(244, 163, 0, 0.18);
    color: #9A6500;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gris);
    max-width: 520px;
    margin-bottom: 18px;
}

.price {
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.price strong {
    color: var(--rojo);
    font-size: 2rem;
}

.price-note {
    color: var(--gris);
    font-size: 1rem;
    margin-top: -12px;
    margin-bottom: 22px;
    max-width: 480px;
}

.benefits {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-video {
    background: var(--blanco);
    padding: 14px;
    border-radius: 28px;
    box-shadow: var(--sombra);
    max-width: 520px;
    margin-left: auto;
}

.hero-video video {
    width: 100%;
    max-height: 620px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    background: #eee;
}


/* =========================
   SECCIONES GENERALES
========================= */

.section {
    padding: 55px 0;
}

.bg-soft {
    background: #fffaf1;
}

.section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 34px;
    letter-spacing: -1px;
}

.section-intro {
    text-align: center;
    color: var(--gris);
    max-width: 650px;
    margin: -18px auto 30px;
    font-size: 1.05rem;
}

.center {
    text-align: center;
    margin-top: 24px;
}

.center a {
    color: var(--turquesa);
    font-weight: 800;
}


/* =========================
   CÓMO FUNCIONA
========================= */

.steps {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 24px;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: var(--sombra);
}

.step {
    text-align: center;
}

.step span {
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--principal);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.step h3 {
    margin-bottom: 6px;
}

.step p {
    color: var(--gris);
    font-size: 0.95rem;
}


/* =========================
   CARDS GENERALES
========================= */

.cards {
    display: grid;
    gap: 22px;
}

.four-columns {
    grid-template-columns: repeat(4, 1fr);
}

.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--sombra);
}

.card h3 {
    font-size: 1.25rem;
    margin: 14px 0 6px;
}

.card p {
    color: var(--gris);
    font-size: 0.95rem;
}

.card-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f1eadf;
    min-height: 170px;
}

.placeholder {
    display: grid;
    place-items: center;
    color: var(--gris);
    font-weight: 800;
    text-align: center;
    padding: 20px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 20px;
}


/* =========================
   VIDEOS GENERALES
========================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.video-card {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--sombra);
    text-align: center;
}

.video-card video {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    background: #ddd;
}

.video-card h3 {
    margin-top: 12px;
}


/* =========================
   SELECTOR MÁGICO CPS
========================= */

.selector-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.selector-tab {
    background: var(--blanco);
    border: 2px solid var(--borde);
    border-radius: 20px;
    padding: 22px 18px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
    box-shadow: var(--sombra);
    position: relative;
}

.selector-tab:hover {
    border-color: var(--principal);
    transform: translateY(-3px);
}

.selector-tab span {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--negro);
    line-height: 1.1;
    margin-bottom: 8px;
}

.selector-tab small {
    display: block;
    font-size: 0.95rem;
    color: #3f3f3f;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.selector-tab em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 9px 14px;
    background: var(--principal);
    color: #111;
    border-radius: 999px;
    font-style: normal;
    font-weight: 900;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(244, 163, 0, 0.25);
    transition: 0.2s ease;
}

.selector-tab:hover em {
    transform: translateY(-2px);
    background: var(--turquesa);
    color: #fff;
}

.selector-tab.active {
    border: 4px solid var(--turquesa);
    background: #fff7e4;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(60, 169, 194, 0.22);
}

.selector-tab.active span {
    color: var(--rojo);
}

.selector-tab.active small {
    color: var(--negro);
}

.selector-tab.active em {
    background: var(--rojo);
    color: #fff;
}

.selector-tab.active::after {
    content: "Seleccionado";
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--turquesa);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 999px;
}

.selector-content {
    display: none;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.selector-content.is-visible {
    display: grid;
}

.selector-info {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--sombra);
}

.selector-info h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.selector-info p {
    color: var(--gris);
    margin-bottom: 16px;
}

.selector-info ul {
    list-style: none;
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.selector-product-price {
    display: block;
    font-size: 1.25rem;
    color: var(--rojo);
    font-weight: 900;
    margin-bottom: 12px;
}


/* =========================
   GALERÍA DE VIDEOS SELECTOR
========================= */

.selector-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.selector-content.gallery-only {
    grid-template-columns: 1fr;
}

.selector-content.gallery-only .selector-info {
    display: none;
}

.selector-content.gallery-only .selector-products {
    grid-template-columns: repeat(5, 1fr);
}

.selector-video-card {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: 0.2s ease;
}

.selector-video-card:hover {
    transform: translateY(-3px);
    border-color: var(--principal);
}

.selector-video-preview {
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.selector-video-preview video,
.selector-video-card video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f1eadf;
}

.selector-video-info {
    padding: 12px;
    text-align: center;
}

.selector-video-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.video-price {
    display: block;
    color: var(--rojo);
    font-weight: 900;
    font-size: 0.95rem;
    margin: 4px 0 8px;
}


/* =========================
   BOTÓN WHATSAPP EN TARJETAS
========================= */

.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 900;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: 0.2s ease;
}

.btn-whatsapp-small:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.wa-icon-img {
    width: 20px;
    height: 20px;
    display: block;
}


/* =========================
   MODAL DE VIDEO
========================= */

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 22px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    background: var(--blanco);
    border-radius: 24px;
    padding: 18px;
    width: min(520px, 94vw);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.video-modal-content h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.video-modal-content video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--rojo);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


/* =========================
   ADDON / LLAVEROS
========================= */

.addon {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 26px;
    padding: 26px;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 30px;
    box-shadow: var(--sombra);
}

.addon h2 {
    text-align: left;
    margin-bottom: 10px;
}

.addon h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.addon p {
    color: var(--gris);
    margin-bottom: 18px;
}


/* =========================
   FAQ
========================= */

.faq {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 16px;
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    padding: 18px;
    border: none;
    background: var(--blanco);
    text-align: left;
    font-weight: 900;
    cursor: pointer;
    font-size: 1rem;
}

.faq-item p {
    display: none;
    padding: 0 18px 18px;
    color: var(--gris);
}

.faq-item.active p {
    display: block;
}


/* =========================
   CTA FINAL
========================= */

.final-cta {
    background: var(--principal);
    padding: 55px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 10px;
}

.final-cta p {
    margin-bottom: 22px;
    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--negro);
    color: var(--blanco);
    padding: 34px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
    align-items: center;
}

.footer p {
    color: #ddd;
}

.footer-info {
    display: grid;
    gap: 6px;
}

.footer-message {
    text-align: right;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
    z-index: 999;
}

/* =========================
   SECCIÓN SELECTOR MÁS IMPORTANTE
========================= */

.selector-section {
    position: relative;
    padding: 75px 0;
    background:
        radial-gradient(circle at top left, rgba(244, 163, 0, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(60, 169, 194, 0.14), transparent 34%),
        #fffaf1;
}

.selector-section::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 2px dashed rgba(244, 163, 0, 0.35);
    border-radius: 36px;
    pointer-events: none;
}

.selector-section .container {
    position: relative;
    z-index: 2;
}

.selector-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.selector-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rojo);
    color: #fff;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(228, 72, 44, 0.22);
}

.selector-heading h2 {
    margin-bottom: 14px;
}

.selector-heading .section-intro {
    margin: 0 auto;
    font-size: 1.15rem;
    color: #3f3f3f;
    font-weight: 600;
}

/* Tarjetas con más presencia */

.selector-tabs {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.selector-tab {
    min-height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid #ead7bc;
    background: linear-gradient(180deg, #ffffff 0%, #fff9ee 100%);
}

.selector-tab::before {
    content: "☕";
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(244, 163, 0, 0.18);
    border-radius: 50%;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.selector-tab:nth-child(2)::before {
    content: "⭐";
}

.selector-tab:nth-child(3)::before {
    content: "✨";
}

.selector-tab:nth-child(4)::before {
    content: "💎";
}

.selector-tab span {
    font-size: 1.35rem;
}

.selector-tab small {
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.selector-tab em {
    width: fit-content;
}

.selector-tab:hover {
    border-color: var(--principal);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.selector-tab.active {
    background: #fff3d3;
}

/* Centrar contenido completo de las tarjetas */

.selector-tab {
    text-align: center;
    align-items: center;
}

.selector-tab::before {
    margin-left: auto;
    margin-right: auto;
}

.selector-tab em {
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CÓMO FUNCIONA DESTACADO
========================= */

.how-section {
    background: #f4f1ea;
}

.how-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.how-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--turquesa);
    color: #fff;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(60, 169, 194, 0.22);
}

.how-heading h2 {
    margin-bottom: 14px;
}

.how-section .steps {
    grid-template-columns: repeat(4, 1fr);
}

.payment-note {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
    color: #3f3f3f;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 16px 20px;
}

.seo-intro {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--gris);
    font-size: 1rem;
}

.seo-section {
    padding: 32px 0;
    background: var(--fondo);
}

.seo-box {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 22px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--sombra);
}

.seo-box h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.seo-box p {
    color: var(--gris);
    font-size: 1rem;
}

/* =========================
   INFORMACIÓN DE ATENCIÓN
========================= */

.contact-info-section {
    background: var(--fondo);
    padding: 45px 0;
}

.contact-info-box {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 28px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--sombra);
}

.contact-eyebrow {
    display: inline-flex;
    background: rgba(60, 169, 194, 0.14);
    color: var(--turquesa);
    font-weight: 900;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.contact-info-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.contact-info-text p {
    color: var(--gris);
    margin-bottom: 12px;
}

.contact-note {
    font-weight: 800;
    color: var(--negro) !important;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-card {
    background: #fffaf1;
    border: 1px solid var(--borde);
    border-radius: 18px;
    padding: 16px;
}

.contact-card strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
}

.contact-card span,
.contact-card a {
    color: var(--gris);
    font-weight: 700;
}

.contact-card a {
    color: var(--turquesa);
}