/* ==========================================================================
   Fawry Delivery Services
   One stylesheet, no framework.

   Rules this file keeps, each because its absence caused a measured defect:
   1. Logical properties only. No left/right, so Arabic and English share code.
   2. No letter-spacing on Arabic; it breaks glyph joins. Tracking is [dir=ltr].
   3. One component per idea: one .btn, one table (.ptable), one checkbox
      look (.box), one info surface (.note-card).
   4. No horizontal overflow: overflow-x: clip on the root, min-width: 0 on
      grid and flex children.
   5. Motion is opt-in through .js and cancelled under prefers-reduced-motion.
   6. Colours come from the official logo (#F39B06 orange, #0E2372 navy).
      Nothing white sits on orange: white measures 2.21:1 on it, navy 6.33:1.
   ========================================================================== */

/* ---------- fonts ------------------------------------------------------- */
/* Two weights. A first view of the Arabic homepage measured 193 KB of fonts
   at three weights; the third weight was removed. */
@font-face { font-family: 'Plex Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/f/plex-ar-arabic-400.6010e7fd.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Plex Arabic'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/f/plex-ar-arabic-700.04c730b4.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Plex Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/f/plex-ar-latin-400.9ed8dcb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex Arabic'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/f/plex-ar-latin-700.ae2d59f9.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ------------------------------------------------------ */
:root {
  --orange: #F39B06;          /* logo */
  --orange-hover: #FFAE2B;
  --orange-700: #9A5C00;      /* orange TEXT on light: 5.38:1 on white, 5.01:1 on --surface */
  --orange-300: #FFB547;      /* orange TEXT on navy: 9.61:1 on --navy-900 */
  --on-orange: #0E2372;       /* content on orange fills: 6.33:1 */
  --navy: #0E2372;            /* logo */
  --navy-900: #0A1650;
  --navy-600: #24399A;
  --ink: #121C3D;
  --body: #3B4668;
  --muted: #5E6886;           /* 5.53:1 on white */
  --line: #E1E5F0;
  --line-soft: #EEF1F7;
  --paper: #FFFFFF;
  --surface: #F5F7FB;
  --surface-warm: #FFF7EB;
  --on-dark: #C9D2EE;         /* 11.2:1 on --navy-900 */
  --on-dark-muted: #AEB9DE;   /* 8.7:1 on --navy-900 */
  --ok-bg: #E7F5EC; --ok: #1D6B3A;
  --warn-bg: #FFF1D6; --warn: #7A4A00;
  --swap-bg: #E6ECFB; --swap: #1F3A91;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 80, .06), 0 4px 14px rgba(10, 22, 80, .06);
  --shadow-md: 0 2px 6px rgba(10, 22, 80, .06), 0 20px 48px rgba(10, 22, 80, .10);
  --shadow-lg: 0 32px 80px rgba(10, 22, 80, .18);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 1200px;
  --section-y: clamp(3.75rem, 8vw, 6.5rem);
  --section-y-tight: clamp(2.5rem, 5vw, 4rem);

  --fs-h1: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem);
  --fs-h3: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-lead: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--paper); color: var(--body);
  font-family: 'Plex Arabic', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body); line-height: 1.6;
  font-synthesis-weight: none; -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-size: 1.09375rem; line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.12; text-wrap: balance; }
[dir="ltr"] h1, [dir="ltr"] h2 { letter-spacing: -.02em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.num, .price-fig { unicode-bidi: isolate; direction: ltr; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .ctaband :focus-visible, .ftr :focus-visible { outline-color: var(--orange-300); }
::selection { background: rgba(243, 155, 6, .3); color: var(--ink); }

/* ---------- layout ------------------------------------------------------ */
.wrap { width: min(var(--measure), 100% - var(--gutter) * 2); margin-inline: auto; }
[class*="-grid"] > *, .split > * { min-width: 0; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.skip { position: fixed; z-index: 300; inset-block-start: .75rem; inset-inline-start: .75rem; padding: .7rem 1.1rem; color: #fff; background: var(--navy); border-radius: var(--radius-pill); font-weight: 700; transform: translateY(-220%); }
.skip:focus { transform: none; }

.head { max-width: 46rem; margin-block-end: clamp(2rem, 4vw, 3rem); display: grid; gap: .9rem; }
.split > .head { margin-block-end: 0; }
.eyebrow { color: var(--orange-700); font-size: var(--fs-xs); font-weight: 700; }
[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; }
.section--dark .eyebrow { color: var(--orange-300); }
.lead { font-size: var(--fs-lead); color: var(--body); max-width: 40ch; }
[dir="rtl"] .lead { max-width: 46ch; line-height: 1.8; }
.section--dark .lead { color: var(--on-dark); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.h-sm { font-size: var(--fs-h3); margin-block: 1.5rem .75rem; }
.h-sm:first-child { margin-block-start: 0; }

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .75rem 1.4rem;
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  font-size: var(--fs-body); font-weight: 700; line-height: 1.2; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--lg { min-height: 56px; padding-inline: 1.75rem; font-size: 1.0625rem; }
.btn--primary { color: var(--on-orange); background: var(--orange); box-shadow: 0 8px 22px rgba(243, 155, 6, .3); }
.btn--primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn--dark { color: #fff; background: var(--navy); }
.btn--dark:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn--ghost { color: var(--navy); background: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--onDark { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--onDark:hover { color: var(--navy-900); background: #fff; border-color: #fff; }
.btn:active { transform: scale(.985); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
/* A paragraph and the actions under it need air. With no gap the button
   touched the lead, which the audit read as 4.2:1 text on an orange ground. */
p + .btn-row, .lead + .btn-row { margin-block-start: 1.5rem; }
.tlink { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--navy); font-weight: 700; }
.tlink svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.tlink:hover { color: var(--orange-700); }
.tlink:hover svg { transform: translateX(3px); }
[dir="rtl"] .ico-arrow, [dir="rtl"] .ico-next { transform: scaleX(-1); }
[dir="ltr"] .ico-prev { transform: scaleX(-1); }
[dir="rtl"] .tlink:hover .ico-arrow { transform: scaleX(-1) translateX(3px); }
.section--dark .tlink { color: #fff; }

/* ---------- header ------------------------------------------------------ */
.hdr { position: sticky; inset-block-start: 0; z-index: 100; background: rgba(255, 255, 255, .92); border-block-end: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(160%); } }
.hdr.is-stuck { border-block-end-color: var(--line); box-shadow: 0 6px 24px rgba(10, 22, 80, .07); }
.hdr-in { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.75rem); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand-mark { width: 38px; height: auto; }
.brand-txt { display: grid; line-height: 1.1; }
[dir="rtl"] .brand-txt { line-height: 1.3; }
.brand-txt b { color: var(--navy); font-size: 1.2rem; }
.brand-txt span { color: var(--muted); font-size: .75rem; font-weight: 700; }
[dir="ltr"] .brand-txt span { text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.1vw, 1.1rem); margin-inline: auto; }
.nav > a { position: relative; padding: .45rem .2rem; color: var(--body); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.nav > a::after { content: ''; position: absolute; inset-block-end: 0; inset-inline: .2rem; height: 2.5px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .22s var(--ease); }
.nav > a:hover { color: var(--ink); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { color: var(--navy); }
.nav-act { display: none; }
.hdr-act { display: flex; align-items: center; gap: .5rem; flex: none; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .8rem; color: var(--navy); border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; }
.lang:hover { border-color: var(--navy); }
.hdr-cta { min-height: 46px; padding-inline: 1.1rem; font-size: var(--fs-sm); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); }
.burger i { display: block; width: 18px; height: 2px; margin: 3.5px auto; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.prog { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 150; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: inline-start; }

@media (max-width: 1140px) {
  .burger { display: block; }
  .brand, .hdr-act { position: relative; z-index: 2; }
  .hdr-act { margin-inline-start: auto; }
  .nav {
    position: fixed; z-index: 1; inset-block-start: 0; inset-inline-end: 0;
    display: grid; align-content: start; gap: .1rem;
    width: min(340px, 88vw); height: 100dvh; margin: 0; padding: 5.5rem 1.5rem 2rem;
    background: var(--paper); box-shadow: var(--shadow-lg); overflow-y: auto;
    transform: translateX(110%); visibility: hidden;
    /* Asymmetric: visible at once on open so focus can move in, hidden only
       after the slide-out on close. A plain visibility transition flipped it
       half way through and focus into the panel silently failed. */
    transition: transform .34s var(--ease-out), visibility 0s linear .34s;
  }
  [dir="rtl"] .nav { transform: translateX(-110%); }
  .nav.is-open { transform: none; visibility: visible; transition: transform .34s var(--ease-out), visibility 0s linear 0s; }
  .nav > a { padding: .85rem .25rem; font-size: 1.0625rem; border-block-end: 1px solid var(--line-soft); }
  .nav > a::after { display: none; }
  .nav-act { display: grid; gap: .6rem; margin-block-start: 1.5rem; }
  .nav-tel { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; color: var(--navy); font-weight: 700; }
  .nav-tel svg { width: 1.1em; height: 1.1em; }
  .nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(10, 22, 80, .45); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .nav-scrim.is-on { opacity: 1; pointer-events: auto; }
}
@media (max-width: 620px) {
  .hdr-cta span { display: none; }
  .hdr-cta { width: 46px; padding: 0; }
  .brand-txt span { display: none; }
}

/* ---------- hero -------------------------------------------------------- */
/* No stock photograph. The only image this company has of its own work is
   its paperwork, so the hero shows its waybill, built from the printed fields. */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(243, 155, 6, .16), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(14, 35, 114, .08), transparent 60%),
    var(--surface);
}
[dir="rtl"] .hero {
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(243, 155, 6, .16), transparent 60%),
    radial-gradient(50rem 30rem at 110% 110%, rgba(14, 35, 114, .08), transparent 60%),
    var(--surface);
}
.hero-in { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 980px) { .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero-copy { display: grid; gap: 1.25rem; justify-items: start; }
.hero h1 { font-size: var(--fs-h1); max-width: 20ch; }
[dir="rtl"] .hero h1 { max-width: 16ch; }
.hero .btn-row { margin-block-start: .5rem; }

.prices { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: .75rem; }
.prices > div { display: grid; gap: .1rem; padding: .7rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.prices dt { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.prices dd { color: var(--ink); line-height: 1.15; }
.prices dd b { font-size: 1.6rem; }
.prices dd span { color: var(--muted); font-size: var(--fs-sm); font-weight: 700; }
.prices .prices-main { background: var(--navy); border-color: var(--navy); }
.prices .prices-main dt { color: var(--on-dark); }
.prices .prices-main dd b { color: #fff; font-size: 2rem; }
.prices .prices-main dd span { color: var(--orange-300); }

/* Waybill card */
.hero-art { display: grid; place-items: center; }
.wb {
  width: min(100%, 440px); margin: 0; padding: 1.4rem 1.5rem 1.2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
[dir="rtl"] .wb { transform: rotate(1.2deg); }
.wb-head { display: flex; align-items: center; gap: .7rem; padding-block-end: .9rem; border-block-end: 2px solid var(--navy); }
.wb-head img { width: 34px; }
.wb-name { display: grid; line-height: 1.25; }
.wb-name b { color: var(--navy); font-size: 1.05rem; }
.wb-name span { color: var(--orange-700); font-size: var(--fs-xs); font-weight: 700; }
.wb-bar { margin-inline-start: auto; width: 88px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.wb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; padding-block: 1rem; }
.wb-f { display: grid; gap: .3rem; }
.wb-f > span { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.wb-f i { display: block; height: 10px; border-block-end: 1.5px dashed #C9CFDF; }
.wb-f--amt { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: .6rem .8rem; background: var(--surface-warm); border-radius: 10px; }
.wb-f--amt > span { color: var(--orange-700); }
.wb-f--amt b { color: var(--ink); font-size: 1.15rem; }
.wb-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .8rem; padding-block: .9rem; border-block: 1px solid var(--line-soft); }
.wb-opts li { display: flex; align-items: center; gap: .5rem; color: var(--body); font-size: var(--fs-sm); }
.wb-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-block-start: .8rem; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.wb-sign svg { width: 110px; height: 30px; }
.wb-sig { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

/* The one checkbox look, shared by the waybill, option lists and forms. */
.box { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1.8px solid #8E97B5; border-radius: 5px; background: var(--paper); }
.box svg { width: 14px; height: 14px; stroke-width: 3; color: var(--on-orange); opacity: 0; }
.on .box, .check input:checked + .box, .opt .box { background: var(--orange); border-color: var(--orange); }
.on .box svg, .check input:checked + .box svg, .opt .box svg { opacity: 1; }

/* ---------- flow -------------------------------------------------------- */
.flow { display: grid; gap: 1rem; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.flow-step { position: relative; display: grid; gap: .45rem; align-content: start; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.flow-dot { display: grid; place-items: center; width: 40px; height: 40px; margin-block-end: .35rem; color: var(--on-orange); background: var(--orange); border-radius: 50%; font-weight: 700; }
.flow-day { color: var(--orange-700); font-size: var(--fs-sm); font-weight: 700; }
.flow-step p { color: var(--body); font-size: var(--fs-sm); }
@media (min-width: 820px) {
  .flow-step:not(:last-child)::after { content: ''; position: absolute; inset-block-start: 2.7rem; inset-inline-start: calc(1.5rem + 52px); inset-inline-end: -1.25rem; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px); }
}

/* ---------- services ---------------------------------------------------- */
.svc-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); } }
.svc-h { margin-block-end: 1rem; color: var(--muted); font-size: var(--fs-sm); }
.svc-list { display: grid; border-block-start: 1px solid var(--line); }
.svc-list > div { display: grid; gap: .3rem; padding-block: 1.1rem; border-block-end: 1px solid var(--line); }
@media (min-width: 700px) { .svc-list > div { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; } }
.svc-list dt { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; }
.svc-list dt svg { width: 22px; height: 22px; color: var(--orange-700); flex: none; }
.svc-list dd { color: var(--body); font-size: var(--fs-sm); }
.svc-list--big dd { font-size: var(--fs-body); }
.svc-side { padding: 1.5rem; background: var(--surface-warm); border-radius: var(--radius); }
.svc-more { margin-block-start: 1rem; }
.opts { display: grid; gap: .55rem; }
.opt, .check { position: relative; display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem .9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: var(--fs-sm); }
.section--surface > .wrap > .opts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

/* ---------- tables and finder ------------------------------------------ */
.ptable-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.ptable-wrap--flat { border: 0; border-radius: 0; }
.ptable { min-width: 20rem; font-size: var(--fs-sm); }
.ptable caption { padding: .9rem 1.25rem; color: var(--muted); font-size: var(--fs-xs); text-align: start; border-block-end: 1px solid var(--line); }
.ptable th, .ptable td { padding: .85rem 1.25rem; text-align: start; }
.ptable thead th { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; background: var(--surface); border-block-end: 1px solid var(--line); white-space: nowrap; }
.ptable tbody tr + tr > * { border-block-start: 1px solid var(--line-soft); }
.ptable tbody th { color: var(--ink); font-weight: 700; }
.ptable td { color: var(--body); }
.ptable .cell-price { text-align: end; white-space: nowrap; }
.ptable .cell-price b { color: var(--ink); font-size: 1.0625rem; }
.ptable .cur { color: var(--muted); font-size: var(--fs-xs); }
.ptable tbody tr.is-hit > * { background: var(--surface-warm); }
.ptable tbody tr[hidden] { display: none; }
.ptable-group th { padding-block: .7rem; color: var(--navy); background: var(--surface); font-weight: 700; }
.ptable-note { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
.ptable--wide { min-width: 46rem; }
.ptable--wide th, .ptable--wide td { white-space: nowrap; }
/* On a phone the four-column international table ran off the edge of its
   box, which hid the transit column. Each country becomes its own block with
   labelled values instead of a scroller. */
@media (max-width: 600px) {
  .ptable--intl { min-width: 0; }
  .ptable--intl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable--intl tbody tr { display: grid; gap: .15rem; padding: .9rem 1.1rem; }
  .ptable--intl tbody tr + tr { border-block-start: 1px solid var(--line); }
  .ptable--intl tbody tr > * { padding: 0; border: 0 !important; }
  .ptable--intl tbody th { font-size: 1.05rem; padding-block-end: .3rem; }
  /* One flex line per value: label at the start, figure at the end. An
     earlier version used display: contents, which made the figure, the unit
     and the label separate grid cells and scattered them. */
  .ptable--intl tbody td { display: flex; align-items: baseline; gap: .35rem; min-height: 32px; text-align: start; }
  .ptable--intl tbody td::before { content: attr(data-label); margin-inline-end: auto; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
  .ptable--intl tbody td[colspan] .cur { display: none; }
  .ptable--intl tbody td[colspan]::after { content: attr(data-cur); padding-inline-start: .25em; }
}
.finder { display: grid; gap: .5rem; max-width: 28rem; margin-block-end: 1.25rem; }
.finder label { color: var(--ink); font-size: var(--fs-sm); font-weight: 700; }
.finder-in { position: relative; }
.finder-in svg { position: absolute; inset-block-start: 50%; inset-inline-start: 1rem; width: 20px; height: 20px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.finder input { width: 100%; min-height: 52px; padding-block: .8rem; padding-inline: 2.9rem 1.1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-pill); }
.finder input:focus { border-color: var(--navy-600); }
.finder-msg { min-height: 1.6em; color: var(--muted); font-size: var(--fs-sm); }
.print-row { margin-block-start: 1.25rem; }

.tiers { display: grid; gap: 1rem; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tier { display: grid; gap: .6rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tier--core { background: var(--surface-warm); border-color: #F7D59A; }
.tier-fig { display: flex; align-items: baseline; gap: .4rem; color: var(--ink); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; }
.tier-cur { font-size: .32em; color: var(--muted); }
.tier h2 { font-size: var(--fs-h3); letter-spacing: normal; }
.tier p { color: var(--muted); font-size: var(--fs-sm); }
.intl-teaser { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border-radius: var(--radius-lg); }
@media (min-width: 800px) { .intl-teaser { grid-template-columns: minmax(0, 1fr) auto; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 700; }
.chip b { color: var(--orange-700); }

/* ---------- calculator --------------------------------------------------- */
.calc { padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.calc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .35rem; margin-block-end: 1.25rem; background: var(--surface); border-radius: var(--radius-pill); }
.calc-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding-inline: .6rem; border-radius: var(--radius-pill); color: var(--body); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
@media (max-width: 420px) { .calc-tabs button svg { display: none; } }
.calc-tabs button svg { width: 18px; height: 18px; }
.calc-tabs button[aria-selected="true"] { color: #fff; background: var(--navy); }
.calc-panel { display: grid; gap: 1rem; }
.calc-panel[hidden] { display: none; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { color: var(--ink); font-size: var(--fs-sm); font-weight: 700; }
.field legend { margin-block-end: .4rem; }
.field small { color: var(--muted); font-size: var(--fs-xs); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .95rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); }
/* The same solid ring as every other control. An earlier version replaced the
   outline with a 20% alpha shadow, which the keyboard test flagged as no ring. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .finder input:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #B42318; }
.req { color: #B42318; }
.calc-out { display: grid; gap: .35rem; padding: 1rem 1.1rem; background: var(--surface); border-radius: 12px; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.calc-row span { color: var(--body); font-size: var(--fs-sm); }
.calc-row b { color: var(--ink); font-size: 1.35rem; }
.calc-row--net b { color: var(--ok); }
.calc-row[hidden], .calc-empty[hidden] { display: none; }
.calc-empty, .calc-note { color: var(--muted); font-size: var(--fs-xs); }
.calc-send { width: 100%; }

/* ---------- reviews carousel -------------------------------------------- */
/* Native scroll-snap does touch swiping; buttons and arrow keys call
   scrollBy. Nothing auto-advances, so there is nothing to pause. */
.rv { display: grid; gap: 1rem; }
.rv-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding-block: .25rem 1rem; scrollbar-width: none;
}
.rv-track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .rv-track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (min-width: 1060px) { .rv-track { grid-auto-columns: calc((100% - 2rem) / 3); } }
.rv-card { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; margin: 0; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.rv-q { width: 30px; height: 22px; fill: var(--orange); }
[dir="rtl"] .rv-q { transform: scaleX(-1); }
.rv-card blockquote { margin: 0; color: var(--ink); }
[dir="rtl"] .rv-card blockquote { line-height: 1.9; }
.rv-card figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-block-start: .9rem; border-block-start: 1px solid var(--line-soft); }
.rv-who { color: var(--ink); font-weight: 700; font-size: var(--fs-sm); }
.rv-ch { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: var(--fs-xs); }
.rv-ch svg { width: 16px; height: 16px; }
.rv-ctl { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.rv-btn { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: var(--paper); border: 1.5px solid var(--line); border-radius: 50%; transition: border-color .2s var(--ease); }
.rv-btn svg { width: 20px; height: 20px; }
.rv-btn:hover:not(:disabled) { border-color: var(--navy); }
.rv-btn:disabled { opacity: .4; cursor: default; }
.rv-count { min-width: 4.5rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); font-weight: 700; }

/* ---------- merchants ---------------------------------------------------- */
.defs { display: grid; border-block-start: 1px solid var(--line); }
.defs > div { display: grid; gap: .3rem; padding-block: 1rem; border-block-end: 1px solid var(--line); }
@media (min-width: 680px) { .defs > div { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem; } }
.defs dt { color: var(--ink); font-weight: 700; }
.defs dd { color: var(--muted); font-size: var(--fs-sm); }
.status-list { display: grid; gap: 1rem; }
@media (min-width: 860px) { .status-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.status-list li { display: grid; gap: .6rem; align-content: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.status-list p { color: var(--body); font-size: var(--fs-sm); }
.pill { justify-self: start; display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.pill--ok { color: var(--ok); background: var(--ok-bg); }
.pill--warn { color: var(--warn); background: var(--warn-bg); }
.pill--swap { color: var(--swap); background: var(--swap-bg); }
.doc { margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem 1.25rem; border-block-end: 2px solid var(--navy); }
.doc-head img { width: 30px; }
.doc-head b { color: var(--navy); }
.doc-head span { margin-inline-start: auto; color: var(--orange-700); font-weight: 700; font-size: var(--fs-sm); }
.ph-cell { color: var(--muted); }
.doc-foot { padding: .9rem 1.25rem; color: var(--muted); font-size: var(--fs-sm); background: var(--surface); border-block-start: 1px solid var(--line); }
.note-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.4rem; margin-block-start: 1.5rem; background: var(--surface-warm); border-radius: var(--radius); }
.note-card > svg { width: 44px; height: 44px; padding: 10px; color: var(--orange-700); background: var(--paper); border-radius: 12px; }
.note-card h2, .note-card h3 { font-size: var(--fs-h3); margin-block-end: .35rem; letter-spacing: normal; }
.note-card p { color: var(--body); font-size: var(--fs-sm); }
.split > .note-card { margin-block-start: 0; }

/* ---------- forms and contact ------------------------------------------- */
.form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
.opts--form { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
.check { cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check input:focus-visible + .box { outline: 3px solid var(--navy-600); outline-offset: 2px; }
.remember { justify-self: start; font-weight: 400; color: var(--body); }
.form-err { color: #B42318; font-size: var(--fs-sm); font-weight: 700; min-height: 1.4em; }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .form .btn { width: 100%; } }
.call-list { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; color: var(--muted); font-size: var(--fs-sm); }
.call-list a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--navy); font-weight: 700; }
.call-list svg { width: 18px; height: 18px; }
.ccards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.ccard { display: grid; align-content: start; justify-items: start; gap: .35rem; padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.ccard > svg { width: 28px; height: 28px; margin-block-end: .4rem; color: var(--orange-700); }
.ccard h2 { font-size: var(--fs-h3); letter-spacing: normal; }
.ccard a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.ccard a:hover { color: var(--orange-700); }
.ccard p, .ccard span { color: var(--muted); font-size: var(--fs-sm); }
.ccard .tlink { font-size: var(--fs-sm); }
.map-embed { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- coverage map ------------------------------------------------- */
.mapfig { display: grid; gap: 1.25rem; margin: 0; }
.mapfig svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: #DDE3F2; stroke: #BFC8E2; stroke-width: 1.1; }
.section--dark .map-land { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .24); }
.map-route { fill: none; stroke: var(--orange); stroke-width: 4.6; stroke-linecap: round; }
.map-dot { fill: var(--navy); }
.map-remote { fill: none; stroke: var(--navy-600); stroke-width: 2; stroke-dasharray: 3 2.4; }
.map-pin { fill: var(--orange); }
.map-halo { fill: rgba(243, 155, 6, .25); }
.section--dark .map-dot { fill: #fff; }
.section--dark .map-remote { stroke: var(--on-dark-muted); }
.map-lbl { fill: var(--ink); font-size: 11px; font-weight: 700; }
.map-lbl--base { fill: var(--orange-700); }
.map-lbl--remote { fill: var(--muted); }
.map-price { fill: var(--orange-700); font-weight: 700; }
.section--dark .map-lbl { fill: #E7ECFA; }
.section--dark .map-lbl--base, .section--dark .map-price { fill: var(--orange-300); }
.section--dark .map-lbl--remote { fill: var(--on-dark-muted); }
.map-key { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: var(--fs-xs); color: var(--muted); }
.map-key span { display: inline-flex; align-items: center; gap: .45rem; }
.map-key i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.map-key-pin { background: var(--orange); box-shadow: 0 0 0 3px rgba(243, 155, 6, .25); }
.map-key-dot { background: var(--navy); }
.map-key-remote { border: 2px dashed var(--navy-600); }
.section--dark .map-key { color: var(--on-dark-muted); }
.section--dark .map-key-dot { background: #fff; }
.section--dark .map-key-remote { border-color: var(--on-dark-muted); }

/* ---------- faq ---------------------------------------------------------- */
.faq-wrap { max-width: 54rem; }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: #C6CEE6; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-inline-end: 2px solid var(--orange-700); border-block-end: 2px solid var(--orange-700); transform: rotate(45deg); transition: transform .24s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-body { padding: 0 1.25rem 1.2rem; color: var(--body); }

/* ---------- cta band, footer, mobile bar --------------------------------- */
.ctaband { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 5vw, 3rem); background: var(--navy); border-radius: var(--radius-lg); color: var(--on-dark); }
@media (min-width: 860px) { .ctaband { grid-template-columns: minmax(0, 1fr) auto; } }
.ctaband h2 { color: #fff; }
.ctaband p { margin-block-start: .5rem; color: var(--on-dark); }
.ftr { padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; color: var(--on-dark-muted); background: var(--navy-900); }
.ftr-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.ftr-logo { display: inline-block; padding: .9rem 1.1rem; background: #fff; border-radius: var(--radius); }
.ftr-logo img { width: 120px; }
.ftr-blurb { margin-block-start: 1rem; max-width: 32ch; font-size: var(--fs-sm); }
.ftr h2 { margin-block-end: .9rem; color: #fff; font-size: var(--fs-sm); }
.ftr-col { display: grid; gap: .25rem; align-content: start; justify-items: start; font-size: var(--fs-sm); }
.ftr-col a, .ftr-col span { min-height: 36px; display: inline-flex; align-items: center; gap: .35rem; }
.ftr-col a:hover { color: #fff; }
.ftr-bot { margin-block-start: 2.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-xs); }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; inset-inline: .75rem; inset-block-end: .75rem; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem; padding: .45rem; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: var(--radius-pill); font-weight: 700; }
  .mbar svg { width: 20px; height: 20px; }
  .mbar-wa { color: var(--on-orange); background: var(--orange); }
  .mbar-call { color: var(--navy); background: var(--surface); }
  body { padding-block-end: 5.25rem; }
}
.nf { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.nf .wrap { display: grid; gap: 1.25rem; justify-items: center; }

/* ---------- print (the price list) --------------------------------------- */
@media print {
  .hdr, .prog, .ftr, .mbar, .ctaband, .finder, .print-row, .intl-teaser, .nav-scrim, .skip { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  .section, .section--tight { padding-block: 12pt; background: none; }
  .ptable tbody tr[hidden] { display: table-row; }
}

/* ==========================================================================
   Motion. Gated on .js, cancelled under prefers-reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero-copy > * { opacity: 0; transform: translate3d(0, 18px, 0); animation: rise .8s var(--ease-out) forwards; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .js .wb { animation: drop 1s var(--ease-out) .15s both; }
  .js[dir="rtl"] .wb { animation-name: drop-rtl; }
  .js .wb-opts .on .box { animation: tick .35s var(--ease-out) 1.1s both; }
  .js .wb-sig { stroke-dasharray: 190; stroke-dashoffset: 190; animation: sign 1.2s var(--ease) 1.3s forwards; }
  .js .mapfig.is-in .map-route { transition: stroke-dashoffset 1.9s var(--ease-out) .15s; stroke-dashoffset: 0 !important; }
  .rv-track { scroll-behavior: smooth; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes drop { from { opacity: 0; transform: translateY(30px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
  @keyframes drop-rtl { from { opacity: 0; transform: translateY(30px) rotate(4deg); } to { opacity: 1; transform: rotate(1.2deg); } }
  @keyframes tick { from { transform: scale(.4); } to { transform: none; } }
  @keyframes sign { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { .prog { display: none; } }
