/* ===========================================================================
   Doctori Dental Solution (DDS) - public site
   ---------------------------------------------------------------------------
   The palette is the product's own: the deep teal of the portal sidebar, the
   gold it uses for accents, and the warm off-white of the application canvas.
   That is deliberate. Every screenshot on this page carries those colours, so
   a page built from any other palette would have the product fighting its own
   marketing in every section.

   Motion is layered on lightly: entrances stagger, numbers count, frames lift.
   Nothing scrubs or scrolls sideways; the design leads and the movement obeys.
   =========================================================================== */

:root {
  color-scheme: light dark;

  /* Brand, taken from web/src/app/globals.css */
  --ink: #06222a;
  --ink-2: #0a2f38;
  --deep: #0c3f4a;
  --teal: #0d6e8c;
  --teal-bright: #17a2b8;
  --gold: #c0892f;
  --gold-soft: #e0b464;

  /* Neutrals, biased warm toward the gold rather than a flat grey */
  --porcelain: #f7f6f3;
  --paper: #ffffff;
  --line: #e3e0d8;
  --text: #12262e;
  --text-soft: #56676f;
  --text-faint: #869299;

  --shadow-sm: 0 1px 2px rgb(6 34 42 / 0.05), 0 2px 8px rgb(6 34 42 / 0.05);
  --shadow-lg: 0 24px 60px -24px rgb(6 34 42 / 0.35), 0 6px 20px -8px rgb(6 34 42 / 0.18);

  --font-display: "Fraunces", "Segoe UI", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shell: min(1180px, 92vw);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --porcelain: #071b21;
    --paper: #0c262e;
    --line: #1b3d47;
    --text: #e6eff1;
    --text-soft: #a3b6bd;
    --text-faint: #7d949c;
    --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / 0.7), 0 6px 20px -8px rgb(0 0 0 / 0.5);
  }
}

:root[data-theme="dark"] {
  --porcelain: #071b21;
  --paper: #0c262e;
  --line: #1b3d47;
  --text: #e6eff1;
  --text-soft: #a3b6bd;
  --text-faint: #7d949c;
  --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / 0.7), 0 6px 20px -8px rgb(0 0 0 / 0.5);
}

:root[data-theme="light"] {
  --porcelain: #f7f6f3;
  --paper: #ffffff;
  --line: #e3e0d8;
  --text: #12262e;
  --text-soft: #56676f;
  --text-faint: #869299;
  --shadow-lg: 0 24px 60px -24px rgb(6 34 42 / 0.35), 0 6px 20px -8px rgb(6 34 42 / 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", "Noto Naskh Arabic", Tahoma, sans-serif;
}

/* Arabic joins. Tracking a monospace face across an Arabic word pulls the
   letters apart and breaks the joins, so every label that is spaced-out
   uppercase in English becomes ordinary Arabic type here. Latin runs inside
   Arabic text (DDS, dds-dent.com, a telephone number) keep their own font. */
body[dir="rtl"] .eyebrow,
body[dir="rtl"] .hero-note,
body[dir="rtl"] .brand-sub,
body[dir="rtl"] .step-no,
body[dir="rtl"] .card .role,
body[dir="rtl"] figcaption,
body[dir="rtl"] .langs span,
body[dir="rtl"] .facts dt,
body[dir="rtl"] .contact-list small {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}
body[dir="rtl"] .eyebrow { font-size: 0.85rem; font-weight: 600; }
body[dir="rtl"] .hero-note { font-size: 0.9rem; }
body[dir="rtl"] .facts dt,
body[dir="rtl"] .card .role,
body[dir="rtl"] .contact-list small { font-size: 0.8rem; font-weight: 600; }
body[dir="rtl"] .frame-bar span { font-family: var(--font-mono); }
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3 {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body[dir="rtl"] .brand-name,
body[dir="rtl"] .hero-strip strong,
body[dir="rtl"] .facts dd b { font-family: var(--font-display); }

/* The width/height attributes on every screenshot reserve the right space
   while it loads; without `height: auto` they also force the intrinsic pixel
   height and a 2880x1800 shot becomes 1800px tall in a 590px column. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--gold); color: #1b1200; }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- shared type ---------------------------------------------------------- */

.shell { width: var(--shell); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, currentColor, transparent);
  opacity: 0.4;
}
body[dir="rtl"] .eyebrow::after {
  background: linear-gradient(to left, currentColor, transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.015em; line-height: 1.3; }

p { margin: 0 0 1rem; max-width: 68ch; }
.lede { font-size: 1.13rem; color: var(--text-soft); }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
section + section { border-top: 1px solid var(--line); }

/* --- buttons -------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn::after {
  /* a sheen that sweeps once on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
body[dir="rtl"] .btn::after { transform: translateX(130%); }
body[dir="rtl"] .btn:hover::after { transform: translateX(-130%); }
.btn-primary { background: var(--gold); color: #22180a; }
.btn-primary:hover { background: var(--gold-soft); box-shadow: 0 10px 26px -10px rgb(192 137 47 / 0.7); }
.btn-ghost {
  border-color: rgb(255 255 255 / 0.25);
  color: #eaf4f6;
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--deep); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--paper); }
.btn-outline:hover { border-color: var(--teal); }

/* --- scroll progress hairline --------------------------------------------- */

.progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold));
  z-index: 90;
  pointer-events: none;
}
body[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* --- header --------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(6 34 42 / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  /* A hairline that carries the brand pair instead of a flat grey rule. */
  border-image: linear-gradient(
      90deg,
      transparent,
      rgb(212 160 63 / 0.35) 30%,
      rgb(56 163 165 / 0.35) 70%,
      transparent
    )
    1;
  color: #eaf4f6;
}
.topbar .shell {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  margin-inline-end: auto;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--teal), var(--deep));
  border: 1px solid rgb(224 180 100 / 0.45);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.topnav { display: flex; gap: 1.6rem; font-size: 0.93rem; }
.topnav a {
  position: relative;
  text-decoration: none;
  color: rgb(234 244 246 / 0.78);
  padding-bottom: 3px;
}
.topnav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.topnav a:hover { color: #fff; }
.topnav a:hover::after { transform: scaleX(1); }
.topbar-actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-toggle, .theme-toggle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: transparent;
  color: #eaf4f6;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover, .theme-toggle:hover { border-color: var(--gold); background: rgb(255 255 255 / 0.06); }
.theme-toggle { font-size: 0.9rem; line-height: 1; color: var(--gold-soft); }

/* The one action a visiting clinic actually needs: into the product. */
.portal-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #06222a;
  background: var(--gold);
  border: 1px solid transparent;
  transition: filter 0.2s, transform 0.2s;
}
.portal-link:hover { filter: brightness(1.08); transform: translateY(-1px); }

@media (max-width: 860px) {
  .topnav { display: none; }
}

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  background: radial-gradient(120% 100% at 78% 0%, #12414c 0%, var(--ink) 55%, #04171d 100%);
  color: #eaf4f6;
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
  overflow: hidden;
  border-top: none;
}
.hero::before {
  /* The FDI chart, faint: the page opens on the product's own vocabulary. */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--chart-motif);
  background-repeat: no-repeat;
  background-position: 50% 88%;
  background-size: min(1700px, 170%) auto;
  opacity: 0.22;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-soft);
}
body[dir="rtl"] .hero h1 em { font-style: normal; }
.hero p { color: rgb(234 244 246 / 0.8); font-size: 1.12rem; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-note {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgb(234 244 246 / 0.5);
  text-transform: uppercase;
}

/* the copy arrives line by line, once, on load */
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.42s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.52s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* The screenshot is dark UI on a dark hero, so left alone it dissolves into
   the background. The wrapper gives it what the page cannot: a warm glow
   behind it, a gold-to-teal rim that draws its edge, and two floating chips
   that make it read as a living product rather than a flat picture. */
.hero-media {
  position: relative;
  animation: hero-in 1.1s var(--ease) 0.25s both;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background:
    radial-gradient(45% 55% at 68% 28%, rgb(212 160 63 / 0.16), transparent 70%),
    radial-gradient(55% 60% at 30% 75%, rgb(56 163 165 / 0.22), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero-shot {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(#04171d, #04171d) padding-box,
    linear-gradient(150deg, rgb(212 160 63 / 0.55), rgb(255 255 255 / 0.16) 38%, rgb(56 163 165 / 0.45)) border-box;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.65), var(--shadow-lg);
  overflow: hidden;
  animation: drift 9s ease-in-out 1.4s infinite alternate;
}
.hero-shot img { width: 100%; display: block; }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #eef7f5;
  background: rgb(8 38 44 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.hero-chip-a {
  top: 9%;
  inset-inline-end: -1.6rem;
  animation: chip-in 0.9s var(--ease) 1.2s both, drift 8s ease-in-out 2s infinite alternate;
}
.hero-chip-b {
  bottom: 11%;
  inset-inline-start: -1.8rem;
  animation: chip-in 0.9s var(--ease) 1.6s both, drift 10s ease-in-out 2.6s infinite alternate-reverse;
}
.chip-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.chip-ok { background: rgb(63 191 122 / 0.22); color: #7fe3a6; }
.chip-gold { background: rgb(212 160 63 / 0.22); color: var(--gold); }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
.hero-phone {
  position: absolute;
  bottom: -2.2rem;
  inset-inline-end: -2.4rem;
  width: clamp(120px, 15vw, 172px);
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(#04171d, #04171d) padding-box,
    linear-gradient(160deg, rgb(212 160 63 / 0.6), rgb(255 255 255 / 0.18) 45%, rgb(56 163 165 / 0.5)) border-box;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7);
  overflow: hidden;
  animation: chip-in 1s var(--ease) 1s both, drift 11s ease-in-out 2.2s infinite alternate;
}
.hero-phone img { display: block; width: 100%; }
@media (max-width: 1080px) {
  .hero-chip { inset-inline-start: auto; inset-inline-end: 0.8rem; }
  .hero-chip-a { top: -1rem; }
  .hero-chip-b { bottom: -1rem; }
  .hero-phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media, .hero-shot, .hero-chip, .hero-phone { animation: none; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(34px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.hero-strip {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 800px) {
  .hero-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero-strip div {
  padding: 1.4rem 1.2rem;
  border-inline-end: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.hero-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-strip span {
  font-size: 0.86rem;
  color: rgb(234 244 246 / 0.62);
}

/* --- the route (numbered, because a case really is a sequence) ------------ */

.route-step {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}
@media (min-width: 940px) {
  .route-step { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
  .route-step.flip > .route-copy { order: 2; }
  .route-step.flip > .frame { order: 1; }
}
.route-step + .route-step { border-top: 1px dashed var(--line); }
.step-no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.step-no b {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.route-copy p { color: var(--text-soft); }
.ticks { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.ticks li {
  position: relative;
  padding-inline-start: 1.6rem;
  font-size: 0.98rem;
  color: var(--text-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  transform: rotate(45deg);
}

/* --- screenshot frames ---------------------------------------------------- */

.frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 34px 70px -26px rgb(6 34 42 / 0.45),
    0 10px 26px -10px rgb(6 34 42 / 0.22);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(var(--porcelain), var(--paper));
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
  display: block;
}
.frame-bar span {
  margin-inline-start: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frame img { width: 100%; }
figure { margin: 0; }
figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding-top: 0.7rem;
}

/* --- cards ---------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-5px);
  border-color: rgb(192 137 47 / 0.55);
  box-shadow: 0 22px 44px -20px rgb(6 34 42 / 0.35);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.97rem; color: var(--text-soft); margin-bottom: 0; }
.card .role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.card ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.card ul li {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding-inline-start: 1.3rem;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

/* --- dark feature bands --------------------------------------------------- */

.band {
  background: linear-gradient(160deg, var(--deep), var(--ink) 70%);
  color: #eaf4f6;
  border-top: 1px solid var(--line);
}
.band h2 { color: #fff; }
.band p { color: rgb(234 244 246 / 0.78); }
.band .ticks li { color: rgb(234 244 246 / 0.78); }
.band .ticks li::before { background: var(--gold); }
.band .eyebrow { color: var(--gold-soft); }
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .split.flip > *:first-child { order: 2; }
}

.pledge {
  border: 1px solid rgb(224 180 100 / 0.35);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-top: 1.6rem;
  background: rgb(224 180 100 / 0.07);
}
.pledge p { margin: 0; font-size: 0.97rem; color: rgb(234 244 246 / 0.86); }
.pledge strong { color: var(--gold-soft); }

/* --- gallery -------------------------------------------------------------- */

.gallery {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

/* --- phones --------------------------------------------------------------- */

.phones {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.phone {
  width: min(260px, 70vw);
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #16323b, #071b21);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease);
}
.phone:hover { transform: translateY(-6px) rotate(-0.5deg); }
.phone:last-child:hover { transform: translateY(-6px) rotate(0.5deg); }
.phone img { border-radius: 26px; width: 100%; }

/* --- trust facts ---------------------------------------------------------- */

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.facts div {
  background: var(--paper);
  padding: 1.4rem 1.4rem;
  transition: background 0.25s ease;
}
.facts div:hover { background: var(--porcelain); }
.facts dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.45rem;
}
.facts dd {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-soft);
}
.facts dd b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* --- languages ------------------------------------------------------------ */

.langs { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.langs span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-soft);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.langs span:hover { border-color: var(--gold); transform: translateY(-2px); }

/* --- contact -------------------------------------------------------------- */

.contact {
  background: linear-gradient(150deg, var(--teal) -20%, var(--deep) 45%, var(--ink) 100%);
  color: #eaf4f6;
}
.contact h2 { color: #fff; }
.contact p { color: rgb(234 244 246 / 0.82); }
.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.05);
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.3s var(--ease);
}
.contact-list a:hover {
  border-color: var(--gold);
  background: rgb(255 255 255 / 0.09);
  transform: translateX(4px);
}
body[dir="rtl"] .contact-list a:hover { transform: translateX(-4px); }
.contact-list svg { width: 19px; height: 19px; flex: none; color: var(--gold-soft); }
.contact-list small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(234 244 246 / 0.55);
}
.contact-list b { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }

/* --- footer --------------------------------------------------------------- */

footer {
  background: var(--ink);
  color: rgb(234 244 246 / 0.62);
  padding: 2.4rem 0;
  font-size: 0.9rem;
}
footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
footer a { color: rgb(234 244 246 / 0.82); text-decoration: none; }
footer a:hover { color: var(--gold-soft); }

/* --- motion --------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .frame:hover, .card:hover, .phone:hover { transform: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
