/* RTMI site stylesheet. One file for every page, Hebrew (RTL) and English (LTR).
   Layout uses logical properties (inline-start/end), so the same rules serve both directions.
   The look follows the old Webflow site: white and light grey, near-black text and sections,
   the RTMI yellow-orange for buttons and accents, Heebo throughout, the lion mascot. */

/* ---------- fonts: Heebo (OFL), variable 400-900, self-hosted ---------- */
@font-face{
  font-family: 'Heebo'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face{
  font-family: 'Heebo'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root{
  color-scheme: light;
  --yellow: #f29e1e;          /* RTMI accent (Webflow --_rtmi---yellow) */
  --yellow-dark: #d9860a;
  --yellow-soft: #fdf1de;
  --dark: #0a0a0a;            /* near-black text and dark sections (Webflow --_rtmi---dark) */
  --ink: #282828;             /* button text, secondary headings */
  --text: #0a0a0a;
  --body: #333;
  --muted: #5c5c5c;
  --bg: #fff;
  --bg-2: #f5f5f5;            /* hero */
  --card: #f3f3f3;            /* testimonial cards */
  --card-2: #e8e8e8;          /* news and community cards */
  --line: #d6d6d6;
  --line-strong: #0a0a0a;
  --font: 'Heebo', Arial, sans-serif;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .25);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1280px;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
body{
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:lang(he){ font-kerning: none; }
img, video, svg{ display: block; max-width: 100%; }
img{ height: auto; }
a{ color: inherit; }
h1, h2, h3, h4, h5{ margin: 0; font-family: var(--font); color: var(--text); }
h1{ font-size: clamp(2.2rem, 4.2vw, 3.15rem); font-weight: 900; line-height: 1.12; }
h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.3; }
h3{ font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.2; }
h4{ font-size: 1.26rem; font-weight: 700; line-height: 1.25; }
.h3{ font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
p{ margin: 0; }
ul{ margin: 0; padding: 0; }
button{ font: inherit; }
.container{ width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }
.narrow{ max-width: 1030px; }
.running-text{ color: var(--text); font-size: 1.05rem; line-height: 1.6; }
.visually-hidden{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link{
  position: fixed; top: -60px; inset-inline-start: 12px; z-index: 100; padding: 10px 16px;
  background: var(--dark); color: #fff; font-weight: 700; text-decoration: none; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--font); font-size: 1.05rem; font-weight: 900; line-height: 1; letter-spacing: .15px;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-yellow{ background: var(--yellow); color: var(--ink); }
.btn-yellow:hover{ background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(242, 158, 30, .8); }
.btn-dark{ background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; }
.btn-dark:hover{ background: #000; transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled{ box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .3); }
.header-inner{ display: flex; align-items: center; gap: 28px; min-height: var(--header-h); max-width: 1180px; }
.logo{ display: flex; align-items: center; flex: none; width: 140px; height: 48px; color: var(--dark); }
.logo img, .logo svg{ width: 100%; height: 100%; object-fit: contain; }
.logo .logo-anim{ display: none; width: 100%; height: 100%; }
.logo.is-animated img{ display: none; }
.logo.is-animated .logo-anim{ display: block; }
.main-nav{ flex: 1; }
.main-nav ul{ list-style: none; display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.main-nav a{
  position: relative; display: inline-block; padding: 8px 0; color: #000; text-decoration: none;
  font-size: .95rem; font-weight: 600; line-height: 1;
}
.main-nav a::after{
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform: scaleX(1); }
.header-actions{ display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch{
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 40px; padding: 0 10px;
  border: 1px solid var(--line); color: var(--dark); font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lang-switch:hover{ border-color: var(--dark); background: var(--bg-2); }
.header-actions .btn{ padding: 12px 20px; }
.nav-toggle{
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--dark); cursor: pointer;
}
.nav-toggle svg{ width: 28px; height: 28px; }
.nav-toggle .i-close{ display: none; }
body.nav-open .nav-toggle .i-open{ display: none; }
body.nav-open .nav-toggle .i-close{ display: block; }

/* mobile menu: a sibling after </header>, full screen under the header */
.mobile-nav{
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; gap: 24px;
  padding: 24px 24px 40px; background: #fff; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-nav.is-open{ visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav ul{ list-style: none; }
.mobile-nav li + li{ border-top: 1px solid var(--line); }
.mobile-nav ul a{ display: block; padding: 14px 0; color: var(--dark); text-decoration: none; font-size: 1.5rem; font-weight: 700; }
.mobile-nav ul a[aria-current="page"]{ color: var(--yellow-dark); }
.mobile-nav .btn{ align-self: stretch; padding-block: 16px; font-size: 1.2rem; }
.mobile-nav .lang-link{ align-self: flex-start; font-weight: 700; color: var(--dark); }
body.nav-open{ overflow: hidden; }

/* ---------- home hero ---------- */
.hero{ position: relative; background: var(--bg-2); overflow: hidden; isolation: isolate; }
.hero-inner{ position: relative; display: grid; grid-template-columns: repeat(7, 1fr); min-height: 580px; padding-top: 60px; }
.hero h1{ grid-column: 1 / span 3; z-index: 2; align-self: start; font-size: clamp(2.4rem, 3.6vw, 3.15rem); line-height: 1.1; }
.hero-media{
  position: absolute; z-index: 0; inset-inline-end: 0; bottom: 0; width: min(900px, 64%); height: 100%;
  pointer-events: none;   /* the video's own background is #f5f5f5, the same as .hero */
}
.hero-media video, .hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.license-badge{
  position: absolute; z-index: 3; inset-inline-end: 5%; bottom: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 170px; height: 170px; padding: 20px 26px; border: 8px solid #fff; border-radius: 50%;
  background: #000; color: #fff; text-align: center; text-decoration: none;
  transition: transform .3s var(--ease);
}
a.license-badge:hover{ transform: scale(1.05) rotate(-3deg); }
.license-badge strong{ font-size: .98rem; line-height: 1.35; font-weight: 700; }
.license-badge span{ font-size: .7rem; line-height: 1.3; }

/* ---------- home overview ---------- */
.overview{ display: flex; justify-content: center; padding: 72px 0; min-height: 55vh; align-items: center; }
.overview-box{ display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 680px; text-align: center; }
.overview-box h2{ color: var(--body); font-size: clamp(1.7rem, 2.6vw, 2.28rem); }
.overview-box .license-line{ font-weight: 700; }
.duns-link{ display: block; width: min(300px, 80%); margin-top: 10px; transition: transform .3s var(--ease); }
.duns-link:hover{ transform: translateY(-3px); }

/* ---------- home services (Lottie icons) ---------- */
.services-home{ display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 80px 0 110px; }
.services-home h2{ font-size: clamp(2rem, 3.2vw, 2.65rem); }
.icon-grid{ list-style: none; display: grid; grid-template-columns: repeat(3, 180px); gap: 40px clamp(40px, 8vw, 120px); }
.icon-tile{ display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--ink); text-decoration: none; }
.icon-tile .lottie{ width: 180px; height: 180px; transition: transform .35s var(--ease); }
.icon-tile h3{ font-size: 1.26rem; color: var(--ink); }
a.icon-tile:hover .lottie{ transform: translateY(-6px) scale(1.04); }
a.icon-tile:hover h3{ text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lottie{ position: relative; }
.lottie svg{ width: 100% !important; height: 100% !important; }

/* ---------- inner pages: page title ---------- */
.page{ padding-top: 40px; }
.page-title{ padding-block: 8px 24px; }
.page-title h1{ font-weight: 900; }

/* ---------- services page ---------- */
.service-row{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start;
  padding: 40px 0;
}
.service-row + .service-row{ border-top: 0; }
.service-body{ grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 40px; }
.service-media{ grid-column: span 2; align-self: center; }
.service-media img{ width: 100%; max-width: 560px; margin-inline: auto; transform: translateY(30px); }
.service-row.is-flipped .service-body{ order: 2; }
.service-row.is-flipped .service-media{ order: 1; }
.service-body h2 .sub{ display: block; }
.service-points{ list-style: none; width: 100%; margin-top: -10px; }
.service-points li{ padding-block: 10px; border-top: 1px solid #000; }

/* ---------- about page ---------- */
.owners{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1030px; margin-inline: auto; padding: 30px 0 90px; }
.person{ display: flex; flex-direction: column; align-items: center; gap: 20px; }
.person img{ width: 220px; height: 220px; object-fit: cover; }
.person-text{ display: flex; flex-direction: column; gap: 14px; }
.person-text h3{ text-align: center; }
.values{ display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 20px 0 100px; }
.values-head{ display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; text-align: center; }
.values-grid{ list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5%; max-width: 900px; }
.value{ display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; color: var(--ink); }
.value .lottie{ width: 100px; height: 100px; }
.value h3{ font-size: 1.26rem; color: var(--ink); }
.value p{ color: var(--ink); font-size: 1rem; }

.dark-band{ background: var(--dark); color: #fff; }
.dark-band h2, .dark-band h3, .dark-band h4{ color: #fff; }
.why{ padding: 40px 0; }
.why-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; max-width: 1024px; margin-inline: auto; }
.why-grid img{ width: 100%; max-width: 420px; margin-inline: auto; }
.why-text{ display: flex; flex-direction: column; gap: 16px; }
.why-text h2{ font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 900; line-height: 1.2; }
.why-text p{ color: #fff; }
.why-text .why-badge{ padding-top: 8px; color: var(--yellow); font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.why-points{ padding: 40px 0; }
.why-points-grid{ display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: center; max-width: 1024px; margin-inline: auto; min-height: 520px; }
.why-points-grid > img{ width: 100%; max-width: 300px; margin-inline: auto; }
.why-answers{ list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.why-answer{ display: flex; flex-direction: column; gap: 14px; align-items: center; max-width: 280px; margin-inline: auto; text-align: center; }
.why-answer h3{ font-size: 1.3rem; color: #fff; }
.why-answer p{ color: #bdbdbd; }
.statement{ display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 40px 0; text-align: center; }
.statement p{ max-width: 760px; color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.35; }
.story{ display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px 0 70px; }
.story-text{ display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 680px; text-align: center; }
.story-text p{ color: #e6e6e6; }
.story-text strong{ color: #fff; }

/* client logos: infinite strip; the second copy is aria-hidden */
.marquee{
  width: min(1100px, 100%); overflow: hidden; border-radius: var(--r); background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{ display: flex; width: max-content; animation: marquee 140s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.logo-list{ list-style: none; display: flex; align-items: center; gap: 36px; padding: 12px 18px; }
.logo-list img{ height: 56px; width: auto; max-width: 130px; object-fit: contain; }
@keyframes marquee{ to{ transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track{ animation-name: marquee-rtl; }
@keyframes marquee-rtl{ to{ transform: translateX(50%); } }

/* ---------- testimonials ---------- */
.testimonials{ display: flex; flex-direction: column; gap: 40px; max-width: 1030px; margin-inline: auto; padding-bottom: 100px; }
.testimonial{
  display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center;
  padding: 20px; border-radius: var(--r); background: var(--card); margin: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.testimonial:nth-child(even){ margin-inline-start: 8%; }
.testimonial:nth-child(odd){ margin-inline-end: 8%; }
.testimonial img{ width: min(160px, 100%); margin-inline: auto; }
.testimonial blockquote{ margin: 0; }
.testimonial figcaption{ margin-top: 14px; font-weight: 700; color: var(--text); }

/* ---------- news / community ---------- */
.split-page{ display: grid; grid-template-columns: 1fr 2fr; gap: 40px; max-width: 1180px; margin-inline: auto; padding-bottom: 100px; }
.split-page .page-title{ display: flex; flex-direction: column; gap: 20px; }
.split-page .side-img{ width: 100%; max-width: 320px; }
.card-list{ list-style: none; display: flex; flex-direction: column; gap: 24px; }
.news-card{
  display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center;
  padding: 20px; border-radius: var(--r); background: var(--card-2);
}
.news-card img{ width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.news-card h2{ font-size: 1.3rem; line-height: 1.4; margin-bottom: 6px; }
.news-card .running-text{ font-size: 1rem; }
.community-card{ display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: var(--r); background: var(--card-2); }
.community-card h2{ font-size: 1.3rem; line-height: 1.4; margin-bottom: 6px; }
.community-card .running-text{ font-size: 1rem; }
.community-card .running-text a{ font-weight: 700; }
.photo-grid{ list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.photo-grid img{ width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 0; }
.side-img-mobile{ display: none; }

/* ---------- FAQ (native details) ---------- */
.faq{ max-width: 1030px; margin-inline: auto; }
.faq-list{ border-top: 1px solid #000; margin-top: 16px; }
.faq-item{ border-bottom: 1px solid #000; }
.faq-item summary{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.4; color: var(--text);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: ""; flex: none; width: 14px; height: 14px; margin-inline-end: 4px;
  border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow);   /* physical sides: a down chevron in both directions */
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after{ transform: translateY(3px) rotate(-135deg); }
.faq-item summary:hover{ color: #000; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 6px; }
.faq-answer{ padding-bottom: 20px; }
.faq-answer ul{ list-style: none; display: flex; flex-direction: column; gap: 4px; }
.faq-answer p + ul, .faq-answer ul + p{ margin-top: 10px; }
.faq-lion{ display: flex; justify-content: center; padding-top: 30px; }
.faq-lion img{ width: min(360px, 70%); }

/* ---------- contact ---------- */
.contact{ position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1180px; margin-inline: auto; min-height: calc(100vh - var(--header-h) - 40px); }
.contact-body{ display: flex; flex-direction: column; gap: 20px; padding-block: 40px 80px; }
.contact-body h1{ font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.3; }
.contact-media{ position: relative; align-self: end; }
.contact-media img{ width: 100%; max-width: 520px; margin-inline: auto; }
.form{ display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.field{ display: flex; flex-direction: column; gap: 4px; }
.form input:not([type="checkbox"]), .form select{
  width: 100%; height: 44px; padding: 8px 2px; border: 0; border-bottom: 2px solid #000; border-radius: 0;
  background: transparent; color: var(--ink); font-family: var(--font); font-size: 1.05rem; font-weight: 700;
}
.form input::placeholder{ color: #8a8a8a; font-weight: 400; }
.form input:focus, .form select:focus{ outline: 0; border-bottom-color: var(--yellow); box-shadow: 0 2px 0 0 var(--yellow); }
.form select{
  margin-top: 6px; padding-inline: 12px; border: 2px solid var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23282828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat;
  background-position: left 12px center;
}
html[dir="ltr"] .form select{ background-position: right 12px center; }
.form select:focus{ border-color: var(--yellow); box-shadow: none; }
.form .btn{ align-self: flex-start; margin-top: 10px; padding: 12px 28px; }
.form-success{ display: flex; flex-direction: column; gap: 10px; max-width: 520px; padding: 24px; background: var(--yellow-soft); border-inline-start: 6px solid var(--yellow); }
.form-success h2{ font-size: 1.5rem; }
.form-success[hidden]{ display: none; }
.contact-details{ list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-weight: 600; }
.contact-details a{ text-decoration: none; }
.contact-details a:hover{ text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer{ background: var(--dark); color: var(--yellow); padding: 48px 0 32px; }
.footer-inner{ display: flex; flex-direction: column; gap: 32px; max-width: 1600px; }
.footer-top{ display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{ display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--yellow); transition: transform .2s var(--ease), color .2s var(--ease); }
.footer-social a:hover{ transform: translateY(-2px); color: #fff; }
.footer-social svg{ width: 22px; height: 22px; }
.footer-vision{ max-width: 900px; color: var(--yellow); font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
.footer-disclaimer{ color: var(--yellow); font-size: .875rem; line-height: 1.5; }
.footer-bottom{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; font-size: .875rem; font-weight: 700; }
.footer-contact{ display: flex; flex-wrap: wrap; gap: 4px 10px; font-style: normal; }
.footer-contact a{ color: var(--yellow); text-decoration: none; }
.footer-contact a:hover{ text-decoration: underline; }
.footer-contact .sep{ opacity: .6; }
.footer-links{ display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.footer-links a{ color: var(--yellow); text-decoration: none; }
.footer-links a:hover{ text-decoration: underline; }
.footer-bottom .copyright{ color: #bdbdbd; font-weight: 400; }

/* ---------- legal pages (privacy policy) ---------- */
.legal{ max-width: 900px; padding-bottom: 100px; }
.eyebrow{ margin-bottom: 8px; color: var(--yellow-dark); font-size: .9rem; font-weight: 700; letter-spacing: .03em; }
.lede{ margin-top: 10px; color: var(--muted); }
.prose h2{ margin: 34px 0 10px; font-size: 1.45rem; }
.prose p{ margin-bottom: 12px; }
.prose a{ color: inherit; font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .fine{ margin-top: 36px; color: var(--muted); font-size: .9rem; }

/* ---------- 404 ---------- */
.not-found{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1030px; margin-inline: auto; padding: 60px 0 100px; }
.not-found-text{ display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.not-found-text .code{ font-size: 5rem; font-weight: 900; line-height: 1; color: var(--yellow); }
.not-found img{ width: min(360px, 100%); margin-inline: auto; }

/* ---------- scroll reveal ---------- */
html.js [data-reveal]{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
html.js [data-reveal].is-visible{ opacity: 1; transform: none; }

/* ---------- scroll progress ---------- */
.scroll-progress{
  position: fixed; top: 0; inset-inline: 0; z-index: 60; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: right center; pointer-events: none;
}
html[dir="ltr"] .scroll-progress{ transform-origin: left center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px){
  .main-nav, .header-actions .btn-cta{ display: none; }
  .nav-toggle{ display: inline-flex; }
  .header-inner{ justify-content: space-between; }
  .header-actions{ margin-inline-start: auto; }
}
@media (max-width: 991px){
  .container{ padding-inline: 24px; }
  .hero-inner{ display: flex; flex-direction: column; min-height: 0; padding-top: 40px; }
  .hero h1{ font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero-media{ position: relative; inset: auto; width: calc(100% + 48px); max-width: 640px; height: auto; aspect-ratio: 900 / 580; margin: 24px -24px 0; align-self: center; }
  .license-badge{ inset-inline-end: 16px; bottom: 24px; }   /* over the lion's body, clear of the waving hand */
  .service-row{ grid-template-columns: 1fr; padding: 20px 0; }
  .service-body, .service-media{ grid-column: auto; }
  .service-row.is-flipped .service-body{ order: 1; }
  .service-row.is-flipped .service-media{ order: 2; }
  .service-media img{ max-width: 420px; transform: none; }
  .service-body{ padding-block: 20px 0; }
  .why-grid, .why-points-grid{ grid-template-columns: 1fr; }
  .why-grid img{ max-width: 320px; }
  .why-points-grid > img{ max-width: 200px; }
  .values-grid{ grid-template-columns: 1fr 1fr; gap: 40px; }
  .split-page{ grid-template-columns: 1fr; gap: 24px; }
  .split-page .side-img{ display: none; }
  .side-img-mobile{ display: block; width: min(300px, 80%); margin: 0 auto; }
  .contact{ grid-template-columns: 1fr; min-height: 0; }
  .contact-media img{ max-width: 340px; }
  .not-found{ grid-template-columns: 1fr; }
}
@media (max-width: 767px){
  .container{ padding-inline: 16px; }
  .hero-media{ width: calc(100% + 32px); margin-inline: -16px; }
  .license-badge{ width: 150px; height: 150px; padding: 16px 20px; }
  .icon-grid{ grid-template-columns: repeat(2, minmax(0, 150px)); gap: 28px 40px; }
  .icon-tile .lottie{ width: 150px; height: 150px; }
  .owners{ grid-template-columns: 1fr; gap: 48px; padding-bottom: 60px; }
  .values-grid{ grid-template-columns: 1fr; max-width: 320px; }
  .why-answers{ grid-template-columns: 1fr; gap: 32px; }
  .testimonial{ grid-template-columns: 1fr; }
  .testimonial:nth-child(n){ margin-inline: 0; }
  .testimonial img{ width: 120px; }
  .news-card{ grid-template-columns: 1fr; }
  .news-card img{ aspect-ratio: 16 / 9; }
  .footer-top{ flex-wrap: wrap; }
  .footer-vision{ font-size: 1.2rem; }
  .btn{ white-space: normal; }
}

/* ---------- reduced motion: stop large ambient movement only ---------- */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track .logo-list[aria-hidden="true"]{ display: none; }
  .marquee .logo-list{ flex-wrap: wrap; justify-content: center; }
  .marquee{ -webkit-mask-image: none; mask-image: none; }
  html.js [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ---------- accessibility menu (built by main.js) ---------- */
.a11y-toggle{
  position: fixed; left: 16px; bottom: 16px; z-index: 70;   /* bottom-left corner in both languages */
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid #fff; background: var(--dark); color: var(--yellow); cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.a11y-toggle:hover{ transform: scale(1.06); background: #000; }
.a11y-toggle:focus-visible, .a11y-panel :focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }
.a11y-panel{
  position: fixed; left: 16px; bottom: 76px; z-index: 70;
  width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto;
  padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg); color: var(--text); font-size: 15px;
}
.a11y-panel[hidden]{ display: none; }
.a11y-panel button{ font: inherit; color: inherit; cursor: pointer; }
.a11y-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 17px; }
.a11y-close{ width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font-size: 22px !important; line-height: 1; }
.a11y-size{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-weight: 600; }
.a11y-size div{ display: flex; gap: 6px; }
.a11y-step{ min-width: 52px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--bg-2); font-weight: 700 !important; direction: ltr; }
.a11y-step:disabled{ opacity: .4; cursor: default; }
.a11y-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a11y-opt{ min-height: 48px; padding: 8px; border-radius: var(--r); border: 1px solid var(--line-strong); background: #fff; font-weight: 600 !important; line-height: 1.3; }
.a11y-opt:hover, .a11y-step:not(:disabled):hover{ border-color: var(--yellow-dark); }
.a11y-opt[aria-pressed="true"]{ background: var(--dark); border-color: var(--dark); color: var(--yellow) !important; }
.a11y-reset{ width: 100%; margin-top: 12px; min-height: 42px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg-2); font-weight: 600 !important; }
.a11y-link{ display: block; margin-top: 10px; text-align: center; font-weight: 600; text-decoration: underline; }

/* the settings themselves, as classes on <html> */
html.a11y-size-1 body{ zoom: 1.1; }
html.a11y-size-2 body{ zoom: 1.2; }
html.a11y-size-3 body{ zoom: 1.3; }
html.a11y-contrast{ --text: #000; --body: #000; --muted: #1f1f1f; --line: #6b6b6b; --ink: #000; --yellow: #ffb238; }
html.a11y-contrast .site-footer, html.a11y-contrast .dark-band{ background: #000; }
html.a11y-contrast .form input::placeholder{ color: #333; }
html.a11y-gray{ filter: grayscale(1); }
html.a11y-links a:not(.btn):not(.a11y-link){ text-decoration: underline !important; text-underline-offset: 3px; background-color: #fff3a8; color: #000 !important; }
html.a11y-links a.btn{ outline: 3px solid #000; outline-offset: 2px; }
html.a11y-font{ --font: Arial, 'Segoe UI', sans-serif; letter-spacing: .01em; word-spacing: .06em; }
html.a11y-motion, html.a11y-motion *{ scroll-behavior: auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after{ animation: none !important; transition: none !important; }
html.a11y-motion .marquee-track{ flex-wrap: wrap; width: auto; }
html.a11y-motion .marquee-track .logo-list[aria-hidden="true"]{ display: none; }
html.a11y-motion .marquee .logo-list{ flex-wrap: wrap; justify-content: center; }
html.a11y-cursor, html.a11y-cursor *{ cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1-4 7z' fill='%23000' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important; }
@media (max-width: 640px){
  .a11y-toggle{ left: 10px; bottom: 12px; width: 44px; height: 44px; }
  .a11y-panel{ left: 10px; right: 10px; bottom: 66px; width: auto; max-height: 75vh; }
}

/* ---------- live forms: error message and honeypot ---------- */
.form-error{ margin-top: 12px; padding: 10px 14px; border: 1px solid #f1b4b4; background: #fdf1f1; color: #8a1c1c; font-size: 15px; font-weight: 600; }
.hp-field{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cf-turnstile{ margin-top: 6px; }
.field-error{ margin-top: 2px; font-size: 14px; font-weight: 600; color: #b42318; }
.field-error[hidden]{ display: none; }
.form [aria-invalid="true"]:not([type="checkbox"]){ border-color: #d92d20 !important; }

/* ---------- site search (built by main.js) ---------- */
.search-toggle{
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 40px; flex: none;
  border: 1px solid var(--line); background: #fff; color: var(--dark); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.search-toggle:hover{ border-color: var(--dark); background: var(--bg-2); }
.search-toggle-label{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.search-overlay{ position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; background: rgba(10, 10, 10, .55); }
.search-overlay[hidden]{ display: none; }
body.search-open{ overflow: hidden; }
.search-panel{ width: min(640px, 100%); max-height: 80vh; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-bar{ display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-input{ flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 18px; color: var(--text); }
.search-input::-webkit-search-cancel-button{ display: none; }
.search-close{ padding: 4px 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-2); font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.search-results{ list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results a{ display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: var(--r); color: var(--text); text-decoration: none; }
.search-results a:hover, .search-results [aria-selected="true"] a{ background: var(--yellow-soft); }
.search-results strong{ font-weight: 700; }
.sr-section{ font-size: 14px; font-weight: 600; color: var(--yellow-dark); }
.sr-snippet{ font-size: 14px; line-height: 1.5; color: var(--body); }
.sr-lang{ display: inline-block; margin-inline-start: 6px; padding: 1px 6px; border-radius: 999px; background: var(--bg-2); font-size: 11px; color: var(--muted); }
.search-results mark{ background: #ffe1a8; color: inherit; border-radius: 2px; padding: 0 1px; }
.search-group{ padding: 6px 12px 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.search-empty{ padding: 18px 12px; color: var(--muted); }
@media (max-width: 640px){
  .search-overlay{ padding: 8px; }
  .search-panel{ max-height: calc(100vh - 16px); }
}

/* ---------- print ---------- */
@media print{
  .site-header, .mobile-nav, .scroll-progress, .skip-link, .a11y, .search-overlay, .hero-media, .marquee{ display: none !important; }
  .dark-band, .site-footer{ background: #fff !important; color: #000 !important; }
  .dark-band *, .site-footer *{ color: #000 !important; }
}
