/* ==========================================================================
   Relocation site (036760602.net) in the globalex.co.il design.

   A LAYER over styles.css, loaded after it and before a11y.css:
   - markup, content, scripts and the editor are untouched; this file only
     restyles the existing classes;
   - text colours go through the shared tokens (--ink, --muted, --border), so
     the accessibility menu's high-contrast mode keeps working; type sizes are
     in rem, so its text-size steps keep working;
   - remove the <link> to this file and the site is exactly as before.
   Design values are the main site's: navy #182c3c, orange #f4743c, peach bands,
   5px buttons, blob shapes, the orange contact card, the navy footer with the G.
   ========================================================================== */

:root {
  --gx-navy: #182c3c;
  --gx-navy-deep: #132331;
  --gx-orange: #f4743c;          /* fills, icons, rules */
  --gx-orange-btn: #e9662d;      /* button fill; button text is bold 19px, so 3:1 is AA (large text) */
  --gx-orange-text: #a8430f;     /* orange that carries small text: 5.6:1 on white */
  --gx-peach: #f5dfd5;
  --gx-peach-soft: #f5e9e3;
  --gx-peach-blob: #f7ece6;
  --gx-grey: #f7f7f7;

  /* the site's own tokens, re-pointed (a11y.css still overrides --ink/--muted/--border) */
  --ink: #182c3c;
  --muted: #4d5b67;
  --border: #e6e1dd;
  --bg-alt: #f7f7f7;
  --navy-950: #132331;
  --navy-900: #182c3c;
  --navy-800: #1f3547;
  --orange-500: #f4743c;
  --orange-600: #a8430f;
  --radius-lg: 30px;
  --radius-md: 22px;
  --max-width: 1240px;
}

/* ---------- buttons: 5px corners, bold 19px ---------- */
.btn { border-radius: 5px; font-weight: 700; font-size: 1.1875rem; line-height: 1; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-large { padding: 15px 30px; font-size: 1.1875rem; }
.btn-small { padding: 12px 22px; font-size: 1.1875rem; }
.btn-primary, .hero .btn-primary { background: var(--gx-orange-btn); color: #fff; box-shadow: none; }
.btn-primary:hover, .hero .btn-primary:hover { background: var(--gx-navy); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(24,44,60,.15); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--gx-orange); }
.btn-ghost:hover { background: var(--gx-orange); color: #fff; border-color: var(--gx-orange); }

/* ---------- strips above the header ---------- */
.esim-bar { background: var(--gx-peach-soft); color: var(--ink); }
.esim-bar:hover { background: var(--gx-peach); }
.esim-bar-cta, .esim-bar:hover .esim-bar-cta { color: var(--gx-orange-text); }
.lang-banner { background: var(--gx-navy); }

/* ---------- header: white, navy menu, orange underline ---------- */
.site-header, .site-header.scrolled, .site-header--solid {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(24,44,60,.06);
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(24,44,60,.09); }
.header-inner { height: auto; min-height: 5.5rem; }
.brand-logo { height: auto; width: 190px; max-width: 46vw; }
.nav-link { color: var(--ink); font-size: 1.0625rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 3px; background: var(--gx-orange); transform: scaleX(0); transition: transform .2s; }
.nav-link:hover { color: var(--gx-orange-text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-toggle span { background: var(--ink); height: 2.5px; }
.lang-toggle { color: var(--ink); border: 1.5px solid var(--border); }
.lang-toggle:hover { background: #fff; border-color: var(--gx-orange); color: var(--gx-orange-text); }
.site-header.nav-open .nav { background: #fff; top: 100%; box-shadow: 0 12px 24px rgba(24,44,60,.12); border-top: 3px solid var(--gx-orange); }
.site-header.nav-open .nav-link { border-bottom: 1px solid var(--border); }
.site-header.nav-open .nav-link::after { display: none; }

/* ---------- hero: white, network lines, peach blob behind the phones ---------- */
.hero { background: #fff; color: var(--ink); padding: 3.75rem 0 4.5rem; }
.hero-bg { background: url(/assets/brand/gx-lines.webp) center/cover no-repeat; opacity: .35; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 3.375rem); }
.hero-subtitle { color: var(--ink); font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.75; }
.hero-note { color: var(--muted); }
.eyebrow, .hero .eyebrow { background: none; color: var(--gx-orange-text); padding: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; border-radius: 0; }
.hero-visual::before { content: ""; position: absolute; width: min(400px, 80vw); aspect-ratio: 400 / 430; background: var(--gx-peach-blob); border-radius: 200px 70px 200px 200px; }
.phone-frame { background: var(--gx-navy); border: 0; box-shadow: 0 25px 45px rgba(24,44,60,.22); }
.phone-frame img { background: #fff; }
.hero-visual .phone-frame--back { filter: none; }

/* ---------- sections ---------- */
.section { padding: 5.5rem 0; }
.problem, .audiences, .contact { background: #fff; }
.features { background: var(--gx-peach); }
.how { background: var(--gx-grey) url(/assets/brand/gx-lines.webp) center/cover no-repeat; }
.section-head { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); color: var(--ink); }
.section-head p { font-size: 1.1875rem; color: var(--muted); }
.stats { background: var(--gx-peach-soft) url(/assets/brand/gx-band.webp) center/cover no-repeat; }
.stat-value { color: var(--ink); }
.stat-label { color: var(--gx-orange-text); }

/* problem + features: white cards with the peach blob */
.card { background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: none; }
.features .card { border-color: transparent; }
.card:hover { box-shadow: 0 16px 34px rgba(24,44,60,.08); }
.card-dot { width: 64px; height: 68px; border-radius: 32px 12px 32px 32px; background: var(--gx-peach-blob); display: grid; place-items: center; margin-bottom: 1rem; }
.card-dot::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--gx-orange); box-shadow: 0 0 0 7px rgba(244,116,60,.18); }
.card-title { color: var(--ink); font-size: 1.25rem; }
.card-desc { color: var(--muted); font-size: 1rem; }

/* audiences: the main site's service tiles, the number inside the blob */
.audiences .card { background: transparent; border: 0; text-align: center; box-shadow: none; }
.audiences .card:hover { box-shadow: none; }
.card-badge { width: 121px; height: 131px; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--gx-peach-blob); border-radius: 60px 22px 60px 60px; font-size: 2.5rem; font-weight: 800; color: var(--gx-orange-text); transition: transform .2s; }
.audiences .card:hover .card-badge { transform: translateY(-4px); }

/* how it works: orange numbered circles joined by a dashed line */
.step { position: relative; display: block; text-align: center; background: none; border: 0; box-shadow: none; }
.step-num { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--gx-orange-btn); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; position: relative; z-index: 1; }
.step-title { color: var(--ink); font-size: 1.1875rem; }
.step-desc { color: var(--muted); font-size: 0.97rem; }
/* one row of four on wide screens (as on the main site), the connecting line only there */
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .step { padding-inline: 18px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 28px; inset-inline-start: 50%; width: 100%; border-top: 2px dashed #e8b9a3; }
}

/* comparison: the main site's table, a highlighted Globalex column */
.comparison-table-wrap { border-radius: 30px; border: 1px solid var(--border); background: #fff; box-shadow: none; max-width: 980px; margin-inline: auto; }
.comparison-table thead th { background: var(--gx-peach-soft); color: var(--ink); }
.comparison-th-globalex { background: var(--gx-orange-btn); color: #fff; font-size: 1.1875rem; font-weight: 700; }
.comparison-globalex { background: #fdf6f2; }
.comparison-label { color: var(--ink); }
.comparison-market { color: var(--muted); }
.comparison-check { background: var(--gx-orange); color: #fff; }
.comparison-footnote { color: var(--muted); text-align: center; }

/* screenshots */
.screenshots { background: var(--gx-grey) url(/assets/brand/gx-lines.webp) center/cover no-repeat; }
.screenshots .section-head h2 { color: var(--ink); }
.screenshots .section-head p { color: var(--muted); }

/* eSIM cross-sell: the main site's navy band with the G watermark */
.esim-cross-card { background: var(--gx-navy); border-radius: 30px; position: relative; overflow: hidden; }
.esim-cross-card::before { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 320px; height: 320px; background: url(/assets/brand/gx-g.webp) center/contain no-repeat; opacity: .07; pointer-events: none; }
.esim-cross-kicker { color: var(--gx-orange); }
.esim-cross-points li::before { background-color: var(--gx-orange); }

/* FAQ */
.faq-item { border-color: var(--border); background: none; box-shadow: none; border-radius: 0; border-width: 0 0 1px; }
.faq-item summary { color: var(--ink); font-size: 1.1875rem; }
.faq-item summary::after { color: var(--gx-orange); }
.faq-answer { color: var(--muted); }

/* contact: the orange contact card on the office background */
.contact { background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url(/assets/brand/gx-office.webp) center/cover; }
.contact-form { background: var(--gx-orange-btn); border: 0; border-radius: 60px; padding: 44px 50px 46px; box-shadow: 0 25px 40px rgba(24,44,60,.18); color: #fff; }
/* white on this orange is AA only as large text: labels and the hint are bold 19px, as on the main site's card */
.contact-form .form-row label, .contact-form .form-hint { color: #fff; font-size: 1.1875rem; font-weight: 700; }
.contact-form .form-row input, .contact-form .form-row textarea, .contact-form .form-row select { border: 1px solid #fff; border-radius: 30px; background: #fff; color: var(--gx-navy); padding-inline: 20px; }
.contact-form .form-row textarea { border-radius: 24px; }
.contact-form .form-row input:focus-visible, .contact-form .form-row textarea:focus-visible { outline: 3px solid var(--gx-navy); outline-offset: 1px; border-color: #fff; }
.contact-form .form-row input[aria-invalid="true"], .contact-form .form-row textarea[aria-invalid="true"] { border: 3px solid var(--gx-navy); }
.contact-form .field-error { color: #fff; font-weight: 700; background: var(--gx-navy); border-radius: 8px; padding: 4px 10px; display: inline-block; }
.contact-form .field-error[hidden], .contact-form .field-error:empty { display: none; }
.contact-form .btn-primary { background: var(--gx-navy); border-radius: 30px; padding-inline: 60px; }
.contact-form .btn-primary:hover { background: var(--gx-navy-deep); }
.contact-form .form-status { color: #fff; font-weight: 700; }
.contact-form .form-status--success, .contact-form .form-status--error { color: #fff; background: var(--gx-navy); border-radius: 12px; padding: 10px 14px; }

/* ---------- footer: navy with the G watermark ---------- */
.site-footer { background: var(--gx-navy) url(/assets/brand/gx-g.webp) no-repeat; background-size: 520px; background-position: left 15% top -40px; position: relative; color: #fff; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(24,44,60,.78); pointer-events: none; }
.site-footer > * { position: relative; }
.footer-tagline { color: #fff; }
.footer-links { flex-wrap: wrap; gap: 0.6rem 1.4rem; min-width: 0; }   /* the row used to push the phone page 80px sideways */
.footer-links a, .footer-link { color: #fff; }
.footer-links a:hover { color: var(--gx-orange); }
.footer-copy { color: #c3ccd4; }

/* ---------- legal pages and guides share the header and footer above ---------- */
.legal-page a, .crumbs a { color: var(--gx-orange-text); }
.crumbs a { text-decoration: underline; text-underline-offset: 0.2em; }
.legal-page .guide-card { border-radius: 22px; border-color: var(--border); }
.legal-page .guide-card:hover { border-color: var(--gx-orange); }

/* ---------- live editor: keep its marks visible on the orange card ---------- */
.edit-mode .contact-form [data-edit-path]:hover { outline-color: rgba(255,255,255,.85); }
.edit-mode .contact-form [data-edit-path]:focus { outline-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- phone ---------- */
@media (max-width: 899px) {
  .header-inner { min-height: 4.5rem; }
  .brand-logo { width: 150px; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .contact-form { border-radius: 36px; padding: 32px 22px; }
  .card-badge { width: 100px; height: 108px; font-size: 2.125rem; }
  .comparison-th-globalex { font-size: 1rem; }
}
