:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --tint: #FAFAFB;
  --ink: #0E0F12;
  --ink-2: #2B2E35;
  --muted: #6A6F7A;
  --faint: #9AA0AA;
  --line: rgba(14, 15, 18, 0.07);
  --line-2: rgba(14, 15, 18, 0.11);
  --accent: #F56A00;
  --accent-2: #FF9416;
  --accent-ink: #C25200;
  --accent-soft: #FFF3E6;
  --leaf: #4E9A06;
  --leaf-soft: #EEF7E6;
  --ring: 0 0 0 1px var(--line);
  --shadow-sm: 0 0 0 1px var(--line), 0 1px 2px rgba(14, 15, 18, 0.04);
  --shadow-md: 0 0 0 1px var(--line), 0 1px 2px rgba(14, 15, 18, 0.04), 0 8px 24px -12px rgba(14, 15, 18, 0.12);
  --shadow-lg: 0 0 0 1px var(--line), 0 2px 4px rgba(14, 15, 18, 0.04), 0 32px 64px -24px rgba(14, 15, 18, 0.28);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.num { font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.ico { width: 16px; height: 16px; fill: currentColor; flex: none; }
.hl-text { color: var(--accent-ink); }

.eyebrow {
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: -0.01em;
  transition: transform .15s, box-shadow .15s, background .15s, filter .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(194, 82, 0, 0.35), 0 4px 14px -4px rgba(245, 106, 0, 0.55);
}
.btn-primary:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(194, 82, 0, 0.4), 0 8px 20px -6px rgba(245, 106, 0, 0.6); }
.btn-soft { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); }
.btn-soft:hover { box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(14, 15, 18, 0.06); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.btn-white:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Nav */
.nav-wrap { position: sticky; top: 12px; z-index: 40; padding: 0 20px; margin-top: 12px; }
.navbar {
  max-width: 1120px; margin: 0 auto; height: 54px; display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 999px; padding: 0 8px 0 16px; box-shadow: var(--shadow-sm);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--display); letter-spacing: -0.03em; }
.logo-img { width: 30px; height: 30px; object-fit: contain; }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a, .nav button { padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background .15s; }
.nav a:hover, .nav button:hover { background: rgba(14, 15, 18, 0.05); }
.nav-actions { display: flex; gap: 6px; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: auto; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -0.05em; line-height: 1.02; max-width: 820px; margin: 0 auto; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 540px; margin: 22px auto 0; line-height: 1.55; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

.showcase { position: relative; margin-top: 64px; padding: 0 56px 64px; }
.showcase-bg {
  position: absolute; inset: 28% 0 0 0; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(45% 60% at 8% 105%, rgba(78, 154, 6, 0.32), transparent 65%),
    radial-gradient(55% 70% at 90% 90%, rgba(255, 112, 0, 0.9), transparent 65%),
    radial-gradient(70% 90% at 50% 10%, rgba(255, 196, 0, 0.85), transparent 70%),
    linear-gradient(160deg, #FFB547 0%, #FF8A1F 55%, #F06400 100%);
}
.showcase-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.window { position: relative; max-width: 880px; margin: 0 auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.window-title { font-size: 13px; font-weight: 500; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--leaf); background: var(--leaf-soft); padding: 6px 8px; border-radius: 6px; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.window-body { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; padding: 16px; }
.sim-left { background: var(--tint); border-radius: 12px; padding: 14px; box-shadow: var(--ring); display: flex; flex-direction: column; gap: 8px; }
.sim-device { flex: 1; min-height: 300px; display: grid; place-items: center; padding: 8px; position: relative; }
.sim-device svg { max-height: 230px; width: auto; }
.sim-device.has-photo { padding: 0; border-radius: 10px; overflow: hidden; background: #2a2b2e; }
.sim-device.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sim-right { display: flex; flex-direction: column; gap: 14px; }
.tiles { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.tile { border-radius: 12px; padding: 12px 14px; background: var(--tint); box-shadow: var(--ring); display: flex; flex-direction: column; gap: 2px; }
.tile span { font-size: 12px; color: var(--muted); }
.tile b { font: 600 22px var(--display); letter-spacing: -0.04em; margin-top: 4px; }
.tile small { font-size: 11px; color: var(--faint); }
.tile-hl { grid-row: span 2; background: linear-gradient(160deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); justify-content: space-between; }
.tile-hl span, .tile-hl small { color: rgba(255, 255, 255, 0.85); }
.tile-hl b { font-size: 40px; line-height: 1; }
.controls { display: grid; gap: 10px; }
.control { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.seg { display: inline-flex; background: #EEF0F3; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { height: 30px; min-width: 52px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.seg button:hover { color: var(--ink); }
.control.single .seg { display: none; }
.control .fixed { font-size: 13px; font-weight: 600; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 15, 18, 0.1), 0 0 0 1px var(--line); }

.select {
  height: 38px; border: 0; border-radius: 10px; padding: 0 34px 0 12px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236A6F7A' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.select-sm { height: 36px; font-size: 13px; }

.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 40px; margin-top: 8px; color: var(--muted); }
.brands p { width: 100%; text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.brands span { font: 600 18px var(--display); letter-spacing: -0.03em; color: #8A8F99; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--surface); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.045em; }
.sec-sub { color: var(--muted); font-size: 16px; margin-top: 14px; }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.toolbar-end { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); width: 220px; color: var(--faint); }
.search:focus-within { box-shadow: 0 0 0 2px rgba(245, 106, 0, 0.35); }
.search input { border: 0; outline: 0; background: none; width: 100%; color: var(--ink); font-size: 14px; height: auto; padding: 0; box-shadow: none !important; border-radius: 0; }
.chips { display: flex; gap: 2px; background: #EAECEF; padding: 3px; border-radius: 10px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.chip:hover { color: var(--ink); }
.chip.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 15, 18, 0.1), 0 0 0 1px var(--line); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch span { width: 32px; height: 18px; border-radius: 999px; background: #D7DAE0; position: relative; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(14px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pcard { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard-visual { position: relative; aspect-ratio: 4/4.4; overflow: hidden; margin: 6px 6px 0; border-radius: 12px; background: var(--tint); box-shadow: var(--ring); display: grid; place-items: center; padding: 22px; cursor: pointer; }
.pcard-visual svg { height: 100%; width: 100%; object-fit: contain; }
.pcard-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-visual img { transform: scale(1.03); }
.pcard-visual .tag { z-index: 1; }
.pcard .inst.ask { font-size: 18px; letter-spacing: -0.03em; }
.window.asking .tile-hl b { font-size: 30px; }
.pcard.out .pcard-visual > :not(.tag) { opacity: .4; filter: grayscale(.7); }
.tag { position: absolute; top: 10px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: 0 1px 2px rgba(0,0,0,.12); color: var(--ink-2); }
.tag.l { left: 10px; }
.tag.r { right: 10px; }
.tag.low { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; }
.tag.no { background: var(--ink); color: #fff; box-shadow: none; }
.tag.feat { background: var(--accent); color: #fff; box-shadow: none; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 17px; letter-spacing: -0.025em; }
.pcard .specs { font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-box { margin-top: auto; padding-top: 14px; display: grid; gap: 10px; }
.price-top { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-top span { display: block; font-size: 12px; color: var(--muted); }
.price-top b { display: block; font: 600 19px var(--display); letter-spacing: -0.035em; margin-top: 2px; }
.price-top .r { text-align: right; }
.price-top .r b { color: var(--accent-ink); }
.plans-list { display: grid; gap: 4px; }
.plans-list div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 10px; border-radius: 8px; background: var(--tint); box-shadow: var(--ring); font-size: 13px; color: var(--muted); }
.plans-list div b { font: 600 15px var(--display); letter-spacing: -0.03em; color: var(--ink); }
.plans-list div.best { background: var(--accent-soft); box-shadow: 0 0 0 1px #FFD9B3; color: var(--accent-ink); }
.plans-list div.best b { color: var(--accent-ink); }
.pcard .price-row { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.pcard .from { font-size: 12px; color: var(--muted); }
.pcard .inst { font: 600 24px var(--display); letter-spacing: -0.045em; line-height: 1.1; }
.pcard .inst small { font: 400 13px var(--sans); color: var(--muted); letter-spacing: 0; }
.pcard .cash { font-size: 12px; color: var(--faint); text-align: right; }
.pcard .cash b { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.pcard .btn { margin-top: 14px; }
.empty { text-align: center; padding: 56px 0; display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--muted); }

/* Accessories */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.acc { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 14px; padding: 10px 12px 10px 10px; box-shadow: var(--shadow-sm); }
.section-tint .acc { background: var(--tint); }
.acc-img { width: 64px; height: 64px; border-radius: 10px; background: #fff; box-shadow: var(--ring); display: grid; place-items: center; padding: 6px; flex: none; }
.acc-img svg, .acc-img img { width: 100%; height: 100%; object-fit: contain; }
.acc > div:nth-child(2) { flex: 1; min-width: 0; }
.acc h3 { font-size: 15px; letter-spacing: -0.02em; }
.acc .num { font-size: 14px; color: var(--muted); }
.acc.out { opacity: .55; }

/* Steps (cómo funciona) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 18px; }
.step { position: relative; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 40px 28px 30px; }
.step-n {
  position: absolute; top: -18px; left: 28px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font: 600 18px var(--display); color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px -6px rgba(245, 106, 0, 0.6);
}
.step-n-ok { background: linear-gradient(180deg, #6DBB1E, var(--leaf)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px -6px rgba(78, 154, 6, 0.6); }
.step h3 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.step p b { color: var(--ink); font-weight: 600; }
.step .hl-text { color: var(--accent-ink); }
.alias-txt:empty { display: none; }
.alias-txt:not(:empty) + .alias-fallback { display: none; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px 4px; }
.feature svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; fill: var(--accent); background: var(--accent-soft); flex: none; }
.feature b { font-weight: 600; font-size: 14.5px; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Misiones / retiro */
.local-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.local-grid h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.045em; }
.sec-sub.left { text-align: left; }
.sec-sub b { color: var(--ink); font-weight: 600; }
.pickup { background: var(--tint); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 28px; display: grid; gap: 10px; justify-items: start; }
.pickup .eyebrow { margin: 6px 0 0; }
.pickup h3 { font-size: 24px; letter-spacing: -0.035em; }
.pickup .btn { margin-top: 8px; }
.pickup-map { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px -6px rgba(245,106,0,.6); }
.pickup-map svg { width: 24px; height: 24px; fill: #fff; }
@media (max-width: 960px) { .local-grid { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
.faq { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 4px 20px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 500; font-size: 15.5px; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 32px 18px 0; color: var(--muted); }

/* CTA */
.cta-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(60% 120% at 0% 100%, rgba(78, 154, 6, 0.6), transparent 60%), linear-gradient(140deg, #FFAA2B 0%, #FF7A10 55%, #EB5E00 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-card h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; }
.cta-card p { opacity: .9; margin-top: 8px; }

/* Footer */
.footer { background: var(--surface); padding: 56px 0 28px; box-shadow: 0 -1px 0 var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer h4 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
.foot-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.foot-grid a:hover, .foot-grid button:hover { color: var(--accent-ink); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; color: var(--faint); }
.foot-bottom a:hover { color: var(--ink); }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: #22B55E; display: grid; place-items: center; z-index: 30; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: 20px; background: var(--surface); color: var(--ink); width: min(900px, 100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(14, 15, 18, 0.4); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.modal-x { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; background: #fff; box-shadow: var(--shadow-sm); z-index: 2; color: var(--muted); }
.modal-x:hover { color: var(--ink); }
.pm { display: grid; grid-template-columns: 1fr 1.15fr; }
.pm-visual { position: relative; margin: 8px; border-radius: 14px; background: var(--tint); box-shadow: var(--ring); display: grid; place-items: center; padding: 36px; overflow: hidden; min-height: 420px; }
.pm-visual svg { max-height: 360px; width: 100%; }
.pm-visual.has-photo { padding: 0; background: #2a2b2e; }
.pm-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 28px 28px 24px 20px; }
.pm-steps { list-style: none; padding: 0; margin: 0 44px 22px 0; display: flex; gap: 6px; counter-reset: s; }
.pm-steps li { flex: 1; font-size: 12px; font-weight: 500; color: var(--faint); padding-top: 10px; border-top: 2px solid #E8EAEE; counter-increment: s; }
.pm-steps li::before { content: counter(s) ". "; }
.pm-steps li.on { color: var(--ink); border-top-color: var(--accent); }
.pm-steps li.done { color: var(--muted); border-top-color: var(--leaf); }
.pm-pane { display: flex; flex-direction: column; gap: 12px; }
.pm-cond { font: 500 10px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.pm h3 { font-size: 26px; letter-spacing: -0.04em; }
.pm-desc { font-size: 14px; color: var(--ink-2); }
.pm-desc:empty { display: none; }
.pm-quote { display: flex; align-items: center; gap: 14px; background: var(--tint); box-shadow: var(--ring); border-radius: 12px; padding: 14px 16px; margin-top: 4px; }
.pm-quote > div { display: flex; flex-direction: column; gap: 4px; }
.pm-quote b { font: 600 22px var(--display); letter-spacing: -0.04em; }
.pm-quote .hl-text { font-size: 28px; }
.pm-quote .plus { font-size: 18px; color: var(--faint); }
.pm-stock { font-size: 12px; color: var(--muted); text-align: center; }
.ok-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-soft); display: grid; place-items: center; }
.ok-badge svg { width: 22px; height: 22px; fill: var(--leaf); }
.next-box { background: var(--tint); box-shadow: var(--ring); border-radius: 12px; padding: 14px; display: grid; gap: 10px; font-size: 14px; }
.alias-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow-sm); }
.alias-row code { font: 500 17px var(--mono); }
.modal-text { width: min(720px, 100% - 24px); padding: 32px; }
.modal-text h3 { font-size: 28px; margin-bottom: 20px; padding-right: 40px; }
.terms-body { counter-reset: t; }
.terms-body p { margin-bottom: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* Forms */
label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
label input, label select, label textarea {
  height: 40px; border: 0; border-radius: 10px; padding: 0 12px; background: #fff; box-shadow: var(--shadow-sm);
  font-weight: 400; font-size: 14px; width: 100%; outline: 0; color: var(--ink); transition: box-shadow .15s;
}
label textarea { height: auto; padding: 10px 12px; resize: vertical; }
label input:focus, label select:focus, label textarea:focus { box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px rgba(245, 106, 0, 0.15); }
.bad { box-shadow: 0 0 0 1px #E5484D, 0 0 0 4px rgba(229, 72, 77, 0.12) !important; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f3 { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--muted); }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: none; box-shadow: none; }
.form-err { color: #C9353A; font-size: 13px; }
.row-btns { display: flex; gap: 8px; }
.grow { flex: 1; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); opacity: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; z-index: 100; transition: transform .25s, opacity .25s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .steps, .features { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .features { gap: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .showcase { padding: 0 20px 40px; }
  .window-body { grid-template-columns: 1fr; }
  .sim-device { min-height: 260px; }
  .sim-device svg { max-height: 160px; }
  .toolbar-end { margin-left: 0; }
}
@media (max-width: 820px) {
  .nav { position: fixed; top: 74px; left: 20px; right: 20px; flex-direction: column; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a, .nav button { padding: 12px 14px; font-size: 15px; text-align: left; border-radius: 10px; }
  .menu-btn { display: flex; }
  .nav-actions .btn-soft { display: none; }
  .navbar { gap: 8px; }
  .pm { grid-template-columns: 1fr; }
  .pm-visual { padding: 20px; height: 260px; min-height: 0; }
  .pm-visual svg { max-height: 200px; }
  .pm-body { padding: 18px 20px 22px; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav-wrap { padding: 0 10px; }
  .hero { padding-top: 56px; }
  .hero-sub { font-size: 15.5px; }
  .section { padding: 72px 0; }
  .showcase { padding: 0 0 28px; margin-top: 40px; }
  .showcase-bg { border-radius: 20px; inset: 35% -8px 0 -8px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-hl { grid-column: span 2; grid-row: auto; }
  .tile-hl b { font-size: 34px; }
  .search { width: 100%; }
  .f2, .f3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .cta-card { padding: 32px 24px; }
  .modal-text { padding: 24px 20px; }
  .pm-quote b { font-size: 18px; }
  .pm-quote .hl-text { font-size: 22px; }
}
