/* ============================================================
   سلامت ناشنوا — ریدیزاین ۲۰۲۵
   Design System: Teal Care — Light theme, RTL, Persian
   Fonts: Estedad (headings) / Vazirmatn (body)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — Teal */
  --teal-700: #0B6E6E;
  --teal-600: #0C8585;
  --teal-500: #0EA5A4;
  --teal-400: #2BC5C0;
  --teal-300: #7DDAD6;
  --teal-200: #B8ECE8;
  --teal-100: #DDF6F3;
  --teal-50:  #F0FBF9;

  /* Ink (teal-tinted neutrals) */
  --ink-900: #0E2B2B;
  --ink-800: #17393B;
  --ink-700: #2E4F51;
  --ink-600: #476766;
  --ink-500: #5F7D7C;
  --ink-400: #7E9795;
  --ink-300: #A9BEBD;

  /* Accent */
  --amber-500: #F5A524;
  --amber-100: #FDF0D5;
  --coral-500: #F0674F;
  --coral-100: #FDE7E2;

  /* Surfaces */
  --white: #FFFFFF;
  --bg: #F7FCFB;
  --bg-soft: #EEF8F6;
  --line: #E2F0EE;
  --line-strong: #CFE5E2;

  /* Semantic */
  --primary: var(--teal-500);
  --primary-strong: var(--teal-600);
  --primary-deep: var(--teal-700);
  --text: var(--ink-700);
  --heading: var(--ink-900);
  --muted: var(--ink-500);

  /* Typography */
  --ff-body: 'Vazirmatn', 'Tahoma', sans-serif;
  --ff-head: 'Estedad', 'Vazirmatn', 'Tahoma', sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(14, 43, 43, .05);
  --sh-sm: 0 2px 10px rgba(14, 43, 43, .06);
  --sh-md: 0 10px 30px -8px rgba(11, 110, 110, .14);
  --sh-lg: 0 24px 60px -16px rgba(11, 110, 110, .22);
  --sh-glow: 0 0 0 6px rgba(14, 165, 164, .12);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .32, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
html[data-fs="1"] { font-size: 17.5px; }
html[data-fs="2"] { font-size: 19px; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit; color: inherit; background: none; border: none; outline: none;
}
button { cursor: pointer; }
::selection { background: var(--teal-200); color: var(--ink-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--teal-300); border-radius: 99px;
  border: 2px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--teal-400); }

/* Focus */
:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -100px; right: 16px; z-index: 3000;
  background: var(--ink-900); color: #fff;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .25s var(--ease);
}
.skip-link:focus { top: 14px; }

/* High-contrast accessibility mode */
html.a11y-contrast body {
  background: #FFFFFF;
}
html.a11y-contrast {
  --text: #103434;
  --heading: #062323;
  --muted: #235B5A;
  --line: #10423F;
  --line-strong: #0A3B39;
  --teal-100: #C8F2EC;
  --bg: #FFFFFF;
  --bg-soft: #EAF7F5;
}
html.a11y-contrast .btn-primary {
  box-shadow: 0 0 0 2px #062323;
}
html.a11y-contrast img { filter: saturate(1.15) contrast(1.06); }

/* Reduced motion (system or user toggle) */
html.a11y-anim *,
html.a11y-anim *::before,
html.a11y-anim *::after {
  animation-duration: .001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001s !important;
  scroll-behavior: auto !important;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--heading);
  line-height: 1.45;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.5; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); line-height: 1.5; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.12rem; }

p { margin-block: 0; }
strong { color: var(--heading); font-weight: 700; }
.num { font-feature-settings: "ss01"; }

.text-gradient {
  background: linear-gradient(115deg, var(--teal-500) 10%, var(--teal-400) 55%, #35D0B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2*var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: clamp(64px, 9vw, 108px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 72px); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }

.section--soft { background: var(--bg-soft); }
.section--white { background: var(--white); }
.section--deep {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(43, 197, 192, .22), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(43, 197, 192, .14), transparent 60%),
    linear-gradient(160deg, #0B4E4E, #0A3E40 55%, #093436);
  color: #D9F2EF;
}
.section--deep h2, .section--deep h3 { color: #FFFFFF; }
.section--deep p { color: #BFE4E0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Section header pattern ---------- */
.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-100); color: var(--teal-700);
  border: 1px solid var(--teal-200);
  font-size: .82rem; font-weight: 700;
  padding: 7px 16px; border-radius: var(--r-full);
  margin-bottom: 18px;
}
.kicker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, .18);
}
.section--deep .kicker {
  background: rgba(43, 197, 192, .14);
  border-color: rgba(125, 218, 214, .3);
  color: #8FE8E2;
}
.sec-head p.lead {
  margin-top: 14px; font-size: 1.06rem; color: var(--muted);
}
.section--deep .sec-head p.lead { color: #A9D8D4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 700; font-size: .98rem;
  padding: 14px 28px; border-radius: var(--r-full);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(14, 165, 164, .55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(14, 165, 164, .6);
}

.btn-ghost {
  background: var(--white); color: var(--teal-700);
  border-color: var(--line-strong);
  box-shadow: var(--sh-xs);
}
.btn-ghost:hover {
  border-color: var(--teal-400);
  color: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn-soft {
  background: var(--teal-100); color: var(--teal-700);
}
.btn-soft:hover { background: var(--teal-200); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink-900); color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-light {
  background: #fff; color: var(--teal-700);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-outline-light {
  border-color: rgba(255,255,255,.35); color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal-600); font-weight: 700; font-size: .95rem;
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--teal-500); gap: 11px; }
.link-arrow:hover svg { transform: translateX(-3px); }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--teal-100); color: var(--teal-700);
}
.badge--amber { background: var(--amber-100); color: #9A6206; }
.badge--coral { background: var(--coral-100); color: #B23A24; }
.badge--line { background: var(--white); border: 1px solid var(--line-strong); color: var(--ink-600); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line-strong);
  color: var(--ink-600); border-radius: var(--r-full);
  padding: 9px 18px; font-size: .88rem; font-weight: 600;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.chip svg { width: 17px; height: 17px; color: var(--teal-500); }
.chip:hover { border-color: var(--teal-400); color: var(--teal-700); transform: translateY(-1px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(247, 252, 251, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
  box-shadow: 0 8px 30px -12px rgba(11, 110, 110, .14);
}
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-600));
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(14, 165, 164, .5);
  transition: transform .3s var(--ease-spring);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-logo svg { width: 27px; height: 27px; color: #fff; }
.brand-name {
  font-family: var(--ff-head); font-weight: 800;
  font-size: 1.22rem; color: var(--heading); line-height: 1.3;
}
.brand-tag {
  display: block; font-family: var(--ff-body);
  font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; color: var(--ink-700);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--teal-600); background: var(--teal-50); }
.nav-link .caret { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-item.has-drop:hover .caret, .nav-item.has-drop.is-open .caret { transform: rotate(180deg); }

.nav-cta { margin-inline-start: 8px; }

/* Dropdown */
.drop {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 50%;
  transform: translateX(50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.has-drop:hover .drop,
.nav-item.has-drop.is-open .drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(50%) translateY(0);
}
.drop a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .92rem; color: var(--ink-700);
  transition: background .18s, color .18s;
}
.drop a:hover { background: var(--teal-50); color: var(--teal-700); }
.drop a svg { width: 20px; height: 20px; color: var(--teal-500); flex: none; }
.drop-head {
  font-size: .72rem; font-weight: 700; color: var(--ink-400);
  padding: 8px 14px 6px; letter-spacing: .04em;
}

/* Burger */
.burger {
  display: none; position: relative; z-index: 1202;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line-strong);
  place-items: center;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink-800);
  transition: transform .3s var(--ease), opacity .2s;
  margin: 2.5px auto;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mnav {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(9, 52, 52, .4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mnav-panel {
  position: absolute; top: 0; inset-inline-end: 0;
  width: min(340px, 88vw); height: 100%;
  background: var(--white);
  padding: 24px;
  transform: translateX(-30px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .3s;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
}
html[dir="rtl"] .mnav-panel { transform: translateX(30px); }
.mnav.is-open .mnav-panel { transform: translateX(0); opacity: 1; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mnav-close {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-soft); display: grid; place-items: center;
  color: var(--ink-700);
}
.mnav-close svg { width: 20px; height: 20px; }
.mnav a.mnav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--ink-800);
}
.mnav a.mnav-link:hover, .mnav a.mnav-link.is-active { background: var(--teal-50); color: var(--teal-700); }
.mnav-sub { padding-inline-start: 14px; margin-block: 2px 8px; }
.mnav-sub a {
  display: block; padding: 10px 16px; font-size: .9rem;
  color: var(--ink-600); border-inline-start: 2px solid var(--line);
}
.mnav-sub a:hover { color: var(--teal-600); border-color: var(--teal-400); }
.mnav-cta { margin-top: 18px; }
.mnav-group-label {
  font-size: .74rem; font-weight: 700; color: var(--ink-400);
  padding: 16px 16px 4px; letter-spacing: .05em;
}

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: grid; margin-inline-start: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 500px at 88% -8%, rgba(14, 165, 164, .12), transparent 62%),
    radial-gradient(800px 420px at -6% 18%, rgba(125, 218, 214, .16), transparent 58%),
    linear-gradient(180deg, #F3FBF9 0%, var(--bg) 100%);
}
#hero-canvas {
  position: absolute; inset: 0; z-index: -1;
  opacity: .6; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-xs);
  padding: 8px 18px 8px 8px; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600; color: var(--ink-700);
  margin-bottom: 26px;
}
.hero-badge .pulse {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  display: grid; place-items: center; color: #fff;
  animation: pulseSoft 2.4s infinite var(--ease);
}
.hero-badge .pulse svg { width: 16px; height: 16px; }
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 164, .35); }
  55% { box-shadow: 0 0 0 9px rgba(14, 165, 164, 0); }
}

.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: 1.12rem; color: var(--ink-600); max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding-top: 26px; border-top: 1px dashed var(--line-strong);
}
.hero-trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: var(--ink-600);
}
.hero-trust svg { width: 19px; height: 19px; color: var(--teal-500); flex: none; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.7);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform .6s var(--ease);
}
.hero-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px); }
.hero-frame img { width: 100%; aspect-ratio: 1344/768; object-fit: cover; }
.hero-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(14,165,164,0) 55%, rgba(9,52,52,.28));
  pointer-events: none;
}

.float-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  animation: floatY 5.5s ease-in-out infinite;
}
.float-card--a { top: 9%; inset-inline-start: -26px; animation-delay: .4s; }
.float-card--b { bottom: 12%; inset-inline-end: -20px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-icon {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
}
.float-icon--teal { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); }
.float-icon--amber { background: linear-gradient(135deg, #F7B94E, #EE8B1F); }
.float-icon svg { width: 22px; height: 22px; }
.float-card b { display: block; font-size: .92rem; color: var(--heading); line-height: 1.6; }
.float-card small { font-size: .76rem; color: var(--muted); display: block; line-height: 1.7; }
@media (max-width: 640px) {
  .float-card--a { inset-inline-start: 8px; }
  .float-card--b { inset-inline-end: 8px; }
}

/* Stats band */
.stats-band {
  margin-top: clamp(-30px, -2vw, -10px);
  position: relative; z-index: 5;
}
.stats-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; inset-inline-end: -10px; top: 18%;
  width: 1px; height: 64%;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.stat-num {
  font-family: var(--ff-head); font-weight: 900;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--teal-600); line-height: 1.3;
}
.stat-num small { font-size: .55em; font-weight: 800; }
.stat-label { font-size: .88rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
@media (max-width: 860px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .stat:nth-child(2)::after { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; position: relative;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  background: var(--white);
  -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; gap: 48px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  color: var(--ink-400); white-space: nowrap;
}
.marquee-item svg { width: 18px; height: 18px; color: var(--teal-400); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
html[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #0B4A4C, #093436);
  color: #B9DBD7;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(43,197,192,.14), transparent 60%),
    radial-gradient(500px 260px at 4% 100%, rgba(43,197,192,.1), transparent 60%);
  pointer-events: none;
}
.footer-main {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(52px, 7vw, 84px) 40px;
}
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #8FBFBA; }
.footer-about { margin-top: 18px; font-size: .92rem; line-height: 2; color: #A7CEC9; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center; color: #CDEEEA;
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  background: var(--teal-500); border-color: var(--teal-400);
  color: #fff; transform: translateY(-3px);
}
.footer-social svg { width: 19px; height: 19px; }

.footer h4 {
  color: #fff; font-size: 1.02rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.footer h4::before {
  content: ''; width: 18px; height: 3px; border-radius: 3px;
  background: var(--teal-400);
}
.footer-links { display: grid; gap: 12px; }
.footer-links a {
  font-size: .92rem; color: #A7CEC9;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s, gap .25s var(--ease);
}
.footer-links a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal-400); flex: none; opacity: .7;
}
.footer-links a:hover { color: #fff; gap: 12px; }

.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; font-size: .9rem; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--teal-300); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }

.newsletter {
  margin-top: 20px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: 18px;
}
.newsletter p { font-size: .84rem; color: #A7CEC9; margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-sm);
  padding: 11px 16px; color: #fff; font-size: .9rem;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: #7FA8A3; }
.newsletter-form input:focus { border-color: var(--teal-400); }
.newsletter-form button {
  background: var(--teal-500); color: #fff;
  border-radius: var(--r-sm); padding: 11px 18px;
  font-weight: 700; font-size: .9rem;
  transition: background .2s, transform .2s;
}
.newsletter-form button:hover { background: var(--teal-400); transform: translateY(-1px); }
.newsletter-msg { font-size: .8rem; color: #8FE8C9; margin-top: 10px; display: none; }
.newsletter-msg.is-visible { display: block; }

.footer-bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: .84rem; color: #86B2AD;
}
.footer-bottom a { color: #CDEEEA; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }
.footer-made {
  display: inline-flex; align-items: center; gap: 7px;
}
.footer-made svg { width: 16px; height: 16px; color: var(--teal-300); }

@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal--left { transform: translateX(32px); }
.reveal--right { transform: translateX(-32px); }
.reveal--zoom { transform: scale(.93); }
.reveal.is-inview { opacity: 1; transform: none; }
html.a11y-anim .reveal { opacity: 1; transform: none; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; z-index: 2000;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  transition: width .12s linear;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--white); color: var(--teal-600);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-md);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-500); color: #fff; border-color: var(--teal-500); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Utilities ---------- */
.tac { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hide { display: none !important; }
