/* Unifi reseller landing page. Follows the client's registermaxis.com structure; layouts from his
   three references (myunifi.net header, unifi.com.co packages, unifipromo.com.my steps). Flat colours. */
:root {
  --orange: #ff6a00;
  --orange-dk: #e05600;
  --orange-soft: #fff1e6;
  --peach: #fff7f1;
  --ink: #151515;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #f1c9a8;
  --wa: #1fb655;
  --wa-dk: #178f43;
  --teal: #1fb8a3;
  --price: #2414d6;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Lato', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: #fff; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #ffc400; outline-offset: 2px; }

/* ticker */
.ticker { background: var(--orange); color: #fff; overflow: hidden; white-space: nowrap; font: 600 15px/1 var(--head); }
.ticker-track { display: inline-flex; animation: tick 28s linear infinite; }
.ticker a { display: inline-block; padding: 13px 34px; text-decoration: none; }
.ticker a::before { content: "●"; font-size: 9px; margin-right: 14px; vertical-align: 2px; opacity: .8; }
.ticker u { text-underline-offset: 3px; margin-left: 10px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* hero */
.hero { color: #fff; padding: 64px 0 72px; border-bottom: 6px solid var(--orange);
  background: linear-gradient(rgba(12, 12, 12, .72), rgba(12, 12, 12, .72)), var(--ink) url("hero.jpg") center 35% / cover no-repeat;
  background: linear-gradient(rgba(12, 12, 12, .72), rgba(12, 12, 12, .72)), var(--ink) image-set(url("hero.webp") type("image/webp"), url("hero.jpg") type("image/jpeg")) center 35% / cover no-repeat; }
/* the overlay above is a flat tint (both stops identical), not a visible gradient */
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tm-badge img { width: 250px; height: auto; margin: 0 0 22px; border-radius: 4px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 700; max-width: 12em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.unifi-logo { display: inline-block; height: .86em; width: auto; vertical-align: -.06em; margin-right: .08em; }
.pill .ast { color: #ffb37a; text-decoration: none; margin-left: 2px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #2a2a2a; border: 1px solid #3a3a3a; border-radius: 999px; padding: 10px 20px; font: 600 clamp(15px, 1.8vw, 18px)/1.3 var(--head); margin: 0 0 16px; }
.pill svg { width: 20px; height: 20px; flex: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #232323; border: 1px solid #353535; border-radius: 999px; padding: 8px 15px; font: 600 14px/1 var(--head); }
.chips svg { width: 18px; height: 18px; color: var(--orange); }
.cta-wa { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(100%, 540px); background: var(--wa); color: #fff; text-decoration: none; border-radius: 14px; padding: 16px 22px; margin-bottom: 14px; }
.cta-wa:hover { background: var(--wa-dk); }
.cta-wa svg { width: 34px; height: 34px; flex: none; }
.cta-wa b { display: block; font: 700 clamp(17px, 2.2vw, 21px)/1.2 var(--head); text-transform: uppercase; text-align: left; }
.cta-wa small { display: block; font-size: 14px; opacity: .9; text-align: left; }
.cta-promo { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(100%, 540px); background: var(--orange); color: #fff; text-decoration: none; border-radius: 14px; padding: 17px 22px; font: 700 clamp(16px, 2vw, 19px)/1.2 var(--head); text-transform: uppercase; }
.cta-promo:hover { background: var(--orange-dk); }
.cta-promo svg { width: 24px; height: 24px; }
.from { margin: 24px 0 6px; font-size: 17px; color: #ddd; }
.from b { font: 700 26px/1 var(--head); color: #fff; }
.from .ast { color: #ffb37a; text-decoration: none; margin-left: 2px; }

/* packages */
.packages { background: var(--peach); padding: 64px 0 56px; }
.pk-title { text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.pk-title span { color: var(--orange); text-transform: lowercase; }
.pk-sub { text-align: center; color: var(--muted); margin: 0 0 26px; }

/* the 4 deal tiles (client's reference layout, light instead of dark) */
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin: 0 auto 34px; }
.deals button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid #e6d6c8; border-radius: 16px; padding: 20px 14px 18px; font: inherit; }
.deals button:hover { border-color: var(--orange); }
.deals svg { width: 26px; height: 26px; color: var(--orange); }
.deals b { font: 700 clamp(15px, 1.9vw, 19px)/1.2 var(--head); text-transform: uppercase; }
.deals span { font-size: 14px; color: var(--muted); }
.deals em { font: 700 12px/1 var(--head); font-style: normal; text-transform: uppercase; background: #f1ebe5; color: var(--ink-2); border-radius: 999px; padding: 9px 16px; margin-top: 6px; }
.deals em i { font-style: normal; }
.tile-best { position: absolute; top: -10px; right: 14px; background: var(--orange); color: #fff; font: 700 10.5px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 6px 9px; border-radius: 5px; }
.deals [aria-selected="true"] { background: var(--orange-soft); border: 2px solid var(--orange); padding: 19px 13px 17px; }
.deals [aria-selected="true"] b { color: var(--orange-dk); }
.deals [aria-selected="true"] em { background: var(--orange); color: #fff; }

.panel { border-top: 1px solid #ead9ca; padding-top: 28px; }
.panel-h { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; margin-bottom: 18px; }
.panel-h svg { width: 24px; height: 24px; color: var(--orange); }
.lbl { font: 600 15px/1.2 var(--head); color: var(--ink-2); margin: 0 0 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #f1ebe5; border-radius: 999px; padding: 4px; max-width: 560px; margin-bottom: 12px; }
.seg button { font: 700 15px/1 var(--head); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 13px 10px; cursor: pointer; }
.seg [aria-selected="true"] { background: #fff; color: var(--orange-dk); border: 1px solid var(--orange); padding: 12px 9px; }
.pnote { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.speed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.speed-chips button { font: 600 14px/1 var(--head); color: var(--ink-2); background: #fff; border: 1px solid #d9cdc2; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.speed-chips [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.card { background: #fff; border: 1px solid #ead9ca; border-radius: 18px; padding: 22px 20px 18px; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.badges { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.badges .badge { margin-bottom: 0; }
.best-pill { background: var(--orange); color: #fff; font: 700 11px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.card-best { border: 2px solid var(--orange); padding: 21px 19px 17px; background: #fffaf5; }
.badge { align-self: flex-start; background: #f1ebe5; color: var(--ink-2); font: 700 11px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; border-radius: 6px; margin-bottom: 12px; }
.speed { font-size: clamp(28px, 3vw, 36px); font-weight: 800; margin-bottom: 4px; }
.price { margin: 0 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font: 800 clamp(28px, 2.8vw, 34px)/1 var(--head); color: var(--orange); }
.price span { font-size: 14px; color: var(--ink-2); }
.then { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.facts { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 6px; font-size: 14.5px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.facts b { font-family: var(--head); font-weight: 700; }
.facts span { color: var(--ink-2); }
.desc { border-top: 1px solid #efe3d8; padding-top: 14px; margin-bottom: 14px; }
.desc-l { font: 700 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dk); margin: 0 0 6px; }
.desc-t { font: 700 15.5px/1.3 var(--head); margin: 0 0 8px; }
.desc ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; }
.desc li { padding-left: 16px; position: relative; }
.desc li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-size: 12px; }
.incl-h { font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 10px; }
.incl { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.incl li { display: flex; align-items: flex-start; gap: 10px; }
.incl svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 1px; }
.incl b { display: block; color: var(--ink); font-size: 14px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #fff; font: 700 clamp(16px, 1.8vw, 19px)/1 var(--head); border-radius: 10px; padding: 15px; margin-top: 10px; }
.card .btn-get { margin-top: auto; }
.btn svg { width: 22px; height: 22px; }
.btn-get { background: var(--orange); }
.btn-get:hover { background: var(--orange-dk); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dk); }
.sel { text-align: center; font-size: 12px; color: var(--muted); text-transform: uppercase; margin: 12px 0 0; letter-spacing: .02em; }

.terms { margin: 40px auto 0; max-width: 860px; background: #fff; border: 1px solid #ead9ca; border-radius: 14px; padding: 22px 24px; }
.terms h3 { font-size: 17px; text-transform: uppercase; margin-bottom: 10px; }
.terms ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }

/* steps */
.steps-sec { background: #000; color: #fff; padding: 64px 0; text-align: center; }
.kicker { display: inline-block; background: #2a2a2a; border-radius: 999px; padding: 9px 20px; font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 16px; }
.steps-sec h2 { font-size: clamp(28px, 4vw, 44px); }
.steps-sec h2 span { color: var(--orange); }
.sub { color: #cfcfcf; font-size: clamp(16px, 1.9vw, 20px); margin: 0 0 40px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: left; }
.step-n { color: var(--orange); font: 700 17px/1 var(--head); margin: 0 0 14px; }
.steps svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 16px; }
.steps h3 { font-size: clamp(20px, 2.3vw, 27px); }
.steps li p:last-child { color: #c9c9c9; font-size: 17px; margin: 0; }

/* apply form */
.apply { background: var(--peach); padding: 64px 0; border-top: 6px solid var(--orange); }
.apply-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.apply-text .kicker-dark { background: var(--ink); color: #fff; font-size: 14px; }
.apply h2 { font-size: clamp(30px, 4vw, 44px); }
.apply h2 span { color: var(--orange); }
.apply-text p { color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; text-align: center; line-height: 22px; }
.form { background: #fff; border: 1px solid #f3dcc9; border-radius: 20px; padding: 26px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font: 600 14px/1.3 var(--head); margin-bottom: 6px; }
.field i { color: var(--orange); font-style: normal; }
.field input, .field select { width: 100%; font: 400 16px/1.3 var(--body); color: var(--ink); background: #fff; border: 1px solid #d9d9d9; border-radius: 10px; padding: 13px 14px; }
.field input:focus, .field select:focus { border-color: var(--orange); outline: 2px solid rgba(255, 106, 0, .25); }
.field [aria-invalid="true"] { border-color: #d32f2f; }
.form-err { color: #d32f2f; font-weight: 700; margin: 4px 0 10px; }
.btn-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; background: var(--wa); color: #fff; font: 700 18px/1.2 var(--head); text-transform: uppercase; border-radius: 12px; padding: 18px; margin-top: 6px; }
.btn-submit:hover { background: var(--wa-dk); }
.btn-submit svg { width: 24px; height: 24px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* help + footer */
.help { background: var(--ink); color: #fff; padding: 56px 0; text-align: center; }
.help h2 { font-size: clamp(24px, 3vw, 34px); }
.help p { color: #cfcfcf; max-width: 36em; margin: 0 auto 22px; }
.btn-help { display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font: 700 17px/1 var(--head); border-radius: 999px; padding: 16px 28px; }
.btn-help:hover { background: var(--wa-dk); }
.btn-help svg { width: 22px; height: 22px; }
.help-line { margin: 16px auto 0; font-size: 14px; }
.foot { background: #000; color: #a8a8a8; padding: 30px 0 34px; font-size: 13.5px; }
.foot-in { text-align: center; }
.foot-badge img { width: 190px; height: auto; margin: 0 auto 14px; border-radius: 3px; }
.foot-brand { color: #fff; font: 700 15px/1 var(--head); margin: 0 0 10px; }
.disclaimer { max-width: 54em; margin: 0 auto 12px; }
.credit { margin: 0; }
.credit a { color: var(--orange); font-weight: 700; text-decoration: none; }
.float-wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.float-wa svg { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .apply-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .hero { padding: 44px 0 52px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .deals { gap: 10px; }
  .deals button { padding: 16px 8px 14px; }
  .deals [aria-selected="true"] { padding: 15px 7px 13px; }
  .deals span { font-size: 12.5px; }
  .deals em { padding: 8px 12px; font-size: 11px; }
  .terms { padding: 18px 16px; }
  .form { padding: 20px 16px; }
  .foot { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}

/* client changes 1 Nov: hero button pair, best-seller speed chip */
.hero-ctas{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,640px)}
.hero-ctas .cta-promo{width:auto;border-radius:10px;font-size:clamp(14px,1.9vw,18px);padding:16px 14px;gap:8px}
.cta-wa-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--wa);color:#fff;text-decoration:none;border-radius:10px;padding:16px 14px;font:700 clamp(14px,1.9vw,18px)/1.2 var(--head);text-transform:uppercase}
.cta-wa-btn:hover{background:var(--wa-dk)}.cta-wa-btn svg{width:22px;height:22px;flex:none}
@media (max-width:360px){.hero-ctas{grid-template-columns:1fr}}
.speed-chips .chip-best{border-color:var(--orange);color:var(--orange-dk);display:inline-flex;align-items:center;gap:6px}
.speed-chips .chip-best[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:#fff}
.chip-tag{font:700 9.5px/1 var(--head);font-style:normal;text-transform:uppercase;letter-spacing:.04em;background:var(--orange);color:#fff;padding:3px 5px;border-radius:4px}
.chip-best[aria-pressed="true"] .chip-tag{background:#fff;color:var(--orange-dk)}

/* hero buttons: one line each */
.hero-ctas a{white-space:nowrap}

/* "Wait! Don't Miss Out" pop-up: once per visit, when a desktop visitor heads for the tabs/close, or after 40 s on phones */
.nudge{width:min(92vw,400px);border:0;border-radius:18px;padding:30px 24px 20px;text-align:center;color:var(--ink);background:#fff}
.nudge::backdrop{background:rgba(0,0,0,.55)}
.nudge h2{font-size:24px;margin:0 0 8px}
.nudge p{margin:0 0 18px;color:var(--muted);font-size:15px}
.nudge-x{position:absolute;top:8px;right:10px;width:36px;height:36px;border:0;background:none;font-size:26px;line-height:1;color:var(--muted);cursor:pointer}
.nudge-wa,.nudge-free{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:14px;margin:0 0 10px;text-decoration:none;font:700 16px/1.2 var(--head)}
.nudge-wa{background:var(--wa);color:#fff}.nudge-wa:hover{background:var(--wa-dk)}.nudge-wa svg{width:22px;height:22px;flex:none}
.nudge-free{background:var(--orange);color:#fff;text-transform:uppercase}.nudge-free:hover{background:var(--orange-dk)}
.nudge .nudge-note{margin:6px 0 0;font-size:12.5px}
