/*
Theme Name: Mandoob Fiber
Theme URI: https://fibermandoob.com/
Description: قالب مندوب فايبر — صفحة هبوط لطلبات الألياف البصرية مبنية لإعلانات جوجل: نموذج تحقق من التغطية، باقات قابلة للتعديل، صفحة شكر لتتبع التحويلات، وضع داكن وفاتح.
Version: 1.1.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: mandoob-fiber
License: GPL-2.0-or-later
*/

/* ---------- Tokens: light ---------- */
:root {
	--bg: #F5F7FB;
	--bg-2: #EDF2FA;
	--surface: #FFFFFF;
	--surface-2: #F3F6FC;
	--input-bg: #F8FAFE;
	--text: #0A1530;
	--text-2: #33405F;
	--muted: #5B6886;
	--line: #DDE4F0;
	--line-strong: #C6D1E4;

	--brand: #2160F3;
	--brand-strong: #1749C9;
	--brand-soft: rgba(33, 96, 243, .09);
	--brand-ring: rgba(33, 96, 243, .22);
	--cyan: #0EA5DD;
	--success: #0E8A5F;
	--danger: #C42A3A;
	--danger-soft: rgba(196, 42, 58, .08);
	--wa: #0E8A5F;
	--wa-strong: #0B734F;

	--header-bg: rgba(245, 247, 251, .94);
	--footer-bg: #060D1F;
	--band-from: #0A1633;
	--band-to: #10285E;
	--band-text: #EAF0FF;
	--band-muted: #B7C4E2;
	--hero-glow-1: rgba(33, 96, 243, .14);
	--hero-glow-2: rgba(14, 165, 221, .10);

	--art-grid: rgba(33, 96, 243, .08);
	--art-cable: rgba(33, 96, 243, .22);
	--art-panel: #FFFFFF;
	--art-panel-stroke: #C6D1E4;
	--art-slot: #E3EAF7;

	--shadow-sm: 0 1px 2px rgba(10, 21, 48, .06);
	--shadow: 0 12px 32px -14px rgba(10, 21, 48, .2);
	--shadow-lg: 0 32px 64px -28px rgba(10, 21, 48, .32);

	--font: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--r: 16px;
	--r-md: 14px;
	--r-sm: 10px;
	--wrap: 1180px;
	--gap: clamp(16px, 3vw, 28px);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Tokens: dark ---------- */
:root[data-theme="dark"] {
	--bg: #060D1F;
	--bg-2: #0A142B;
	--surface: #0D1A35;
	--surface-2: #12224A;
	--input-bg: #0A1530;
	--text: #EAF0FF;
	--text-2: #C5D0E8;
	--muted: #95A5C6;
	--line: rgba(148, 170, 220, .14);
	--line-strong: rgba(148, 170, 220, .26);

	--brand: #4583FF;
	--brand-strong: #2F6BFF;
	--brand-soft: rgba(69, 131, 255, .14);
	--brand-ring: rgba(69, 131, 255, .32);
	--cyan: #3DD5FF;
	--success: #27C285;
	--danger: #FF6B7A;
	--danger-soft: rgba(255, 107, 122, .1);

	--header-bg: rgba(6, 13, 31, .92);
	--footer-bg: #040917;
	--band-from: #081230;
	--band-to: #0D1F4D;
	--hero-glow-1: rgba(47, 107, 255, .24);
	--hero-glow-2: rgba(61, 213, 255, .12);

	--art-grid: rgba(120, 160, 255, .07);
	--art-cable: rgba(120, 160, 255, .22);
	--art-panel: #0F1F44;
	--art-panel-stroke: rgba(148, 170, 220, .3);
	--art-slot: #18306A;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow: 0 12px 32px -14px rgba(0, 0, 0, .6);
	--shadow-lg: 0 32px 64px -28px rgba(0, 0, 0, .75);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap--text { max-width: 760px; }
.wrap--wide { max-width: 980px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 48px; padding: 11px 22px;
	border: 1px solid transparent; border-radius: var(--r-md);
	font-weight: 700; font-size: 16.5px; line-height: 1.2; text-decoration: none;
	cursor: pointer;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 17.5px; }
.btn--block { width: 100%; }
.btn--accent { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%); color: #fff; box-shadow: 0 10px 24px -12px var(--brand); }
.btn--accent:hover { box-shadow: 0 16px 32px -12px var(--brand); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px var(--wa); }
.btn--wa:hover { background: var(--wa-strong); box-shadow: 0 16px 32px -12px var(--wa); }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn .ic { width: 19px; height: 19px; }
.only-mobile { display: none; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
	cursor: pointer; transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* ---------- Header ---------- */
.topnote { background: var(--bg-2); color: var(--muted); font-size: 13.5px; border-bottom: 1px solid var(--line); }
.topnote .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(10px);
	transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-name { font-weight: 800; font-size: 21px; }
.brand-logo { max-height: 44px; width: auto; }
.nav { margin-inline-start: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 16px; transition: color .15s var(--ease), background-color .15s var(--ease); }
.nav-list a:hover { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call .ic { color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px);
	background:
		radial-gradient(600px 420px at 18% 30%, var(--hero-glow-1), transparent 70%),
		radial-gradient(520px 380px at 85% 80%, var(--hero-glow-2), transparent 70%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--art-grid) 1px, transparent 1px), linear-gradient(90deg, var(--art-grid) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
	padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
	color: var(--text-2); font-weight: 700; font-size: 14.5px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--brand-soft); animation: tf-blink 2.4s ease-in-out infinite; }
.hero-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.25; margin-bottom: 18px; }
.hero-text { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 54ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-2); text-decoration: none; margin-bottom: 28px; }
.hero-call .ic { color: var(--brand); }
.hero-call:hover { color: var(--brand); }
.hero-points { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--text-2); }
.hero-points .ic { color: var(--brand); }

/* Hero art */
.art { position: relative; max-width: 560px; margin-inline: auto; }
.art-svg { width: 100%; height: auto; }
.art-pulse { stroke-dasharray: 14 340; stroke-dashoffset: 354; animation: tf-flow 3.4s linear infinite; }
.art-pulse--t2 { animation-delay: -1.1s; }
.art-pulse--t3 { animation-delay: -2.2s; animation-duration: 3s; }
.art-pulse--d1 { stroke-dasharray: 10 60; stroke-dashoffset: 70; animation-duration: 1.6s; }
.art-led { animation: tf-blink 2.4s ease-in-out infinite; }
.art-led--2 { animation-delay: -.8s; }
.art-led--3 { animation-delay: -1.6s; }
.art-wifi { animation: tf-blink 2.8s ease-in-out infinite; }
.art-wifi--2 { animation-delay: -1.4s; }
.art-ring-pulse { transform-box: fill-box; transform-origin: center; animation: tf-ring 3.2s var(--ease) infinite; }
.ftth-chip {
	position: absolute; top: 6%; inset-inline-end: 0;
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md);
	box-shadow: var(--shadow); font-size: 14.5px; color: var(--text-2);
	animation: tf-float 8s ease-in-out infinite;
}
.ftth-chip b { color: var(--text); font-weight: 800; }
.ftth-chip-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.ftth-chip-ic .ic { width: 18px; height: 18px; }
.track-card {
	position: absolute; bottom: 2%; inset-inline-start: 0;
	min-width: 220px; padding: 14px 18px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
	box-shadow: var(--shadow-lg);
}
.track-title { font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.track-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.track-card li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.track-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.track-card .is-done { color: var(--text); }
.track-card .is-done .track-dot { background: var(--success); border-color: var(--success); color: #fff; }
.track-card .is-done .ic { width: 13px; height: 13px; stroke-width: 3; }
.track-card .is-active { color: var(--text); font-weight: 700; }
.track-card .is-active .track-dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.track-card .is-active .track-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: tf-blink 1.6s ease-in-out infinite; }

/* ---------- Order section ---------- */
.section--order { background: var(--bg-2); border-block: 1px solid var(--line); }
.order-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.order-intro h2 { font-size: clamp(27px, 3.2vw, 38px); }
.order-intro > p { color: var(--muted); }
.order-intro .ticks { margin-bottom: 24px; }
.order-photo { margin: 0; }
.order-photo .fig-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text-2); }
.ticks .ic { color: var(--success); margin-top: 5px; }
.ticks--plain li { font-weight: 400; }

/* drawn fallback + admin note */
.fig-img--drawn { background: var(--surface-2); }
.fig-admin-note { display: block; margin-top: 8px; font-size: 13px; color: var(--danger); }

/* ---------- Form ---------- */
.lead-form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(20px, 2.6vw, 32px);
	box-shadow: var(--shadow-lg);
}
.lead-form-head { border-bottom: 1px solid var(--line); margin-bottom: 20px; padding-bottom: 16px; }
.lead-form-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.lead-form-sub { color: var(--muted); font-size: 15px; margin: 0; }
.form-error { background: var(--danger-soft); color: var(--danger); border-radius: var(--r-sm); padding: 10px 14px; font-size: 15px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--text); padding: 0; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 10px 14px;
	background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
	font-size: 16px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]::placeholder { text-align: right; }
.field-err { display: block; color: var(--danger); font-size: 13.5px; margin-top: 4px; }
.field-err[hidden] { display: none; }
.consent:has(input[aria-invalid="true"]) span { color: var(--danger); }
.field-help { font-size: 13.5px; color: var(--brand); }
.more-fields { margin: 2px 0 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.more-fields > summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--text-2); padding: 6px 0; list-style: none; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::before { content: "+"; display: inline-block; width: 1.3em; font-weight: 800; color: var(--brand); }
.more-fields[open] > summary::before { content: "−"; }
.more-fields[open] > summary { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; background: var(--input-bg); transition: all .15s var(--ease); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin: 4px 0 18px; cursor: pointer; }
.consent a { color: var(--brand); }
.consent input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--brand); flex: none; }
.lead-form-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Providers strip ---------- */
.providers { border-bottom: 1px solid var(--line); background: var(--surface); }
.providers-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 18px; font-size: 15.5px; color: var(--muted); }
.providers-row p { margin: 0; }
.providers-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.providers-row li { padding: 4px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-weight: 700; background: var(--surface-2); }
.providers-note { font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 110px); }
.section--paper2 { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--ink { background: linear-gradient(160deg, var(--band-from), var(--band-to)); color: var(--band-text); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3.3vw, 40px); }
.section-head p { color: var(--muted); }
.section--ink .section-head p { color: var(--band-muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.kicker {
	display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--brand);
	margin-bottom: 10px; text-decoration: none;
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section--ink .kicker { color: #7FB0FF; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--brand); }
.link-more .ic { transition: transform .18s var(--ease); }
.link-more:hover .ic { transform: translateX(-4px); }

/* ---------- Tabs & cards ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 700; font-size: 15.5px; color: var(--muted); cursor: pointer; transition: all .18s var(--ease); }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.panel-note { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-soft); border: 1px solid var(--brand-ring); border-radius: var(--r-md); padding: 12px 16px; font-size: 15px; color: var(--text-2); max-width: 780px; }
.panel-note .ic { margin-top: 4px; color: var(--brand); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.card {
	position: relative; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	padding: 26px 24px 22px; box-shadow: var(--shadow-sm);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.card--featured:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }
.card-badge { position: absolute; top: -13px; inset-inline-start: 20px; margin: 0; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 14px; border-radius: 999px; }
.card-title { font-size: 21px; margin-bottom: 2px; }
.card-provider { color: var(--muted); font-size: 14px; margin: 0; }
.card-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 14px; }
.card-price .num { font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.card-price .cur { font-weight: 700; }
.card-price .per { color: var(--muted); font-size: 15px; }
.card-speed { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.card-speed div { padding: 9px 14px; }
.card-speed div + div { border-inline-start: 1px solid var(--line); }
.card-speed dt { font-size: 13px; color: var(--muted); }
.card-speed dd { margin: 0; font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.card-speed small { font-size: 13px; font-weight: 500; color: var(--muted); }
.card-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15.5px; color: var(--text-2); }
.card-features li { display: flex; gap: 8px; align-items: flex-start; }
.card-features .ic { width: 17px; height: 17px; margin-top: 5px; color: var(--success); }
.card-actions { margin-top: auto; display: grid; gap: 10px; }
.card-wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; color: var(--success); font-weight: 700; text-decoration: none; }
.card-wa:hover { text-decoration: underline; }
.card-wa .ic { width: 17px; height: 17px; }
.empty { color: var(--muted); }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid rgba(148, 170, 220, .22); border-radius: var(--r); background: rgba(255, 255, 255, .03); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16.5px; }
.compare th, .compare td { text-align: start; padding: 17px 22px; border-bottom: 1px solid rgba(148, 170, 220, .16); vertical-align: top; }
.compare thead th { background: rgba(255, 255, 255, .04); font-size: 16px; color: #fff; font-weight: 800; }
.compare thead th:nth-child(2) { color: #7FB0FF; }
.compare tbody th { color: var(--band-muted); font-weight: 500; width: 26%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td:nth-child(2) { color: #fff; font-weight: 700; }
.compare td:nth-child(3) { color: var(--band-muted); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { margin: 0; }
.split-media .fig-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-copy h2 { font-size: clamp(28px, 3.3vw, 40px); }
.split-copy > p { color: var(--muted); }
.list-title { font-weight: 800; color: var(--text) !important; margin-bottom: 8px; }
.split-copy .ticks { margin-bottom: 18px; }
.split-copy .ticks .ic { color: var(--brand); }

.steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: s; display: grid; gap: 14px; }
.steps li {
	counter-increment: s; position: relative; padding: 18px 20px 18px 20px; padding-inline-start: 76px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.steps li::before {
	content: counter(s, arabic-indic); position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%);
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
	background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 20px;
}
.step-t { font-weight: 800; font-size: 18px; margin: 0 0 2px; }
.step-d { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Cities ---------- */
.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.cities a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-weight: 700;
	transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.cities a::after { content: "←"; color: var(--muted); transition: transform .18s var(--ease), color .18s var(--ease); }
.cities a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.cities a:hover::after { color: var(--brand); transform: translateX(-4px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.section-head--side { position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.faq details[open] { border-color: var(--brand-ring); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 800; font-size: 17.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s var(--ease); color: var(--brand); flex: none; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); margin: -4px 0 20px; max-width: 64ch; }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card-link {
	display: flex; flex-direction: column; height: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none;
	transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.post-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.post-card-cat { font-size: 13.5px; color: var(--brand); font-weight: 800; }
.post-card-title { font-weight: 800; font-size: 18.5px; line-height: 1.55; }
.post-card-ex { color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--band-from), var(--band-to)); color: var(--band-text); padding-block: clamp(44px, 6vw, 72px); }
.final::before { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-start: -120px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(69, 131, 255, .35), transparent); pointer-events: none; }
.final-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 4px; color: #fff; }
.final p { color: var(--band-muted); margin: 0; }
.final-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-main { padding-top: clamp(32px, 5vw, 60px); }
.page-head { margin-bottom: 32px; }
.page-head h1, .entry-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-lead { color: var(--muted); }
.entry-head { margin-bottom: 24px; }
.entry-meta { color: var(--muted); font-size: 15px; }
.entry-img { margin-block: 0 32px; }
.entry-img img { width: 100%; border-radius: var(--r); }
.entry-content { font-size: 18.5px; line-height: 2; color: var(--text-2); }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; color: var(--text); }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; color: var(--text); }
.entry-content a { color: var(--brand); }
.entry-content img { border-radius: var(--r-sm); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: start; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 20px; border-inline-start: 3px solid var(--brand); color: var(--muted); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-cta { margin-block: 48px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--brand-ring); border-radius: var(--r); box-shadow: var(--shadow); }
.entry-cta-t { font-weight: 800; font-size: 21px; margin-bottom: 4px; }
.entry-cta p { color: var(--muted); }
.entry-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); text-decoration: none; background: var(--surface); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.comments { margin-block: 40px; }
.comment-list { padding-inline-start: 1.2em; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--input-bg); }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; padding: 11px 22px; border-radius: var(--r-md); font-weight: 700; cursor: pointer; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form .search-field { flex: 1; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--input-bg); }
.search-form .search-submit { min-height: 48px; padding: 0 18px; background: var(--brand); color: #fff; border: 0; border-radius: var(--r-sm); font-weight: 700; }
.notfound { padding-block: 40px 80px; }

/* ---------- Thanks ---------- */
.thanks { padding-block: 24px 80px; }
.thanks-mark { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--success); color: #fff; margin-bottom: 20px; box-shadow: 0 0 0 10px rgba(14, 138, 95, .14); }
.thanks-mark .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.thanks h1 { font-size: clamp(30px, 4vw, 44px); }
.thanks-lead { font-size: 19px; color: var(--muted); }
.thanks-next { padding-inline-start: 1.3em; margin: 0 0 28px; color: var(--text-2); }
.thanks-next li { margin-bottom: 6px; }
.thanks-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 24px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #95A5C6; padding-top: 52px; font-size: 15.5px; border-top: 1px solid rgba(148, 170, 220, .14); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.footer-about p:last-child { max-width: 42ch; }
.footer-h { color: #fff; font-weight: 800; margin-bottom: 10px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color .15s var(--ease); }
.footer-list a:hover { color: #fff; }
.footer-list .ic { width: 18px; height: 18px; color: #7FB0FF; }
.footer-legal { border-top: 1px solid rgba(148, 170, 220, .14); padding-block: 20px 28px; font-size: 13.5px; color: #6F7FA0; }
.footer-legal p:first-child { max-width: 90ch; }
.footer-legal p:last-child { margin: 0; }
.footer-credit { font-size: 12px; color: #5D6C8C; margin-top: 6px; }
.footer-credit a { color: inherit; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Motion ---------- */
@keyframes tf-flow { 100% { stroke-dashoffset: 0; } }
@keyframes tf-ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes tf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes tf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.header-call { display: none; }
	.nav-list a { padding: 8px 9px; font-size: 15px; }
}

@media (max-width: 900px) {
	html { scroll-padding-top: 78px; }
	.topnote-hours { display: none; }
	.header-row { min-height: 66px; gap: 10px; }
	.nav-toggle { display: inline-flex; }
	.nav {
		display: none; position: absolute; inset-inline: 0; top: 100%;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gap) 16px; box-shadow: var(--shadow);
	}
	.nav.is-open { display: block; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.header-cta { display: none; }
	.header-actions { margin-inline-start: auto; }

	.hero-grid, .order-grid, .split, .faq-grid { grid-template-columns: 1fr; }
	.hero-visual { order: 2; }
	.order-form { order: -1; }
	.split--rev .split-media { order: -1; }
	.section-head--side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }

	body { padding-bottom: 72px; }
	.mobile-bar {
		display: grid; grid-template-columns: .9fr 1fr 1.7fr;
		position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
		background: var(--header-bg); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 50px; padding: 0 6px; border-radius: var(--r-md); text-decoration: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; border: 1px solid var(--line-strong); background: var(--surface); }
	.mobile-bar .ic { width: 18px; height: 18px; }
	.mobile-bar .mobile-bar-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
	.mobile-bar .mobile-bar-main { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); border-color: transparent; color: #fff; }
}

@media (max-width: 600px) {
	body { font-size: 16.5px; }
	.topnote { font-size: 12.5px; }
	.brand-name { font-size: 18px; }
	.hero-ctas .btn { flex: 1 1 100%; }
	.ftth-chip { font-size: 13px; padding: 8px 12px; }
	.track-card { position: static; margin-top: -10px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.tabs { display: flex; width: 100%; }
	.tab { flex: 1 1 auto; padding: 9px 10px; font-size: 14.5px; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.cities { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.final-ctas, .final-ctas .btn { width: 100%; }
	.steps li { padding-inline-start: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
}
