/* ============================================================
   Inverter AC landing — /it/condizionatore-portatile/ (circuitgadgets)
   Same structure as the finogadget v2 page. Mobile-first, white page,
   sober dark palette: graphite ink, deep steel blue accent,
   deep red only for scarcity, offer and buttons.
   ============================================================ */
:root {
  --ink: #15202e;
  --ink-soft: #4b5563;
  --line: #e2e5ea;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --accent: #1f3b57;
  --accent-soft: #e9eef3;
  --red: #b3202a;
  --red-dark: #8f1820;
  --ok: #1d7a46;
  --radius: 18px;
  --shadow: 0 14px 34px -22px rgba(21, 32, 46, .45);
  --shadow-sm: 0 4px 14px -10px rgba(21, 32, 46, .35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-sticky { padding-bottom: 80px; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hl { color: var(--accent); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 8px 12px; }
.topbar b { color: #fff; }
.topbar__stock { background: var(--red); border-radius: 999px; padding: 2px 10px; }

/* ---------- hero ---------- */
.hero { padding: 16px 0 6px; background: #fff; }
.hero-grid { display: grid; gap: 14px; align-items: start; }
.hero-grid + .hero-grid { margin-top: 14px; }
@media (min-width: 900px) { .hero { padding-top: 26px; } .hero-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.pill { display: inline-flex; gap: 8px; align-items: center; background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: var(--accent); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 10px; text-wrap: balance; }
@media (min-width: 380px) { .hero h1 { font-size: 25px; } }
@media (min-width: 900px) { .hero h1 { font-size: 38px; } }
.hero .sub { color: var(--ink-soft); font-size: 15px; }
.hero .sub strong { color: var(--ink); }

.led-card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.led-card > img { border-radius: calc(var(--radius) - 1px); width: 100%; }
.disc { position: absolute; top: 10px; right: 10px; z-index: 2; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 900; font-size: 21px; border: 3px solid #fff; box-shadow: 0 8px 20px -8px rgba(143, 24, 32, .8); }

/* ---------- scarcity box ---------- */
.scarcity { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 2px solid var(--red); }
.sc-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #f3b4b8; }
.sc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(179, 32, 42, .7); animation: ping 1.4s infinite; }
.sc-main { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; }
.sc-num { font-size: 64px; line-height: .9; font-weight: 800; color: #fff; background: var(--red); border-radius: 14px; min-width: 76px; padding: 8px 10px 6px; text-align: center; font-variant-numeric: tabular-nums; }
.sc-main span { font-size: 19px; line-height: 1.2; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.sc-main strong { color: #f3b4b8; }
.sc-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sc-bar i { height: 10px; border-radius: 3px; background: #3a4656; }
.scarcity[data-left="3"] .sc-bar i:nth-child(-n+3),
.scarcity[data-left="2"] .sc-bar i:nth-child(-n+2),
.scarcity[data-left="1"] .sc-bar i:nth-child(-n+1) { background: var(--red); animation: blink 1.1s infinite; }
.sc-live { font-size: 13.5px; font-weight: 600; color: #d4d9e0; margin-top: 12px; }
.sc-live b { color: #fff; font-variant-numeric: tabular-nums; }
.sc-flash { position: absolute; inset: auto 0 0 0; background: var(--red); color: #fff; text-align: center; font-size: 13.5px; font-weight: 800; padding: 9px 10px; transform: translateY(100%); }
.scarcity.hit { animation: shake .5s; }
.scarcity.hit .sc-flash { animation: flash 3.2s; }
.scarcity.hit .sc-num { animation: bump .6s; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(179, 32, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 32, 42, 0); } }
@keyframes blink { 50% { opacity: .45; } }
@keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
@keyframes flash { 0% { transform: translateY(100%); } 10%,85% { transform: none; } 100% { transform: translateY(100%); } }
@keyframes bump { 50% { transform: scale(1.25); } }

/* ---------- benefits (compact on mobile) ---------- */
.benefits { list-style: none; display: grid; gap: 8px; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; gap: 10px; } }
.benefits li { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.benefits li strong { color: var(--ink); display: block; font-size: 14px; }
.benefits .ic { flex: none; width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--accent); margin-top: 1px; }

/* ---------- offer ---------- */
.offer { background: #fff; border-radius: var(--radius); padding: 18px 16px 14px; text-align: center; box-shadow: var(--shadow); border: 2px solid var(--ink); margin-top: 14px; }
.offer-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 5px 12px; border-radius: 999px; }
.offer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin: 10px 0 4px; }
.offer .was { font-size: 22px; font-weight: 700; color: #8b929c; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.offer .now { font-size: 60px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.offer .pct { background: var(--red); color: #fff; font-weight: 800; font-size: 19px; padding: 6px 10px; border-radius: 10px; }
.offer .save { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ok); background: #e8f4ed; border-radius: 999px; padding: 3px 12px; margin-bottom: 8px; }
.offer .cod { font-size: 14px; font-weight: 700; color: var(--ink); border-top: 1px dashed #d3d7dd; padding-top: 9px; margin-top: 4px; }
@media (min-width: 900px) { .offer .now { font-size: 68px; } }

/* ---------- order form ---------- */
.order { padding: 14px 0 6px; }
.order-card { background: #fff; border-radius: var(--radius); padding: 20px 16px; max-width: 520px; margin: 0 auto; box-shadow: var(--shadow); border: 1px solid var(--line); }
.order-card h2 { font-size: 20px; font-weight: 800; text-align: center; line-height: 1.25; }
.order-card .hint { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 6px 0 10px; }
.order-form label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0 5px; }
.order-form input[type=text], .order-form input[type=tel] { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #cfd4db; background: #fff; transition: border-color .15s, box-shadow .15s; }
.order-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 59, 87, .14); }
.order-form br { display: none; }
.order-form button { width: 100%; margin-top: 16px; border: 0; border-radius: 14px; padding: 15px 12px; min-height: 58px; cursor: pointer; font: inherit; font-weight: 800; font-size: 18px; letter-spacing: .02em; color: #fff; background: var(--red); box-shadow: 0 12px 24px -14px rgba(143, 24, 32, .9); display: flex; flex-direction: column; align-items: center; gap: 2px; animation: nudge 3s ease-in-out infinite; }
.order-form button:active { background: var(--red-dark); }
.order-form button .btn-sub { font-size: 12px; font-weight: 600; opacity: .95; }
@keyframes nudge { 0%,88%,100% { transform: none; } 92% { transform: scale(1.03); } 96% { transform: scale(.99); } }
.form-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.form-note.warn { color: var(--red); font-weight: 800; font-size: 13.5px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 520px; margin: 12px auto 0; }
.trust > div { background: var(--soft); border-radius: 12px; padding: 9px 5px; text-align: center; }
.trust .i { font-size: 18px; line-height: 1; }
.trust b { display: block; font-size: 11.5px; line-height: 1.3; margin-top: 5px; }
.trust small { display: block; font-size: 10.5px; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }

/* ---------- sections ---------- */
.sec { padding: 36px 0; }
@media (min-width: 900px) { .sec { padding: 52px 0; } }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 20px; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { font-size: 23px; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; text-wrap: balance; }
@media (min-width: 900px) { .sec-head h2 { font-size: 32px; } }

/* features */
.features { display: grid; gap: 18px; }
.feature { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; align-items: center; } .feature:nth-child(even) .feature-img { order: 2; } }
.feature-img { position: relative; }
.feature-img .num { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--ink); }
.feature-txt { padding: 16px 16px 20px; }
.feature-txt h3 { font-size: 19px; line-height: 1.25; font-weight: 800; margin: 4px 0 8px; }
.feature-txt p { font-size: 14.5px; color: var(--ink-soft); }
.feature-txt p strong { color: var(--ink); }

/* compare */
.compare { background: var(--soft); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.compare th:first-child, .compare td:first-child { width: 27%; }
.compare th, .compare td { padding: 9px 7px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 700px) { .compare table { font-size: 14px; } .compare th, .compare td { padding: 12px 14px; } }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: #fff; font-size: 12.5px; }
.compare th.us { background: var(--ink); color: #fff; }
.compare td:first-child { font-weight: 700; }
.compare td { color: var(--ink-soft); }
.compare td.us { color: var(--ink); font-weight: 700; background: var(--accent-soft); }
.compare td.us:before { content: "✓ "; color: var(--ok); font-weight: 900; }

/* kit */
.kit-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .kit-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.kit-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.kit ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.kit li { background: var(--soft); border-radius: 12px; padding: 10px 12px 10px 42px; position: relative; font-size: 14px; }
.kit li:before { content: "✓"; position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.kit .sec-head { text-align: left; margin: 0; }

/* reviews */
.home-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .home-grid { grid-template-columns: 1fr 1fr; } }
.home-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.home-card .hc-body { padding: 14px 16px 18px; }
.home-card .stars { color: #e0a100; font-size: 16px; letter-spacing: 2px; }
.home-card .quote { margin: 4px 0 8px; color: var(--ink); font-size: 14.5px; }
.home-card .who { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.home-card .who span { font-size: 11px; font-weight: 700; color: var(--ok); background: #e8f4ed; border-radius: 999px; padding: 2px 8px; }

/* CTA */
.cta-wrap { text-align: center; margin-top: 22px; }
.cta-btn { display: block; max-width: 420px; margin: 0 auto; text-decoration: none; color: #fff; font-weight: 800; font-size: 16px; padding: 16px 20px; border-radius: 14px; background: var(--red); box-shadow: 0 12px 24px -14px rgba(143, 24, 32, .9); }

/* final */
.final { background: #fff; }
.final-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink); text-align: left; padding: 14px; min-height: 50px; cursor: pointer; }
.faq-q .arrow { transition: transform .2s; color: var(--accent); }
.faq-a { display: none; padding: 0 14px 14px; color: var(--ink-soft); font-size: 14px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .arrow { transform: rotate(180deg); }

/* sticky mobile CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 28px -18px rgba(21, 32, 46, .45); transform: translateY(110%); transition: transform .25s; }
.sticky.on { transform: none; }
.sticky .sp { line-height: 1.1; }
.sticky .sp s { font-size: 12px; color: #8b929c; font-weight: 700; }
.sticky .sp b { font-size: 22px; font-weight: 800; margin-left: 4px; }
.sticky .sp em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--red); margin-top: 3px; }
.sticky a { flex: 1; max-width: 210px; text-align: center; text-decoration: none; color: #fff; font-weight: 800; padding: 14px 12px; border-radius: 12px; background: var(--red); white-space: nowrap; }
@media (min-width: 900px) { .sticky { display: none; } body.has-sticky { padding-bottom: 0; } }

/* recent order toast */
.toast { position: fixed; left: 10px; bottom: 88px; z-index: 60; max-width: 250px; display: flex; gap: 9px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px 7px 7px; box-shadow: 0 14px 30px -14px rgba(21, 32, 46, .5); font-size: 12px; line-height: 1.3; color: var(--ink-soft); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .35s; }
.toast.on { opacity: 1; transform: none; }
.toast img { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.toast b { color: var(--ink); }
.toast small { display: block; color: var(--ok); font-weight: 700; }
@media (min-width: 900px) { .toast { bottom: 20px; left: 20px; } }

/* footer */
.site-footer { background: var(--ink); color: #c3c9d2; padding: 32px 0 22px; font-size: 14px; }
.site-footer .container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.site-footer__grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-logo { text-decoration: none; font-weight: 800; font-size: 20px; }
.site-logo__text-primary { color: #fff; }
.site-logo__text-accent { color: #8b95a3; }
.site-footer__blurb { margin-top: 8px; color: #8b95a3; }
.site-footer__heading { color: #fff; font-size: 15px; margin-bottom: 8px; }
.site-footer__list { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: #c3c9d2; text-decoration: none; }
.site-footer__bottom { border-top: 1px solid #2a3544; margin-top: 20px; padding-top: 14px; font-size: 12.5px; color: #8b95a3; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky, .toast { transition: none; }
  .sc-dot, .sc-bar i, .order-form button, .scarcity.hit, .scarcity.hit .sc-num { animation: none !important; }
}
.order-form button .btn-sub s{white-space:nowrap}

/* hero thumbnails (Amazon style): tap to show that photo large */
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 58px; height: 58px; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .15s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.thumbs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 900px) { .thumbs button { width: 68px; height: 68px; } }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; overflow: visible; max-width: 440px; }
.thumbs button { width: auto; height: auto; aspect-ratio: 1; }
@media (min-width: 900px) { .thumbs button { width: auto; height: auto; } }
