/* =========================================================================
   ZeyWeb — design system (v3 redesign)
   One reusable system: tokens, typography, buttons, cards, forms, layout.
   Light theme only (dark mode intentionally not shipped yet).
   ========================================================================= */

:root {
  /* Brand */
  --blue: #316BFF;
  --blue-600: #2456e6;
  --blue-700: #1d47c4;
  --dark: #101828;
  --navy: #101828;

  /* Text */
  --text: #182230;
  --text-2: #526079;
  --text-3: #7A879C;

  /* Surfaces */
  --bg: #F6F8FC;
  --blue-soft: #EEF4FF;
  --white: #FFFFFF;
  --border: #DFE5EF;
  --border-strong: #C7D0E0;

  /* Semantic */
  --green: #12A675;
  --green-soft: #E4F6EF;
  --red: #E23A32;
  --red-600: #cc2f28;
  --red-soft: #FFF2F1;
  --amber: #B7791F;
  --amber-soft: #FBF3E4;
  --wa: #25D366;
  --wa-deep: #128C7E;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1280px;
  --pad: 32px;

  /* Radius */
  --r-btn: 11px;
  --r-input: 11px;
  --r-card: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadows (subtle) */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-card: 0 4px 16px -6px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 12px 35px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px -12px rgba(16, 24, 40, 0.16);

  /* Spacing scale (section rhythm) */
  --sp-sm: 64px;
  --sp: 96px;
  --sp-lg: 120px;

  --ease: cubic-bezier(.2, .6, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select, button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; color: var(--dark); letter-spacing: -0.02em; }
p { color: var(--text-2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--r-btn); z-index: 300; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sp); }
.section-sm { padding-block: var(--sp-sm); }
.section-lg { padding-block: var(--sp-lg); }
.bg-soft { background: var(--bg); }
.bg-blue-soft { background: var(--blue-soft); }

/* ---------- typography helpers ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 18px; margin-top: 14px; max-width: 62ch; }
.section-head.center p { margin-inline: auto; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.strong { font-weight: 600; color: var(--text); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-card); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-text { height: auto; padding: 6px 4px; color: var(--blue-700); }
.btn-text:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.btn-emergency { background: var(--white); color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, var(--border)); }
.btn-emergency:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-emergency-solid { background: var(--red); color: #fff; }
.btn-emergency-solid:hover { background: var(--red-600); }
.btn-wa { background: var(--wa); color: #06301c; }
.btn-wa:hover { background: #1fbe5b; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 15px; font-size: 14px; }
.btn-icon { width: 46px; padding: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--white); color: var(--text-2); }
.chip-avail { background: var(--green-soft); color: var(--green); border-color: transparent; }
.chip-blue { background: var(--blue-soft); color: var(--blue-700); border-color: transparent; }
.chip-red { background: var(--red-soft); color: var(--red-600); border-color: transparent; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pulse { position: relative; }
.pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:1px solid currentColor; opacity:.4; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(.7);opacity:.6} 100%{transform:scale(1.6);opacity:0} }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; }
.card-hover { transition: transform .16s var(--ease), border-color .16s, box-shadow .16s; }
.card-hover:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* feature/service card */
.feature { display: flex; flex-direction: column; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; margin-top: 8px; }
.feature .caps { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 8px; }
.feature .caps li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.feature .caps li svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.feature .more { margin-top: auto; }

/* check list */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checks li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 1px; }

/* ============================ announcement bar ============================ */
.promo-bar { position: relative; background: linear-gradient(90deg, var(--blue-700), var(--blue)); color: #fff; }
.promo-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding-block: 8px; padding-right: 44px; text-align: center; flex-wrap: wrap; font-size: 14px; }
.promo-bar .tag { background: rgba(255,255,255,.22); border-radius: var(--r-pill); padding: 3px 11px; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.promo-bar .promo-cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.promo-bar .promo-cta svg { width: 15px; height: 15px; }
.promo-bar .promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; opacity: .85; }
.promo-bar .promo-close:hover { opacity: 1; background: rgba(255,255,255,.15); }
.promo-bar[hidden] { display: none; }

/* promo badge on plan / maintenance cards */
.promo-ribbon { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: 10px; }
.promo-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(90deg, var(--blue-soft), var(--white)); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--r-card); padding: 18px 22px; }
.promo-banner .pb-tag { background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 10px; white-space: nowrap; }
.promo-banner b { color: var(--dark); }
.promo-banner .btn { margin-left: auto; }

/* ============================ scroll reveal ============================ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay="1"] { transition-delay: .07s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: .14s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ============================ HEADER ============================ */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow .2s, background .2s; }
.hdr.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent); }
.hdr-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); flex: none; }
.brand img { height: 30px; width: auto; }
.brand i { color: var(--blue); font-style: normal; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav > a, .nav .dd > button { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background .14s, color .14s; }
.nav > a:hover, .nav .dd > button:hover, .nav > a.active { background: var(--blue-soft); color: var(--blue-700); }
.nav .dd { position: relative; }
.nav .dd > button svg { width: 15px; height: 15px; transition: transform .15s; }
.nav .dd[data-open] > button svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 216px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s var(--ease); }
.nav .dd[data-open] .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a { display: flex; gap: 11px; align-items: center; padding: 10px 11px; border-radius: 9px; font-size: 14px; color: var(--text); }
.dd-menu a:hover { background: var(--bg); }
.dd-menu a svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.dd-menu a span { display: block; }
.dd-menu a small { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; }

.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.wa-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--wa-deep); background: var(--green-soft); }
.wa-icon:hover { background: #d3f2e0; }

/* Talk-to-expert panel */
.tte-wrap { position: relative; }
.tte-panel { position: absolute; right: 0; top: calc(100% + 12px); width: 320px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; z-index: 105; }
.tte-panel[hidden] { display: none; }
.tte-panel h4 { font-size: 15px; }
.tte-panel .sub { font-size: 13px; color: var(--text-3); margin: 3px 0 12px; }
.tte-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--border); margin-bottom: 8px; transition: border-color .14s, background .14s; }
.tte-opt:hover { border-color: var(--blue); background: var(--blue-soft); }
.tte-opt .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.tte-opt.wa .ic { background: var(--green-soft); color: var(--wa-deep); }
.tte-opt.sos .ic { background: var(--red-soft); color: var(--red); }
.tte-opt b { display: block; font-size: 14px; color: var(--text); }
.tte-opt span { font-size: 12px; color: var(--text-3); }

.burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white); z-index: 200; transform: translateX(100%); transition: transform .25s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 12px 16px 20px; overflow-y: auto; flex: 1; }
.drawer-body a { display: flex; align-items: center; gap: 10px; padding: 13px 10px; border-radius: 10px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.drawer-body a.sos { color: var(--red-600); }
.drawer-actions { padding: 16px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(16,24,40,.45); z-index: 150; opacity: 0; visibility: hidden; transition: .2s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ============================ HERO ============================ */
.hero { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 62%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 54fr 46fr; gap: 48px; align-items: center; min-height: 574px; padding-block: 56px 64px; }
.hero-copy h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; }
.hero-copy .lead { margin-top: 18px; max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-sos { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.hero-sos a { color: var(--red-600); font-weight: 600; }
.hero-sos a:hover { text-decoration: underline; text-underline-offset: 3px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.trust-row svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* hero dashboard visual */
.hero-visual { position: relative; }
.dash { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.dash-top b { font-size: 14px; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.dash-row:last-child { border-bottom: none; padding-bottom: 2px; }
.dash-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.dash-ic.b { background: var(--blue-soft); color: var(--blue); }
.dash-ic.g { background: var(--green-soft); color: var(--green); }
.dash-ic.r { background: var(--red-soft); color: var(--red); }
.dash-row .t { flex: 1; min-width: 0; }
.dash-row .t b { display: block; font-size: 13.5px; }
.dash-row .t span { font-size: 12px; color: var(--text-3); }
.dash-row .meta { font-size: 12px; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.progress { height: 7px; border-radius: 4px; background: var(--bg); overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.float-card { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow-lg); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.float-card svg { width: 20px; height: 20px; flex: none; }
.float-1 { top: -18px; right: -14px; }
.float-2 { bottom: -20px; left: -16px; }
.float-card .g { color: var(--green); }

/* ============================ quick actions ============================ */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.qa { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); padding: 26px; transition: transform .16s var(--ease), box-shadow .16s, border-color .16s; }
.qa:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.qa .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.qa h3 { font-size: 20px; }
.qa p { font-size: 15px; margin-top: 8px; }
.qa .out { font-size: 13px; color: var(--text-3); font-weight: 600; margin: 14px 0 16px; }
.qa .go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--blue-700); font-size: 15px; }
.qa .go svg { width: 17px; height: 17px; transition: transform .15s; }
.qa:hover .go svg { transform: translateX(3px); }
.qa.sos { background: var(--red-soft); border-color: color-mix(in srgb, var(--red) 25%, var(--border)); }
.qa.sos .ic { background: #fddedb; color: var(--red); }
.qa.sos .go { color: var(--red-600); }

/* ============================ process timeline ============================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue-700); display: grid; place-items: center; font-weight: 700; margin: 0 auto 14px; }
.step h4 { font-size: 16px; }
.step p { font-size: 14px; margin-top: 5px; }

/* ============================ split (why zeyweb) ============================ */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }

/* ============================ SOS band ============================ */
.sos-band { background: var(--dark); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); color: #E7ECF5; position: relative; overflow: hidden; }
.sos-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.sos-band p { color: #AEB8CC; margin-top: 14px; max-width: 60ch; }
.sos-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.sos-tags span { font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #C9D2E4; }
.sos-band .accent { color: #FF8A84; }
.sos-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #AEB8CC; margin-top: 18px; }
.sos-note svg { width: 16px; height: 16px; color: #FF8A84; }

/* ============================ trust strip ============================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 13px; background: var(--white); font-size: 14.5px; font-weight: 600; color: var(--text); }
.trust-item .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }

/* ============================ plans ============================ */
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow-card); }
.plan h3 { font-size: 19px; }
.plan .price { margin: 10px 0 4px; color: var(--text-3); font-size: 14px; }
.plan .price b { color: var(--dark); font-size: 24px; }
.plan .rw { font-size: 13px; color: var(--text-3); }
.plan ul.checks { margin: 16px 0 20px; }
.plan .btn { margin-top: auto; }

/* ============================ FAQ ============================ */
.faq { border: 1px solid var(--border); border-radius: 13px; margin-bottom: 10px; background: var(--white); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 20px; font-weight: 600; color: var(--dark); font-size: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-q .chev { transition: transform .2s; flex: none; color: var(--text-3); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 20px; color: var(--text-2); font-size: 15px; }

/* ============================ CTA band ============================ */
.cta { background: var(--dark); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); text-align: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.cta p { color: #AEB8CC; max-width: 56ch; margin: 14px auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.cta-sos { margin-top: 16px; font-size: 14px; color: #AEB8CC; }
.cta-sos a { color: #FF8A84; font-weight: 600; }

/* ============================ page hero (inner) ============================ */
.page-hero { background: linear-gradient(180deg, var(--blue-soft), var(--white)); border-bottom: 1px solid var(--border); padding-block: 72px 64px; }
.page-hero.compact { padding-block: 56px 48px; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--blue-700); }
.page-hero h1 { font-size: clamp(30px, 3.8vw, 48px); max-width: 18ch; }
.page-hero p { font-size: 18px; margin-top: 14px; max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }

/* helper card: need help choosing */
.help-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-card); }
.help-card h3 { font-size: 17px; margin-bottom: 4px; }
.help-card p { font-size: 14px; margin-bottom: 14px; }
.help-card .btn { margin-bottom: 8px; }

/* ============================ forms ============================ */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 32px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field .req { color: var(--red); }
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--r-input);
  background: var(--white); color: var(--text); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); outline: none; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--red-600); font-size: 13px; margin-top: 6px; }
.field-error svg { width: 15px; height: 15px; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.checkline input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border-strong); border-radius: var(--r-input); padding: 12px 14px; font-size: 14px; cursor: pointer; transition: border-color .14s, background .14s; }
.choice:hover { border-color: var(--blue); }
.choice input { width: 17px; height: 17px; accent-color: var(--blue); }
.choice.selected { border-color: var(--blue); background: var(--blue-soft); }

/* alerts */
.alert { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-info { background: var(--blue-soft); color: var(--blue-700); }
.alert-ok { background: var(--green-soft); color: var(--green); }
.alert-warn { background: var(--amber-soft); color: var(--amber); }
.alert-security { background: var(--amber-soft); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); }
.alert ul { margin: 6px 0 0 16px; }

/* multi-step */
.stepper { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stepper .s { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.stepper .s.done { background: var(--green); }
.stepper .s.current { background: var(--blue); }
.step-label { font-size: 13px; color: var(--text-3); font-weight: 600; margin: 14px 0 16px; }
.step-panel[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

/* result / tracking */
.result { text-align: center; max-width: 560px; margin-inline: auto; }
.result .num { display: inline-block; font-size: 22px; font-weight: 700; color: var(--blue-700); background: var(--blue-soft); padding: 8px 18px; border-radius: 12px; margin: 14px 0; letter-spacing: .02em; }
.timeline { list-style: none; padding: 0; margin: 20px 0; }
.timeline li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.timeline .td { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; }
.timeline li.done .td { background: var(--green); border-color: var(--green); }
.timeline li.current .td { background: var(--blue); border-color: var(--blue); }

/* ============================ WhatsApp FAB ============================ */
.wa-fab { position: fixed; right: 20px; bottom: 22px; z-index: 90; }
@media (max-width: 720px){ .wa-fab { bottom: 80px; } }
.wa-fab-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.wa-fab-btn svg { width: 30px; height: 30px; }
.wa-menu { position: absolute; right: 0; bottom: 68px; width: 264px; background: var(--white); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow-lg); padding: 10px; }
.wa-menu[hidden] { display: none; }
.wa-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text); }
.wa-menu a:hover { background: var(--bg); }
.wa-menu a .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.wa-menu a.sos .ic { background: var(--red-soft); color: var(--red); }
.wa-menu { width: 300px; }
.wa-menu-head { padding: 6px 8px 10px; }
.wa-menu-head b { font-size: 14px; color: var(--dark); display: block; }
.wa-menu-head span { font-size: 12px; color: var(--text-3); }
.wa-menu-sep { height: 1px; background: var(--border); margin: 6px 0; }
.wa-num { padding: 9px 10px; border-radius: 10px; }
.wa-num .lbl { font-size: 11.5px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.wa-num .val { font-size: 14.5px; font-weight: 600; color: var(--text); }
.wa-num-actions { display: flex; gap: 8px; margin-top: 8px; }
.wa-num-actions a { flex: 1; height: 36px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; }
.wa-num-actions a svg { width: 15px; height: 15px; }
.wa-num-actions a.call { background: var(--blue-soft); color: var(--blue-700); }
.wa-num-actions a.call:hover { background: #dfe9ff; }
.wa-num-actions a.msg { background: var(--green-soft); color: var(--wa-deep); }
.wa-num-actions a.msg:hover { background: #d3f2e0; }

/* ============================ mobile bottom bar ============================ */
.mbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: var(--white); border-top: 1px solid var(--border); grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 2px; font-size: 11px; color: var(--text-2); font-weight: 500; }
.mbar a svg { width: 22px; height: 22px; }
.mbar a.sos { color: var(--red-600); }
.mbar a.wa { color: var(--wa-deep); }
@media (max-width: 720px){ .mbar { display: grid; } body.has-mbar { padding-bottom: 62px; } }

/* ============================ modal ============================ */
.modal-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(16,24,40,.5); display: grid; place-items: center; padding: 18px; }
.modal-overlay[hidden] { display: none; }
.modal { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 18px; }
.modal-close { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; }
.modal-body { padding: 22px; }

/* ============================ blog ============================ */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-cover { height: 150px; display: flex; align-items: flex-end; padding: 16px; position: relative; }
.post-cover svg { width: 30px; height: 30px; color: #fff; opacity: .9; }
.post-cover.blue { background: linear-gradient(135deg, var(--blue), var(--blue-700)); }
.post-cover.green { background: linear-gradient(135deg, #16b981, #0f8a63); }
.post-cover.red { background: linear-gradient(135deg, #f0665f, var(--red-600)); }
.post-cover.navy { background: linear-gradient(135deg, #2a3852, var(--dark)); }
.post-cover.amber { background: linear-gradient(135deg, #e0a349, #b7791f); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-700); }
.post-card h3 { font-size: 18px; margin: 8px 0 8px; line-height: 1.3; }
.post-card p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--text-3); }
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.blog-cats a { padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500; color: var(--text-2); transition: .14s; }
.blog-cats a:hover { border-color: var(--blue); color: var(--blue-700); }
.blog-cats a.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.pagination-nav { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination-nav a, .pagination-nav span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.pagination-nav a:hover { border-color: var(--blue); color: var(--blue-700); }
.pagination-nav .cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination-nav .disabled { opacity: .4; }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article-hero { text-align: center; }
.article-hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; margin: 12px 0; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }
.article-cover { height: 220px; border-radius: var(--r-lg); margin: 28px 0 8px; display: grid; place-items: center; }
.article-cover svg { width: 54px; height: 54px; color: #fff; opacity: .92; }

.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin-top: 1.8em; }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose p { color: var(--text); }
.prose a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--dark); }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 18px; color: var(--text-2); font-style: italic; }

/* ============================ footer ============================ */
.footer { background: var(--dark); color: #AEB8CC; padding-block: 60px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand i { color: var(--blue); }
.footer-brand p { color: #8B96AC; font-size: 14px; margin-top: 14px; max-width: 32ch; }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; font-weight: 600; }
.footer a { display: block; padding: 5px 0; color: #AEB8CC; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8B96AC; }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal a { display: inline; padding: 0; }

/* ============================ utilities ============================ */
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.flex{display:flex}.items-center{align-items:center}.gap-2{gap:12px}.wrap{flex-wrap:wrap}
.text-center{text-align:center}

/* ============================ RTL / Arabic ============================ */
[dir="rtl"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5 { font-family: 'Cairo', system-ui, sans-serif; letter-spacing: 0; }
/* Text alignment + flex flow are handled automatically by dir="rtl"; these fix the positioned bits. */
[dir="rtl"] .eyebrow, [dir="rtl"] .post-cat { letter-spacing: 0; }
[dir="rtl"] .nav { margin-inline: auto; }

/* dropdown / panels open from the correct edge */
[dir="rtl"] .dd-menu { left: auto; right: 0; }
[dir="rtl"] .tte-panel { right: auto; left: 0; }
[dir="rtl"] .wa-menu { right: auto; left: 0; }

/* mobile drawer slides in from the left in RTL */
[dir="rtl"] .drawer { inset: 0 auto 0 0; transform: translateX(-100%); }
[dir="rtl"] .drawer.open { transform: translateX(0); }

/* floating widget + promo close move to the left */
[dir="rtl"] .wa-fab { right: auto; left: 20px; }
[dir="rtl"] .wa-menu { right: auto; left: 0; }
[dir="rtl"] .promo-bar .promo-close { right: auto; left: 12px; }
[dir="rtl"] .promo-banner { border-left: 1px solid var(--border); border-right: 4px solid var(--blue); }
[dir="rtl"] .promo-banner .btn { margin-left: 0; margin-right: auto; }

/* directional arrows flip to point the reading way */
[dir="rtl"] .qa .go svg, [dir="rtl"] .promo-cta svg, [dir="rtl"] .btn .i-arrow { transform: scaleX(-1); }

/* blockquote / prose border on the correct side */
[dir="rtl"] .prose blockquote { border-left: none; border-right: 3px solid var(--blue); padding-left: 0; padding-right: 18px; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }
[dir="rtl"] .sos-band .accent, [dir="rtl"] .article-meta { direction: rtl; }

/* keep phone numbers / latin snippets readable */
[dir="rtl"] .wa-num .val, [dir="rtl"] .result .num { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* language switcher */
.lang-switch { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; }
.lang-switch a { padding: 0 11px; height: 100%; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--text-2); }
.lang-switch a.active { background: var(--blue); color: #fff; }
.lang-switch a + a { border-inline-start: 1px solid var(--border-strong); }

/* ============================ responsive ============================ */
@media (max-width: 1200px){
  :root { --pad: 24px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}
@media (max-width: 1024px){
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-actions .tte-wrap, .hdr-actions .wa-icon { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-block: 44px 52px; }
  .hero-visual { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .grid-4, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 760px){
  :root { --pad: 18px; --sp: 64px; --sp-sm: 40px; --sp-lg: 80px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .qa-grid, .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .float-card { display: none; }
  .form-card { padding: 22px; }
}
@media (max-width: 420px){
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
