/* ================================================================
   Webino — Landing Page Stylesheet
   Brand: Navy Core · Digital Blue · Sky Signal · Growth Teal | RTL Arabic
   ================================================================ */

:root {
  /* Brand colors (Webino identity) — primary/accent overridable from /admin */
  --primary-500: #2563EB;  /* Digital Blue */
  --primary-400: #38BDF8;  /* Sky Signal */
  --accent-400:  #14B8A6;  /* Growth Teal */
  --accent-500:  #0F766E;  /* Deep teal — gradient end */
  --accent-600:  #1D4ED8;
  --accent-700:  #102A56;
  --ink-900:     #0B1220;  /* Navy Core */
  --ink-700:     #1E293B;
  --ink-500:     #475569;  /* Slate Text */
  --ink-300:     #94A3B8;
  --bg:          #F8FAFC;  /* Cloud White */
  --card:        #ffffff;
  --line:        #E2E8F0;

  /* Logo gradient — decorative surfaces (hero visual, service art) */
  --grad-brand:  linear-gradient(135deg, #2563EB 0%, #38BDF8 55%, #14B8A6 100%);
  /* Actions — keeps white text readable end to end */
  --grad-main:   linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
  /* Dark brand panels (stats bar, order summary) */
  --grad-dark:   linear-gradient(135deg, #0B1220 0%, #102A56 58%, #0F766E 100%);
  --grad-soft:   linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
  --grad-text:   linear-gradient(90deg, var(--primary-500) 0%, var(--accent-500) 100%);

  --shadow-sm:   0 4px 14px rgba(37,99,235, 0.08);
  --shadow-md:   0 10px 30px rgba(37,99,235, 0.14);
  --shadow-lg:   0 20px 60px rgba(11,18,32, 0.20);

  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   28px;

  --font:        "Inter", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container:   1240px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea, select {
  font-family: inherit; font-size: 1rem; color: inherit;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: 0; border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; font-weight: 700; font-size: .98rem;
  border-radius: 999px; transition: transform .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-main); color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: #fff; color: var(--accent-600);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent-500); color: var(--accent-700); }
.btn-light {
  background: rgba(255,255,255,.18); color: #fff;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25);
}
.btn-light:hover { background: rgba(255,255,255,.28); }
.btn-block { display: flex; width: 100%; }

/* ============ Headline gradient text ============ */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============ Section base ============ */
.section { padding: 96px 0; position: relative; }
.section-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #E0F2FE; color: #075985;
  font-size: .8rem; font-weight: 700; letter-spacing: .5px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; margin: 14px 0 12px; line-height: 1.25;
}
.section-sub {
  font-size: 1.05rem; color: var(--ink-500); max-width: 640px;
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 56px; }

/* ============ Navbar ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .2s;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 900;
  font-size: 1.35rem;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink-900);
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.brand-mark img { width: 30px; height: 30px; display: block; }
.brand-name { font-family: "Inter", "Tajawal", sans-serif; font-weight: 800; letter-spacing: -.02em; }
.footer .brand-mark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600; color: var(--ink-700); font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent-600); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* ============ Currency switcher ============ */
.cur-switch {
  position: relative;
  flex: 0 0 auto;
  z-index: 60;
}
.cur-trigger {
  min-width: 86px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.cur-trigger:hover {
  border-color: var(--accent-500);
  color: var(--accent-700);
}
.cur-flag {
  width: 20px;
  text-align: center;
  line-height: 1;
}
.cur-code {
  direction: ltr;
  font-size: .82rem;
}
.cur-chev {
  font-size: .7rem;
  transform: translateY(-1px);
}
.cur-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.cur-switch.open .cur-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cur-menu li {
  display: grid;
  grid-template-columns: 24px 44px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink-700);
  cursor: pointer;
  font-size: .88rem;
}
.cur-menu li:hover,
.cur-menu li.is-active {
  background: var(--grad-soft);
  color: var(--accent-700);
}
.cur-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ Hero ============ */
.hero {
  position: relative; padding: 140px 0 80px;
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(20,184,166,.16), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: var(--grad-brand); filter: blur(80px); opacity: .22;
}
.hero::before { width: 380px; height: 380px; top: -120px; right: -100px; }
.hero::after  { width: 320px; height: 320px; bottom: -120px; left: -100px; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 700; color: var(--accent-700);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-500); box-shadow: 0 0 0 4px rgba(56,189,248,.30);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900; line-height: 1.18;
  margin: 16px 0;
}
.hero p.lead {
  font-size: 1.1rem; color: var(--ink-500);
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 36px; display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-trust-item { display: flex; gap: 10px; align-items: center; }
.hero-trust-item strong {
  font-size: 1.6rem; font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-trust-item span { font-size: .85rem; color: var(--ink-500); }

/* Hero visual */
.hero-visual {
  position: relative; aspect-ratio: 7 / 8;
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.15), transparent 40%);
}
/* direction: ltr keeps SVG text-anchor meaning "end = right edge" inside the RTL page */
.hero-visual svg { position: relative; display: block; width: 100%; height: 100%; direction: ltr; }
.hv-t { font-family: var(--font); }
.hv-float { animation: float 7s ease-in-out infinite; }
.hv-bob { animation: hvBob 4.5s ease-in-out infinite; }
.hv-grow, .hv-pop, .hv-growY, .hv-pulse, .hv-tap { transform-box: fill-box; }
.hv-grow { transform-origin: right center; animation: hvGrow 7s ease-in-out infinite; }
.hv-pop { transform-origin: center; animation: hvPop 7s ease-out infinite; }
.hv-growY { transform-origin: center bottom; animation: hvGrowY 3.2s ease-in-out infinite; }
.hv-pulse { transform-origin: center; animation: hvPulse 1.8s ease-in-out infinite; }
.hv-scroll { animation: hvScroll 7s ease-in-out infinite; }
.hv-tap { transform-origin: center; animation: hvTap 3.5s ease-out infinite; }
.hv-slide { animation: hvSlide 7s ease-in-out infinite; }
@keyframes hvBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hvGrow { 0% { transform: scaleX(.05); opacity: .3; } 14%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(.05); opacity: .3; } }
@keyframes hvPop { 0% { transform: scale(.8); opacity: 0; } 12%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(.8); opacity: 0; } }
@keyframes hvGrowY { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@keyframes hvPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes hvScroll { 0%,18% { transform: translateY(0); } 40%,58% { transform: translateY(-96px); } 80%,100% { transform: translateY(-192px); } }
@keyframes hvTap { 0%,45% { transform: scale(.2); opacity: 0; } 55% { opacity: .55; } 85%,100% { transform: scale(1.6); opacity: 0; } }
@keyframes hvSlide { 0% { transform: translateX(-28px); opacity: 0; } 10%, 86% { transform: none; opacity: 1; } 100% { transform: translateX(-28px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-visual * { animation: none !important; }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}

/* ============ Stats bar ============ */
.stats {
  background: var(--grad-dark); color: #fff; padding: 36px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1;
}
.stat-label { font-size: .92rem; opacity: .9; margin-top: 6px; }

/* ============ Category filter ============ */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 48px;
}
.cat-tab {
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: #fff; color: var(--ink-700);
  border: 1.5px solid var(--line);
  transition: all .2s;
}
.cat-tab:hover { border-color: var(--accent-400); color: var(--accent-600); }
.cat-tab.active {
  background: var(--grad-main); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-md);
}

/* ============ Service cards ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-img {
  position: relative; aspect-ratio: 7 / 8; overflow: hidden;
  background: var(--grad-brand);
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.service-card:hover .service-img img { transform: scale(1.04); }
.service-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--accent-700);
  font-size: .75rem; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.service-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 10px; }
.service-desc {
  font-size: .92rem; color: var(--ink-500);
  margin-bottom: 16px; flex: 1;
}
.service-features {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.service-features li {
  font-size: .87rem; color: var(--ink-700);
  display: flex; gap: 8px; align-items: flex-start;
}
.service-features li::before {
  content: "✓"; color: var(--accent-500); font-weight: 900;
  flex-shrink: 0;
}
.service-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 16px;
  gap: 12px;
}
.service-price {
  font-size: 1.4rem; font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-price .currency { font-size: .9rem; font-weight: 700; opacity: .8; }
.service-price .period { font-size: .8rem; color: var(--ink-500);
  -webkit-text-fill-color: var(--ink-500); }
.service-cta { padding: 10px 18px; font-size: .9rem; }

/* ============ Why us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.why-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent-600);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.why-card p { font-size: .94rem; color: var(--ink-500); margin: 0; }

/* ============ Process ============ */
.process {
  background: var(--grad-soft);
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  background: #fff; border-radius: var(--radius); padding: 26px;
  position: relative; text-align: center;
}
.process-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  font-weight: 900; font-size: 1.1rem;
  display: grid; place-items: center; margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; }
.process-step p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ============ Testimonials ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testi {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  position: relative;
}
.testi::before {
  content: "“"; position: absolute; top: -18px; right: 22px;
  font-size: 4rem; line-height: 1; font-weight: 900;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testi-text { font-size: .96rem; color: var(--ink-700); margin: 12px 0 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.testi-name { font-weight: 800; font-size: .95rem; }
.testi-role { font-size: .82rem; color: var(--ink-500); }
.stars { color: #ffb84d; margin-bottom: 8px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden; background: #fff;
}
.faq-q {
  padding: 18px 22px; font-weight: 800; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: right; color: var(--ink-900);
}
.faq-q .chev {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-soft); color: var(--accent-600);
  display: grid; place-items: center;
  transition: transform .25s;
  font-weight: 900;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--grad-main); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  color: var(--ink-500); font-size: .95rem;
}
.faq-a-inner { padding: 0 22px 18px; }

/* ============ Order section ============ */
.order {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.order-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: stretch;
}
.order-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 8px; font-weight: 700;
  font-size: .9rem; color: var(--ink-700);
}
.order-summary {
  background: var(--grad-dark); color: #fff;
  border-radius: var(--radius-lg); padding: 36px;
  position: relative; overflow: hidden;
}
.order-summary::before {
  content: ""; position: absolute; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.12);
  top: -100px; left: -80px;
}
.order-summary h3 { font-size: 1.3rem; margin: 0 0 18px; font-weight: 900; }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.25);
  position: relative;
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-total {
  margin-top: 22px; padding-top: 18px; font-weight: 900;
  font-size: 1.4rem; display: flex; justify-content: space-between;
  border-top: 2px solid rgba(255,255,255,.35);
}
.pay-methods {
  margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap;
  position: relative;
}
.pay-chip {
  padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,.18); font-size: .85rem;
  border: 1px solid rgba(255,255,255,.25); font-weight: 600;
}

/* ============ Footer ============ */
.footer {
  background: var(--ink-900); color: #CBD5E1;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--primary-400); }
.footer-brand p { font-size: .92rem; line-height: 1.8; margin: 12px 0; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--grad-main); transform: translateY(-2px); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px; text-align: center; font-size: .85rem;
}

/* ============ WhatsApp floating ============ */
.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============ Modal ============ */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(11,18,32,.65);
  backdrop-filter: blur(6px); z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 520px; padding: 32px;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; left: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-soft); color: var(--accent-600);
  font-size: 1.4rem; font-weight: 900;
  display: grid; place-items: center;
}
.modal h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 900; }
.modal .modal-price {
  font-size: 1.8rem; font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 8px 0 18px;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--grad-soft); color: var(--accent-700);
  }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 110px 0 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar-inner { padding-top: 10px; padding-bottom: 10px; }
  .nav-cta > .btn-primary { display: none; }
  .hero h1 { font-size: 2rem; }
  .btn { padding: 12px 20px; font-size: .92rem; }
  .order-form, .order-summary { padding: 24px; }
}

/* ============ Mobile menu open ============ */
.nav-links.open {
  display: flex; position: absolute; top: 100%; right: 0; left: 0;
  flex-direction: column; gap: 0;
  background: #fff; padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav-links.open li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav-links.open li:last-child { border-bottom: 0; }

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Footer legal line ============ */
.footer-legal { margin-top: 6px; font-size: .78rem; opacity: .75; }
[hidden] { display: none !important; }

/* ============ Service title links + modal link (home) ============ */
.service-title a { color: inherit; }
.service-title a:hover { color: var(--accent-600); text-decoration: underline; text-underline-offset: 4px; }
.modal-page-link {
  display: block; text-align: center; margin-top: 14px;
  font-weight: 700; color: var(--accent-600);
}
.modal-page-link:hover { text-decoration: underline; }

/* ============ Service landing pages (services/<slug>/) ============ */
.svc-hero {
  padding: 120px 0 64px;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20,184,166,.14), transparent 60%),
    #fff;
}
.svc-hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.svc-hero-grid > * { min-width: 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .88rem; color: var(--ink-500); margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-600); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.svc-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.25;
  margin: 14px 0 12px; text-wrap: balance;
}
.svc-hero .lead { font-size: 1.08rem; color: var(--ink-500); max-width: 560px; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.svc-meta > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px; box-shadow: var(--shadow-sm);
}
.svc-meta span { display: block; font-size: .8rem; color: var(--ink-500); }
.svc-meta strong { font-size: 1.3rem; font-weight: 900; color: var(--ink-900); }
.svc-unavailable {
  background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A;
  padding: 10px 14px; border-radius: 12px; font-weight: 700; margin: 0 0 18px;
}
.svc-cover { max-width: 440px; justify-self: center; width: 100%; }
.svc-cover img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.svc-body { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.svc-body > * { min-width: 0; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.svc-card h2 { font-size: 1.3rem; font-weight: 900; margin: 0 0 18px; }
.svc-features li { font-size: 1rem; }
.svc-why .service-features { margin-bottom: 22px; }
.related { background: var(--bg); }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px;
}
.related-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img {
  width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; object-position: center 42%;
  background: var(--grad-brand);
}
.related-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.related-title { font-weight: 800; font-size: 1.05rem; }
.related-desc { font-size: .9rem; color: var(--ink-500); flex: 1; }
.related-price {
  font-weight: 900; font-size: 1.1rem;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

@media (max-width: 980px) {
  .svc-hero-grid, .svc-body { grid-template-columns: 1fr; }
  .svc-cover { max-width: 300px; }
}
@media (max-width: 720px) {
  .svc-hero { padding: 96px 0 48px; }
}

/* ============ Footer legal links ============ */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; }
.footer-links a { font-size: .88rem; color: #CBD5E1; }
.footer-links a:hover { color: var(--primary-400); }

/* ============ Legal pages (terms/, refund/, privacy/) ============ */
.legal { padding: 120px 0 72px; background: var(--bg); }
.legal-wrap { max-width: 860px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin: 6px 0 6px; }
.legal-updated { color: var(--ink-500); font-size: .9rem; margin: 0 0 18px; }
.legal-intro { font-size: 1.08rem; color: var(--ink-700); line-height: 1.9; margin: 0 0 26px; }
.legal-toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 26px;
}
.legal-toc ol { margin: 10px 0 0; padding-inline-start: 22px; columns: 2; column-gap: 32px; }
.legal-toc li { margin: 4px 0; break-inside: avoid; }
.legal-toc a { color: var(--accent-600); font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 32px 24px;
}
.legal-body section { padding-top: 22px; scroll-margin-top: 90px; }
.legal-body section + section { border-top: 1px solid var(--line); margin-top: 18px; }
.legal-body h2 { font-size: 1.2rem; font-weight: 900; margin: 0 0 10px; }
.legal-body p, .legal-body li { line-height: 1.95; color: var(--ink-700); }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { margin: 0 0 10px; padding-inline-start: 22px; }
.legal-body a { color: var(--accent-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-others { margin-top: 22px; color: var(--ink-500); }
.legal-others a { color: var(--accent-600); font-weight: 700; }
@media (max-width: 720px) {
  .legal { padding: 96px 0 56px; }
  .legal-toc ol { columns: 1; }
  .legal-body { padding: 4px 18px 18px; }
}
