/* ==========================================================================
   Tangerine Express — style.css
   Fiel al diseño original (Claude Design) + responsive mobile-first agregado.
   Breakpoints: 640px (sm), 768px (md), 1024px (lg).
   ========================================================================== */

:root {
    --orange: #FF6B00;
    --orange-tint: #FFF1E6;
    --orange-deep: #E85D00;
    --green: #00A651;
    --green-tint: #E7F7EE;
    --green-deep: #00793D;
    --mint: #24CE7A;
    --ink: #1C1D1F;
    --ink-soft: #5B5F63;
    --ink-dim: #8A8E92;
    --border: #E7EAE7;
    --clover-green: #3EA055;
    --clover-tint: #EAF6ED;
    --imin-red: #E4002B;
    --imin-tint: #FDE9EC;
    --bg-soft: #F7F8F6;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(28, 29, 31, 0.07);
    --shadow-lg: 0 24px 60px rgba(28, 29, 31, 0.12);
}

* { box-sizing: border-box; }
/* Red de seguridad global: cualquier elemento con el atributo HTML "hidden"
   se oculta SIEMPRE, sin importar qué clase de display le pongan otras reglas
   (evita el bug recurrente de especificidad CSS que ya apareció varias veces
   en este proyecto: .mobile-menu, .hardware-image-pair, .btn, etc). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.overflow-x-hidden { overflow-x: hidden; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.text-orange { color: var(--orange); }
.text-green { color: var(--green-deep); }
.text-mint { color: var(--mint); }
.text-center { text-align: center; }
.bg-orange-tint { background: var(--orange-tint); }
.bg-green-tint { background: var(--green-tint); }
.bg-soft { background: var(--bg-soft); }
.bg-orange { background: var(--orange); }
.bg-green { background: var(--green); }
.bg-ink { background: var(--ink); }
.bg-clover { background: var(--clover-green); }
.bg-imin { background: var(--imin-red); }

/* ---------- Botones (objetivo táctil ~48px) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: 100px; font-weight: 700; font-size: 14.5px;
    text-decoration: none; border: none; cursor: pointer; transition: all .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(255,107,0,.3); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-secondary { background: transparent; border: 2px solid var(--border); color: var(--ink); }
.btn-secondary:hover { background: var(--bg-soft); }
.btn-secondary-light { background: #fff; color: var(--ink); }
.btn-secondary-light:hover { background: var(--bg-soft); }
.btn-ghost { background: transparent; border: 2px solid var(--border); color: var(--ink); }
.btn-full { width: 100%; padding: 15px 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 10px 16px; min-height: 68px;
}
.logo-img { height: 38px; width: auto; }
@media (min-width: 768px) { .logo-img { height: 44px; } }
.nav-desktop { display: none; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nav-desktop a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-sales-btn { display: none; padding: 10px 18px; }
.nav-demo-btn { padding: 9px 14px; font-size: 12.5px; }

.lang-switch { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 5px; padding: 8px 10px;
    border: 1px solid var(--border); border-radius: 100px; background: var(--bg-soft);
    font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer;
    min-height: 40px;
}
.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
    border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
    min-width: 160px; padding: 6px; z-index: 200; list-style: none;
}
.lang-menu li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600;
    cursor: pointer; color: var(--ink-soft);
}
.lang-menu li:hover { background: var(--bg-soft); color: var(--ink); }

.hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
    margin: 0 -4px 0 0;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    display: none; flex-direction: column; gap: 2px; padding: 8px 16px 16px;
    border-top: 1px solid var(--border); background: #fff;
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a { padding: 12px 8px; font-weight: 600; font-size: 15px; border-radius: 10px; }
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 8px; width: 100%; }

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .nav-sales-btn { display: inline-flex; }
    .nav-demo-btn { padding: 13px 24px; font-size: 14.5px; }
    .hamburger { display: none; }
}

/* ---------- Hero: foto de fondo completa + overlay + contenido centrado ---------- */
.hero { position: relative; padding-top: 24px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.5) 55%, #fff 100%),
        radial-gradient(700px 400px at 15% 0%, var(--orange-tint), transparent 60%),
        radial-gradient(700px 450px at 90% 10%, var(--green-tint), transparent 55%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; padding: 36px 16px 0; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    border-radius: 100px; background: var(--green-tint); color: var(--green-deep);
    font-size: 12px; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(0,166,81,.18);
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex-shrink: 0; animation: te-pulse 2s infinite; }
@keyframes te-pulse {
    0% { box-shadow: 0 0 0 0 rgba(36,206,122,.55); }
    70% { box-shadow: 0 0 0 9px rgba(36,206,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(36,206,122,0); }
}
@keyframes te-floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

h1 { font-size: clamp(30px, 7vw, 58px); line-height: 1.1; }
.hero-sub { font-size: 16px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); max-width: 520px; margin: 18px auto 0; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { width: 100%; }
.hero-trust {
    margin-top: 22px; font-size: 12.5px; color: #fff; font-weight: 600;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
    display: flex; flex-direction: column; gap: 6px; padding-bottom: 40px;
}

@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; justify-content: center; }
    .hero-ctas .btn { width: auto; }
    .hero-trust { flex-direction: row; justify-content: center; gap: 22px; }
}
@media (min-width: 768px) { .hero { padding-top: 40px; } .hero-content { padding-top: 48px; } }

/* Mockup flotante */
.hero-mockup {
    position: relative; z-index: 1; max-width: 900px; margin: 0 auto 48px;
    border-radius: 24px; overflow: hidden; padding: 28px 20px 24px;
    background: linear-gradient(135deg, var(--orange) 0%, #FF8F4D 100%);
    box-shadow: var(--shadow-lg);
}
.hero-mockup-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-mockup-img { width: 150px; height: auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.25)); cursor: zoom-in; border-radius: 12px; }
.hero-mockup-side { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.hero-pill-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-pill { padding: 9px 14px; background: rgba(255,255,255,.92); border-radius: 100px; font-weight: 700; font-size: 11.5px; color: var(--ink); }
.float-1 { animation: te-floaty 5s ease-in-out infinite; }
.float-2 { animation: te-floaty 5.5s ease-in-out infinite; animation-delay: .3s; }
.float-3 { animation: te-floaty 6s ease-in-out infinite; animation-delay: .6s; }
.float-4 { animation: te-floaty 6.5s ease-in-out infinite; animation-delay: .9s; }
.hero-approved { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); border-radius: 14px; }
.hero-approved-check { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-approved span:last-child { color: #fff; font-weight: 700; font-size: 12.5px; }
.hero-mockup-caption { text-align: center; margin-top: 20px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.75); word-break: break-word; }

@media (min-width: 640px) { .hero-mockup-inner { flex-direction: row; justify-content: center; gap: 28px; } .hero-mockup-img { width: 200px; } }
@media (min-width: 768px) { .hero-mockup { padding: 44px 36px 36px; } .hero-mockup-img { width: 240px; } .hero-pill-row { justify-content: flex-start; } .hero-mockup-side { align-items: flex-start; } }

/* ---------- Trust bar ---------- */
.trustbar { padding: 32px 0; text-align: center; }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; }
.trustbar-label { width: 100%; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-dim); font-weight: 700; margin-bottom: 6px; }
.trustbar-inner img { opacity: .85; width: auto; object-fit: contain; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 52px 0; }
.section-head { max-width: 640px; margin: 0 auto 34px; }
.section-head-center { text-align: center; }
.kicker { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; display: block; }
.section h2 { font-size: clamp(24px, 5vw, 34px); margin-bottom: 12px; }
.section-p { font-size: 15.5px; color: var(--ink-soft); }
@media (min-width: 768px) { .section { padding: 76px 0; } }

/* ---------- Grids auto-fit (responsive sin necesidad de breakpoints manuales) ---------- */
.cards-autofit { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cards-autofit-sm { grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .cards-autofit { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (min-width: 560px) { .cards-autofit-sm { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }

.benefit-card { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.badge-tag { display: inline-flex; padding: 6px 12px; border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 18px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 16px; }
.benefit-card ul li { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; padding: 4px 0; }
.benefit-card ul li::before { content: '✓ '; }

.mini-card { text-align: center; padding: 24px 12px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--border); }
.mini-card img { height: 36px; width: auto; margin: 0 auto 12px; }
.mini-card-emoji { display: block; font-size: 24px; margin-bottom: 12px; }
.mini-card p { font-size: 12.5px; font-weight: 700; }

/* ---------- Productos / hardware toggle ---------- */
.hardware-card { border-radius: 24px; padding: 20px; background: #fff; border: 1px solid var(--border); }
.hardware-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.hardware-head h3 { font-size: 20px; margin-top: 8px; }

.segmented {
    position: relative; display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 100px; padding: 4px; box-shadow: var(--shadow); align-self: flex-start;
}
.segmented-thumb {
    position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
    border-radius: 100px; background: var(--clover-green);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease;
}
.segmented[data-active="imin"] .segmented-thumb { transform: translateX(100%); background: var(--imin-red); }
.segmented-btn {
    position: relative; z-index: 1; border: none; background: transparent; padding: 10px 22px;
    border-radius: 100px; font-weight: 700; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; min-width: 78px;
}
.segmented-btn.active { color: #fff; }

.hardware-body { display: flex; flex-direction: column; gap: 24px; }
.carousel { display: none; position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-soft); touch-action: pan-y; }
.carousel:not([hidden]) { display: block; }
.carousel-track { display: flex; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.carousel-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 20px; }
.carousel-slide img { max-width: 100%; max-height: 260px; object-fit: contain; cursor: zoom-in; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.92);
    color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: flex;
    align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 2;
}
.carousel-arrow:hover { background: #fff; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 16px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--border); padding: 0; cursor: pointer; }
.carousel-dots button.active { background: var(--orange); width: 20px; border-radius: 4px; transition: width .2s ease; }

.spec-list { display: none; flex-direction: column; gap: 10px; }
.spec-list:not([hidden]) { display: flex; }
.spec-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.spec-letter { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }

@media (min-width: 640px) {
    .hardware-head { flex-direction: row; justify-content: space-between; align-items: flex-start; }
    .segmented { align-self: auto; }
}
@media (min-width: 768px) {
    .hardware-card { padding: 36px; }
    .hardware-body { flex-direction: row; align-items: center; gap: 32px; }
    .hardware-image { flex: 1.15; }
    .hardware-specs { flex: 0.85; }
    .carousel-slide { min-height: 300px; }
    .carousel-slide img { max-height: 320px; }
}

/* ---------- Demo form ---------- */
.demo-panel { background: var(--ink); border-radius: 24px; padding: 26px 18px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.demo-copy { color: #fff; text-align: center; }
.demo-copy h2 { color: #fff; font-size: clamp(22px, 5vw, 30px); margin: 6px 0 14px; }
.demo-copy p { color: rgba(255,255,255,.68); font-size: 15px; }
.demo-bullets { margin-top: 20px; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.demo-bullets li { font-size: 13.5px; color: rgba(255,255,255,.85); font-weight: 600; }

.demo-form-card { background: #fff; border-radius: 18px; padding: 22px 18px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 12px; }
.field input, .field select {
    width: 100%; padding: 14px 15px; border: 1px solid var(--border); border-radius: 10px;
    font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; min-height: 48px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,.15); }
.field input.invalid, .field select.invalid { border-color: var(--imin-red); }
.field-error { color: var(--imin-red); font-size: 12px; margin-top: 5px; }
.demo-disclaimer { font-size: 11px; color: var(--ink-dim); text-align: center; margin-top: 10px; }

.demo-thanks { text-align: center; padding: 24px 8px; }
.demo-thanks-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 16px; }
.demo-thanks-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.demo-thanks p { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 16px; }

@media (min-width: 768px) {
    .demo-panel { grid-template-columns: 1fr 1fr; padding: 48px 40px; align-items: start; }
    .demo-copy { text-align: left; }
    .demo-form-card { padding: 30px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 26px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 32px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { font-size: 13.5px; color: var(--ink-dim); margin-top: 12px; max-width: 280px; }
.footer-h { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim); margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 12px; color: var(--ink-dim); font-family: 'JetBrains Mono', monospace; text-align: center; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border: 1px solid var(--border); color: var(--ink-soft); }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Testimonios ---------- */
.testimonial-card { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.testimonial-quote { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
.testimonial-quote::before { content: '“'; font-family: 'Space Grotesk', serif; font-size: 32px; color: var(--orange); line-height: 0; display: inline-block; vertical-align: -10px; margin-right: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; }
.testimonial-avatar-fallback { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 13.5px; }
.testimonial-role { font-size: 12px; color: var(--ink-dim); }

/* ---------- FAQ ---------- */
.wrap-narrow { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; background: none; border: none; text-align: left; cursor: pointer;
    font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.faq-question-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .2s ease; }
.faq-item.open .faq-question-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
/* ---------- Get a Quote (modal multi-paso) ---------- */
.quote-overlay {
    position: fixed; inset: 0; z-index: 900; background: rgba(28,29,31,.55);
    display: flex; align-items: flex-end; justify-content: center; padding: 0;
    backdrop-filter: blur(2px);
}
.quote-overlay[hidden] { display: none; }
.quote-modal {
    background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
    border-radius: 24px 24px 0 0; padding: 24px 20px 20px; position: relative;
    box-shadow: var(--shadow-lg);
}
.quote-close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.quote-progress { height: 4px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; margin: 8px 0 22px; }
.quote-progress-bar { height: 100%; background: var(--orange); border-radius: 100px; width: 0%; transition: width .3s ease; }

.quote-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; color: var(--ink-dim); letter-spacing: .06em; margin-bottom: 8px; }
.quote-question { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 18px; }

.quote-options { display: flex; flex-direction: column; gap: 10px; }
.quote-option {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
    font-weight: 600; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: left;
    min-height: 48px; transition: border-color .15s ease, background .15s ease;
}
.quote-option:hover { border-color: var(--orange); background: var(--orange-tint); }
.quote-option.selected { border-color: var(--orange); background: var(--orange-tint); color: var(--orange-deep); }
.quote-option-check {
    width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff;
}
.quote-option.selected .quote-option-check { background: var(--orange); border-color: var(--orange); }

.quote-intro { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; }
.quote-intro strong { color: var(--ink); }

.quote-nav { display: flex; gap: 10px; margin-top: 24px; position: sticky; bottom: 0; background: #fff; padding-top: 8px; }
.quote-nav .btn { flex: 1; }
.quote-back { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }

.quote-char-counter { text-align: right; font-size: 11px; color: var(--ink-dim); margin-top: 4px; }
.quote-char-counter.warning { color: var(--orange); }
.quote-char-counter.error { color: var(--imin-red); }

.quote-thanks { text-align: center; padding: 20px 0; }
.quote-thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 18px; }

@media (min-width: 640px) {
    .quote-overlay { align-items: center; padding: 24px; }
    .quote-modal { border-radius: 24px; padding: 32px; }
}
/* ---------- Lightbox (zoom de imágenes de producto) ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; background: rgba(28,29,31,.92);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(900px, 100%); max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff;
    font-size: 18px; cursor: pointer;
}
