/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--navbar-h) + var(--navbar-gap) + var(--space-xl));
    padding-bottom: var(--space-lg);
    overflow: hidden;
    background: var(--hero-bg-dark);
}
.hero__wash {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(47, 111, 237, 0.35), transparent 65%);
}
.hero__corner-glow {
    position: absolute; top: -120px; right: -80px; z-index: 0;
    width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(47, 111, 237, 0.25), transparent 70%);
    animation: hero-corner-pulse 5s ease-in-out infinite;
}
@keyframes hero-corner-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__corner-glow { animation: none; }
}
.hero__hexfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "actions";
    gap: var(--space-2xl);
    max-width: var(--content-max); margin-inline: auto; padding-inline: var(--content-pad);
    align-items: start;
}
@media (min-width: 1100px) {
    .hero__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        grid-template-areas: "copy visual" "actions visual";
        column-gap: var(--space-3xl); row-gap: var(--space-xl);
    }
}
.hero__copy { position: relative; z-index: 1; grid-area: copy; }
.hero__title {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(1.875rem, 3.8vw, 2.5rem);
    line-height: 1.18; letter-spacing: -0.03em; margin-top: var(--space-md); color: var(--color-text);
}
.hero__lead { margin-top: var(--space-lg); font-size: var(--text-lg); color: var(--color-text-muted); }
.hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
@media (max-width: 1099px) {
    .hero__actions { justify-content: center; margin-top: calc(-1 * var(--space-xl)); }
    .hero__visual { margin-top: calc(-1 * var(--space-xl)); }
    .hero { padding-bottom: var(--space-3xl); }
}
.hero__trust { display: flex; align-items: flex-start; gap: var(--space-sm); margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-text-muted); line-height: var(--leading-snug); }
.hero__trust-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--color-text-soft); }

.hero .eyebrow { color: var(--color-text-onink); }
.hero .eyebrow::before { background: var(--color-accent-onink); }
.hero .hero__title { color: var(--color-text-ondark); }
.hero .hero__lead { color: var(--color-text-onink); }
.hero .hero__trust { color: var(--color-text-onink); }
.hero__visual .hero__trust { margin-top: var(--space-md); position: relative; z-index: 1; }
.hero .hero__trust-icon { color: var(--color-text-onink); }
.hero .hero__shot { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* ============ HERO — CAPTURA DEL PRODUCTO ============ */
.hero__visual { position: relative; grid-area: visual; }
@media (min-width: 1100px) {
    .hero__visual { margin-top: 42px; }
}
.hero__visual-glow {
    position: absolute; inset: -12% -8%; z-index: 0;
    background: radial-gradient(ellipse 65% 60% at 50% 45%, #2f6fed, #0047ab 55%, transparent 75%);
    opacity: 0.18; filter: blur(60px); pointer-events: none;
}
.hero__shot {
    position: relative; z-index: 1;
    border-radius: var(--radius-xl); overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
    animation: hero-shot-in 700ms ease both;
}
.hero__shot img { display: block; width: 100%; height: auto; }
@keyframes hero-shot-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-shot-defocus {
    from { filter: blur(0); }
    to   { filter: blur(3px); }
}

.hero__shot-wrap { position: relative; }

.hero__detail {
    display: none; z-index: 2;
    animation: hero-shot-in 700ms ease 250ms both;
}
.hero__detail-card {
    position: relative; z-index: 1;
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(0, 71, 171, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
.hero__detail-card img { display: block; width: 100%; height: auto; }

.hero__detail--mensajes { animation-delay: 250ms; }
.hero__detail--ia { animation-delay: 380ms; }
@media (min-width: 1320px) {
    .hero__detail { display: block; position: absolute; }
    .hero__detail--mensajes { width: 500px; left: 70px; top: 205px; }
    .hero__detail--ia { width: 240px; top: 38px; right: 22px; }
    .hero__shot img { animation: hero-shot-defocus 900ms ease-in-out 600ms both; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__shot, .hero__detail, .hero__shot img { animation: none; }
}

/* ============ TOQUE PARA ZOOM (< 1320px) ============ */
.hero__zoom-trigger {
    position: absolute; z-index: 2; right: var(--space-md); bottom: var(--space-md);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px var(--space-md); border-radius: var(--radius-pill);
    background: rgba(20, 23, 26, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff; font-size: var(--text-xs); font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.hero__zoom-trigger svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (min-width: 1320px) {
    .hero__zoom-trigger { display: none; }
}

.hero-zoom-modal__img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.hero-zoom-modal__img + .hero-zoom-modal__img { margin-top: var(--space-md); }
.hero-zoom-modal__caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-text-muted); }
.hero-zoom-modal__caption + .hero-zoom-modal__img { margin-top: var(--space-xs); }
