/* ============================================================
   O2 Support Services — static site stylesheet
   Mobile-first · RTL/LTR via logical properties · no frameworks
   ============================================================ */

:root {
  --primary: #2e7cb4;
  --primary-strong: #256a9c;
  --sky: #45a0d9;
  --deep: #0e202b;
  --ink: #12242f;
  --body: #33454f;
  --muted: #5b7078;
  --tint: #e3f1fa;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #dceef9;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-1: 0 1px 3px rgba(14, 32, 43, 0.08);
  --shadow-2: 0 12px 32px -12px rgba(14, 32, 43, 0.25);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { color: var(--deep); line-height: 1.35; font-weight: 700; }

::selection { background: var(--primary); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 8px;
  z-index: 200;
  background: var(--deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 8px; }

/* ---------- layout ---------- */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: clamp(3rem, 9vw, 5.5rem); }
.section--tint { background: var(--paper); }
.section--deep {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(69, 160, 217, 0.35), transparent),
    linear-gradient(135deg, var(--ink), var(--deep));
  color: rgba(255, 255, 255, 0.88);
}
.section--deep h2 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 5vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-strong);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 0.9rem;
}
.section--deep .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky);
  border-color: rgba(220, 238, 249, 0.25);
}

.section-head h2 { font-size: clamp(1.55rem, 4.5vw, 2.3rem); }

.lead {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.13rem);
  line-height: 1.85;
}
.section--deep .lead { color: rgba(255, 255, 255, 0.8); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(46, 124, 180, 0.65);
}
.btn--primary:hover { box-shadow: 0 12px 26px -8px rgba(46, 124, 180, 0.8); transform: translateY(-2px); }

.btn--ghost { border-color: var(--line); color: var(--deep); background: var(--white); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-strong); }

.btn--light { background: var(--white); color: var(--primary-strong); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

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

.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar__contacts { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--sky); }
@media (max-width: 719px) { .topbar__note { display: none; } .topbar__inner { justify-content: center; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--tint);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(14, 32, 43, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 40px; width: auto; }
.brand span { font-weight: 800; font-size: 1.15rem; color: var(--deep); letter-spacing: 0.02em; }
.brand small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--muted); line-height: 1.2; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 1.4rem; }
.nav-desktop a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--deep);
  padding-block: 0.4rem;
  border-block-end: 2px solid transparent;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary-strong); border-block-end-color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--deep);
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary-strong); }

.header-cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--deep);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background: var(--white);
  border-block-end: 1px solid var(--tint);
}
.mobile-nav.open { grid-template-rows: 1fr; }
.mobile-nav > div { overflow: hidden; }
.mobile-nav ul { padding: 0.6rem 0 1.2rem; display: grid; gap: 0.2rem; }
.mobile-nav a {
  display: block;
  padding: 0.8rem 0.4rem;
  font-weight: 600;
  color: var(--deep);
  border-radius: 10px;
}
.mobile-nav a:hover { background: var(--paper); color: var(--primary-strong); }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .burger, .mobile-nav { display: none; }
  .header-cta { display: inline-flex; min-height: 42px; padding-block: 0.45rem; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 88% -12%, rgba(69, 160, 217, 0.4), transparent),
    radial-gradient(600px 340px at -10% 110%, rgba(69, 160, 217, 0.18), transparent),
    linear-gradient(140deg, var(--ink) 20%, var(--deep));
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 238, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 238, 249, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.6rem;
  padding-block: clamp(3.2rem, 9vw, 5.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: rgba(69, 160, 217, 0.14);
  border: 1px solid rgba(69, 160, 217, 0.4);
  color: #a8d4ef;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(69, 160, 217, 0.25);
}

.hero h1 {
  margin-top: 1.1rem;
  color: var(--white);
  font-size: clamp(1.9rem, 6vw, 3.3rem);
  line-height: 1.25;
  text-wrap: balance;
}
.hero .tagline {
  margin-top: 0.7rem;
  color: var(--sky);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
}
.hero .hero-body {
  margin-top: 1rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}
.hero .btn-row { margin-top: 1.8rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.8rem; }
.hero-chips li {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(220, 238, 249, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}

.hero-visual { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-visual > img {
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.float-card {
  position: absolute;
  inset-inline-end: -8px;
  bottom: -20px;
  background: var(--white);
  color: var(--deep);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.float-card strong { font-size: 1.6rem; color: var(--primary); line-height: 1; }
.float-card span { font-size: 0.82rem; font-weight: 600; color: var(--muted); line-height: 1.5; }

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-visual { justify-self: end; }
}

/* ---------- clients marquee ---------- */

.clients { padding-block: 2rem 2.6rem; background: var(--white); }
.clients p {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll-x 28s linear infinite;
}
.marquee-track img { height: 52px; width: auto; opacity: 0.75; }
@keyframes scroll-x { to { transform: translateX(calc(-50% - 1.75rem)); } }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------- stats band ---------- */

.stats-band {
  background:
    radial-gradient(800px 360px at 12% -20%, rgba(69, 160, 217, 0.4), transparent),
    linear-gradient(135deg, var(--ink), var(--deep));
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 238, 249, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-m);
  text-align: center;
  padding: 1.6rem 1rem;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  color: var(--sky);
  line-height: 1.1;
}
.stat-card span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- generic grids / cards ---------- */

.grid-auto { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-auto { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-auto.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--radius-m);
  padding: 1.6rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.8; }

.icon-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--white);
  margin-bottom: 1rem;
}
.icon-chip svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- about ---------- */

.about-grid { display: grid; gap: 2.2rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.about-copy p + p { margin-top: 1rem; }
.about-points { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.about-points li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; color: var(--deep); }
.check-dot {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-dot svg { width: 13px; height: 13px; fill: currentColor; }
.about-panel {
  position: sticky;
  top: 96px;
  background: linear-gradient(150deg, var(--tint), #f2f9fe);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.about-panel h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.mini-stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); text-align: center; padding: 1rem 0.6rem; }
.mini-stat strong { display: block; color: var(--primary); font-size: 1.5rem; }
.mini-stat span { font-size: 0.78rem; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- services ---------- */

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.service-body h3 { font-size: 1.05rem; }
.service-body ul { display: grid; gap: 0.5rem; }
.service-body li {
  position: relative;
  padding-inline-start: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}
.service-body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--sky);
  rotate: 45deg;
}

/* ---------- platform ---------- */

.app-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 238, 249, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-m);
  padding: 1.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(69, 160, 217, 0.55); }
.app-card .icon-chip { background: linear-gradient(135deg, var(--sky), var(--primary)); }
.app-card h3 { color: var(--white); }
.app-card p { color: rgba(255, 255, 255, 0.78); margin-top: 0.5rem; line-height: 1.8; font-size: 0.97rem; }

.values-title { text-align: center; color: var(--white); margin-top: clamp(2.4rem, 6vw, 3.4rem); font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
.value-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 238, 249, 0.2);
  border-radius: var(--radius-m);
  padding: 1.4rem;
  text-align: center;
}
.value-item strong { display: block; color: var(--sky); font-size: 1.05rem; margin-bottom: 0.4rem; }
.value-item span { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; line-height: 1.75; }

.flow { display: grid; gap: 1rem; margin-top: 1.6rem; counter-reset: step; }
.flow-step {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(220, 238, 249, 0.18);
  border-radius: var(--radius-m);
  padding: 1.3rem 1.4rem 1.3rem 3.6rem;
}
[dir="rtl"] .flow-step { padding: 1.3rem 3.6rem 1.3rem 1.4rem; }
.flow-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 1.1rem;
  top: 1.25rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.flow-step strong { color: var(--white); display: block; margin-bottom: 0.2rem; }
.flow-step span { color: rgba(255, 255, 255, 0.78); font-size: 0.94rem; line-height: 1.7; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }

.platform-cta { margin-top: clamp(2rem, 5vw, 2.8rem); display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- AI roadmap ---------- */

.ai-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
.ai-badge {
  margin-top: clamp(2rem, 5vw, 2.6rem);
  margin-inline: auto;
  width: fit-content;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-strong);
  background: var(--tint);
  border: 1.5px dashed var(--primary);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
}

/* ---------- vision & policies ---------- */

.vision-card { border-top: 4px solid var(--primary); }
.vision-card--accent { border-top-color: var(--sky); }
.vision-card ul { display: grid; gap: 0.7rem; }
.vision-card li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.vision-card li svg { flex: none; width: 15px; height: 15px; fill: var(--primary); margin-top: 0.35rem; }

.policy-card { background: var(--white); }
.badge-cbahi {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-strong);
  background: var(--tint);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

/* ---------- guarantees ---------- */

.guarantee-list { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .guarantee-list { grid-template-columns: repeat(2, 1fr); } }
.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.8rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--deep);
  font-size: 1rem;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--muted); line-height: 1.85; font-size: 0.97rem; }

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

.contact-grid { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.contact-methods { display: grid; gap: 0.9rem; }
.contact-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--radius-m);
  padding: 1.1rem 1.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-tile:hover { border-color: var(--primary); transform: translateX(0); }
.contact-tile .icon-chip { margin: 0; flex: none; }
.contact-tile small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.contact-tile b { color: var(--deep); font-size: 1rem; direction: ltr; unicode-bidi: embed; }
.contact-tile b:not([dir]) { unicode-bidi: plaintext; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--tint);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-1);
}
.form-field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--deep); }
.form-field input, .form-field textarea {
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); }
.form-note { margin-top: 0.9rem; font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

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

.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.78); padding: clamp(2.6rem, 7vw, 4rem) 0 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.9rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-brand img { height: 38px; }
.footer-brand b { color: var(--white); font-size: 1.1rem; }
.site-footer p, .site-footer li { font-size: 0.92rem; line-height: 1.85; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(220, 238, 249, 0.15);
  padding-block: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
