/* =========================================================
   Globanzer POS — sitio
   Mobile-first. Base neutra muy oscura (#0B0D12 / #111318),
   acento de marca #4F7CFF → #8B5CF6 (solo como acento) y
   acento cálido ámbar #F5A524 para pequeños detalles.
   ========================================================= */

:root {
  --bg: #0b0d12;
  --bg-rgb: 11, 13, 18;
  --bg-2: #0f1116;
  --panel: #111318;
  --panel-2: #171a21;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #bcc0c9;
  --soft: #959aa6;
  --blue: #4f7cff;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #4f7cff 0%, #8b5cf6 100%);
  --warm: #f5a524;
  --warm-2: #ffc766;
  --warm-ink: #2a1a00;
  --wa: #25d366;
  --ok: #34d399;
  --danger: #ff8a7a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 6.5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* gradient text a bit brighter so it keeps contrast over photos */
.hero .grad, .confirm .grad { background-image: linear-gradient(135deg, #7c9dff 0%, #a98bff 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
  padding: .35rem .8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(var(--bg-rgb), .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px rgba(245, 165, 36, .7); }

.sub { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }

/* ---------- Focus & skip link ---------- */
:focus-visible {
  outline: 3px solid #9db4ff;
  outline-offset: 3px;
  border-radius: 8px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.3rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.btn-wa { background: var(--wa); color: #062c16; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .55); }
.btn-wa:hover { box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .75); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(110, 100, 255, .65); }
.btn-primary:focus-visible { outline-color: #c4b5fd; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }
.cta-row .btn { flex: 1 1 100%; }

.hide-sm { display: none; }
.show-sm { display: inline; }

/* ---------- Blend 3D renders into background ---------- */
.blend {
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(var(--bg-rgb), 0.8);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.6rem; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.header-ctas { display: flex; align-items: center; gap: .5rem; }
.header-ctas .btn-ficha { display: none; }

/* =========================================================
   Photo sections (full-bleed photo + gradient overlay)
   Mobile: the photo is a band on top that fades into the page.
   Desktop: the photo fills the section; text side is shaded.
   ========================================================= */
.photo-sec { position: relative; isolation: isolate; }
.photo-bg {
  position: relative; z-index: -1; overflow: hidden;
  height: clamp(240px, 66vw, 440px);
  background: var(--panel);
}
.photo-bg img {
  position: absolute; left: 0; top: -8%;
  width: 100%; height: 116%; max-width: none;
  object-fit: cover; object-position: 50% 40%;
  will-change: transform;
}
.photo-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(var(--bg-rgb), .35) 0%,
    rgba(var(--bg-rgb), .05) 35%,
    rgba(var(--bg-rgb), .55) 72%,
    var(--bg) 100%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0 0 4rem; overflow: hidden; }
.hero .photo-bg { position: absolute; inset: 0 0 auto 0; height: clamp(300px, 80vw, 460px); }
.hero .photo-bg img { object-position: 52% 30%; }
.hero .photo-bg::after {
  background: linear-gradient(180deg,
    rgba(var(--bg-rgb), .3) 0%,
    rgba(var(--bg-rgb), .1) 30%,
    rgba(var(--bg-rgb), .75) 70%,
    var(--bg) 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; padding-top: clamp(200px, 56vw, 340px); }
.hero-title { font-size: clamp(2.25rem, 10vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: .4em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.lead { font-size: 1.1rem; color: #d3d6dd; max-width: 34rem; }
.lead strong { color: #fff; }
.hero-points { margin-top: 1.5rem; display: grid; gap: .5rem; color: #d3d6dd; font-size: .95rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; }
.hero-points li::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%;
  background: var(--warm); box-shadow: 0 0 12px rgba(245, 165, 36, .7);
}

.hero-visual { position: relative; display: grid; place-items: center; perspective: 1200px; min-height: 560px; }

/* Phone mockup */
.phone { position: relative; z-index: 1; width: min(300px, 88vw); transform-style: preserve-3d; will-change: transform; }
.phone-frame {
  position: relative;
  border-radius: 42px;
  padding: 14px 12px 12px;
  background: linear-gradient(160deg, #23262f, #101217 55%, #1b1d24);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    inset 0 0 0 6px #07080b,
    0 0 0 1px rgba(255, 255, 255, .04),
    0 40px 80px -20px rgba(0, 0, 0, .85),
    0 0 90px -30px rgba(110, 100, 255, .45);
  display: flex; flex-direction: column;
  min-height: 560px;
}
.phone-notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #07080b; margin: -8px auto 6px; }
.chat-head { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem .7rem; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: .95rem; line-height: 1.2; }
.chat-head small { color: var(--ok); font-size: .72rem; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }

.chat { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: .9rem .55rem; font-size: .86rem; line-height: 1.4; }
.msg { max-width: 86%; }
.msg span { display: inline-block; padding: .55rem .8rem; border-radius: 16px; }
.msg.me { align-self: flex-end; text-align: left; }
.msg.me span { background: var(--grad); border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; }
.msg.bot span { background: #22252d; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.ok span { border-color: rgba(52, 211, 153, .5); }
.msg.ok span::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.mini-card { background: #1b1e25; border: 1px solid var(--line-2); border-left: 3px solid var(--warm); border-radius: 12px; padding: .6rem .75rem; }
.mini-card small { color: var(--warm-2); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.mini-card p { margin: .2rem 0 0; }
.mini-card .ask { color: var(--muted); }
.chat-input {
  margin: 0 .3rem .2rem; display: flex; align-items: center; gap: .5rem;
  background: #16181e; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .6rem .55rem 1rem;
  font-size: .82rem; color: var(--soft); min-height: 44px;
}
.chat-typed { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chat-typed.is-typing { color: #fff; }
.chat-typed.is-typing::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }
.send { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); flex: none; position: relative; }
.send::after { content: ""; position: absolute; inset: 9px 8px 9px 10px; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* typing dots — injected by JS only */
.msg.bot { position: relative; }
.dots { position: absolute; left: 0; top: 0; display: flex; gap: 4px; padding: .7rem .85rem; background: #22252d; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 5px; opacity: 0; visibility: hidden; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { opacity: .4; } }

@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 14px; z-index: 2; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; display: none; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Section rhythm ---------- */
section { position: relative; }
.how, .features, .register, .confirm, .globi, .pricing, .start { padding-block: 3.5rem; }
.how.photo-sec, .register.photo-sec { padding-top: 0; }
.sec-head { text-align: center; margin-bottom: 2.5rem; }
.sec-head .sub { margin-inline: auto; }

/* 3D stage */
.stage { perspective: 1100px; }
.stage img { transform-style: preserve-3d; will-change: transform; }

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.how .photo-bg img { object-position: 72% 50%; }
.how-grid { display: grid; gap: 1.5rem; align-items: center; margin-top: -3.5rem; position: relative; }
.how-copy { max-width: 36rem; }
.steps { display: grid; gap: 1rem; margin-top: 1.75rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.1rem;
  background: rgba(23, 26, 33, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, background-color .3s, transform .3s;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .35); color: var(--warm-2);
  transition: background .3s, color .3s;
}
.step.is-active { border-color: rgba(245, 165, 36, .5); background: rgba(30, 27, 22, .85); }
.step.is-active .step-n { background: var(--warm); color: var(--warm-ink); border-color: transparent; }

/* ---------- Feature cards ---------- */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.cards { display: grid; gap: 1rem; }
.card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #16181f, #111318);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, .12), transparent 70%);
  pointer-events: none;
}
.card:nth-child(even)::after { background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 70%); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem;
  background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .3);
}
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--warm); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cloud-strip {
  margin: 2.5rem auto 0; max-width: 820px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .8rem;
  padding: 1rem 1.25rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: #fff; font-weight: 600; text-align: center; font-size: .95rem;
}
.cloud-strip i { color: var(--warm); font-style: normal; display: none; }
.cloud-strip { flex-direction: column; border-radius: 20px; }

/* ---------- Register ---------- */
.register .photo-bg img { object-position: 30% 45%; }
.register-grid { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.register-visual { position: relative; margin-top: -4.5rem; }
.ticket {
  position: relative; display: inline-block;
  background: rgba(17, 19, 24, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-left: 3px solid var(--warm); border-radius: 16px; padding: .8rem 1rem; min-width: 200px;
  box-shadow: var(--shadow);
}
.ticket small { color: var(--warm-2); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.t-row { display: flex; justify-content: space-between; gap: 1rem; margin: .25rem 0 0; font-size: .92rem; }
.t-row.muted { color: var(--muted); font-size: .8rem; }
.checks { display: grid; gap: .65rem; margin: 1.25rem 0 1.5rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.checks li strong { color: #fff; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--warm);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 6px; height: 10px;
  border: solid var(--warm-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pay-title { font-size: 1rem; color: #fff; margin-bottom: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(var(--bg-rgb), .6); border: 1px solid var(--line-2);
}

/* ---------- Confirm ---------- */
.confirm { background: radial-gradient(ellipse at 70% 50%, rgba(52, 211, 153, .06), transparent 60%), var(--bg); }
.confirm-grid { display: grid; gap: 2rem; align-items: center; }
.confirm-visual { max-width: 440px; margin-inline: auto; width: 100%; }
.confirm-card {
  margin-top: 1.5rem; max-width: 360px;
  background: var(--panel); border: 1px solid var(--line-2); border-left: 4px solid var(--violet);
  border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow);
}
.confirm-card small { color: var(--soft); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.confirm-card p { margin: .3rem 0 0; }
.confirm-card .ask { color: var(--muted); }
.confirm-actions { display: flex; gap: .5rem; margin-top: .85rem; }
.confirm-actions span { padding: .4rem 1.1rem; border-radius: 10px; font-weight: 700; font-size: .9rem; }
.confirm-actions .yes { background: var(--ok); color: #05301f; }
.confirm-actions .no { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }

/* ---------- Globi ---------- */
.globi { overflow: hidden; }
.globi-grid { display: grid; gap: 1.5rem; align-items: center; }
.globi-visual { max-width: 360px; margin-inline: auto; width: 100%; }
.globi-img {
  animation: bob 6s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 92%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 92%);
}
.globi-copy .btn { margin-top: .5rem; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg)); }
.price-grid { display: grid; gap: 1.25rem; max-width: 860px; margin-inline: auto; perspective: 1000px; }
.price-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #17191f, #111318);
  border: 1px solid var(--line-2);
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow);
}
.price-card.featured { background:
  linear-gradient(180deg, #191b22, #121419) padding-box,
  var(--grad) border-box; border: 2px solid transparent; }
.price-card h3 { font-size: 1.15rem; color: var(--muted); }
.price { margin: .25rem 0 0; display: flex; align-items: baseline; gap: .4rem; }
.price b { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price span { font-weight: 700; color: var(--muted); }
.per {
  display: inline-block; color: var(--warm-2); font-weight: 700; font-size: .9rem;
  margin: .6rem 0 1.2rem; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .3);
}
.price-card ul { display: grid; gap: .55rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.price-card li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .95rem; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--warm); }
.extras {
  max-width: 860px; margin: 1.25rem auto 0; padding: 1.1rem 1.25rem;
  border-radius: 18px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02);
}
.extras-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--soft); margin-bottom: .6rem; }
.extras ul { display: grid; gap: .5rem; }
.extras li { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.extras li b { color: #fff; white-space: nowrap; }
.note { max-width: 860px; margin: 1.25rem auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Start ---------- */
.start-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 2.5rem 1.25rem; border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 165, 36, .16), transparent 50%),
    radial-gradient(circle at 88% 100%, rgba(139, 92, 246, .22), transparent 50%),
    var(--panel);
  border: 1px solid var(--line-2);
}
.start-box .sub { margin-inline: auto; }
.mail { margin: 1.25rem 0 0; color: var(--muted); }
.mail a { color: #fff; font-weight: 700; }
.pdf-note { margin: .4rem 0 0; font-size: .82rem; color: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px)); background: #08090c; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-brand p { color: var(--muted); margin: .6rem 0 0; }
.footer-brand .brand img { width: 36px; height: 36px; }
.footer-contact { display: grid; gap: .35rem; color: var(--muted); }
.footer-contact a { color: #fff; }
.legal { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal p { margin: 0; font-size: .82rem; color: var(--soft); }

/* =========================================================
   Formulario (ficha en línea)
   ========================================================= */
.form-page { padding-block: 2rem 4rem; }
.form-wrap { max-width: 820px; margin-inline: auto; }
.form-wrap h1 { font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: .35em; }
.back-link { display: inline-block; margin-bottom: 1.25rem; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.back-link:hover { color: #fff; }
.form-intro { color: var(--muted); font-size: 1.05rem; }
.callout {
  border: 1px solid var(--line-2); background: var(--panel); border-left: 4px solid var(--warm);
  border-radius: 14px; padding: .9rem 1.1rem; margin: 0 0 1rem; color: var(--muted);
}
.callout p { margin: 0; }
.callout p + p { margin-top: .4rem; }
.callout strong { color: #fff; }
.callout a { color: #fff; font-weight: 700; }

.fsec {
  margin: 1.5rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #14161c, #111318);
  overflow: hidden;
}
.fsec > legend {
  float: left; width: 100%; padding: .9rem 1.2rem; margin: 0;
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.fsec > legend .sec-letter {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: .6rem; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: .95rem;
}
.fsec-body { clear: both; padding: .4rem 1.2rem 1.2rem; display: grid; gap: 0; }

.q { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q.notice { margin: .8rem 0; padding: 1rem; border: 1px solid rgba(245, 165, 36, .35); background: rgba(245, 165, 36, .06); border-radius: 14px; }
.q.notice + .q.notice { margin-top: 0; }
.q-title, .q > label, .q > .q-label {
  display: block; font-weight: 700; color: #fff; margin-bottom: .5rem; line-height: 1.4;
}
fieldset.q { border: 0; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
fieldset.q:last-child { border-bottom: 0; }
fieldset.q > legend { float: left; width: 100%; padding: 0; font-weight: 700; color: #fff; margin-bottom: .5rem; line-height: 1.4; }
fieldset.q > legend + * { clear: both; }
fieldset.q.notice { border: 1px solid rgba(245, 165, 36, .35); }
.qn { color: var(--warm-2); font-weight: 800; margin-right: .3rem; }
.req-mark { color: var(--warm-2); font-weight: 800; margin-left: .15rem; }
.hint { display: block; color: var(--soft); font-size: .88rem; font-weight: 500; margin: -.2rem 0 .55rem; }
.q-note { color: var(--soft); font-size: .88rem; margin: .6rem 0 0; }
.q-note strong { color: var(--muted); }

.field { display: grid; gap: .35rem; margin-top: .75rem; }
.field:first-child { margin-top: 0; }
.field > label { font-weight: 600; color: var(--muted); font-size: .95rem; }
.grid-2 { display: grid; gap: .75rem; }
.grid-2 .field { margin-top: 0; }

.input, .textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: #fff;
  background: #0d0f14; border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #7d8290; }
.input:hover, .textarea:hover { border-color: rgba(255, 255, 255, .26); }
.input:focus, .textarea:focus { outline: none; border-color: #7c9dff; box-shadow: 0 0 0 3px rgba(79, 124, 255, .3); }
input[type="date"].input { color-scheme: dark; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 122, .18); }

.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opts.stack { flex-direction: column; align-items: stretch; }
.opt {
  position: relative; display: flex; align-items: flex-start; gap: .6rem;
  min-height: 46px; padding: .7rem .9rem; border-radius: 12px; cursor: pointer;
  background: #0d0f14; border: 1px solid var(--line-2); color: #e6e8ec; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.opt:hover { border-color: rgba(255, 255, 255, .28); }
.opt input {
  flex: none; width: 20px; height: 20px; margin: .05rem 0 0; accent-color: var(--warm); cursor: pointer;
}
.opt:has(input:checked) { border-color: rgba(245, 165, 36, .65); background: rgba(245, 165, 36, .08); }
.opt:has(input:focus-visible) { outline: 3px solid #9db4ff; outline-offset: 2px; }
.opt.ack { width: 100%; font-weight: 600; }
.opts[aria-invalid="true"] .opt, .opt.is-invalid { border-color: var(--danger); }

.cond { margin-top: .75rem; padding-left: .9rem; border-left: 2px solid rgba(245, 165, 36, .35); }
.cond[hidden] { display: none !important; }

.err { display: block; color: var(--danger); font-size: .9rem; font-weight: 600; margin-top: .45rem; }
.err:empty { display: none; }

/* Cajeros (filas repetibles) */
.cashiers { display: grid; gap: .75rem; }
.cashier {
  border: 1px solid var(--line-2); border-radius: 14px; padding: .9rem; background: rgba(255, 255, 255, .02);
}
.cashier-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.cashier-head b { color: var(--warm-2); font-size: .95rem; }
.cashier .perm-title { font-weight: 600; color: var(--muted); font-size: .95rem; margin: .75rem 0 .4rem; }
.link-btn {
  background: none; border: 0; padding: .4rem .2rem; font: inherit; font-weight: 600; font-size: .9rem;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 36px;
}
.link-btn:hover { color: #fff; }
.add-btn { margin-top: .75rem; }

.declaration {
  margin-top: 1.5rem; padding: 1.2rem; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--panel);
}
.declaration h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.legal-accept { color: var(--soft); font-size: .9rem; margin: .9rem 0 0; }
.legal-accept a { color: #fff; }

.turnstile-box { margin-top: 1.25rem; min-height: 0; }
.submit-row { margin-top: 1.25rem; display: grid; gap: .75rem; }
.submit-row .btn { width: 100%; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  margin: 1.25rem 0 0; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid; line-height: 1.5;
}
.form-alert:focus { outline: none; }
.form-alert h2 { font-size: 1.1rem; margin-bottom: .35rem; }
.form-alert p { margin: 0; color: var(--muted); }
.form-alert ul { list-style: disc; padding-left: 1.2rem; margin-top: .5rem; color: var(--muted); }
.form-alert a { color: #fff; font-weight: 700; }
.form-alert.is-error { border-color: rgba(255, 138, 122, .55); background: rgba(255, 138, 122, .07); }
.form-alert.is-error h2 { color: #ffb3a8; }
.form-alert .btn { margin-top: .9rem; }
.form-success {
  text-align: center; padding: 2.5rem 1.25rem; border-radius: 24px;
  border: 1px solid rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .06);
}
.form-success:focus { outline: none; }
.form-success .ok-ico {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: #05301f; font-size: 2rem; font-weight: 800;
}
.form-success h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
.form-success p { color: var(--muted); }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  .cta-row .btn { flex: 0 1 auto; }
  .cloud-strip { flex-direction: row; border-radius: 999px; }
  .cloud-strip i { display: inline; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: inline; }
  .show-sm { display: none; }
  .header-ctas .btn-ficha { display: inline-flex; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .submit-row .btn { width: auto; justify-self: start; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .main-nav { display: block; }
  .main-nav ul { gap: 1.3rem; }

  /* photo sections: full-bleed photo, shaded on the text side */
  .photo-bg { position: absolute; inset: 0; height: auto; }
  .photo-bg::after { background: none; }
  .how.photo-sec, .register.photo-sec { padding-top: 7rem; }

  .hero { padding: 3rem 0 5rem; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero .photo-bg { inset: 0; height: auto; }
  .hero .photo-bg img { object-position: 50% 35%; }
  .hero .photo-bg::after {
    background:
      linear-gradient(90deg,
        var(--bg) 0%,
        rgba(var(--bg-rgb), .9) 33%,
        rgba(var(--bg-rgb), .6) 47%,
        rgba(var(--bg-rgb), .15) 64%,
        rgba(var(--bg-rgb), .35) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 22%),
      linear-gradient(180deg, rgba(var(--bg-rgb), .5) 0%, rgba(var(--bg-rgb), 0) 18%);
  }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 0; }
  .hero-copy { max-width: 34rem; }
  .hero-visual { justify-items: end; }
  .scroll-hint { display: block; }
  .phone { width: 320px; }

  .how, .features, .register, .confirm, .globi, .pricing, .start { padding-block: 7rem; }
  .how.photo-sec { min-height: calc(100vh - var(--header-h)); padding-block: 2.5rem; display: flex; align-items: center; }
  .how .photo-bg img { object-position: 60% 50%; }
  .how .photo-bg::after {
    background:
      linear-gradient(90deg,
        var(--bg) 0%,
        rgba(var(--bg-rgb), .92) 34%,
        rgba(var(--bg-rgb), .5) 52%,
        rgba(var(--bg-rgb), .1) 72%,
        rgba(var(--bg-rgb), .2) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 18%),
      linear-gradient(180deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 18%);
  }
  .how-grid { margin-top: 0; width: 100%; }
  .how-copy { max-width: 33rem; }
  .how h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
  .steps { gap: .75rem; margin-top: 1.25rem; }

  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-child(4) { grid-column: 2 / span 2; }
  .card:nth-child(5) { grid-column: 4 / span 2; }

  .register.photo-sec { min-height: 760px; display: flex; align-items: center; }
  .register .photo-bg img { object-position: 20% 50%; }
  .register .photo-bg::after {
    background:
      linear-gradient(270deg,
        var(--bg) 0%,
        rgba(var(--bg-rgb), .92) 36%,
        rgba(var(--bg-rgb), .5) 54%,
        rgba(var(--bg-rgb), .08) 74%,
        rgba(var(--bg-rgb), .2) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 20%),
      linear-gradient(180deg, var(--bg) 0%, rgba(var(--bg-rgb), 0) 20%);
  }
  .register-grid { grid-template-columns: 1fr 1fr; gap: 4rem; width: 100%; }
  .register-visual { margin-top: 0; align-self: end; }

  .confirm-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .globi-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .start-box { padding: 4rem 3rem; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: end; }
  .form-page { padding-block: 3rem 6rem; }
  .fsec-body { padding: .4rem 1.6rem 1.4rem; }
  .fsec > legend { padding: 1rem 1.6rem; }
}

@media (min-width: 1100px) {
  .main-nav ul { gap: 1.6rem; }
}

/* =========================================================
   Reduced motion: everything static
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .photo-bg img { top: 0; height: 100%; }
}

/* form polish */
.form-alert .btn { width: 100%; }
@media (min-width: 560px) { .form-alert .btn { width: auto; } }
.q.field > label { color: #fff; font-weight: 700; font-size: 1rem; }
.q > label.opt { display: flex; margin-bottom: 0; color: #e6e8ec; font-weight: 600; }

/* Libertad (dueño de vacaciones) */
.freedom .photo-bg img { object-position: 35% 40%; }
@media (min-width: 900px) { .freedom .photo-bg img { object-position: 25% 50%; } }
/* Portada: tienda mediana (dueño a la derecha) */
.hero .photo-bg img { object-position: 68% 35%; }
@media (min-width: 900px) { .hero .photo-bg img { object-position: 60% 40%; } }
