/* Rehla public website - brand tokens mirror mobile_flutter/Rehla/lib/core/theme/app_colors.dart */
@font-face { font-family: "Alexandria"; src: url(fonts/Alexandria-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url(fonts/Alexandria-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url(fonts/Alexandria-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url(fonts/Alexandria-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #102D39;
  --teal: #0B4D52;
  --route: #0E8A87;
  --aqua: #41D2C8;
  --orange: #FF6B1A;
  --orange-d: #E8590C;
  --sand: #F7F1E8;
  --paper: #FFFDF9;
  --mist: #DDE9E7;
  --muted: #5F7174;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(16, 45, 57, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Alexandria", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; border: 0; cursor: pointer;
  padding: .8em 1.6em; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 107, 26, .7); }
.btn--primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); }
.btn--sm { padding: .5em 1.15em; font-size: .9rem; }
.btn--lg { padding: .95em 2em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.eyebrow { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--orange); letter-spacing: .02em; margin-bottom: .8em; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; border-radius: 3px; background: currentColor; vertical-align: middle; margin-inline-end: .6em; }
.eyebrow--light { color: var(--aqua); }
.h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.7rem); font-weight: 800; margin-bottom: .55em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.accent { color: var(--orange); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.nav__links { display: flex; gap: 22px; margin-inline-start: auto; font-weight: 500; font-size: .95rem; }
.nav__links a { color: #fff; opacity: .9; position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang { font: inherit; font-weight: 700; font-size: .85rem; background: none; border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; border-radius: 999px; padding: .35em .9em; cursor: pointer; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

.nav.is-solid { background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(16, 45, 57, .3); }
.nav.is-solid .nav__brand img { filter: none; }
.nav.is-solid .nav__links a, .nav.is-solid .lang { color: var(--ink); border-color: var(--mist); }
.nav.is-solid .burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -4%;
  background: linear-gradient(to top, rgba(16, 45, 57, .92) 0%, rgba(16, 45, 57, .35) 45%, rgba(16, 45, 57, .55) 100%), url(img/hero.jpg) center 60% / cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateY(-1%); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 120px 90px; }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.2rem); font-weight: 800; margin-bottom: .45em; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); max-width: 640px; opacity: .92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero__chips li { font-size: .88rem; padding: .45em 1em; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.hero__chips li::before { content: "✓"; color: var(--aqua); font-weight: 800; margin-inline-end: .45em; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* hero entrance (staggered via --d) */
.anim { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out 1.5s infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* phone mockup */
.hero__device { position: relative; justify-self: center; }
.phone { width: 270px; aspect-ratio: 9 / 19; background: #0b1c24; border-radius: 42px; padding: 11px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .12); position: relative; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 82px; height: 22px; background: #0b1c24; border-radius: 20px; z-index: 2; }
.phone__screen { height: 100%; border-radius: 32px; background: var(--paper); color: var(--ink); overflow: hidden; padding: 46px 14px 0; display: flex; flex-direction: column; gap: 11px; position: relative; }
.app__top { display: grid; gap: 4px; }
.app__hello { font-size: .68rem; color: var(--muted); }
.app__title { font-size: .95rem; font-weight: 800; line-height: 1.35; }
.app__search { margin-top: 6px; font-size: .66rem; color: var(--muted); background: var(--sand); border-radius: 12px; padding: 9px 12px; }
.app__cats { display: flex; gap: 6px; }
.app__cats span { font-size: .6rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--sand); white-space: nowrap; }
.app__cats .is-on { background: var(--orange); color: #fff; }
.app__card { position: relative; height: 150px; border-radius: 18px; background: linear-gradient(to top, rgba(16, 45, 57, .85), transparent 60%), var(--img) center / cover; color: #fff; display: flex; align-items: flex-end; justify-content: space-between; padding: 10px 12px; gap: 6px; }
.app__card--sm { height: 92px; }
.app__card b { display: block; font-size: .74rem; line-height: 1.3; }
.app__card small { font-size: .6rem; opacity: .85; }
.app__price { font-size: .66rem; font-weight: 800; background: var(--orange); border-radius: 8px; padding: 3px 7px; white-space: nowrap; }
.app__fav { position: absolute; top: 9px; inset-inline-start: 10px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #E5484D; font-size: .75rem; }
.app__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 6px 16px; border-top: 1px solid var(--mist); }
.app__nav i { width: 18px; height: 18px; border-radius: 6px; background: var(--mist); }
.app__nav i.is-on { background: var(--orange); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 253, 249, .96); color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); font-size: .8rem; min-width: 190px; }
.float b { display: block; font-size: .82rem; }
.float small { color: var(--muted); font-size: .7rem; }
.float--ticket { inset-inline-end: -150px; top: 20%; animation: bob 6s ease-in-out .8s infinite; }
.float--live { inset-inline-end: -120px; bottom: 12%; animation: bob 6.5s ease-in-out 1.6s infinite; }
.qr { width: 34px; height: 34px; flex: none; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: #2E7D61; flex: none; box-shadow: 0 0 0 0 rgba(46, 125, 97, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(46, 125, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 97, 0); } }

/* trust strip */
.trust { position: relative; z-index: 2; margin-top: -54px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: 22px; box-shadow: 0 24px 60px -28px rgba(16, 45, 57, .45); border: 1px solid var(--mist); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.trust__item + .trust__item { border-inline-start: 1px solid var(--mist); }
.trust__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 1.3rem; border-radius: 14px; background: var(--sand); }
.trust b { display: block; font-size: .98rem; }
.trust small { color: var(--muted); font-size: .84rem; line-height: 1.5; display: block; }

/* numbers */
.numbers { padding-block: 10px 70px; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.num { padding: 26px 12px; border-radius: 20px; background: linear-gradient(160deg, var(--sand), var(--paper)); border: 1px solid var(--mist); }
.num b { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; color: var(--orange); line-height: 1.1; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: .92rem; }

/* route line drawing */
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 2.2s var(--ease); }
.is-in .draw, .draw.is-in { stroke-dashoffset: 0; }
.steps-wrap { position: relative; }
.steps__route { position: absolute; top: 30px; inset-inline: 6%; width: 88%; height: 60px; pointer-events: none; }
.steps__route .draw { stroke-dasharray: 8 10; stroke-dashoffset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease); }
.steps__route.is-in .draw { clip-path: inset(0 0 0 0); }

/* skip link, progress, back to top, active nav */
.skip { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 100; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.nav__progress { position: absolute; inset: auto 0 0; height: 3px; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--route), var(--orange)); }
html[dir="ltr"] .nav__progress { transform-origin: left; }
.nav__links a.is-active { color: var(--orange) !important; opacity: 1; }
.nav__links a.is-active::after { transform: scaleX(1); }
.totop { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--orange); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(70px, 9vw, 120px); position: relative; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .lead, .section--ink p { color: rgba(255, 255, 255, .78); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media > img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.float-card { position: absolute; inset-block-end: -26px; inset-inline-end: -10px; background: var(--paper); border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 700; }
.float-card svg { width: 56px; }
.float-card p { margin: 0; }

.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 14px; align-items: flex-start; background: var(--sand); padding: 14px 16px; border-radius: 16px; }
.values__icon { font-size: 1.5rem; line-height: 1.2; }
.values b { display: block; }
.values small { color: var(--muted); font-size: .92rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; box-shadow: 0 10px 30px -18px rgba(16, 45, 57, .35); transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step__num { position: absolute; top: 14px; inset-inline-start: 18px; font-weight: 800; color: var(--mist); font-size: 2.2rem; line-height: 1; }
.step__icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; font-size: 1.9rem; background: var(--sand); border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 0 0 3px var(--route); position: relative; }
.step h3 { font-size: 1.2rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* destinations bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; box-shadow: 0 14px 34px -18px rgba(16, 45, 57, .5); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform .8s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16, 45, 57, .9), rgba(16, 45, 57, .05) 60%); }
.card:hover::before { transform: scale(1.08); }
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card__body { padding: 20px 22px; }
.card h3 { font-size: 1.35rem; font-weight: 800; }
.card--xl h3 { font-size: 2rem; }
.card p { margin: .2em 0 0; font-size: .92rem; opacity: .88; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--orange); padding: .2em .8em; border-radius: 999px; margin-bottom: .5em; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px 26px; transition: background .3s, transform .35s var(--ease), border-color .3s; }
.feature:hover { background: rgba(255, 255, 255, .09); border-color: rgba(65, 210, 200, .45); transform: translateY(-4px); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 107, 26, .25), rgba(65, 210, 200, .2)); margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { font-size: .95rem; margin: 0; }
/* 7th feature card (newest addition) spans the full row as a highlight banner
   instead of sitting alone in an otherwise-empty row of the 3-col grid. */
.features .feature:nth-child(7) { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; border-color: rgba(255, 107, 26, .35); }
.features .feature:nth-child(7) .feature__icon { margin-bottom: 0; flex-shrink: 0; }

/* passport */
.passport { background: radial-gradient(ellipse at 20% 30%, #136168 0%, var(--teal) 45%, #08383C 100%); color: #fff; overflow: hidden; }
.passport .lead { color: rgba(255, 255, 255, .8); }
.passport__media { display: grid; place-items: center; }
.split__media.passport__media > img { width: min(360px, 75%); aspect-ratio: auto; object-fit: contain; box-shadow: none; border-radius: 0; transform: rotate(-8deg); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-5deg) translateY(-14px); } }
.stamps { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.stamp { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: .78rem; font-weight: 800; padding: 10px; color: #F5C98B; border: 3px double #F5C98B; transform: rotate(-12deg); }
.stamp--b { color: #FF9A5C; border-color: #FF9A5C; transform: rotate(9deg); }
.stamp--c { color: var(--aqua); border-color: var(--aqua); transform: rotate(-4deg); }
.stamp--empty { color: rgba(255, 255, 255, .4); border: 3px dashed rgba(255, 255, 255, .3); font-size: 1.6rem; transform: none; }

/* offices */
.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 36px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: rgba(14, 138, 135, .14); color: var(--route); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

/* download */
.download { position: relative; color: #fff; text-align: center; padding-block: clamp(90px, 12vw, 150px); overflow: hidden; }
.download__bg { position: absolute; inset: 0; background: linear-gradient(rgba(16, 45, 57, .55), rgba(16, 45, 57, .8)), url(img/deadsea-hero.jpg) center / cover fixed; }
.download__inner { position: relative; }
.download .lead { color: rgba(255, 255, 255, .85); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 12px 24px; border-radius: 16px; text-align: start; border: 1px solid rgba(255, 255, 255, .25); transition: transform .25s var(--ease); min-width: 220px; }
.store:hover { transform: translateY(-3px); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .75; line-height: 1.3; }
.store b { display: block; font-size: 1.05rem; line-height: 1.3; }
a.store { background: var(--orange); border-color: var(--orange); }
.store--soon { opacity: .75; cursor: default; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 16px; padding: 4px 22px; box-shadow: 0 8px 24px -18px rgba(16, 45, 57, .4); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details { transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 14px 34px -18px rgba(16, 45, 57, .45); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; color: var(--muted); margin: 0; padding-bottom: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__card { margin-top: 28px; border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; }
.contact__card img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: center 75%; width: 100%; }
.contact__card div { position: absolute; inset: auto 0 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(16, 45, 57, .9)); }
.contact__card b { display: block; font-size: 1.1rem; }
.contact__card span { font-size: .9rem; opacity: .85; }
.form { background: var(--paper); border-radius: 26px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); border: 1px solid var(--mist); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  font: inherit; color: var(--ink); background: var(--sand); border: 1.5px solid transparent; border-radius: 14px; padding: .8em 1em; width: 100%;
  transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form .is-invalid { border-color: #C83F32; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 500; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.topics label { display: block; position: relative; }
.topics input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: .45em 1.05em; border-radius: 999px; border: 1.5px solid var(--mist); cursor: pointer; font-size: .9rem; transition: all .2s; }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topics input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__status { margin: 0; min-height: 1.5em; font-weight: 500; text-align: center; }
.form__status.ok { color: #2E7D61; }
.form__status.err { color: #C83F32; }

/* footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding-top: 56px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.footer__links a:hover { color: var(--orange); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; font-size: .85rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .features .reveal:nth-child(2), .bento .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .features .reveal:nth-child(3), .bento .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .features .reveal:nth-child(4), .bento .reveal:nth-child(4) { transition-delay: .24s; }
.features .reveal:nth-child(5), .bento .reveal:nth-child(5) { transition-delay: .12s; }
.features .reveal:nth-child(6), .bento .reveal:nth-child(6) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .anim { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .steps__route .draw { clip-path: none; }
}

/* English (LTR) tweaks */
html[dir="ltr"] body { line-height: 1.65; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__route { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; padding-block: 110px 100px; }
  .hero__device { display: none; }
  .trust__grid, .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--mist); }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: var(--paper); padding: 8px 16px 18px;
    box-shadow: 0 20px 30px -20px rgba(16, 45, 57, .4); transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1;
  }
  .nav__links a { color: var(--ink) !important; padding: 14px 4px; border-bottom: 1px solid var(--mist); }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open { background: var(--paper); }
  .nav.is-open .nav__brand img { filter: none; }
  .nav.is-open .burger span { background: var(--ink); }
  .nav.is-open .lang { color: var(--ink); border-color: var(--mist); }
  .nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .nav__actions { margin-inline-start: auto; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .float-card { inset-inline-end: 10px; }
  .download__bg { background-attachment: scroll; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .card--xl, .card--wide { grid-column: auto; grid-row: span 1; }
  .card--xl h3 { font-size: 1.5rem; }
  .steps, .features { grid-template-columns: 1fr; }
  .features .feature:nth-child(7) { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__bg { background-position: center, 24% 60%; }
  .stamp { width: 80px; height: 80px; font-size: .7rem; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-inline-start: 0; border-top: 1px solid var(--mist); }
  .trust__item { padding: 16px 18px; }
  .num { padding: 18px 8px; }
  .totop { bottom: 16px; inset-inline-end: 16px; }
}
