/* CDPS — شركة أنظمة الحماية الرقمية التجارية
   Mobile-first. Logical properties keep one stylesheet for RTL (ar) and LTR (en). */

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #1d315f;
  --navy-800: #15254b;
  --navy-900: #0d1834;
  --cyan: #15bbee;
  --cyan-600: #0b8fc0;
  --cyan-700: #0a6f98;
  --ink: #15203b;
  --muted: #55627e;
  --line: #e1e7f0;
  --soft: #f3f6fb;
  --white: #fff;
  --ok: #0f7a4a;
  --err: #b42318;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(13, 24, 52, .08);
  --shadow-lg: 0 24px 60px rgba(13, 24, 52, .16);
  --header-h: 72px;
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan-700); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; color: var(--navy); font-weight: 800; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.icon { width: 24px; height: 24px; flex: none; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) { .container { padding-inline: 24px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: var(--navy-900); }
.btn--primary:hover { background: #3fcbf4; color: var(--navy-900); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); color: var(--white); }
.btn--wa { background: var(--wa); color: #06341b; }
.btn--wa:hover { background: #3ee07b; color: #06341b; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13, 24, 52, .06); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 34px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
}
.nav__link:hover, .nav__link.is-active { color: var(--cyan-700); background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}
.lang-switch .icon { width: 18px; height: 18px; }
.lang-switch:hover { border-color: var(--cyan); color: var(--cyan-700); }
.header-cta { min-height: 42px; padding: 8px 18px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav__link { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__cta { display: block; margin-top: 12px; }
  .nav__cta .btn { width: 100%; }
  .header-actions { margin-inline-start: auto; }
}
@media (min-width: 1080px) { .nav__cta { display: none; } }
@media (max-width: 420px) {
  .brand img { height: 28px; }
  .lang-switch { padding: 6px 10px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 24, 52, .55) 0%, rgba(13, 24, 52, .82) 55%, rgba(13, 24, 52, .97) 100%);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, calc(100svh - var(--header-h)));
  padding-block: 72px 132px;
}
.hero__content { max-width: 640px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--cyan-700);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--cyan); }
.hero .eyebrow { color: var(--cyan); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);
  line-height: 1.25;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--cyan); }
.hero__lead {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (min-width: 900px) {
  .hero::before { background: linear-gradient(to right, rgba(13, 24, 52, .97) 0%, rgba(13, 24, 52, .9) 34%, rgba(13, 24, 52, .35) 70%, rgba(13, 24, 52, .1) 100%); }
  [dir="rtl"] .hero::before { background: linear-gradient(to left, rgba(13, 24, 52, .97) 0%, rgba(13, 24, 52, .9) 34%, rgba(13, 24, 52, .35) 70%, rgba(13, 24, 52, .1) 100%); }
  [dir="rtl"] .hero__media img { transform: scaleX(-1); }
}

/* ---------- trust bar ---------- */
.trust { position: relative; z-index: 2; margin-top: -84px; }
.trust__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-lg);
}
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); }
.trust__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: rgba(21, 187, 238, .12);
  color: var(--cyan-700);
}
.trust__label { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.trust__value { display: block; color: var(--navy); font-weight: 800; font-size: 1rem; line-height: 1.45; }
@media (min-width: 640px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; isolation: isolate; max-width: 460px; width: 100%; margin-inline: auto; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 24px -12px -12px 24px;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--navy);
}
[dir="rtl"] .about__media::before { inset: 24px 24px -12px -12px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__text h2 + p { margin-top: 18px; }
.about__text p + p { margin-top: 14px; }
.about__text .lead { color: var(--ink); font-size: 1.12rem; }
.vm { display: grid; gap: 16px; margin-top: 30px; }
.vm__card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.vm__card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.vm__card h3 .icon { color: var(--cyan-600); }
.vm__card p { margin-top: 8px; color: var(--muted); }
@media (min-width: 640px) { .vm { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .about__media { margin: 0; }
}

/* ---------- values ---------- */
.values__grid { display: grid; gap: 40px; align-items: center; }
.values__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.values__list { display: grid; gap: 14px; counter-reset: v; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--cyan);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1.15rem;
}
.value h3 { font-size: 1.15rem; }
.value p { margin-top: 2px; color: var(--muted); }
@media (min-width: 960px) {
  .values__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ---------- services ---------- */
.services__grid { display: grid; gap: 24px; }
.svc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.svc__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 24, 52, 0) 35%, rgba(13, 24, 52, .88) 100%); }
.svc__title { position: absolute; inset-inline: 20px; bottom: 16px; z-index: 1; color: var(--white); font-size: 1.35rem; }
.svc__body { padding: 20px 22px 24px; }
.svc__intro { margin-bottom: 14px; color: var(--muted); }
.svc__items { display: grid; gap: 4px; }
.svc-item { display: flex; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.svc-item:first-child { border-top: 0; padding-top: 4px; }
.svc-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}
.svc-item h4 { font-size: 1.04rem; line-height: 1.45; }
.svc-item h4 .term { color: var(--cyan-700); font-weight: 700; font-size: .9em; }
.svc-item p { margin-top: 2px; color: var(--muted); font-size: .98rem; line-height: 1.7; }
@media (min-width: 900px) { .services__grid { grid-template-columns: 1fr 1fr; } }

/* smart surveillance band */
.smart {
  display: grid;
  overflow: hidden;
  margin-top: 24px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.smart__media { position: relative; min-height: 220px; }
.smart__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smart__body { padding: 28px 22px 30px; }
.smart__body h3 { color: var(--white); font-size: 1.45rem; }
.smart__body > p { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.chips { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}
.chip .icon { color: var(--cyan); }
.chip strong { display: block; font-size: 1rem; line-height: 1.35; }
.chip small { display: block; color: rgba(255, 255, 255, .66); font-size: .84rem; line-height: 1.3; }
@media (min-width: 520px) {
  .chips { grid-template-columns: 1fr 1fr; }
  .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .smart { grid-template-columns: 5fr 7fr; }
  .smart__body { padding: 40px; }
}

/* ---------- process ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  counter-increment: step;
}
.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  inset-inline-end: 20px;
  color: rgba(29, 49, 95, .1);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
}
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(21, 187, 238, .14); color: var(--cyan-700); }
.step h3 { margin-top: 16px; font-size: 1.15rem; }
.step p { margin-top: 6px; color: var(--muted); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- licenses ---------- */
.licenses { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--white); }
.licenses__bg { position: absolute; inset: 0; z-index: -2; }
.licenses__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.licenses::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 24, 52, .9), rgba(13, 24, 52, .95)); }
.licenses .section-head h2 { color: var(--white); }
.licenses .section-head p { color: rgba(255, 255, 255, .78); }
.licenses .eyebrow { color: var(--cyan); }
.reg {
  display: grid;
  gap: 1px;
  overflow: hidden;
  max-width: 880px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
}
.reg__item { display: flex; align-items: center; gap: 16px; padding: 22px; background: rgba(13, 24, 52, .72); }
.reg__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(21, 187, 238, .16); color: var(--cyan); }
.reg__label { display: block; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.reg__value { display: block; color: var(--white); font-weight: 800; font-size: 1.2rem; line-height: 1.5; }
.reg__value.num { font-size: 1.5rem; letter-spacing: .06em; }
@media (min-width: 760px) { .reg { grid-template-columns: 1fr 1fr; } }

.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 32px; }
.doc {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-align: start;
  cursor: zoom-in;
}
.doc img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.doc span { display: block; padding: 10px 14px; font-weight: 700; }

.lightbox { width: min(960px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); }
.lightbox::backdrop { background: rgba(8, 14, 32, .82); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.lightbox__bar strong { color: var(--navy); }
.lightbox__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--soft); color: var(--navy); cursor: pointer; }
.lightbox__img { width: 100%; max-height: calc(100vh - 110px); object-fit: contain; background: var(--soft); }

/* ---------- contact ---------- */
.contact__grid { display: grid; gap: 28px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
a.contact-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); color: var(--ink); }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--navy); color: var(--white); }
.contact-card--wa .contact-card__icon { background: var(--wa); color: #06341b; }
.contact-card__label { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.contact-card__value { display: block; color: var(--navy); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }

.form-card { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.35rem; }
.form-card > p { margin-top: 6px; color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.form__row { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 700; font-size: .95rem; }
.field label .opt { color: var(--muted); font-weight: 500; font-size: .85rem; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid #cfd8e6;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-600); box-shadow: 0 0 0 4px rgba(21, 187, 238, .18); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; }
[dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="email"] { text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__error { display: none; margin-top: 6px; color: var(--err); font-size: .88rem; font-weight: 600; }
.field.has-error .field__error { display: block; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__foot .btn { min-width: 180px; }
.form__note { color: var(--muted); font-size: .88rem; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.form-status.is-ok { display: block; background: #e7f6ee; color: var(--ok); }
.form-status.is-err { display: block; background: #fdecea; color: var(--err); }
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px; }
}
@media (min-width: 960px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 40px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .98rem; }
.footer__grid { display: grid; gap: 32px; padding-block: 56px 32px; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 360px; }
.site-footer h3 { margin-bottom: 12px; color: var(--white); font-size: 1.05rem; }
.footer__links li + li, .footer__contact li + li { margin-top: 6px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--cyan); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}
.footer__bottom strong { color: var(--white); font-weight: 700; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 759px) { .footer__bottom { padding-bottom: 92px; } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }
.wa-float .icon { width: 32px; height: 32px; }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; min-height: 100vh; padding: 32px 16px; background: var(--soft); text-align: center; }
.notfound__card { width: 100%; max-width: 560px; padding: 40px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.notfound__card img { width: 200px; margin: 0 auto 24px; }
.notfound__code { color: var(--cyan-600); font-weight: 800; font-size: 3.5rem; line-height: 1; }
.notfound h1 { margin-top: 10px; font-size: 1.5rem; }
.notfound p { margin-top: 10px; color: var(--muted); }
.notfound__en { font-size: 1.3rem; }
.notfound hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.form__errors { margin-top: 14px; padding-inline-start: 1.2em; list-style: disc; color: var(--err); text-align: start; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
