/* Fondamenta · Costruzioni e ristrutturazioni — demo impresa edile */
@font-face { font-family: "Archivo"; src: url(../assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../assets/fonts/archivo-latin-wdth-italic.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../../assets/fonts/geist-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --concrete: #eeece8;
  --concrete-2: #e2dfd9;
  --white: #fbfaf8;
  --ink: #1e1f21;
  --ink-2: #2d2f32;
  --muted: #6c6d70;
  --yel: #f2b705;
  --yel-2: #ffd24d;
  --blue: #2a5fb0;
  --line: rgba(30, 31, 33, 0.12);
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { background: var(--concrete); }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--yel); color: var(--ink); }
a { color: inherit; }
svg { display: block; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; font-stretch: 118%; margin: 0; line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; }
mark { background: linear-gradient(transparent 58%, var(--yel) 58%, var(--yel) 92%, transparent 92%); color: inherit; padding: 0 0.04em; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin: 0 auto; }
.kick { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kick i { width: 22px; height: 8px; background: repeating-linear-gradient(-45deg, var(--yel) 0 5px, var(--ink) 5px 10px); }
.lead { font-size: 18px; color: #4b4c4f; max-width: 540px; }
section h2 { font-size: clamp(38px, 4.8vw, 72px); }
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.s-side { max-width: 380px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 8px; font: 800 15px var(--sans); font-stretch: 110%; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s; }
.btn .ar { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar { transform: translateX(4px); }
.btn-yel { background: var(--yel); color: var(--ink); box-shadow: 0 4px 0 #b88a00; }
.btn-yel:hover { background: var(--yel-2); }
.btn-yel:active { transform: translateY(2px); box-shadow: 0 2px 0 #b88a00; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 13.5px; gap: 0; }

.demo-ribbon { position: relative; z-index: 60; display: block; text-align: center; padding: 9px 16px; background: var(--ink); color: #b9babd; font-size: 13px; text-decoration: none; }
.demo-ribbon span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--yel); color: var(--ink); font-weight: 800; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.demo-ribbon b { color: #fff; }
.demo-fab { position: fixed; left: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(11, 19, 34, 0.92); color: #e8eef8; text-decoration: none; font-size: 13.5px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); }
.demo-fab b { color: #8cc4ff; }
.demo-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
.js .demo-fab { opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease); }
.js .demo-fab.show { opacity: 1; transform: none; pointer-events: auto; }

.nav { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(28px, calc((100% - var(--wrap)) / 2)); transition: background-color 0.4s, box-shadow 0.4s; }
.nav.scrolled { background: rgba(238, 236, 232, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-f { width: 40px; height: 40px; }
.b-txt { display: grid; line-height: 1.05; }
.b-txt b { font-weight: 900; font-stretch: 125%; font-size: 21px; text-transform: uppercase; letter-spacing: -0.02em; }
.b-txt small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.links { display: flex; gap: 26px; }
.links a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: #4b4c4f; transition: color 0.3s; }
.links a:hover { color: var(--ink); }
.nav-r { display: flex; align-items: center; gap: 14px; }
.nav-tel { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.nav-tel svg { width: 20px; height: 20px; }

/* hero */
.hero { position: relative; padding: 30px 0 90px; overflow: hidden; }
.bp-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(42, 95, 176, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 95, 176, 0.08) 1px, transparent 1px), linear-gradient(rgba(42, 95, 176, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 95, 176, 0.04) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: calc(100svh - 190px); }
.hero-grid > * { min-width: 0; }
.h-title { font-size: clamp(40px, 4.4vw, 72px); font-stretch: 108%; margin-bottom: 26px; }
.h-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.04em; }
.h-title .ln > span { display: inline-block; white-space: nowrap; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.stats li { display: grid; }
.stats b { font-weight: 900; font-stretch: 125%; font-size: 44px; line-height: 1; }
.stats b::after { content: "+"; color: var(--yel); }
.stats li:last-child b::after { content: ""; }
.stats span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hero-art { position: relative; }
.hb { width: 100%; height: auto; overflow: visible; }
.hb .dim { stroke: var(--blue); stroke-width: 1.2; fill: none; }
.hb .dim text { fill: var(--blue); stroke: none; font: 500 13px var(--mono); }
.h-stamp { position: absolute; left: 4%; top: 6%; padding: 7px 12px; border-radius: 4px; background: var(--ink); color: var(--yel); font: 500 12.5px var(--mono); transform: rotate(-4deg); }

.tape { overflow: hidden; background: var(--yel); padding: 14px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.tp-track { display: flex; align-items: center; gap: 24px; width: max-content; animation: tape 34s linear infinite; }
.tp-track span { font-weight: 900; font-stretch: 125%; font-size: 26px; text-transform: uppercase; white-space: nowrap; }
.tp-track i { width: 40px; height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, transparent 6px 12px); }
@keyframes tape { to { transform: translateX(-50%); } }

/* prima e dopo */
.ba { padding: 120px 0; }
.bts, .lvs, .fins { display: flex; flex-wrap: wrap; gap: 6px; }
.bt, .lv, .fins button { height: 44px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); font: 700 14.5px var(--sans); color: var(--ink); cursor: pointer; transition: all 0.3s; }
.bt:hover, .lv:hover, .fins button:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.bt.on, .lv.on, .fins button.on { background: var(--ink); color: #fff; box-shadow: none; }
.bvs { display: grid; }
.bv { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.bv.on { opacity: 1; visibility: visible; }
.bv-img { position: relative; aspect-ratio: 600 / 380; max-height: 72vh; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.bv-before, .bv-after { position: absolute; inset: 0; }
.ba-svg { width: 100%; height: 100%; }
.bv-after { clip-path: inset(0 0 0 50%); }
.bv-lb { position: absolute; top: 16px; padding: 6px 12px; border-radius: 4px; font: 800 13px var(--sans); text-transform: uppercase; letter-spacing: 0.08em; pointer-events: none; }
.l1 { left: 16px; background: var(--ink); color: #fff; }
.l2 { right: 16px; background: var(--yel); color: var(--ink); }
.bv-h { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--yel); pointer-events: none; }
.bv-h span { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--yel); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--ink); }
.bv-h svg { width: 26px; height: 26px; }
.bv-r { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.bv-cap { margin-top: 16px; font-size: 16px; color: #4b4c4f; }
.bv-cap b { font-weight: 800; text-transform: uppercase; color: var(--ink); margin-right: 6px; }

/* preventivo */
.prev { padding: 120px 0; background: var(--ink); color: #fff; }
.prev .kick { color: #a0a1a4; }
.prev .lead { color: #c3c4c6; }
.prev mark { color: #fff; background: linear-gradient(transparent 58%, rgba(242, 183, 5, 0.9) 58%, rgba(242, 183, 5, 0.9) 92%, transparent 92%); }
.prev-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.prev-grid > * { min-width: 0; }
.pv-disc { margin-top: 20px; font-size: 13px; color: #8e8f92; max-width: 460px; }
.pv { padding: 32px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--yel); }
.pv-l { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.pv-l:first-child { margin-top: 0; }
.pv-l b { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; text-transform: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--p, 30%), var(--concrete-2) var(--p, 30%)); outline: none; cursor: pointer; margin: 4px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 6px; background: var(--yel); border: 3px solid var(--ink); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 6px; background: var(--yel); border: 3px solid var(--ink); cursor: grab; }
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.op { position: relative; cursor: pointer; }
.op input { position: absolute; opacity: 0; }
.op span { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: 8px; background: var(--concrete); font-size: 14px; font-weight: 600; transition: all 0.25s; }
.op span::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--muted); transition: all 0.25s; }
.op input:checked + span { background: #fff4cf; box-shadow: inset 0 0 0 2px var(--yel); }
.op input:checked + span::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b705' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.op input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.prima { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
.prima input { position: absolute; opacity: 0; }
.tg { position: relative; width: 48px; height: 28px; border-radius: 99px; background: var(--concrete-2); flex: 0 0 auto; transition: background-color 0.3s; }
.tg::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.35s var(--ease); }
.prima input:checked + .tg { background: var(--ink); }
.prima input:checked + .tg::after { transform: translateX(20px); background: var(--yel); }
.prima input:focus-visible + .tg { outline: 2px solid var(--blue); outline-offset: 2px; }
.pv-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.po-main, .po-bonus { padding: 16px 18px; border-radius: 10px; display: grid; gap: 2px; }
.po-main { background: var(--ink); color: #fff; }
.po-bonus { background: #fff4cf; }
.pv-out small { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.pv-out b { font-size: clamp(19px, 1.7vw, 25px); white-space: nowrap; }
.pv-out span { font-size: 13px; opacity: 0.8; }
.po-bonus span b { font-size: 14px; }
.po-go { grid-column: 1 / -1; }

/* bonus */
.bonus { padding: 120px 0; }
.bns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bn { position: relative; padding: 30px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.3s; }
.bn::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; background: repeating-linear-gradient(-45deg, var(--yel) 0 10px, transparent 10px 20px); opacity: 0.35; transform: rotate(0deg); }
.bn:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px var(--ink); }
.bn small { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bn > b { display: block; font-weight: 900; font-stretch: 125%; font-size: 76px; line-height: 1; margin: 10px 0 4px; }
.bn-s { display: inline-block; padding: 3px 10px; border-radius: 4px; background: var(--yel); font-size: 13px; font-weight: 800; }
.bn p { margin-top: 14px; color: #4b4c4f; font-size: 15px; }

/* cantieri */
.cant { padding: 120px 0; background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.cts { display: grid; gap: 14px; }
.ct-it { padding: 26px 28px; border-radius: 12px; background: var(--concrete); }
.ct-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ct-top h3 { font-size: 24px; }
.ct-top p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.ct-top > b { font-size: 36px; }
.ct-bar { position: relative; height: 16px; margin: 18px 0 14px; border-radius: 4px; background: var(--concrete-2); overflow: hidden; }
.ct-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: repeating-linear-gradient(-45deg, var(--yel) 0 10px, #e0a800 10px 20px); background-size: 28.28px 28.28px; animation: bar 1.4s linear infinite; }
@keyframes bar { to { background-position: 28.28px 0; } }
.chs { display: flex; flex-wrap: wrap; gap: 6px; }
.ch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 4px; background: var(--white); font-size: 13px; font-weight: 700; color: var(--muted); }
.ch svg { width: 14px; height: 14px; }
.ch.done { background: var(--ink); color: #fff; }
.ch.done svg { color: var(--yel); }
.ch.now { background: var(--yel); color: var(--ink); }
.ch.now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.ct-when { margin-top: 12px; font-size: 14px; color: var(--muted); }
.ct-when b { color: var(--ink); }

/* metodo */
.metodo { padding: 120px 0; }
.metodo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.metodo-grid > * { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.st-ic { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; background: var(--yel); color: var(--ink); }
.st-ic svg { width: 26px; height: 26px; }
.steps small { font: 500 12.5px var(--mono); color: var(--muted); }
.steps h3 { font-size: 22px; margin: 2px 0 6px; }
.steps p { color: #4b4c4f; font-size: 15.5px; }

/* sopralluogo */
.sop { padding: 120px 0; background: var(--ink); color: #fff; }
.sop .kick { color: #a0a1a4; }
.sop .lead { color: #c3c4c6; }
.sop mark { color: #fff; background: linear-gradient(transparent 58%, rgba(242, 183, 5, 0.9) 58%, rgba(242, 183, 5, 0.9) 92%, transparent 92%); }
.sop-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.sop-grid > * { min-width: 0; }
.contact { margin-top: 30px; padding: 22px; border-radius: 12px; background: var(--ink-2); display: grid; gap: 8px; font-size: 15px; color: #c3c4c6; }
.contact b { color: #fff; }
.sp { position: relative; display: grid; gap: 14px; padding: 30px; border-radius: 14px; background: var(--white); color: var(--ink); }
.sp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; }
.fld span { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 13px 14px; border-radius: 8px; border: 0; background: var(--concrete); color: var(--ink); font: 500 16px var(--sans); outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.3s; resize: vertical; }
.fld input, .fld select { height: 52px; }
.fld select { appearance: none; -webkit-appearance: none; background: var(--concrete) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1f21' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.fld.bad input { box-shadow: inset 0 0 0 2px #d0452f; }
.up { position: relative; border-radius: 10px; border: 2px dashed rgba(30, 31, 33, 0.3); padding: 14px; transition: border-color 0.3s, background-color 0.3s; }
.up.drag { border-color: var(--yel); background: #fff8dd; }
.up input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.up label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.up label svg { width: 44px; height: 44px; padding: 10px; border-radius: 8px; background: var(--yel); flex: 0 0 auto; }
.up label b { font-weight: 800; text-transform: uppercase; font-size: 14.5px; }
.up label span { font-size: 13px; color: var(--muted); margin-left: auto; }
.up input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:not(:empty) { margin-top: 12px; }
.th { position: relative; width: 74px; height: 74px; border-radius: 8px; overflow: hidden; background: var(--concrete); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th button { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cbx { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(30, 31, 33, 0.3); display: grid; place-items: center; color: transparent; background: #fff; transition: all 0.25s; }
.cbx svg { width: 16px; height: 16px; }
.consent input:checked + .cbx { background: var(--ink); color: var(--yel); box-shadow: none; }
.consent input:focus-visible + .cbx { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent.bad .cbx { box-shadow: inset 0 0 0 2px #d0452f; }
.sp-submit { width: 100%; }
.sp-note { text-align: center; font-size: 12.5px; color: var(--muted); }
.sp-done { position: absolute; inset: 0; border-radius: 14px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px; }
.sp-done[hidden] { display: none; }
.sd-ic { width: 76px; height: 76px; border-radius: 12px; display: grid; place-items: center; background: var(--yel); color: var(--ink); margin-bottom: 10px; box-shadow: 0 5px 0 #b88a00; }
.sd-ic svg { width: 38px; height: 38px; }
.sp-done b { font-weight: 900; font-stretch: 120%; font-size: 30px; text-transform: uppercase; }
.sp-done p { max-width: 420px; }
.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.faq { padding: 110px 0 120px; }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.faq-grid > * { min-width: 0; }
.fq { border-bottom: 2px solid var(--line); }
.fq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 800; font-size: 18.5px; }
.fq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); transition: all 0.3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; background: var(--ink); transition: transform 0.35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.fq[open] .pm { background: var(--yel); box-shadow: none; }
.fq[open] .pm::after { transform: rotate(0); }
.fq p { padding: 0 40px 20px 0; color: #4b4c4f; }

.foot { padding: 50px 0; background: var(--ink); color: #a0a1a4; font-size: 14px; border-top: 6px solid var(--yel); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.f-brand { display: flex; align-items: center; gap: 12px; }
.f-brand b { display: block; font-weight: 900; font-stretch: 125%; font-size: 20px; text-transform: uppercase; color: #fff; }
.f-brand small { font-size: 12px; }
.f-legal { font-size: 12.5px; }
.foot a { color: var(--yel); }

.anim [data-h], .anim [data-r] { opacity: 0; }
.anim .h-title .ln > span { transform: translateY(110%); }

@media (max-width: 1000px) {
  .links, .nav-tel span { display: none; }
  .hero-grid, .prev-grid, .metodo-grid, .sop-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .bns { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 12px 16px; }
  .b-txt small { display: none; }
  .btn-sm .long { display: none; }
  .nav { gap: 10px; }
  .nav-r { gap: 10px; flex: none; }
  .brand { min-width: 0; gap: 9px; }
  .logo-f { width: 34px; height: 34px; flex: none; }
  .b-txt b { font-size: 18px; }
  .btn-sm { height: 40px; padding: 0 14px; font-size: 12.5px; }
  .demo-ribbon { font-size: 11.5px; padding: 8px 10px; }
  .hero { padding: 16px 0 60px; }
  .h-title { font-size: 9.4vw; }
  .ctas .btn { width: 100%; }
  .stats { gap: 22px; }
  .stats b { font-size: 34px; }
  .ba, .prev, .bonus, .cant, .metodo, .sop, .faq { padding: 80px 0; }
  .bv-img { aspect-ratio: 4 / 3.4; }
  .pv, .sp { padding: 20px; }
  .ops, .pv-out, .sp-2 { grid-template-columns: minmax(0, 1fr); }
  .pv { padding: 24px 18px; }
  .bn > b { font-size: 60px; }
  .ct-it { padding: 20px; }
  .ct-top h3 { font-size: 19px; }
  .ct-top > b { font-size: 28px; }
  .up label span { display: none; }
  .tp-track span { font-size: 20px; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 400px) {
  .nav-tel { display: none; }
  .b-txt b { font-size: 16.5px; font-stretch: 112%; }
  .btn-sm { padding: 0 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-track, .ct-bar i, .ch.now::before { animation: none; }
}
