/* ==========================================================================
   NYOTA DRIVING SCHOOL — Styles
   Palette: indigo navy / red / white
   ========================================================================== */

:root {
  --c-dark: #0c1138;
  --c-navy: #161c5e;
  --c-navy-2: #101541;
  --c-red: #d60000;
  --c-red-2: #e83326;
  --c-red-dark: #a40000;
  --c-white: #ffffff;
  --c-off: #f6f6fb;
  --c-text: #3c4657;
  --c-muted: #6b778f;
  --c-border: #e3e7f2;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(12, 17, 56, 0.14);
  --shadow-sm: 0 8px 24px rgba(12, 17, 56, 0.09);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }

.ic { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */
.h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  color: var(--c-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.lead { font-size: 1.12rem; color: var(--c-muted); margin-bottom: 1rem; }
.text-accent { color: var(--c-red); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-red-dark);
  background: rgba(214, 0, 0, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section { padding: 5.5rem 0; }
.section--alt { background: var(--c-off); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__sub { color: var(--c-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--c-red), var(--c-red-2));
  color: var(--c-dark);
  box-shadow: 0 10px 24px rgba(214, 0, 0, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(214, 0, 0, 0.45); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--c-white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--c-white); }

.btn--accent {
  background: var(--c-red);
  color: var(--c-dark);
  box-shadow: 0 10px 24px rgba(214, 0, 0, 0.35);
}
.btn--accent:hover { transform: translateY(-2px); background: var(--c-red-2); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--c-dark);
  color: #cdd7e6;
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: #d6dff0;
}
.topbar__item .ic { color: var(--c-red); width: 16px; height: 16px; }
.topbar__item small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b98b4;
  font-weight: 600;
  line-height: 1.2;
}
.topbar__item span, .topbar__item a { display: inline-block; line-height: 1.35; }
.topbar__item--link a:hover { color: var(--c-red-2); }
.topbar__sep { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.16); flex-shrink: 0; }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--c-white);
  background: var(--c-red);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.18s ease;
}
.topbar__cta .ic { width: 14px; height: 14px; }
.topbar__cta:hover { background: var(--c-red-2); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
  transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--c-dark);
}
.brand__text small { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted); }

.brand--footer .brand__text strong { color: var(--c-white); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; align-items: center; gap: 1.8rem; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-navy);
  position: relative;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-red);
  transition: width 0.2s ease;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover { color: var(--c-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Language switch (EN / SW) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-off);
  box-shadow: inset 0 1px 3px rgba(12, 17, 56, 0.07);
  flex-shrink: 0;
}
.lang-switch__btn {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  min-width: 46px;
  text-align: center;
  color: var(--c-muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.45rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.lang-switch__btn:hover:not(.is-active) { color: var(--c-dark); }
.lang-switch__btn.is-active {
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-white);
  box-shadow: 0 2px 9px rgba(12, 17, 56, 0.3);
}
.lang-switch__btn:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }

/* Keeps the nav hugging the right edge now that the switch follows it. */
.header__inner > .nav { margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-navy-2), var(--c-dark) 60%);
  color: var(--c-white);
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(214, 0, 0, 0.14), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(214, 0, 0, 0.1), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 42px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--c-red-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.12;
  margin-bottom: 1.3rem;
}

.hero__subtitle {
  font-size: 1.08rem;
  color: #c8d3e4;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--c-red);
  line-height: 1;
}
.stat span { font-size: 0.86rem; color: #a9b7cd; margin-top: 0.3rem; }

/* Hero visual */
.hero__visual { position: relative; min-height: 320px; }

.hero__card--main {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 2rem 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__car { width: 100%; color: var(--c-red); margin-bottom: 0.4rem; }
.hero__card-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-white);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.hero__card-sub { color: #a9b7cd; font-size: 0.9rem; margin-top: 0.3rem; }

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-white);
  color: var(--c-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero__chip .ic { color: var(--c-red-dark); }
.hero__chip--top { top: -6px; right: -10px; }
.hero__chip--bottom { bottom: 8px; left: -22px; animation-delay: 1.2s; }
.hero__chip--bottom, .hero__chip--top { animation: floaty 5s ease-in-out infinite; }

/* ---------- Strip ---------- */
.strip {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 1.6rem 0;
}
.strip__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.strip__item { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 240px; }
.strip__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(214, 0, 0, 0.12);
  color: var(--c-red-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.strip__icon .ic { width: 24px; height: 24px; }
.strip__item strong { display: block; font-family: var(--font-head); color: var(--c-dark); font-size: 0.98rem; }
.strip__item span { color: var(--c-muted); font-size: 0.86rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about__media { position: relative; }
.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__badge {
  position: absolute;
  bottom: -22px;
  right: -18px;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-2));
  color: var(--c-dark);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow);
}
.about__badge-num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.about__badge-txt { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; line-height: 1.3; }

.about__content p { color: var(--c-muted); margin-bottom: 1rem; }

.about__list { margin: 1.6rem 0 2rem; display: grid; gap: 0.8rem; }
.about__list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--c-navy); }
.about__list .ic { color: var(--c-red-dark); width: 22px; height: 22px; background: rgba(245,178,10,0.12); border-radius: 50%; padding: 3px; }

/* ---------- Courses ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card--featured {
  border: 2px solid var(--c-red);
  background: linear-gradient(180deg, #fffdf5, var(--c-white));
  position: relative;
}
.card--featured::before {
  content: "★";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-red);
  color: var(--c-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(214, 0, 0, 0.5);
}

.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-red);
  display: grid;
  place-items: center;
}
.card__icon .ic { width: 26px; height: 26px; }
.card__tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-red-dark);
  background: rgba(214, 0, 0, 0.14);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.card__title { font-family: var(--font-head); font-size: 1.28rem; font-weight: 700; color: var(--c-dark); margin-bottom: 0.6rem; }
.card__desc { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }

.card__features { display: grid; gap: 0.65rem; margin-bottom: 1.6rem; }
.card__features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; color: var(--c-text); }
.card__features .ic { color: var(--c-red-dark); width: 19px; height: 19px; }

.card__footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card__price { display: flex; flex-direction: column; }
.card__price strong { font-family: var(--font-head); color: var(--c-dark); font-size: 1.02rem; }
.card__price span { font-size: 0.8rem; color: var(--c-muted); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.feature {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-2));
  color: var(--c-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.feature__icon .ic { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--c-dark); margin-bottom: 0.5rem; }
.feature p { color: var(--c-muted); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.quote {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 0.2rem; color: var(--c-red); margin-bottom: 1rem; }
.quote__stars .ic { width: 18px; height: 18px; }
.quote blockquote { font-size: 0.97rem; color: var(--c-text); margin-bottom: 1.5rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; }
.quote__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-red);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quote figcaption strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--c-dark); }
.quote figcaption small { color: var(--c-muted); font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 780px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 0 1.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: rgba(214, 0, 0, 0.5); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-dark);
  padding: 1.15rem 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { transition: transform 0.25s ease; color: var(--c-red-dark); width: 22px; height: 22px; }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__item p { color: var(--c-muted); font-size: 0.95rem; padding-bottom: 1.2rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(214, 0, 0, 0.16), transparent 42%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta .h2 { color: var(--c-white); margin-bottom: 0.5rem; }
.cta p { color: #c8d3e4; max-width: 560px; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.contact__card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--c-off);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
}
.contact__icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact__icon .ic { width: 24px; height: 24px; }
.contact__card h3 { font-family: var(--font-head); font-size: 1.02rem; color: var(--c-dark); margin-bottom: 0.2rem; }
.contact__card p { color: var(--c-muted); font-size: 0.94rem; line-height: 1.5; }
.contact__card a:hover { color: var(--c-red-dark); }

.contact__hours {
  background: linear-gradient(135deg, var(--c-navy), var(--c-dark));
  color: var(--c-white);
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
}
.contact__hours h3 { font-family: var(--font-head); margin-bottom: 1rem; }
.contact__hours ul { display: grid; gap: 0.7rem; }
.contact__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: #c8d3e4; }
.contact__hours li strong { color: var(--c-red-2); font-weight: 600; }

.contact__form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}
.contact__form h3 { font-family: var(--font-head); color: var(--c-dark); font-size: 1.3rem; margin-bottom: 1.4rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--c-navy); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--c-dark);
  background: var(--c-off);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(214, 0, 0, 0.18);
  background: var(--c-white);
}
.field textarea { resize: vertical; min-height: 100px; }
.contact__form-note {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #15803d;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.footer { background: var(--c-dark); color: #a9b7cd; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}
.footer__col h4 {
  font-family: var(--font-head);
  color: var(--c-white);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: 0.6rem; font-size: 0.93rem; }
.footer__col a:hover { color: var(--c-red); }
.footer__col--brand p { font-size: 0.93rem; margin-top: 1.1rem; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.3rem 0; font-size: 0.86rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255, 255, 255, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 1px; transition: color 0.2s ease, border-color 0.2s ease; }
.footer__legal a:hover { color: var(--c-white); border-color: var(--c-white); }

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-2));
  color: var(--c-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(214, 0, 0, 0.5);
  animation: pulse 2.4s infinite;
}
.float-call .ic { width: 26px; height: 26px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 0, 0, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(214, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 0, 0, 0); }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__card--main, .hero__chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .about { grid-template-columns: 1fr; }
  .cards, .features, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }

  /* Header collapses to the burger here: the full nav, the CTA and the
     language switch stop fitting on one line below ~992px. */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 6% 2rem;
    gap: 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--c-border);
  }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__link { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
  .nav__cta { text-align: center; }
  .nav-toggle { display: flex; }
  .header__inner { gap: 0.6rem; }
  .lang-switch { margin-left: auto; }
  .lang-switch__btn { min-width: 40px; padding: 0.48rem 0.35rem; font-size: 0.74rem; }
}

@media (max-width: 768px) {
  .topbar { padding: 0.45rem 0; }
  .topbar__sep { display: none; }
  .topbar__list { gap: 0.9rem; }
  .topbar__item small { display: none; }
  .topbar__item--link { display: none; }
  .topbar__item--link:last-child { display: inline-flex; }
  .topbar__cta { display: none; }

  .section { padding: 4rem 0; }


  .cards, .features, .testimonials { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__chip--bottom { left: 0; }
  .hero__chip--top { right: 0; }
  .about__badge { right: 0; }
}

@media (max-width: 480px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .hero__stats { gap: 1.6rem; }
  .cta__inner { justify-content: center; text-align: center; }
}
