@charset "UTF-8";
/* ==========================================================================
   digitalVCard — Landing Page · CSS
   Archivo: css/style.css
   Autor:   pacocaetano | digitalvcard.es
   Versión: 2026.1

   ÍNDICE
   01. VARIABLES Y TEMAS (dark / light)
   02. RESET Y BASE
   03. dVC-NAV
   04. dVC-HERO
   05. dVC-SECTION
   06. dVC-COMPARE
   07. dVC-CARRUSEL + MODAL
   08. dVC-PRICING
   09. dVC-FAQ
   10. dVC-FOOTER
   11. COMPONENTES GLOBALES
   12. ANIMACIONES
   13. MEDIA QUERIES
   ========================================================================== */


/* ==========================================================================
   01. VARIABLES Y TEMAS
   ========================================================================== */

[data-dvc-theme="dark"] {
    --dVC-bg:           #000000;
    --dVC-bg2:          #111111;
    --dVC-bg3:          #1a1a1a;
    --dVC-txt:          #f5f5f7;
    --dVC-txt2:         #a1a1a6;
    --dVC-txt3:         #6e6e73;
    --dVC-accent:       #0071e3;
    --dVC-accent2:      #2997ff;
    --dVC-border:       rgba(255,255,255,0.08);
    --dVC-border2:      rgba(255,255,255,0.18);
    --dVC-card-bg:      #111111;
    --dVC-input-bg:     transparent;
    --dVC-input-border: rgba(255,255,255,0.18);
    --dVC-input-focus:  #2997ff;
    --dVC-hero-glow:    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0,113,227,0.22) 0%, transparent 65%);
    --dVC-nav-bg:       rgba(0,0,0,0.88);
}

[data-dvc-theme="light"] {
    --dVC-bg:           #f5f5f7;
    --dVC-bg2:          #ffffff;
    --dVC-bg3:          #e8e8ed;
    --dVC-txt:          #1d1d1f;
    --dVC-txt2:         #3a3a3c;
    --dVC-txt3:         #6e6e73;
    --dVC-accent:       #0071e3;
    --dVC-accent2:      #0055b3;
    --dVC-border:       rgba(0,0,0,0.08);
    --dVC-border2:      rgba(0,0,0,0.16);
    --dVC-card-bg:      #ffffff;
    --dVC-input-bg:     #ffffff;
    --dVC-input-border: rgba(0,0,0,0.14);
    --dVC-input-focus:  #0071e3;
    --dVC-hero-glow:    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0,113,227,0.10) 0%, transparent 65%);
    --dVC-nav-bg:       rgba(245,245,247,0.92);
}


/* ==========================================================================
   02. RESET Y BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0; padding: 0;
    background-color: var(--dVC-bg);
    color: var(--dVC-txt);
    transition: background-color 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul  { margin: 0; padding: 0; list-style: none; }

[data-dvc-theme="dark"]  .dVC-nav__logo--light,
[data-dvc-theme="dark"]  .dVC-footer__logo--light { display: none; }
[data-dvc-theme="light"] .dVC-nav__logo--dark,
[data-dvc-theme="light"] .dVC-footer__logo--dark  { display: none; }


/* ==========================================================================
   03. dVC-NAV
   ========================================================================== */

.dVC-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--dVC-nav-bg);
    border-bottom: 1px solid var(--dVC-border);
    transition: background 0.35s;
}

.dVC-nav__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dVC-nav__logo img { height: 24px; width: auto; }
.dVC-nav__links { display: flex; gap: 28px; }
.dVC-nav__links a { font-size: 13px; color: var(--dVC-txt2); transition: color 0.2s; }
.dVC-nav__links a:hover { color: var(--dVC-txt); }
.dVC-nav__actions { display: flex; align-items: center; gap: 12px; }

.dVC-theme-toggle {
    background: transparent;
    border: 1px solid var(--dVC-border2);
    color: var(--dVC-txt2);
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}
.dVC-theme-toggle:hover { background: var(--dVC-bg3); color: var(--dVC-txt); }
[data-dvc-theme="dark"]  .dVC-theme-toggle__sun  { display: none; }
[data-dvc-theme="light"] .dVC-theme-toggle__moon { display: none; }


/* ==========================================================================
   04. dVC-HERO
   ========================================================================== */

.dVC-hero {
    text-align: center;
    padding: 130px 24px 80px;
    background: var(--dVC-hero-glow);
    overflow: hidden;
}
.dVC-hero__inner { max-width: 680px; margin: 0 auto; }
.dVC-hero__eyebrow {
    font-size: 12px; letter-spacing: 0.12em;
    color: var(--dVC-accent2); text-transform: uppercase;
    font-weight: 500; margin: 0 0 20px;
}
.dVC-hero__title {
    font-size: clamp(46px, 7vw, 80px);
    font-weight: 600; letter-spacing: -0.03em;
    line-height: 1.04; color: var(--dVC-txt); margin: 0 0 24px;
}
.dVC-hero__accent {
    /* Gradiente con los mismos tonos del original (cyan claro → azul medio →
       azul oscuro) pero repetido en bucle para poder desplazarlo sin saltos.
       110deg da una diagonal suave, no plana horizontal. */
    background: linear-gradient(110deg,
        #5ac8fa 0%,
        #2997ff 25%,
        #0071e3 50%,
        #2997ff 75%,
        #5ac8fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: dVC-hero-accent-flow 6s ease-in-out infinite;
}
@keyframes dVC-hero-accent-flow {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}
/* Accesibilidad: respeta usuarios con motion-reducido del SO */
@media (prefers-reduced-motion: reduce) {
    .dVC-hero__accent { animation: none; }
}
.dVC-hero__sub {
    font-size: 19px; color: var(--dVC-txt2);
    font-weight: 300; margin: 0 auto 44px; line-height: 1.6;
}
.dVC-cta-row {
    display: flex; gap: 14px;
    justify-content: center; flex-wrap: wrap; margin-bottom: 24px;
}
.dVC-hero__trust {
    margin: 0 auto 44px; max-width: 520px; padding: 0 16px;
    text-align: center; font-size: 13px; color: var(--dVC-txt3);
    font-weight: 400; letter-spacing: 0.01em;
}
.dVC-hero__badges {
    display: flex; gap: 20px;
    justify-content: center; flex-wrap: wrap;
}


/* ==========================================================================
   05. dVC-SECTION
   ========================================================================== */

.dVC-section { padding: 90px 24px; }
.dVC-section--alt {
    background: var(--dVC-bg2);
    border-top: 1px solid var(--dVC-border);
    border-bottom: 1px solid var(--dVC-border);
}
.dVC-section__inner { max-width: 980px; margin: 0 auto; }
.dVC-section__inner--narrow { max-width: 700px; }
.dVC-section__label {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--dVC-accent2); font-weight: 500; margin: 0 0 14px; text-align: center;
}
.dVC-section__title {
    font-size: clamp(30px, 4.5vw, 52px); font-weight: 600;
    letter-spacing: -0.025em; text-align: center;
    margin: 0 0 14px; line-height: 1.08; color: var(--dVC-txt);
}
.dVC-section__sub {
    font-size: 17px; color: var(--dVC-txt2); text-align: center;
    max-width: 520px; margin: 0 auto 52px; line-height: 1.6; font-weight: 300;
}


/* ==========================================================================
   06. dVC-COMPARE
   ========================================================================== */

.dVC-compare-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; max-width: 820px; margin: 0 auto;
    /* Cada card mantiene su altura natural — así solo crece la Digital
       cuando se despliegan sus ventajas adicionales; la Física se queda corta. */
    align-items: start;
}
.dVC-compare-card {
    background: var(--dVC-card-bg); border: 1px solid var(--dVC-border);
    border-radius: 20px; padding: 36px 30px; transition: border-color 0.3s;
}
.dVC-compare-card:hover { border-color: var(--dVC-border2); }
.dVC-compare-card--featured {
    border-color: rgba(41,151,255,0.3);
    background: linear-gradient(160deg, rgba(0,113,227,0.08), var(--dVC-card-bg));
}
.dVC-compare-card--featured:hover { border-color: rgba(41,151,255,0.55); }
.dVC-compare-card__title {
    font-size: 18px; font-weight: 600; margin: 0 0 22px;
    display: flex; align-items: center; gap: 10px; color: var(--dVC-txt);
}
.dVC-compare-list { display: flex; flex-direction: column; gap: 13px; }
.dVC-compare-list li {
    font-size: 14px; color: var(--dVC-txt2);
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}

/* ── Ventajas extra colapsables (landing) ─────────────────────────────
   Truco moderno grid-template-rows: 0fr → 1fr permite animar la altura
   sin medirla (más limpio que max-height: 1000px). Stagger por li
   con --i para que aparezcan en cascada al expandir. */
/* Wrap colapsado por defecto. Al entrar la card Digital en viewport (via
   IntersectionObserver), se aplica .dVC-card-digital--open y el panel se
   despliega lentamente mientras los items aparecen con stagger ~2s total
   — el efecto coincide con el scroll natural del usuario. El botón "Ver
   menos" queda funcional para colapsar manualmente cuando quiera. */
.dVC-compare-extra-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dVC-compare-extra-inner { overflow: hidden; min-height: 0; }
.dVC-compare-list--extra {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px dashed var(--dVC-border, rgba(0,0,0,0.08));
}
.dVC-compare-list--extra li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dVC-card-digital--open .dVC-compare-extra-wrap { grid-template-rows: 1fr; }
.dVC-card-digital--open .dVC-compare-list--extra li {
    opacity: 1;
    transform: none;
    /* Stagger 240ms por item; arranque tras 300ms para que el wrap se haya
       abierto lo suficiente. Total: 300 + 6*240 + 700 = ~2.4s. */
    transition-delay: calc(300ms + var(--i, 0) * 240ms);
}
.dVC-compare-list--extra li:nth-child(2) { --i: 1; }
.dVC-compare-list--extra li:nth-child(3) { --i: 2; }
.dVC-compare-list--extra li:nth-child(4) { --i: 3; }
.dVC-compare-list--extra li:nth-child(5) { --i: 4; }
.dVC-compare-list--extra li:nth-child(6) { --i: 5; }
.dVC-compare-list--extra li:nth-child(7) { --i: 6; }

/* Accesibilidad: respeta motion-reducido del SO */
@media (prefers-reduced-motion: reduce) {
    .dVC-compare-extra-wrap,
    .dVC-compare-list--extra li,
    .dVC-compare-more,
    .dVC-compare-more__arrow { transition: none; }
}

/* Botón "Ver más ventajas" — link estilo CTA suave bajo la lista */
.dVC-compare-more {
    margin-top: 16px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--dVC-border, rgba(0,0,0,0.10));
    color: var(--dVC-accent2);
    font: inherit; font-size: 13px; font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dVC-compare-more:hover {
    background: rgba(41,151,255,0.08);
    border-color: rgba(41,151,255,0.40);
    transform: translateY(-1px);
}
.dVC-compare-more__arrow {
    font-size: 11px;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dVC-card-digital--open .dVC-compare-more__arrow { transform: rotate(180deg); }


/* ==========================================================================
   06b. dVC-COMPARTE (compatibilidad + formas de compartir)
   ========================================================================== */

/* Grid de compatibilidad — 3 dispositivos */
.dVC-compat-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
}

.dVC-compat-item {
    flex: 1;
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

/* Separador vertical entre items */
.dVC-compat-item + .dVC-compat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--dVC-border);
}

.dVC-compat-icon {
    font-size: 44px;
    color: var(--dVC-txt);
    margin-bottom: 16px;
    display: block;
    opacity: 0.85;
}

.dVC-compat-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--dVC-txt);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.dVC-compat-sub {
    font-size: 13px;
    color: var(--dVC-txt3);
    margin: 0;
    font-weight: 300;
}

/* Divisor entre bloques */
.dVC-compat-divider {
    width: 48px;
    height: 1px;
    background: var(--dVC-border);
    margin: 52px auto;
}

/* Grid de formas de compartir — 3 columnas */
.dVC-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 820px;
    margin: 0 auto;
}

.dVC-share-item {
    text-align: center;
    padding: 36px 24px;
    transition: background 0.2s;
    border-radius: 16px;
}

.dVC-share-item:hover {
    background: var(--dVC-bg3);
}

.dVC-share-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--dVC-bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
    color: var(--dVC-txt);
    transition: background 0.2s, color 0.2s;
}

.dVC-share-item:hover .dVC-share-icon-wrap {
    background: var(--dVC-accent);
    color: #fff;
}

.dVC-share-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dVC-txt);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.dVC-share-sub {
    font-size: 13px;
    color: var(--dVC-txt2);
    margin: 0;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 768px) {
    .dVC-share-grid { grid-template-columns: repeat(2, 1fr); }
    .dVC-compat-icon { font-size: 36px; }
}

@media (max-width: 480px) {
    .dVC-share-grid { grid-template-columns: 1fr; }
    .dVC-compat-grid { flex-direction: column; }
    .dVC-compat-item + .dVC-compat-item::before { display: none; }
}


/* ==========================================================================
   06.b dVC-CONTROL — Sección "control desde la palma de tu mano" (S20m)
   Estilo Apple: texto a la izquierda, iPhone grande a la derecha. El iPhone
   entra deslizándose desde la esquina inferior-derecha al hacer scroll
   (clase .is-visible inyectada por IntersectionObserver). Sin animación
   continua — la entrada es el wow, después se queda quieto.
   ========================================================================== */

.dVC-control {
    padding: 6rem 1rem 0;       /* sin padding-bottom: la imagen llega al borde */
    overflow: hidden;            /* evita scrollbar lateral durante la entrada */
}
/* El texto del lado izquierdo necesita su propio respiro inferior — si no,
   queda muy pegado a la sección siguiente. La imagen no lo necesita (ella
   define la altura natural). */
.dVC-control__copy { padding-bottom: 5rem; }

.dVC-control__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;   /* iPhone dominante */
    gap: 1rem;
    align-items: center;
}

.dVC-control__copy { padding-top: 1rem; }
.dVC-control__title {
    font-size: clamp(1.85rem, 4.2vw, 2.8rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0.8rem 0 1.25rem;
    color: var(--dVC-text);
}
.dVC-control__lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--dVC-text-sec);
    margin: 0 0 1.5rem;
}
.dVC-control__lead strong { color: var(--dVC-text); }

.dVC-control__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}
.dVC-control__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.97rem;
    line-height: 1.45;
    color: var(--dVC-text-sec);
}
.dVC-control__list li i {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #5ac8fa, #2997ff);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(41, 151, 255, 0.25);
}
.dVC-control__list strong { color: var(--dVC-text); }

.dVC-control__visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    /* Truco para que la columna se extienda hasta el borde derecho del
       viewport, ignorando el max-width:1200px del .dVC-control__inner.
       50% = mitad del inner, 50vw = mitad del viewport — la diferencia
       (negativa cuando viewport > 1200) empuja la columna hacia fuera. */
    margin-right: calc(50% - 50vw);
    /* Sin min-height fijo — la altura la dicta la imagen natural */
}

/* Estado INICIAL: fuera del viewport, esquina inferior-derecha.
   Cuando JS añade .is-visible, transición suave a posición final.
   La imagen vive pegada al borde derecho — el brazo "sale" del viewport. */
.dVC-control__phone {
    /* Sin max-width restrictivo: que ocupe TODA la columna disponible.
       Como la columna usa fr 1.6 y se extiende al borde del viewport,
       el iPhone se verá grande de verdad. */
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.28));

    /* Escalado anclado a la esquina inferior-derecha: al reducir el tamaño,
       la imagen se encoge hacia ese punto en lugar de hacia el centro. */
    transform-origin: bottom right;

    /* Animación tipo Apple: entrada larga, curva suave (cubic-bezier inspirada
       en la que Apple usa en sus landing pages para los hero shots). */
    opacity: 0;
    transform: translate(140px, 140px) scale(0.66) rotate(6deg);
    transition:
        opacity 1.1s ease-out,
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.dVC-control__phone.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(0.85) rotate(0deg);
}

/* Accesibilidad: si el usuario pidió reducir movimiento, sin animación —
   la imagen ya viene visible. */
@media (prefers-reduced-motion: reduce) {
    .dVC-control__phone {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Stack vertical en móvil — la imagen va arriba para que se vea bien */
@media (max-width: 860px) {
    .dVC-control { padding: 3.5rem 1rem; }
    .dVC-control__copy { padding-bottom: 0; }
    .dVC-control__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .dVC-control__visual {
        order: -1;
        min-height: auto;
        justify-content: center;
        margin-right: 0;   /* en móvil sin truco full-bleed */
    }
    .dVC-control__phone {
        max-width: 380px;
        /* En móvil la entrada es más sutil (desde abajo, sin tanto translate) */
        transform: translate(60px, 80px) scale(0.85) rotate(3deg);
    }
}


/* ==========================================================================
   07. dVC-CARRUSEL + MODAL
   ========================================================================== */

/* Contenedor del carrusel — oculta lo que sobresale.
   Mask-image difumina los bordes horizontales para disimular el corte
   duro de las tarjetas laterales que se asoman parcialmente. Funciona
   en light y dark porque enmascara la opacidad (no rellena con color). */
.dVC-carrusel {
    position: relative;
    overflow: hidden;
    padding: 40px 0 20px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* Track — los items se posicionan con transform desde JS */
.dVC-carrusel__track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 700px; /* PNG iPhone17ProMax@2026 escalado a 300px → ~623px */
}

/* Cada item del carrusel
   · position: absolute con left:50% → punto de anclaje en el centro horizontal
     del track. Los transforms restan -50% del ancho del item para centrarlo
     visualmente, y luego añaden el offset por posición.
   · Variable --dVC-offset controla el desplazamiento desde el centro
     (overridable en media queries para hacerlo responsive). */
.dVC-carrusel__item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px; /* EDITAR: ancho de cada iPhone en el carrusel */
    transition: transform 0.45s cubic-bezier(.4,0,.2,1),
                opacity   0.45s ease,
                filter    0.45s ease;
    cursor: pointer;
    touch-action: pan-y; /* permite scroll vertical mientras capturamos swipe X */
    --dVC-off-1: 280px;  /* offset items vecinos */
    --dVC-off-2: 500px;  /* offset items lejanos */
}

/* Posiciones según data-pos relativo al central */
.dVC-carrusel__item[data-pos="0"] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: none;
    z-index: 10;
}
.dVC-carrusel__item[data-pos="1"] {
    transform: translate(calc(-50% + var(--dVC-off-1)), -50%) scale(0.82);
    opacity: 0.5; filter: brightness(0.6); z-index: 5;
}
.dVC-carrusel__item[data-pos="-1"] {
    transform: translate(calc(-50% - var(--dVC-off-1)), -50%) scale(0.82);
    opacity: 0.5; filter: brightness(0.6); z-index: 5;
}
.dVC-carrusel__item[data-pos="2"] {
    transform: translate(calc(-50% + var(--dVC-off-2)), -50%) scale(0.65);
    opacity: 0.25; filter: brightness(0.4); z-index: 2;
}
.dVC-carrusel__item[data-pos="-2"] {
    transform: translate(calc(-50% - var(--dVC-off-2)), -50%) scale(0.65);
    opacity: 0.25; filter: brightness(0.4); z-index: 2;
}
/* Ocultar items muy lejanos */
.dVC-carrusel__item:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="-1"]):not([data-pos="2"]):not([data-pos="-2"]) {
    opacity: 0;
    pointer-events: none;
}
/* Mientras el usuario arrastra con el dedo, desactivamos transición para
   feedback inmediato. Lo añade/quita el JS con la clase --dragging. */
.dVC-carrusel.dVC-carrusel--dragging .dVC-carrusel__item {
    transition: none;
}

/* PNG del iPhone — el mismo que usa el editor-v3 (coherencia visual)
   PNG iPhone17ProMax@2026.png: 956×1983, zona transparente 884×1599
   con margen (36, 151). Mockup 300px → factor 0.3138 → screen
   top:47 left:11 w:277 h:502. */
.dVC-carrusel__iphone {
    width: 300px; /* EDITAR: ancho display del PNG */
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Iframe con la tarjeta REAL renderizada (no la zona clicable transparente).
   Se rellena dinámicamente desde JS con la URL pública de cada demo. */
.dVC-carrusel__screen {
    position: absolute;
    top:  47px;
    left: 11px;
    width:  277px;
    height: 502px;
    overflow: hidden;
    background: #0f0c29;  /* fallback mientras carga el iframe */
    cursor: pointer;
}
.dVC-carrusel__screen iframe {
    width: 100%; height: 100%;
    border: 0; display: block;
    pointer-events: none;  /* el click llega al overlay padre, no al iframe */
}
/* Overlay invisible para capturar clicks (los iframe se comen los clicks) */
.dVC-carrusel__screen-overlay {
    position: absolute; inset: 0; z-index: 2; cursor: pointer;
}

/* Nombre del modelo centrado bajo el carrusel */
.dVC-carrusel__label {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--dVC-txt2);
    letter-spacing: 0.06em;
    margin: 16px 0 0;
    min-height: 24px;
    transition: opacity 0.3s;
}

/* Flechas */
.dVC-carrusel__arrows {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

.dVC-carrusel__arrow {
    background: transparent;
    border: 1px solid var(--dVC-border2);
    color: var(--dVC-txt2);
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
}
.dVC-carrusel__arrow:hover {
    background: var(--dVC-bg3);
    color: var(--dVC-txt);
    border-color: var(--dVC-accent2);
}


/* ── Modal fullscreen · opción 1 minimal flotante ──
   El iframe ocupa toda la pantalla; título, X, CTA y hint ESC flotan
   encima como overlays absolutos, sin barras de fondo. */
.dVC-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--dVC-bg2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.dVC-modal.dVC-modal--open {
    opacity: 1;
    pointer-events: all;
}

/* Iframe a pantalla completa. El CTA y el hint flotan ENCIMA con
   glass-morphism (ver más abajo) — así no hay corte feo entre la
   tarjeta y el modal. Los <iframe> necesitan width/height explícitos
   para ajustarse al contenedor. */
.dVC-modal__frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Título arriba-izquierda — chip glass blur a juego con la X cerrar.
   Mismo lenguaje visual: fondo oscuro semitransparente + blur + border
   sutil. Funciona sobre cualquier color de fondo de tarjeta y deja
   espacio respiratorio al logo interno de la tarjeta. */
.dVC-modal__titulo {
    position: absolute;
    top: 14px; left: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    max-width: calc(100% - 80px);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
/* En light theme: invertir contraste igual que la X cerrar */
[data-dvc-theme="light"] .dVC-modal__titulo {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.10);
    color: var(--dVC-txt);
}

/* X arriba-derecha — fondo glass más opaco para destacar sobre cualquier fondo */
.dVC-modal__close {
    position: absolute;
    top: 14px; right: 18px;
    z-index: 10;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    padding: 0; line-height: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.dVC-modal__close:hover {
    background: rgba(0,0,0,0.75);
    transform: scale(1.05);
}

/* Wrapper inferior full-width: centra CTA + ESC respecto al modal,
   no al viewport (independiente de scrollbars). */
.dVC-modal__bottom {
    position: absolute;
    bottom: 28px; left: 0; right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none; /* el CTA reactiva pointer-events */
}

/* CTA "Quiero una así" — glass blur sin color, mismo lenguaje que la X
   cerrar y el título pill. Se integra sobre cualquier fondo de tarjeta. */
.dVC-modal__cta {
    pointer-events: auto;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 15px; font-weight: 500;
    padding: 14px 30px; border-radius: 100px;
    text-decoration: none; white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.dVC-modal__cta:hover {
    background: rgba(0,0,0,0.75);
    transform: translateY(-2px);
}
.dVC-modal__cta i { font-size: 14px; }
/* En light theme: invertir contraste igual que la X y el título */
[data-dvc-theme="light"] .dVC-modal__cta {
    background: rgba(255,255,255,0.75);
    border-color: rgba(0,0,0,0.10);
    color: var(--dVC-txt);
}
[data-dvc-theme="light"] .dVC-modal__cta:hover {
    background: rgba(255,255,255,0.9);
}

/* Hint ESC — blanco con text-shadow para legibilidad sobre cualquier fondo */
.dVC-modal__esc {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.06em;
    opacity: 0.85;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.dVC-modal__esc kbd {
    font-family: inherit;
    font-size: 10px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    /* En móvil: hint ESC fuera (no hay teclado), CTA más bajo, X más pequeña */
    .dVC-modal__esc { display: none; }
    .dVC-modal__bottom { bottom: 22px; }
    .dVC-modal__cta {
        padding: 12px 24px; font-size: 14px;
    }
    /* En móvil el pill del título es redundante: el cliente ya conoce el
       nombre desde el carrusel y la propia tarjeta lo muestra dentro. */
    .dVC-modal__titulo { display: none; }
    .dVC-modal__close {
        top: 12px; right: 14px;
        width: 32px; height: 32px; font-size: 14px;
    }
}


/* ==========================================================================
   08. dVC-PRICING
   ========================================================================== */

.dVC-pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; max-width: 740px; margin: 0 auto;
}
.dVC-pricing-card {
    background: var(--dVC-card-bg); border: 1px solid var(--dVC-border);
    border-radius: 20px; padding: 36px 32px;
    transition: border-color 0.3s; display: flex; flex-direction: column;
}
.dVC-pricing-card:hover { border-color: var(--dVC-border2); }
.dVC-pricing-card--main {
    border-color: rgba(41,151,255,0.35);
    background: linear-gradient(160deg, rgba(0,113,227,0.08), var(--dVC-card-bg));
}
.dVC-pricing-card--main:hover { border-color: rgba(41,151,255,0.6); }
.dVC-pricing-card__eyebrow {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500; color: var(--dVC-accent2); margin: 0 0 18px;
}
.dVC-pricing-card__eyebrow--muted { color: var(--dVC-txt3); }
.dVC-pricing-card__price {
    font-size: 56px; font-weight: 600; letter-spacing: -0.04em;
    line-height: 1; margin: 0 0 4px; color: var(--dVC-txt);
}
.dVC-pricing-card__price--sm { font-size: 44px; }
.dVC-pricing-card__price sup { font-size: 22px; vertical-align: super; font-weight: 400; margin-right: 2px; }
.dVC-pricing-card__iva {
    font-size: 14px; font-weight: 400; color: var(--dVC-txt3);
    margin-left: 8px; letter-spacing: 0; vertical-align: middle;
}
.dVC-pricing-card__sublabel { font-size: 13px; color: var(--dVC-txt3); margin: 0 0 28px; }
.dVC-pricing-features {
    display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; flex: 1;
}
.dVC-pricing-features li {
    font-size: 14px; color: var(--dVC-txt2);
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.dVC-pricing-card__note {
    font-size: 12px; color: var(--dVC-txt3); margin: 12px 0 0;
    line-height: 1.6; text-align: center;
}


/* ── Packs (bloque colapsable bajo la card principal) ────────────────────
   Por defecto los 3 packs están ocultos para no saturar al cliente
   individual. Botón "¿Para tu equipo?" los despliega con animación
   suave (mismo patrón grid-template-rows 0fr→1fr de la comparativa). */
.dVC-packs-toggle {
    margin: 56px auto 0; max-width: 740px;
    display: flex; align-items: center; gap: 16px;
    background: transparent; border: 0;
    width: 100%;
    font: inherit; cursor: pointer;
    padding: 8px 16px; border-radius: 14px;
    transition: background 220ms ease;
}
.dVC-packs-toggle:hover { background: rgba(41,151,255,0.06); }
.dVC-packs-toggle::before,
.dVC-packs-toggle::after {
    content: ''; flex: 1; height: 1px; background: var(--dVC-border);
}
.dVC-packs-toggle__label {
    font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
    font-weight: 500; color: var(--dVC-accent2);
    display: inline-flex; align-items: center; gap: 8px;
}
.dVC-packs-toggle__arrow {
    font-size: 11px; color: var(--dVC-accent2);
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dVC-packs-toggle[aria-expanded="true"] .dVC-packs-toggle__arrow { transform: rotate(180deg); }

.dVC-packs-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dVC-packs-wrap.is-open { grid-template-rows: 1fr; }
.dVC-packs-inner { overflow: hidden; min-height: 0; padding-top: 28px; }
/* Stagger sutil de las 3 cards al expandir */
.dVC-packs-wrap .dVC-pack-card {
    opacity: 0; transform: translateY(8px);
    transition: opacity 360ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dVC-packs-wrap.is-open .dVC-pack-card { opacity: 1; transform: none; }
.dVC-packs-wrap.is-open .dVC-pack-card:nth-child(1) { transition-delay: 180ms; }
.dVC-packs-wrap.is-open .dVC-pack-card:nth-child(2) { transition-delay: 260ms; }
.dVC-packs-wrap.is-open .dVC-pack-card:nth-child(3) { transition-delay: 340ms; }

@media (prefers-reduced-motion: reduce) {
    .dVC-packs-wrap,
    .dVC-pack-card,
    .dVC-packs-toggle__arrow { transition: none; }
}
.dVC-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px; max-width: 940px; margin: 0 auto;
}
.dVC-pack-card {
    position: relative;
    background: var(--dVC-card-bg); border: 1px solid var(--dVC-border);
    border-radius: 18px; padding: 28px 24px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.dVC-pack-card:hover {
    border-color: var(--dVC-border2);
    transform: translateY(-2px);
}
.dVC-pack-card--featured {
    border-color: rgba(41,151,255,0.45);
    background: linear-gradient(160deg, rgba(0,113,227,0.10), var(--dVC-card-bg));
}
.dVC-pack-card--featured:hover { border-color: rgba(41,151,255,0.7); }
.dVC-pack-card__badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--dVC-accent); color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
    padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}
.dVC-pack-card__title {
    font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500; color: var(--dVC-txt2); margin: 0 0 12px;
}
.dVC-pack-card__total {
    font-size: 42px; font-weight: 600; letter-spacing: -0.03em;
    line-height: 1; margin: 0 0 6px; color: var(--dVC-txt);
}
.dVC-pack-card__total sup {
    font-size: 18px; vertical-align: super; font-weight: 400; margin-right: 2px;
}
.dVC-pack-card__iva {
    font-size: 12px; font-weight: 400; color: var(--dVC-txt3);
    margin-left: 6px; letter-spacing: 0; vertical-align: middle;
}
.dVC-pack-card__unit {
    font-size: 13px; color: var(--dVC-txt3); margin: 0 0 18px;
}
.dVC-pack-card__save {
    color: #4ade80; font-weight: 600; margin-left: 4px;
}
.dVC-pack-features {
    list-style: none; padding: 0; margin: 0 0 22px;
    display: flex; flex-direction: column; gap: 8px; flex: 1;
    font-size: 13px; color: var(--dVC-txt2); line-height: 1.5;
}
.dVC-pack-features li::before { content: '— '; color: var(--dVC-txt3); }
.dVC-pack-card .dVC-btn { width: 100%; }
.dVC-packs-foot {
    text-align: center; margin: 32px auto 0; max-width: 600px;
    font-size: 14px; color: var(--dVC-txt2);
}
.dVC-packs-foot a {
    color: var(--dVC-accent2); text-decoration: none; font-weight: 500;
}
.dVC-packs-foot a:hover { text-decoration: underline; }


/* ── Bloque "Te ha recomendado X" en hero ────────────────────────────────── */
/* El atributo HTML `hidden` debe ganar siempre frente al display del chip */
.dVC-hero__ref[hidden] { display: none !important; }
.dVC-hero__ref {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(74, 222, 128, 0.10);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #86efac;
    padding: 8px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 500;
    margin: 0 auto 20px;
    animation: dVC-fadeInUp 0.5s ease both;
}
.dVC-hero__ref i { font-size: 14px; color: #4ade80; }
.dVC-hero__ref strong { color: #d1fae5; font-weight: 600; }

[data-dvc-theme="light"] .dVC-hero__ref {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.30);
    color: #15803d;
}
[data-dvc-theme="light"] .dVC-hero__ref i { color: #16a34a; }
[data-dvc-theme="light"] .dVC-hero__ref strong { color: #14532d; }


/* ==========================================================================
   09. dVC-FAQ
   ========================================================================== */

.dVC-faq-list { margin-top: 48px; display: flex; flex-direction: column; }
.dVC-faq-item { border-bottom: 1px solid var(--dVC-border); }
.dVC-faq-q {
    width: 100%; background: transparent; border: none; text-align: left;
    font-family: inherit; font-size: 15px; font-weight: 500; color: var(--dVC-txt);
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 20px; padding: 22px 0; transition: color 0.2s;
}
.dVC-faq-q:hover { color: var(--dVC-txt2); }
.dVC-faq-icon { color: var(--dVC-accent2); font-size: 16px; transition: transform 0.3s; flex-shrink: 0; }
.dVC-faq-item.dVC-faq-item--open .dVC-faq-icon { transform: rotate(45deg); }
.dVC-faq-a {
    font-size: 15px; color: var(--dVC-txt2); line-height: 1.7;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s; font-weight: 300;
}
.dVC-faq-item.dVC-faq-item--open .dVC-faq-a { max-height: 300px; padding-bottom: 22px; }


/* ==========================================================================
   10. dVC-FOOTER
   ========================================================================== */

.dVC-footer { text-align: center; padding: 52px 24px; border-top: 1px solid var(--dVC-border); }
.dVC-footer__inner {
    max-width: 980px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.dVC-footer__logo { height: 22px; width: auto; }
.dVC-footer__text { font-size: 14px; color: var(--dVC-txt2); margin: 0; }
.dVC-footer__text a { color: var(--dVC-accent2); }
.dVC-footer__text a:hover { text-decoration: underline; }
.dVC-footer__contact {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--dVC-txt2); margin: 0;
}
.dVC-footer__contact a { color: var(--dVC-accent2); transition: color 0.2s; }
.dVC-footer__contact a:hover { color: var(--dVC-txt); }
.dVC-footer__sep { color: var(--dVC-txt3); }
.dVC-footer__schedule { font-size: 13px; color: var(--dVC-txt3); margin: 0; }
.dVC-footer__legal { font-size: 12px; color: var(--dVC-txt3); margin: 0; }
.dVC-footer__legal a { color: var(--dVC-txt3); }
.dVC-footer__legal a:hover { color: var(--dVC-txt2); }


/* ==========================================================================
   11. COMPONENTES GLOBALES
   ========================================================================== */

.dVC-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 15px 30px; border-radius: 30px;
    font-size: 15px; font-weight: 500; font-family: inherit;
    cursor: pointer; border: none; transition: all 0.25s;
    text-decoration: none; white-space: nowrap;
}
.dVC-btn--primary { background: var(--dVC-accent); color: #fff; }
.dVC-btn--primary:hover { background: var(--dVC-accent2); transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,113,227,0.35); }
.dVC-btn--secondary { background: transparent; color: var(--dVC-accent2); border: 1px solid rgba(41,151,255,0.35); }
.dVC-btn--secondary:hover { background: rgba(41,151,255,0.08); border-color: rgba(41,151,255,0.6); }
.dVC-btn--paypal { background: #0070ba; color: #fff; width: 100%; }
.dVC-btn--paypal:hover { background: #003f7a; transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,112,186,0.4); }
.dVC-btn--whatsapp { background: #25d366; color: #fff; width: 100%; }
.dVC-btn--whatsapp:hover { background: #1da851; transform: scale(1.02); }
.dVC-btn--sm { padding: 8px 18px; font-size: 13px; }
.dVC-btn--full { width: 100%; }
.dVC-btn--hero { padding: 18px 36px; font-size: 17px; }
.dVC-btn--hero .dVC-btn__arrow { font-size: 14px; transition: transform 0.25s ease; }
.dVC-btn--hero:hover .dVC-btn__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    .dVC-btn--hero .dVC-btn__arrow,
    .dVC-btn--hero:hover .dVC-btn__arrow { transition: none; transform: none; }
}

.dVC-tag { font-size: 11px; border-radius: 20px; padding: 3px 10px; font-weight: 500; }
.dVC-tag--accent { background: rgba(41,151,255,0.15); color: var(--dVC-accent2); }
.dVC-tag--muted  { background: rgba(255,255,255,0.07); color: var(--dVC-txt3); }
[data-dvc-theme="light"] .dVC-tag--muted { background: rgba(0,0,0,0.06); }

.dVC-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dVC-txt3); }
.dVC-badge i { color: var(--dVC-accent2); font-size: 11px; }

.dVC-icon--yes { color: #30d158; font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.dVC-icon--no  { color: var(--dVC-txt3); font-size: 14px; margin-top: 2px; flex-shrink: 0; }


/* ==========================================================================
   11b. dVC-FORM (formulario.html)
   ========================================================================== */

.dVC-form { display: flex; flex-direction: column; gap: 24px; }

.dVC-form__fieldset {
    border: 1px solid var(--dVC-border);
    border-radius: 16px;
    padding: 28px;
    margin: 0;
    background: var(--dVC-card-bg);
}

.dVC-form__legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--dVC-txt);
    padding: 0 10px;
}

.dVC-form__legend-note {
    font-weight: 300;
    color: var(--dVC-txt3);
    font-size: 13px;
}

.dVC-form__row { display: flex; gap: 16px; }
.dVC-form__row--2col > * { flex: 1; min-width: 0; }

.dVC-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.dVC-form__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--dVC-txt2);
}

.dVC-form__label-note {
    font-weight: 300;
    color: var(--dVC-txt3);
    font-size: 12px;
    margin-left: 6px;
}

.dVC-form__input,
.dVC-form__select,
.dVC-form__textarea {
    background: var(--dVC-input-bg);
    border: 1px solid var(--dVC-input-border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--dVC-txt);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.dVC-form__input::placeholder,
.dVC-form__textarea::placeholder { color: var(--dVC-txt3); }

.dVC-form__input:focus,
.dVC-form__select:focus,
.dVC-form__textarea:focus {
    border-color: var(--dVC-input-focus);
    box-shadow: 0 0 0 3px rgba(41,151,255,0.15);
}

.dVC-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.dVC-form__textarea { resize: vertical; line-height: 1.6; }

.dVC-form__upload {
    position: relative;
    border: 2px dashed var(--dVC-input-border);
    border-radius: 12px;
    background: var(--dVC-input-bg);
    transition: border-color 0.2s;
    overflow: hidden;
}
.dVC-form__upload:hover { border-color: var(--dVC-accent2); }

.dVC-form__upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.dVC-form__upload-ui {
    padding: 28px 20px;
    text-align: center;
    pointer-events: none;
}

.dVC-form__upload-icon { font-size: 28px; color: var(--dVC-accent2); margin-bottom: 8px; }
.dVC-form__upload-text { font-size: 14px; color: var(--dVC-txt2); margin: 0 0 6px; }
.dVC-form__upload-link { color: var(--dVC-accent2); font-weight: 500; }
.dVC-form__upload-hint { font-size: 12px; color: var(--dVC-txt3); margin: 0; }
.dVC-form__upload-filename {
    text-align: center;
    font-size: 13px;
    color: var(--dVC-accent2);
    font-weight: 500;
    padding: 0 20px 12px;
    margin: 0;
}

.dVC-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--dVC-txt2);
    cursor: pointer;
    line-height: 1.5;
}
.dVC-form__checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--dVC-accent);
    flex-shrink: 0;
}

.dVC-form__footer { display: flex; flex-direction: column; gap: 16px; }
.dVC-link { color: var(--dVC-accent2); text-decoration: underline; }

@media (max-width: 768px) {
    .dVC-form__row--2col { flex-direction: column; }
}


/* ==========================================================================
   12. ANIMACIONES
   ========================================================================== */

@keyframes dVC-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dVC-hero__eyebrow { animation: dVC-fadeInUp 0.7s 0.05s ease both; }
.dVC-hero__title   { animation: dVC-fadeInUp 0.7s 0.12s ease both; }
.dVC-hero__sub     { animation: dVC-fadeInUp 0.7s 0.20s ease both; }
.dVC-cta-row       { animation: dVC-fadeInUp 0.7s 0.28s ease both; }
.dVC-hero__trust   { animation: dVC-fadeInUp 0.7s 0.34s ease both; }
.dVC-hero__badges  { animation: dVC-fadeInUp 0.7s 0.42s ease both; }


/* ==========================================================================
   13. MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    .dVC-nav__links { display: none; }
    .dVC-compare-grid,
    .dVC-pricing-grid { grid-template-columns: 1fr; }
    .dVC-hero { padding: 100px 20px 60px; }
    .dVC-section { padding: 60px 20px; }
    /* Tablet — iPhone 220px → factor 0.2301 → screen top:35 left:8 w:203 h:368 */
    .dVC-carrusel__item   { width: 220px; --dVC-off-1: 200px; --dVC-off-2: 360px; }
    .dVC-carrusel__iphone { width: 220px; }
    .dVC-carrusel__screen { top: 35px; left: 8px; width: 203px; height: 368px; }
    .dVC-carrusel__track  { height: 520px; }
}

@media (max-width: 480px) {
    .dVC-btn { padding: 13px 22px; font-size: 14px; }
    /* El botón --sm (usado en el nav) mantiene su tamaño compacto */
    .dVC-btn--sm { padding: 7px 14px; font-size: 12px; }
    /* El botón --hero del CTA del landing se mantiene ligeramente más grande */
    .dVC-btn--hero { padding: 16px 28px; font-size: 15px; }
    .dVC-hero__trust { font-size: 12px; margin-bottom: 32px; }
    .dVC-cta-row { flex-direction: column; align-items: center; }
    /* Nav: reducir padding horizontal y gaps para que quepa todo */
    .dVC-nav__inner    { padding: 0 14px; gap: 10px; }
    .dVC-nav__actions  { gap: 8px; }
    .dVC-nav__logo img { height: 20px; }
    /* Móvil — iPhone 180px → factor 0.1883 → screen top:28 left:7 w:166 h:301 */
    .dVC-carrusel__item   { width: 180px; --dVC-off-1: 140px; --dVC-off-2: 250px; }
    .dVC-carrusel__iphone { width: 180px; }
    .dVC-carrusel__screen { top: 28px; left: 7px; width: 166px; height: 301px; }
    .dVC-carrusel__track  { height: 420px; }
}


/* FAQ → CTA "¿No encuentras tu respuesta?" → contacto.html */
.dVC-faq-help {
    display: flex; align-items: center; gap: 16px;
    margin: 32px auto 0; max-width: 760px;
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    border-radius: 14px; padding: 16px 20px;
}
.dVC-faq-help__icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(41,151,255,0.12); color: var(--dVC-accent2);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.dVC-faq-help__body { flex: 1; }
.dVC-faq-help__title { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--dVC-txt1); }
.dVC-faq-help__desc  { margin: 0; font-size: 13px; color: var(--dVC-txt3); line-height: 1.4; }
@media (max-width: 600px) {
    .dVC-faq-help { flex-direction: column; text-align: center; padding: 20px; }
}


/* ==========================================================================
   15. POLÍTICA DE PRIVACIDAD (public/politica-privacidad.html)
   ========================================================================== */

.dVC-pp { padding-top: 20px; }
.dVC-pp__inner { max-width: 820px; }

/* Nav rápido por secciones */
.dVC-pp-nav {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: 0 0 36px;
}
.dVC-pp-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--dVC-border);
    font-size: 13px; font-weight: 500;
    color: var(--dVC-txt2); text-decoration: none;
    background: var(--dVC-card);
    transition: all 0.2s;
}
.dVC-pp-nav a:hover, .dVC-pp-nav a.is-active {
    border-color: var(--dVC-accent2);
    color: var(--dVC-accent2);
    background: rgba(41,151,255,0.06);
}

/* Secciones */
.dVC-pp-section { margin-bottom: 40px; }
.dVC-pp-section h2 {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 600;
    color: var(--dVC-txt1);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dVC-border);
    letter-spacing: -0.01em;
}
.dVC-pp-section h2 i { color: var(--dVC-accent2); font-size: 18px; }
.dVC-pp-section h3 {
    font-size: 16px; font-weight: 600;
    color: var(--dVC-txt1);
    margin: 24px 0 10px;
    letter-spacing: -0.005em;
}
.dVC-pp-section p {
    font-size: 15px; line-height: 1.7;
    color: var(--dVC-txt2);
    margin: 0 0 12px;
}
.dVC-pp-section ul {
    margin: 8px 0 14px 24px; padding: 0;
}
.dVC-pp-section ul li {
    font-size: 15px; line-height: 1.7;
    color: var(--dVC-txt2);
    margin-bottom: 8px;
}
.dVC-pp-section strong { color: var(--dVC-txt1); font-weight: 600; }
.dVC-pp-section a {
    color: var(--dVC-accent2);
    text-decoration: underline; text-underline-offset: 2px;
}
.dVC-pp-section a:hover { color: var(--dVC-accent); }
.dVC-pp-section code {
    font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
    font-size: 13px; padding: 2px 6px; border-radius: 4px;
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    color: var(--dVC-txt1);
}

/* Tabla (datos del responsable, cookies) */
.dVC-pp-table {
    width: 100%; border-collapse: collapse;
    font-size: 14px; margin: 14px 0;
}
.dVC-pp-table th {
    background: var(--dVC-card);
    color: var(--dVC-txt1); font-weight: 600;
    padding: 10px 14px; text-align: left;
    border-bottom: 2px solid var(--dVC-border);
}
.dVC-pp-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--dVC-border);
    color: var(--dVC-txt2);
    vertical-align: top;
}
.dVC-pp-table tr:last-child td { border-bottom: none; }

/* Details expandible */
.dVC-pp-details {
    border: 1px solid var(--dVC-border); border-radius: 10px;
    margin-top: 10px; overflow: hidden;
    background: var(--dVC-card);
}
.dVC-pp-details summary {
    padding: 12px 16px; cursor: pointer;
    font-size: 13px; font-weight: 600;
    color: var(--dVC-txt2);
    list-style: none;
}
.dVC-pp-details summary::-webkit-details-marker { display: none; }
.dVC-pp-details summary::before {
    content: '▸ '; color: var(--dVC-accent2); transition: transform 0.2s;
    display: inline-block; margin-right: 4px;
}
.dVC-pp-details[open] summary::before { content: '▾ '; }
.dVC-pp-details .dVC-pp-table { margin: 0; }

/* Info box (compromiso, recomendación) */
.dVC-pp-info {
    background: rgba(41,151,255,0.08);
    border-left: 4px solid var(--dVC-accent2);
    border-radius: 10px;
    padding: 16px 20px; margin: 16px 0;
    font-size: 14px; line-height: 1.6;
    color: var(--dVC-txt2);
}
.dVC-pp-info strong { color: var(--dVC-txt1); }
.dVC-pp-info i { color: var(--dVC-accent2); margin-right: 4px; }

/* Última actualización */
.dVC-pp-updated {
    font-size: 12px; color: var(--dVC-txt3);
    text-align: center; margin-top: 40px; padding-top: 20px;
    border-top: 1px solid var(--dVC-border);
}

@media (max-width: 720px) {
    .dVC-pp-section h2 { font-size: 19px; }
    .dVC-pp-table { font-size: 13px; }
    .dVC-pp-table th, .dVC-pp-table td { padding: 8px 10px; }
}


/* ==========================================================================
   14. FORMULARIO DE CONTACTO (public/contacto.html)
   ========================================================================== */

/* Hero específico del contacto: menos padding bottom, mismo glow */
.dVC-hero--contact { padding-bottom: 40px; }
.dVC-hero--contact .dVC-hero__inner { max-width: 760px; }

/* Sección contenedora */
.dVC-contact { padding-top: 20px; }
.dVC-contact__inner { max-width: 760px; }

/* ── Cards de tipo de consulta ─────────────────────────────────────────── */
.dVC-contact-types {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    margin: 0 0 36px;
}
.dVC-contact-type { cursor: pointer; }
.dVC-contact-type input[type="radio"] {
    position: absolute; opacity: 0; pointer-events: none;
}
.dVC-contact-type__card {
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    border-radius: 14px; padding: 18px 18px;
    transition: all 0.2s;
    display: flex; flex-direction: column; gap: 6px; height: 100%;
}
.dVC-contact-type__card:hover {
    border-color: rgba(41,151,255,0.35); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,113,227,0.10);
}
.dVC-contact-type input:checked ~ .dVC-contact-type__card {
    border-color: var(--dVC-accent2); background: rgba(41,151,255,0.06);
    box-shadow: 0 4px 18px rgba(0,113,227,0.15);
}
.dVC-contact-type__icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(41,151,255,0.12); color: var(--dVC-accent2);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.dVC-contact-type input:checked ~ .dVC-contact-type__card .dVC-contact-type__icon {
    background: var(--dVC-accent); color: #fff;
}
.dVC-contact-type__title { font-size: 15px; font-weight: 600; color: var(--dVC-txt1); margin-top: 4px; }
.dVC-contact-type__desc  { font-size: 13px; color: var(--dVC-txt3); line-height: 1.4; }

/* ── Formulario ────────────────────────────────────────────────────────── */
.dVC-contact-form { display: flex; flex-direction: column; gap: 18px; }
.dVC-contact-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.dVC-contact-field { display: flex; flex-direction: column; gap: 6px; }
.dVC-contact-field label {
    font-size: 13px; font-weight: 500; color: var(--dVC-txt2);
    letter-spacing: 0.01em;
}
.dVC-required { color: #ff6961; margin-left: 2px; }
.dVC-contact-optional { color: var(--dVC-txt3); font-weight: 400; font-size: 12px; }

.dVC-contact-field input[type="text"],
.dVC-contact-field input[type="email"],
.dVC-contact-field select,
.dVC-contact-field textarea {
    background: var(--dVC-input-bg); color: var(--dVC-txt);
    border: 1px solid var(--dVC-input-border); border-radius: 10px;
    padding: 11px 14px; font-size: 15px; font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%; box-sizing: border-box;
}
.dVC-contact-field input::placeholder,
.dVC-contact-field textarea::placeholder { color: var(--dVC-txt3); opacity: 1; }
.dVC-contact-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.dVC-contact-field input:hover,
.dVC-contact-field select:hover,
.dVC-contact-field textarea:hover {
    border-color: var(--dVC-border2);
}
.dVC-contact-field input:focus,
.dVC-contact-field select:focus,
.dVC-contact-field textarea:focus {
    outline: none;
    border-color: var(--dVC-input-focus);
    box-shadow: 0 0 0 3px rgba(41,151,255,0.22);
}
.dVC-contact-field input.has-error,
.dVC-contact-field select.has-error,
.dVC-contact-field textarea.has-error {
    border-color: #ff6961;
    box-shadow: 0 0 0 3px rgba(255,105,97,0.16);
}
.dVC-contact-err {
    font-size: 12px; color: #ff6961; min-height: 16px; line-height: 1.3;
}

/* Prefix input (digitalvcard.es/u/) */
.dVC-contact-prefix-input {
    display: flex; align-items: stretch;
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    border-radius: 10px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dVC-contact-prefix-input:focus-within {
    border-color: var(--dVC-accent2);
    box-shadow: 0 0 0 3px rgba(41,151,255,0.18);
}
.dVC-contact-prefix {
    padding: 11px 12px 11px 14px; font-size: 14px;
    color: var(--dVC-txt3); background: rgba(0,0,0,0.04);
    border-right: 1px solid var(--dVC-border); white-space: nowrap;
}
[data-dvc-theme="dark"] .dVC-contact-prefix { background: rgba(255,255,255,0.03); }
.dVC-contact-prefix-input input {
    border: none !important; box-shadow: none !important;
    padding-left: 10px !important; border-radius: 0 !important;
    background: transparent !important;
}

/* Honeypot — invisible para humanos, visible para bots */
.dVC-contact-honeypot {
    position: absolute !important; left: -9999px !important;
    width: 1px !important; height: 1px !important; opacity: 0 !important;
    pointer-events: none !important;
}

/* Counter caracteres */
.dVC-contact-counter {
    text-align: right; font-size: 11px; color: var(--dVC-txt3);
    margin-top: -4px;
}

/* Filebox para adjuntos */
.dVC-contact-file-input { display: none; }
.dVC-contact-filebox {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--dVC-card); border: 1px dashed var(--dVC-border);
    border-radius: 12px; padding: 22px;
    cursor: pointer; transition: all 0.2s;
    text-align: center;
}
.dVC-contact-filebox:hover {
    border-color: var(--dVC-accent2); background: rgba(41,151,255,0.04);
}
.dVC-contact-filebox i { font-size: 22px; color: var(--dVC-accent2); }
.dVC-contact-filebox__text { font-size: 14px; color: var(--dVC-txt1); font-weight: 500; }
.dVC-contact-filebox__hint { font-size: 12px; color: var(--dVC-txt3); }
.dVC-contact-file-list { display: flex; flex-direction: column; gap: 6px; }
.dVC-contact-file-item {
    display: flex; align-items: center; gap: 10px; font-size: 13px;
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    border-radius: 8px; padding: 8px 12px; color: var(--dVC-txt1);
}
.dVC-contact-file-item i { color: var(--dVC-accent2); }
.dVC-contact-file-item__size { color: var(--dVC-txt3); font-size: 12px; margin-left: auto; }
.dVC-contact-file-item__remove {
    background: none; border: none; cursor: pointer; color: var(--dVC-txt3);
    font-size: 14px; padding: 2px 6px; transition: color 0.2s;
}
.dVC-contact-file-item__remove:hover { color: #ff6961; }

/* Privacy checkbox */
.dVC-contact-privacy { padding-top: 4px; }
.dVC-contact-checkbox {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    font-size: 14px; color: var(--dVC-txt2); line-height: 1.5;
}
.dVC-contact-checkbox input[type="checkbox"] {
    margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px;
    accent-color: var(--dVC-accent);
}
.dVC-contact-checkbox a { color: var(--dVC-accent2); text-decoration: underline; }

/* Submit */
.dVC-contact-submit {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    margin-top: 10px;
}
.dVC-contact-btn__spinner { display: inline-flex; align-items: center; }
.dVC-contact-trust {
    font-size: 12px; color: var(--dVC-txt3); margin: 0; text-align: center;
}
.dVC-contact-trust i { color: #6acf6a; margin-right: 4px; }

/* Error global */
.dVC-contact-form-error {
    background: rgba(255,105,97,0.10); border: 1px solid rgba(255,105,97,0.35);
    color: #ff6961; padding: 12px 16px; border-radius: 10px;
    font-size: 14px; line-height: 1.5;
}

/* Mensaje éxito */
.dVC-contact-success {
    text-align: center; padding: 40px 24px;
    background: var(--dVC-card); border: 1px solid var(--dVC-border);
    border-radius: 18px;
    animation: dVC-fadeInUp 0.6s ease both;
}
.dVC-contact-success__icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(106,207,106,0.15); color: #6acf6a;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 32px;
}
.dVC-contact-success h2 {
    font-size: 24px; font-weight: 600; color: var(--dVC-txt1);
    margin: 0 0 12px; letter-spacing: -0.01em;
}
.dVC-contact-success p {
    font-size: 16px; color: var(--dVC-txt2);
    max-width: 480px; margin: 0 auto 24px; line-height: 1.6;
}

/* Responsive */
@media (max-width: 720px) {
    .dVC-contact-types { grid-template-columns: 1fr; gap: 10px; }
    .dVC-contact-row   { grid-template-columns: 1fr; gap: 14px; }
}


/* ==========================================================================
   EDITOR PENSADO POR HUMANOS — bloque entre "Comparte sin límite" y "Modelos".
   Layout vertical: texto centrado arriba, video del editor grande debajo.
   ========================================================================== */
.dVC-editor-preview { padding: 5rem 1.5rem; }
.dVC-editor-preview__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.dVC-editor-preview__copy {
    max-width: 720px;
    margin: 0 auto 3rem;
}
.dVC-editor-preview__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dVC-txt);
    margin: 0.5rem 0 1.25rem;
}
.dVC-editor-preview__lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.6;
    color: var(--dVC-txt2);
    margin: 0 auto 1.75rem;
    max-width: 620px;
}
.dVC-editor-preview__visual {
    /* Sombra estilo Apple para que el video "flote" sobre el fondo. */
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
    border-radius: 16px;
    overflow: hidden;
}
.dVC-editor-preview__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Móvil — solo reducimos paddings, el layout vertical ya está. */
@media (max-width: 860px) {
    .dVC-editor-preview { padding: 3.5rem 1rem; }
    .dVC-editor-preview__copy { margin-bottom: 2rem; }
}

