/* =============================================================
   KSA / UAE campaign pages — landing + demo (2026-10 redesign)

   Built from the design exports in ksa_uae_updated_design/. Their inline
   style="" attributes (font sizes, colours, fixed widths) are folded into
   classes here so the mobile rules can override them and the pages stay
   editable. Arabic overrides live in campaign-rtl.css.

   Fonts are self-hosted from the theme (the exports pulled Google Fonts).
   ============================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-normal-400-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-normal-500-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-normal-600-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-normal-700-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-italic-400-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-italic-500-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-italic-600-latin.woff2?v=r7') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-normal-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-normal-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-normal-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-normal-700-latin.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
.sv-campaign {
  --teal-900: #1d4044;
  --teal-800: #1d4044;
  --teal-600: rgba(29,64,68,0.7);
  --teal-300: rgba(29,64,68,0.45);
  --gold: #b6853f;          /* gold on light grounds */
  --gold-lt: #dbac6b;       /* gold on dark grounds */
  --cream: #f1eadd;
  --paper: #fafaf9;
  --paper-soft: rgba(250,250,249,0.65);
  --ink: var(--teal-800);
  --max: 1180px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Base ---------- */
.sv-campaign *, .sv-campaign *::before, .sv-campaign *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.sv-campaign {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.sv-campaign h1, .sv-campaign h2, .sv-campaign h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  color: var(--teal-900);
}
.sv-campaign a { color: inherit; }
.sv-campaign img { max-width: 100%; display: block; }
.sv-campaign .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sv-campaign .cq { font-family: var(--serif); font-size: 1.15em; line-height: 0; }
.sv-campaign .nw { white-space: nowrap; }
/* Phrases the client wants on one line at every width (Oct 2026 review).
   !important: the phone rules release every heading span/i to wrap. */
.sv-campaign .keep { white-space: nowrap !important; }
.sv-campaign :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#nav, .hero, section, .demo-page { scroll-margin-top: 72px; }
.feature-row { scroll-margin-top: 96px; }

/* ---------- Nav ---------- */
#nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  /* Content held to the main site's 1320px header column (32px inside it). */
  padding: 16px max(32px, calc((100% - 1320px) / 2 + 32px));
  background: rgba(250,250,249,0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29,64,68,0.08);
}
.admin-bar #nav { top: 32px; }
#nav .logo { display: flex; align-items: center; text-decoration: none; }
#nav .logo img { height: 36px; width: auto; }   /* main site header size */
.nav-links { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--teal-800); }
.nav-links a:hover { color: var(--gold); }
.nav-mobile-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav {
  background: var(--teal-900); color: var(--paper) !important;
  padding: 10px 22px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s;
}
.btn-nav:hover { background: #396465; }
.lang-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 14px; border-radius: 8px;
  border: 1px solid rgba(29,64,68,0.2); background: transparent;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--teal-800);
  transition: background .2s, border-color .2s;
}
.lang-pill:hover { background: #1d4044; border-color: #1d4044; color: #fafaf9; }   /* as the main site's language switch */
/* "عربي" on the English pages renders in the system's Arabic face: pulling
   the 434 KB Noto Kufi file for four letters cost more than the rest of the
   page's fonts combined. */
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 4px; }

@media (max-width: 860px) {
  #nav { padding: 14px 20px; }
  #nav .logo img { height: 28px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(29,64,68,0.1);
    box-shadow: 0 18px 30px -18px rgba(15,46,48,0.25);
    padding: 8px 20px 20px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(29,64,68,0.08); font-size: 16px; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 14px; }
  .nav-links .nav-mobile-cta a { text-align: center; border: 0; padding: 13px; font-size: 15px; }
  .nav-burger { display: block; }
}
@media (max-width: 560px) {
  .nav-actions .btn-nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  padding: 14px 26px; border-radius: 9px; font-size: 15px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-lg { font-size: 17px; font-weight: 500; }
.btn-primary { background: var(--teal-900); color: var(--paper) !important; transition: background .2s; }
.btn-primary:hover { background: #396465; }
.btn-secondary { background: transparent; border: 1.5px solid var(--teal-300); color: var(--teal-800); transition: background .2s, color .2s; }
.btn-secondary:hover { background: #1d4044; color: #fafaf9; }
.btn-secondary svg { flex-shrink: 0; }

/* =============================================================
   LANDING
   ============================================================= */

/* ---------- Hero ---------- */
.hero { padding: 0; background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 0.79fr 1.21fr; gap: 0; align-items: center; }
.hero-left { text-align: left; padding: 56px 160px 56px max(24px, calc((100vw - 1180px) / 2 - 16px)); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 16px; letter-spacing: 0.2px; text-transform: uppercase; }
.hero h1 { font-size: 75px; line-height: 1.15; letter-spacing: -0.5px; }
.hero h1 i, .hero h1 em { color: var(--gold); }
.hero-sub { font-size: 17px; color: var(--teal-600); margin: 20px 0 0; max-width: 460px; white-space: nowrap; }
.hero-cta-group { display: inline-flex; flex-direction: column; max-width: 100%; }
.hero-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: nowrap; }
.hero-btns .btn-primary, .hero-btns .btn-secondary { white-space: nowrap; }

.trust-row {
  display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(29,64,68,0.1);
}
.badges, .demo-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.badges img.b-rating,  .demo-badges img.b-rating  { width: 142px; height: 51px; }
.badges img.b-support, .demo-badges img.b-support { width: 72px;  height: 72px; }
.badges img.b-ease,    .demo-badges img.b-ease    { width: 69px;  height: 59px; }

.hero-video-frame {
  position: relative; overflow: hidden; background: var(--teal-900);
  aspect-ratio: 1 / 1; width: 99%; justify-self: end; align-self: stretch; border-radius: 0; margin: 0;
}
.hero-video-frame video, .hero-video-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { text-align: center; padding: 48px 24px 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns, .trust-row { justify-content: center; }
  .hero h1 { font-size: 34px; }
  .hero-video-frame { min-height: 260px; border-radius: 16px; margin: 32px 24px 0; overflow: hidden; }
}

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0; background: rgba(15,46,48,0.9);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal-inner { width: 100%; max-width: 920px; aspect-ratio: 16 / 9; position: relative; }
.video-modal-inner video { width: 100%; height: 100%; border-radius: 12px; background: #000; display: block; }
.video-close {
  position: absolute; top: -44px; right: 0; background: none; border: none; color: var(--paper);
  font-size: 15px; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 0;
}

/* ---------- Section shell ---------- */
.sv-landing section { padding: 88px 0; }
.sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.sec-head-wide { max-width: none; }
.sec-head h2 { font-size: 55px; line-height: 1.2; }
.sec-head h2 i, .final-cta h2 i { color: var(--gold); }
.sec-lede { font-size: 17px; color: var(--teal-600); margin-top: 14px; }
.nw-desktop { white-space: nowrap; }

/* ---------- Why ---------- */
.why { background: var(--teal-900); color: var(--paper); }
.why .sec-head h2 { color: var(--paper); }
.why .sec-head h2 i { color: var(--gold-lt); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 32px 24px; text-align: center;
}
.why-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(250,250,249,0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.why-icon svg { stroke: var(--gold-lt); }
.why-card h3 { color: var(--paper); font-size: 22px; margin-bottom: 8px; }
.why-card p { color: var(--paper-soft); font-size: 14px; margin: 0; line-height: 1.5; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.feature-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center;
  max-width: 1000px; margin: 0 auto 88px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
/* minmax(0,…) here and width:100% on .feature-visual: with an aspect-ratio the grid
   doesn't stretch it, so min-height × ratio set a 375px width and pushed the page
   sideways at 861–889px. */
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 { font-size: 28px; margin-bottom: 12px; }
.feature-copy .tag { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 8px; display: block; text-transform: uppercase; letter-spacing: 0.2px; }
.feature-copy p.desc { color: var(--teal-600); font-size: 17px; margin-bottom: 18px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 8px 0 8px 26px; position: relative; font-size: 15px; color: var(--ink);
  border-top: 1px solid rgba(29,64,68,0.08);
}
.feature-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-900); }
.feature-visual {
  position: relative; background: var(--cream); border-radius: 16px; aspect-ratio: 1380 / 1030; min-height: 280px; width: 100%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid rgba(29,64,68,0.08);
}
.feature-visual video, .feature-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.reverse .feature-copy { order: 0; }
}

/* ---------- Testimonial carousel ---------- */
.proof-strip { background: var(--cream); text-align: center; padding: 56px 0; }
.carousel-wrap { max-width: 680px; margin: 20px auto 0; }
.carousel { position: relative; min-height: 110px; transition: height .3s; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.proof-quote { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--teal-900); line-height: 1.4; margin: 0; }
.proof-attr { margin-top: 12px; font-size: 14px; color: var(--gold); font-family: var(--sans); font-weight: 400; }
.proof-attr b { font-weight: 600; color: #1d4044; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(29,64,68,0.25); border: 0; padding: 0; cursor: pointer; }
.dot.active { background: var(--teal-900); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- Growth ---------- */
.growth { background: var(--paper); }
.growth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.growth-card {
  background: var(--teal-900); border: 1px solid rgba(29,64,68,0.1); border-radius: 14px;
  padding: 28px 24px; position: relative; overflow: hidden;
}
.growth-card h3 { color: var(--gold-lt); font-size: 22px; margin-bottom: 8px; }
.growth-card p { color: var(--paper); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .growth-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--teal-900); color: var(--paper); }
.pricing .sec-head h2 { color: var(--paper); }
.pricing .sec-head h2 i { color: var(--gold-lt); }
.pricing .sec-lede { color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1020px; margin: 0 auto; }
.plan {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column;
}
.plan.popular { border-color: var(--gold); border-width: 2px; background: rgba(250,250,249,0.06); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cream); color: var(--gold); font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 26px; color: var(--paper); margin-bottom: 8px; }
.plan-desc { font-size: 14px; color: var(--paper-soft); margin-bottom: 20px; min-height: 61px; }
.plan-price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--gold-lt); }
.plan-price span { font-size: 14px; color: var(--paper-soft); font-family: var(--sans); font-weight: 400; }
.plan-features { list-style: none; margin: 22px 0 26px; padding: 0; flex-grow: 1; }
.plan-features li { padding: 7px 0; font-size: 14px; color: var(--paper); border-top: 1px solid rgba(255,255,255,0.08); }
.plan-features li:first-child { border-top: none; }
.plan-cta {
  text-align: center; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px;
  background: var(--paper); color: var(--teal-900) !important; transition: background .2s;
}
.plan-cta:hover { background: var(--gold-lt); }
.plan.popular .plan-cta { background: var(--gold-lt); }
.plan.popular .plan-cta:hover { background: var(--paper); }
.risk-reversal { text-align: center; margin-top: 36px; font-size: 14px; color: var(--paper-soft); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan-desc { min-height: 0; } }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--cream); text-align: center; }
.final-cta h2 { font-size: 55px; max-width: 600px; margin: 0 auto 16px; }
.final-cta p { color: var(--teal-900); font-size: 17px; max-width: 480px; margin: 0 auto 30px; }

/* ---------- Tablet (761–900px) ----------
   The designs only release their no-wrap headings below 760px, so between
   that and the single-column switch they ran off the side of the screen (the
   exports overflow there too). Let them wrap and step the sizes down. */
@media (max-width: 900px) {
  .sv-campaign .nw, .sv-campaign .nw-desktop, .hero-sub { white-space: normal; }
  .sec-head h2, .final-cta h2 { font-size: 44px; }
  .hero h1 { font-size: 52px; }
}

/* ---------- Landing: phone ---------- */
@media (max-width: 760px) {
  .hero h1, .hero h1 i { font-size: 44px !important; line-height: 1.1; }
  .hero h1 br { display: none; }
  .hero h1 .nw { white-space: normal; }
  .hero-sub { white-space: normal; font-size: 16px; }
  .hero-cta-group { display: flex; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .hero-btns a, .hero-btns button { width: 100%; justify-content: center; }
  .trust-row, .badges { justify-content: center; }
  .badges { flex-wrap: nowrap; gap: 12px; }
  .badges img.b-rating  { width: 110px; height: auto; }
  .badges img.b-support { width: 54px; height: 54px; }
  .badges img.b-ease    { width: 58px; height: auto; }
  .hero-video-frame { margin: 0; border-radius: 0; width: 100%; }
  .hero-left { padding-bottom: 40px; }
  .sec-head { max-width: 100%; padding: 0 4px; }
  .sec-head h2, .sv-landing section h2 { font-size: 34px; white-space: normal; line-height: 1.15; }
  /* .sv-campaign prefix: must out-rank the desktop .sv-campaign .nw rule. */
  .sv-campaign .sec-head h2 span, .sv-campaign .sec-head h2 i, .sv-campaign .nw-desktop { white-space: normal; }
  .sv-campaign .sec-head h2 .nb { white-space: nowrap; }
  .feature-copy p.desc { font-size: 16px; }
  .feature-copy p.desc br { display: none; }
  .feature-row { margin-bottom: 56px; gap: 20px; }
  .feature-visual { min-height: 0; border-radius: 12px; width: 100%; }
  .feature-copy { text-align: left; }
  .feature-copy h3 { font-size: 24px; }
  .sv-campaign .wrap { padding-left: 20px; padding-right: 20px; }
  .sv-landing section { padding: 64px 0; }
  .proof-quote { text-wrap: pretty; }
}

/* =============================================================
   DEMO
   ============================================================= */
.demo-page {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px;
  padding: 64px 32px; max-width: var(--max); margin: 0 auto; align-items: start;
}
@media (max-width: 960px) { .demo-page { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; } }
.demo-eyebrow { font-size: 15px; font-weight: 500; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.demo-left h1 { font-size: 65px; line-height: 1.15; letter-spacing: -0.5px; }
.demo-left h1 i { color: var(--gold); }
.demo-desc { font-size: 17px; color: var(--teal-600); margin: 20px 0 28px; max-width: 460px; }
.demo-badges { margin-bottom: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(29,64,68,0.1); max-width: 85%; }

/* ---------- Form ---------- */
.form-card {
  background: var(--cream); border-radius: 18px; padding: 36px;
  border: 1px solid rgba(29,64,68,0.25); box-shadow: 0 24px 60px -30px rgba(15,46,48,0.25);
}
.form-title { font-family: var(--serif); font-size: 35px; font-weight: 600; color: var(--teal-900); margin-bottom: 10px; }
.form-subtitle { font-size: 14px; color: var(--teal-600); margin-bottom: 24px; line-height: 1.5; }
.form-group { margin-bottom: 16px; }
.form-card label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-800); margin-bottom: 6px; }
.req { color: var(--teal-900); margin-left: 2px; }
.form-input {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(29,64,68,0.18);
  font-family: inherit; font-size: 14px; color: var(--teal-900); background: var(--paper);
}
.form-input[aria-invalid="true"] { border-color: rgba(192,57,43,0.6); }
.form-select, .country-select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d4044' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.form-select { padding-right: 42px; background-position: right 18px center; }
.form-input:focus { outline: none; border-color: var(--teal-900); box-shadow: 0 0 0 3px rgba(29,64,68,0.12); }
.phone-row { display: flex; gap: 8px; }
.country-select { flex: 0 0 150px; padding-right: 36px; background-position: right 9px center; }
.phone-input { flex: 1; min-width: 0; }
.field-error { font-size: 12px; color: #c0392b; margin-top: 4px; min-height: 14px; }
.form-legal { font-size: 12px; color: var(--teal-300); line-height: 1.5; margin: 18px 0; }
.form-legal a { color: var(--teal-900); text-decoration: underline; }
.form-status { font-size: 13px; color: #c0392b; margin: -6px 0 12px; }
.form-status:empty { display: none; }
.btn-submit {
  width: 100%; padding: 14px; border-radius: 9px; background: var(--teal-900); color: var(--paper);
  border: none; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s, opacity .15s;
}
.btn-submit:disabled { cursor: not-allowed; opacity: .55; }
.btn-submit.is-sending { opacity: .7; cursor: progress; }
.btn-submit:not(:disabled):hover { background: #396465; }

#restOfForm { display: none; }
#restOfForm.is-open { display: block; }
.guest-message { display: none; background: var(--cream); border: 1px solid rgba(29,64,68,0.35); border-radius: 12px; padding: 22px; margin-top: 6px; }
.guest-message.show { display: block; }
.guest-message h4 { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; color: var(--teal-900); }
.guest-message p { font-size: 14px; color: var(--teal-600); margin: 0; line-height: 1.55; }

.form-success { text-align: center; padding: 20px 0; }
.form-success[hidden] { display: none; }
.success-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(29,64,68,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success-icon svg { width: 24px; height: 24px; stroke: var(--teal-900); fill: none; stroke-width: 2.5; }
.success-title { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.success-desc { font-size: 14px; color: var(--teal-600); max-width: 320px; margin: 0 auto; }

/* ---------- Stats ---------- */
.demo-stats-band { background: var(--teal-900); padding: 96px 24px; }
.demo-stats { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; max-width: 1300px; margin: 0 auto; }
.ds-item { text-align: center; flex: 0 1 200px; }
.ds-num { font-family: var(--serif); font-weight: 600; font-size: 80px; line-height: 1; margin-bottom: 14px; color: var(--gold-lt); }
.ds-lbl { font-size: 17px; color: var(--paper); }
@media (max-width: 900px) { .ds-num { font-size: 52px; } .demo-stats-band { padding: 56px 24px; } }

/* ---------- Trusted logos ---------- */
.trusted-section { padding: 72px 0 56px; text-align: center; background: var(--paper); }
.trusted-heading { font-family: var(--serif); font-style: italic; font-size: 35px; color: var(--teal-800); margin-bottom: 44px; padding: 0 20px; }
.trusted-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.trusted-track { display: flex; align-items: center; width: max-content; }
.trusted-logo { height: 40px; width: auto; object-fit: contain; opacity: 0.28; filter: brightness(0); flex-shrink: 0; margin-right: 72px; }

/* ---------- Trust cards ---------- */
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; padding: 8px 32px 16px; }
@media (max-width: 900px) { .trust-cards { grid-template-columns: repeat(2, 1fr); } }
.tp-card { background: var(--teal-900); border: 1px solid rgba(29,64,68,0.1); border-radius: 14px; padding: 22px 18px; text-align: center; }
.tp-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(250,250,249,0.18); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.tp-icon svg { width: 17px; height: 17px; stroke: var(--gold-lt); fill: none; stroke-width: 2; }
.tp-text { font-size: 15px; color: var(--paper); line-height: 1.4; }
.m-br { display: none; }

/* ---------- Reviews ---------- */
.reviews-section { padding: 40px 0 88px; background: var(--paper); }
.reviews-header { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.reviews-header h2 { font-size: 55px; line-height: 1.1; white-space: nowrap; }
.reviews-header p { font-size: 17px; color: var(--teal-600); margin-top: 14px; }
.reviews-grid { max-width: var(--max); margin: 44px auto 0; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { display: flex; flex-direction: column; background: var(--cream); border-radius: 14px; padding: 26px; border: 1px solid rgba(29,64,68,0.08); }
.review-stars { color: var(--teal-900); font-size: 13px; margin-bottom: 10px; letter-spacing: 1px; }
.review-text { flex: 1; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--teal-900); line-height: 1.5; margin: 0 0 18px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.author-name { font-size: 16px; font-weight: 600; color: var(--teal-900); }
.author-role { font-size: 13px; color: var(--teal-600); }

/* ---------- Demo: tablet (761–900px) ---------- */
@media (max-width: 900px) {
  .reviews-header h2 { font-size: 40px; white-space: normal; }
}

/* ---------- Demo: phone ---------- */
@media (max-width: 760px) {
  .demo-page { padding: 32px 20px; gap: 32px; }
  .demo-left h1 { font-size: 40px; line-height: 1.12; }
  .demo-left { text-align: center; }
  .demo-desc { font-size: 16px; margin-left: auto; margin-right: auto; }
  .demo-badges { flex-wrap: nowrap; gap: 12px; justify-content: center; max-width: 100%; margin-left: auto; margin-right: auto; }
  .demo-badges img.b-rating  { width: 110px; height: auto; }
  .demo-badges img.b-support { width: 54px; height: 54px; }
  .demo-badges img.b-ease    { width: 54px; height: auto; }
  .form-card { padding: 24px 20px; border-radius: 14px; }
  .form-title { font-size: 28px; }
  .form-card input, .form-card select { font-size: 16px; }   /* stops iOS zooming into fields */
  .trust-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 8px 20px 16px; }
  .tp-card { padding: 18px 8px; }
  .tp-text { font-size: 14px; }
  .demo-stats { gap: 32px; }
  .ds-item { flex: 1 1 100%; }
  .ds-num { font-size: 48px; }
  .trusted-heading { font-size: 26px; }
  .trusted-logo { height: 30px; margin-right: 44px; }
  .reviews-header { padding: 0 20px; }
  .reviews-header h2 { font-size: 34px; line-height: 1.15; white-space: normal; }
  .m-br { display: inline; }
  .d-br { display: none; }
  .m-line { white-space: nowrap; }
  .reviews-grid { padding: 0 20px; gap: 16px; }
  .review-text { font-size: 18px; text-wrap: pretty; }
}

/* =============================================================
   FOOTER (the existing KSA/UAE footer, kept below the redesign)
   ============================================================= */
/* Reproduces the footer as the live landing pages render it. There it came
   from main.css + the old landing CSS + inline styles layered together; these
   are the resolved values, measured element by element against servmeco.com. */
.hp-footer { background: #1d4044; color: #fafaf9; padding: 80px 0 32px; line-height: 1.7; }
.hp-footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.hp-footer-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 64px; align-items: start; }
.hp-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; align-items: start; font-family: var(--sans); font-size: 13px; }
.hp-footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.hp-footer-cols > div:nth-child(2) { width: 150px; }
.hp-footer-cols > div:nth-child(3) { width: 130px; }
.hp-footer-brand-col { grid-column: 1 / -1; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(250,250,249,0.08); }
.hp-footer-logo { height: 36px; width: auto !important; filter: brightness(0) invert(1); margin-bottom: 16px; object-fit: contain; transform: translateY(-4px); }
.hp-footer-brand-desc { font-family: var(--serif); font-size: 21px; font-style: italic; color: #fafaf9; line-height: 1.7; margin: 0; }
.hp-footer-cols > div b { display: block; color: #fafaf9; font-size: 14px; font-weight: 500; line-height: 1.3; padding: 5px 0; margin-bottom: 16px; }
.hp-footer-cols > div a { display: block; color: #9caaad; text-decoration: none; font-size: 14px; line-height: 1.3; padding: 5px 0; white-space: nowrap; transition: color .15s; }
.hp-footer-plain { display: block; color: #9caaad; font-size: 14px; padding: 5px 0; white-space: nowrap; }
.hp-footer-cols > div a:hover, .hp-footer .hp-footer-site:hover { color: #dbac6b; }
.hp-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; margin-top: 48px; border-top: 1px solid rgba(250,250,249,0.08); }
.hp-footer .hp-footer-site { color: #9caaad; text-decoration: none; font-size: 12px; transition: color .15s; font-family: 'Inter', sans-serif; }
.hp-footer-fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #748d90; margin: 0; font-family: var(--sans); }
@media (max-width: 960px) {
  .hp-footer { padding: 40px 20px 24px; font-size: 15px; }
  .hp-footer-inner { padding: 0; }
  .hp-footer-body { grid-template-columns: 1fr; gap: 40px; }
  .hp-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }   /* two side by side, the third below */
  .hp-footer-cols > div:nth-child(3) { width: auto; }   /* live keeps 130px here and overflows at 320px */
  .hp-footer-logo { transform: none; }
  .hp-footer-fine { flex-direction: column; gap: 16px; text-align: left; }
}
@media (max-width: 900px) {
  .hp-footer-cols > div a { white-space: normal; }
}
@media (max-width: 768px) {
  .hp-footer-brand-col { margin-bottom: 8px; }
  .hp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; border-top: none; text-align: left; }
}
