/* Unifi Sabah - SYP Tech Solutions */
:root {
  --orange: #f15f22;
  --orange-600: #d94e14;
  --orange-50: #fff3ec;
  --indigo: #3d4da1;
  --navy: #1b2462;
  --navy-900: #10163f;
  --ink: #1f2547;
  --muted: #5f6690;
  --line: #e3e6f2;
  --bg: #f6f7fc;
  --white: #fff;
  --green: #1faa53;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(27, 36, 98, .08);
  --shadow-lg: 0 24px 60px rgba(27, 36, 98, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -.18em; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.muted-sm { color: rgba(255,255,255,.55); font-size: 13px; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(241,95,34,.35); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(241, 95, 34, .3); }
.btn-primary:hover { background: var(--orange-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--indigo); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-ghost-wa { color: #128c43; background: #ecfaf1; font-size: 14px; padding: 10px 16px; }
.btn-ghost-wa:hover { background: #dcf5e6; }
.btn-wa { background: var(--green); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding: 8px 20px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar .ico { color: var(--orange); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; height: 38px; width: auto; }
.brand .brand-syp { height: 40px; }
.brand-sep { width: 1px; height: 34px; background: var(--line); }
.brand-text { font-size: 11px; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--orange); background: var(--orange-50); }
.main-nav .nav-status { border: 1.5px solid var(--line); border-radius: 999px !important; margin-left: 6px; }
.main-nav .nav-cta { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #3d4da1 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(241,95,34,.35) 0%, transparent 60%), var(--navy); color: #fff; padding: 72px 0 120px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: rgba(241,95,34,.12); border: 1px solid rgba(241,95,34,.35); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(241,95,34,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(241,95,34,0); } }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; margin: 18px 0 16px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255,255,255,.8); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: #6ee7a0; }

.hero-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg); position: relative; }
.hero-card h3 { font-size: 20px; margin-bottom: 4px; }
.hero-card .muted { font-size: 14px; margin-bottom: 18px; }
.quick-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.quick-cat { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: .15s; }
.quick-cat:hover { border-color: var(--orange); background: var(--orange-50); transform: translateY(-2px); }
.quick-cat b { font-size: 15px; color: var(--navy); }
.quick-cat small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.quick-cat .from { font-size: 13px; color: var(--orange); font-weight: 700; }
.hero-card-foot { display: flex; gap: 10px; }
.hero-card-foot .btn { flex: 1; }
.hero-badge { position: absolute; top: -16px; right: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(241,95,34,.4); }

/* Stats strip */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); flex: none; }
.stat-ic .ico { width: 24px; height: 24px; }
.stat b { display: block; color: var(--navy); font-size: 15px; }
.stat span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block; }

/* Plan browser */
.plan-browser { }
.cat-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-tab { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: .15s; color: var(--ink); text-decoration: none; }
.cat-tab:hover { border-color: var(--indigo); }
.cat-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(27,36,98,.25); }
.cat-tab b { display: block; font-size: 15px; }
.cat-tab small { display: block; font-size: 12px; opacity: .7; }
.cat-tab .cat-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.cat-tab.active .cat-ic { background: rgba(255,255,255,.12); color: #fff; }
.bundle-bar { display: flex; justify-content: center; margin: 0 auto 34px; }
.bundle-pills { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.section-alt .bundle-pills { background: #fff; }
.bundle-pill { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: .15s; }
.bundle-pill:hover { color: var(--navy); }
.bundle-pill.active { background: var(--orange); color: #fff; box-shadow: 0 6px 14px rgba(241,95,34,.3); }
.bundle-pill .cnt { font-size: 11px; opacity: .75; margin-left: 4px; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; align-items: stretch; }
.plan-grid.cols-few { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.chip-strike { text-decoration: line-through; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }

/* Plan card */
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(27,36,98,.06); transition: transform .25s, box-shadow .25s; animation: cardIn .35s ease both; }
.pc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(27,36,98,.16); }
.pc-head { position: relative; padding: 18px 20px 20px; color: #fff; background: linear-gradient(140deg, #2a3685 0%, var(--navy) 60%, #141b4f 100%); overflow: hidden; }
.pc-head::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255,255,255,.07); }
.pc-head::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: 20px; bottom: -100px; border: 22px solid rgba(255,255,255,.05); }
.pc.is-featured { border: 2px solid var(--orange); box-shadow: 0 22px 50px rgba(241,95,34,.22); }
.pc.is-featured .pc-head { background: linear-gradient(140deg, #ff8148 0%, var(--orange) 50%, #c9450f 100%); }
.pc-top { position: relative; z-index: 1; display: flex; flex-direction: column-reverse; justify-content: flex-start; align-items: flex-start; gap: 6px; min-height: 60px; }
.pc-top > * { max-width: 100%; }
.pc-bundle { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #fff; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.pc.is-featured .pc-badge { background: #fff; color: var(--orange-600); }
.pc-speed { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 6px; margin: 14px 0 8px; line-height: 1; }
.pc-speed b { font-size: clamp(44px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.045em; }
.pc-speed span { font-size: 16px; font-weight: 700; opacity: .85; }
.pc-meter { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; min-height: 21px; }
.pc-bars { display: inline-flex; align-items: flex-end; gap: 3px; }
.pc-bars i { width: 6px; border-radius: 2px; background: rgba(255,255,255,.22); }
.pc-bars i.on { background: #fff; }
.pc:not(.is-featured) .pc-bars i.on { background: var(--orange); }
.pc-up { font-size: 12.5px; font-weight: 600; opacity: .85; white-space: nowrap; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.pc-name { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: var(--navy); line-height: 1.3; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px; line-height: 1; }
.pc-cur { font-size: 16px; font-weight: 800; color: var(--orange); align-self: flex-start; margin-top: 6px; }
.pc-amt { font-size: 44px; font-weight: 800; color: var(--navy); letter-spacing: -.04em; white-space: nowrap; }
.pc-amt small { font-size: .5em; letter-spacing: -.02em; vertical-align: .62em; margin-left: 1px; }
.pc-per { font-size: 14px; font-weight: 600; color: var(--muted); }
.pc-contract { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.pc-contract s { color: #a0a5c0; }
.pc-perks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.pc-perks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--orange-600); background: var(--orange-50); border: 1px dashed #ffc6a8; padding: 8px 10px; border-radius: 12px; line-height: 1.3; }
.pc-perks .ico { width: 16px; height: 16px; flex: none; }
.pc-feat { list-style: none; padding: 12px 0 0; margin: 0 0 18px; border-top: 1px solid var(--line); flex: 1; }
.pc-feat li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.pc-feat li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #e8f8ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231faa53' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }
.pc-actions { display: flex; gap: 8px; margin-top: auto; }
.pc-actions .btn { flex: 1; white-space: nowrap; padding: 13px 14px; }
.pc-wa { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #ecfaf1; transition: background .15s, transform .15s; }
.pc-wa:hover { background: #d6f3e2; transform: scale(1.06); }
.area-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.area-links a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; background: #fff; }
.area-links a:hover { border-color: var(--orange); color: var(--orange); }
.area-links-lg a { font-size: 15px; padding: 10px 18px; }
.mm-banner { background: #f59e0b; color: #1f2547; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }
.mm-banner a { color: #1f2547; }

.plan-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }
.plan-empty { text-align: center; padding: 40px; color: var(--muted); border: 2px dashed var(--line); border-radius: 20px; }
.view-toggle { display: flex; justify-content: flex-end; gap: 6px; margin: -18px 0 18px; }
.view-toggle button { border: 1.5px solid var(--line); background: #fff; padding: 6px 12px; border-radius: 10px; font: 600 13px var(--font); color: var(--muted); cursor: pointer; }
.view-toggle button.active { border-color: var(--navy); color: var(--navy); }
.compare-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare td b { color: var(--navy); }
.compare tr:last-child td { border-bottom: 0; }
.compare .price { font-weight: 800; color: var(--orange); white-space: nowrap; }
.compare .btn { padding: 8px 14px; font-size: 13px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 44px; font-weight: 800; color: var(--orange-50); -webkit-text-stroke: 1.5px var(--orange); position: absolute; top: 14px; right: 18px; line-height: 1; }
.step-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step-ic .ico { width: 26px; height: 26px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Path cards (demand / MSR / winback) */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { border-radius: 24px; padding: 30px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.path h3 { color: #fff; font-size: 22px; }
.path p { color: rgba(255,255,255,.8); font-size: 15px; flex: 1; }
.path .btn { align-self: flex-start; }
.path-ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-bottom: 18px; }
.path-ic .ico { width: 28px; height: 28px; }
.path::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -90px; background: rgba(255,255,255,.07); }
.path-orange { background: linear-gradient(140deg, #ff7a3d, var(--orange) 50%, #c9450f); }
.path-navy { background: linear-gradient(140deg, #3d4da1, var(--navy)); }
.path-indigo { background: linear-gradient(140deg, #2d3a8c, #10163f); }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; }
.why-item .stat-ic { width: 48px; height: 48px; }
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 15px; margin: 0; }
.compare-box { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.compare-box table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-box th, .compare-box td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare-box th { text-align: left; background: var(--navy); color: #fff; font-size: 13px; }
.compare-box th:nth-child(2) { background: var(--orange); text-align: center; }
.compare-box th:nth-child(3) { text-align: center; }
.compare-box td:nth-child(2), .compare-box td:nth-child(3) { text-align: center; font-weight: 800; font-size: 18px; }
.yes { color: var(--green); }
.no { color: #c0c4d8; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; transition: .15s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange); font-weight: 500; transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul, .faq-a { color: var(--muted); padding-bottom: 6px; }
.faq-a { padding-bottom: 18px; }
.faq-a ul { margin: 0; padding-left: 20px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange), #ff8a50); border-radius: 28px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, #3d4da1, transparent 60%), var(--navy); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin: 12px 0 10px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 640px; margin: 0; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }

/* Forms */
.form-shell { max-width: 900px; margin: -40px auto 0; position: relative; z-index: 2; }
.card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px; }
.progress { display: flex; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: p; }
.progress li { flex: 1; position: relative; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); counter-increment: p; }
.progress li::before { content: counter(p); display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); color: var(--muted); position: relative; z-index: 1; transition: .2s; }
.progress li::after { content: ""; position: absolute; top: 18px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.done::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.progress li.done::after, .progress li.current::after { background: var(--green); }
.progress li.current { color: var(--navy); }
.progress li.current::before { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 6px var(--orange-50); }
.fstep { margin-bottom: 34px; }
.js .fstep { display: none; margin-bottom: 0; animation: cardIn .3s ease both; }
.js .fstep.active { display: block; }
form:not(.js) .progress, form:not(.js) [data-next], form:not(.js) [data-prev] { display: none; }
.fstep h2 { font-size: 24px; margin-bottom: 4px; }
.fstep > .muted { margin-bottom: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl { font-size: 14px; font-weight: 700; color: var(--navy); }
.field .req { color: var(--orange); }
.field small { color: var(--muted); font-size: 12px; }
.input, select.input, textarea.input { width: 100%; font: 500 15px var(--font); color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 96px; resize: vertical; }
/* Same height for every text box and dropdown (Safari ignores padding on native selects) */
input.input:not([type=checkbox]):not([type=radio]):not([type=file]), select.input { height: 50px; line-height: 1.3; }
select.input { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235f6690' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 22px 22px; }
select.input::-ms-expand { display: none; }
input[type=date].input { -webkit-appearance: none; appearance: none; }
.input:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(61,77,161,.12); }
.input.invalid { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,.1); }
.err-msg { color: #e11d48; font-size: 12px; font-weight: 600; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; transition: .15s; }
.choice .box b { color: var(--navy); font-size: 15px; }
.choice .box small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice:hover .box { border-color: var(--indigo); }
.choice input:checked + .box { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px rgba(241,95,34,.15); }
.choice input:focus-visible + .box { outline: 3px solid rgba(61,77,161,.3); }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.plan-pick .box { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
.plan-pick .pp-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.plan-pick .pp-perk { font-size: 12px; color: var(--orange-600); }
.plan-pick .pp-price { font-weight: 800; color: var(--orange); white-space: nowrap; font-size: 15px; }
.sub-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 26px 0 12px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; flex: none; }
.hp { position: absolute; left: -5000px; }

.doc-list { display: grid; gap: 12px; }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line); border-radius: 16px; transition: .15s; }
.doc-item.has-file { border-style: solid; border-color: var(--green); background: #f3fbf6; }
.doc-item .doc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--indigo); flex: none; }
.doc-item.has-file .doc-ic { background: var(--green); color: #fff; }
.doc-item .doc-txt { flex: 1; min-width: 0; }
.doc-item .doc-txt b { display: block; color: var(--navy); font-size: 15px; }
.doc-item .doc-txt small { color: var(--muted); font-size: 13px; display: block; }
.doc-item .doc-file { font-size: 12px; color: var(--green); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-item .file-btn { position: relative; overflow: hidden; flex: none; }
.doc-item .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; vertical-align: 2px; }
.tag-req { background: var(--orange-50); color: var(--orange-600); }
.tag-opt { background: var(--bg); color: var(--muted); }
.tag-ok { background: #e6f7ec; color: #15803d; }
.tag-bad { background: #fde8ec; color: #be123c; }
.tag-wait { background: #eef0fb; color: var(--indigo); }
.later-box { margin-top: 18px; padding: 16px 18px; background: var(--bg); border-radius: 16px; }
.info-box { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #eef1ff; color: var(--navy); font-size: 14px; margin-bottom: 18px; }
.info-box .ico { color: var(--indigo); width: 20px; height: 20px; margin-top: 1px; }
.info-box.warn { background: var(--orange-50); }
.info-box.warn .ico { color: var(--orange); }
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.review div { background: var(--bg); padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.review small { display: block; color: var(--muted); font-size: 12px; }
.review b { color: var(--navy); }

.alert { padding: 14px 18px; border-radius: 14px; margin: 18px 0; font-weight: 600; font-size: 15px; }
.alert-success { background: #e6f7ec; color: #166534; }
.alert-error { background: #fde8ec; color: #9f1239; }
.alert-info { background: #eef1ff; color: var(--navy); }

/* Success */
.success { text-align: center; }
.success-ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #e6f7ec; color: var(--green); display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.success-ic .ico { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.ref-box { display: inline-flex; flex-direction: column; gap: 2px; background: var(--bg); border: 2px dashed var(--orange); border-radius: 18px; padding: 16px 32px; margin: 10px 0 22px; }
.ref-box small { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.ref-box b { font-size: 32px; color: var(--orange); letter-spacing: .06em; }
.success .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.next-steps { text-align: left; max-width: 520px; margin: 26px auto 0; padding: 0; list-style: none; }
.next-steps li { display: flex; gap: 12px; padding: 10px 0; color: var(--muted); font-size: 15px; }
.next-steps li b { color: var(--navy); }
.next-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }

/* Status timeline */
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.status-head h2 { margin: 0; }
.big-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.timeline { list-style: none; padding: 0; margin: 0 0 24px; position: relative; }
.timeline li { position: relative; padding: 0 0 26px 54px; }
.timeline li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tdot { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); color: var(--muted); font-weight: 800; font-size: 14px; }
.timeline li.done .tdot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.current .tdot { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 6px var(--orange-50); }
.timeline li.warn .tdot { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.timeline b { display: block; color: var(--navy); }
.timeline small { color: var(--muted); font-size: 14px; }
.timeline li:not(.done):not(.current):not(.warn) b { color: var(--muted); }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge-blue { background: #e0ecff; color: #1d4ed8; }
.badge-amber { background: #fff4d6; color: #a16207; }
.badge-violet { background: #efe7ff; color: #6d28d9; }
.badge-indigo { background: #e5e8fb; color: var(--indigo); }
.badge-teal { background: #d9f6f2; color: #0f766e; }
.badge-green { background: #e6f7ec; color: #15803d; }
.badge-slate { background: #e7eaf0; color: #334155; }
.badge-red { background: #fde8ec; color: #be123c; }
.badge-gray { background: #eef0f4; color: #6b7280; }

/* Content pages */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 24px; }
.prose ul { color: var(--muted); }
.prose p { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.side-card { background: var(--bg); border-radius: 20px; padding: 24px; position: sticky; top: 100px; }
.side-card h3 { font-size: 18px; }
.side-card ul { padding-left: 18px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.6); font-size: 13px; }
.footer-bottom { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 22px 20px 26px; text-align: center; }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }

/* Map pin */
.pin-field .lbl { font-size: 14px; font-weight: 700; color: var(--navy); }
.map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.map-search { display: flex; gap: 6px; flex: 1 1 260px; }
#pinField .map-search .input { padding: 9px 12px; font-size: 14px; height: 42px; }
.map-results { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; max-height: 200px; overflow-y: auto; font-size: 13px; color: var(--muted); padding: 6px; }
.map-results button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.map-results button:hover { background: var(--orange-50); }
.pin-map { height: 380px; border-radius: 16px; border: 1.5px solid var(--line); overflow: hidden; background: #dde3ef; z-index: 0; }
.pin-field.pin-missing .pin-map { border-color: #e11d48; }
.pin-icon { background: none; border: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.map-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 8px; }
.map-zoomhint { color: var(--orange-600); font-weight: 700; }
.leaflet-container { font-family: var(--font); }

/* Advance payment */
.advance-box { padding: 20px; border: 2px solid #ffd7c2; background: var(--orange-50); border-radius: 18px; margin: 22px 0 8px; }
.advance-top { margin-bottom: 12px; }
.advance-now { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.advance-now .ico { width: 16px; height: 16px; }
.advance-top h3 { font-size: 20px; margin: 0; color: var(--navy); }
.advance-top h3 u { text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; color: var(--orange-600); }
.advance-points { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.advance-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.advance-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--orange); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 1.5px solid #ffc6a8; }

/* Postcode */
.postcode-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.postcode-row .input { max-width: 180px; font-weight: 700; letter-spacing: .08em; }
.postcode-hint { font-size: 13px; color: var(--muted); }
.postcode-hint.ok { color: #15803d; font-weight: 700; }
.postcode-hint.bad { color: var(--orange-600); font-weight: 700; }

/* News */
.ntag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.ntag-green { background: #e6f7ec; color: #15803d; }
.ntag-orange { background: var(--orange-50); color: var(--orange-600); }
.ntag-indigo { background: #e5e8fb; color: var(--indigo); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--indigo)); position: relative; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-img .ntag { position: absolute; top: 14px; left: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.news-img-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.35); }
.news-img-ph .ico { width: 56px; height: 56px; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-body time { font-size: 13px; color: var(--muted); }
.news-body h3 { font-size: 19px; margin: 0; }
.news-body p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.news-more { font-weight: 700; color: var(--orange); font-size: 14px; }
.news-filter { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.news-filter a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.news-filter a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.article { max-width: 820px; margin: -40px auto 0; position: relative; z-index: 2; }
.article-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.article-img img { display: block; width: 100%; }
.article-body { font-size: 17px; line-height: 1.75; color: #3a4066; }
.article-body p { margin-bottom: 1.1em; }
.article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head-row h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 0; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-float img { width: 58px; height: 58px; filter: drop-shadow(0 8px 18px rgba(31,170,83,.45)); transition: transform .2s; }
.wa-float:hover img { transform: scale(1.08); }
.wa-float-label { order: -1; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav a:not(.btn) { padding: 8px 8px; font-size: 14px; }
  .brand-text { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px; font-size: 16px; }
  .main-nav .nav-status { margin: 6px 0 0; text-align: center; }
  .main-nav .nav-cta { margin: 8px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .why, .two-col { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .paths { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .side-card { position: static; }
  .choice-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-in { padding: 8px 16px; font-size: 12px; }
  .topbar-links { display: none; }
  .topbar-reg { display: none; }
  .pin-map { height: 320px; }
  .header-in { height: 66px; }
  .main-nav { top: 66px; }
  .brand img { height: 30px; }
  .brand .brand-syp { height: 32px; }
  .hero { padding: 48px 0 100px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .stats-in, .steps, .grid-2, .grid-3, .review, .choice-grid.cols-2, .choice-grid.cols-3, .choice-grid.cols-4, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .span-2 { grid-column: auto; }
  .card { padding: 22px 18px; border-radius: 20px; }
  .progress li { font-size: 0; }
  .cat-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .cat-tab { padding: 10px 14px; justify-content: center; text-align: center; }
  .cat-tab small { display: none; }
  .cat-tab .cat-ic { display: none; }
  .quick-cats { grid-template-columns: 1fr 1fr; }
  .wa-float-label { display: none; }
  .doc-item { flex-wrap: wrap; }
  .doc-item .file-btn { width: 100%; }
  .form-nav .btn { flex: 1; }
  .ref-box b { font-size: 26px; }
  .cta-band { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Map full screen */
.pin-map { position: relative; }
.pin-map.is-full { position: fixed; inset: 0; z-index: 9999; height: 100% !important; border-radius: 0; border: 0; }
.map-done { display: none !important; position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.pin-map.is-full .map-done { display: inline-flex !important; }
html.map-lock, html.map-lock body { overflow: hidden; }
html.map-lock .fstep, html.map-lock .card, html.map-lock .form-shell { animation: none !important; transform: none !important; }
html.map-lock .form-shell { z-index: 10000; }
html.map-lock .wa-float, html.map-lock .site-header { display: none; }
.map-full-btn { display: grid !important; place-items: center; width: 34px !important; height: 34px !important; color: var(--navy) !important; background: #fff; }

/* Keep "RM 363.90 /month" on one line in narrow cards */
.pc-body { container-type: inline-size; }
@container (max-width: 190px) { .pc-amt { font-size: 36px; } .pc-per { font-size: 12px; } }
@container (max-width: 160px) { .pc-amt { font-size: 32px; } }
