/* ════════════════════════════════════════
   OÜ Roadlink · Global Styles
   ════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── Tokens ── */
:root {
  /* Logo colours: teal #006D77, amber #F59E0B, charcoal #343434 */
  --navy:         #162127;   /* dark charcoal-teal for footer and dark sections */
  --navy-mid:     #0d6974;   /* logo teal – reserved as an accent */
  --navy-soft:    #197783;   /* slightly lighter teal */
  --blue:         #0d6974;   /* primary action */
  --blue-hover:   #0b5862;   /* darker teal on hover */
  --blue-light:   #edf4f4;   /* muted teal wash */
  --blue-mid:     #b4cccb;   /* soft accent border */
  --amber:        #F59E0B;   /* logo accent – amber */
  --amber-light:  #fef3c7;   /* light amber background */
  --amber-mid:    #fcd34d;   /* amber border */
  --white:        #ffffff;
  --gray-50:      #f6f2ec;   /* warm neutral section background */
  --gray-100:     #efe8e0;
  --gray-200:     #ddd5cb;
  --gray-400:     #988f86;
  --gray-500:     #6e645b;
  --gray-700:     #302a25;
  --text:         #231f1b;   /* primary text */
  --text-muted:   #5f574f;   /* secondary text */

  --font:       'Inter', system-ui, sans-serif;
  --radius:     10px;
  --radius-lg:  16px;
  --nav-h:      80px;
  --ease:       cubic-bezier(.4,0,.2,1);
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-mid); }

/* ── Utilities ── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 100px; }
.section--light { background: var(--gray-50); }
.section--dark  { background: var(--navy); color: var(--white); }

/* Label chip */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #92610a;             /* dark amber for readability */
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.label--light {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Section head */
.section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__head--light h2 { color: var(--white); }

.section__lead {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(13, 105, 116, 0.28);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--navy-mid);
  border: 1.5px solid var(--gray-200);
}
.btn--ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}
.btn--white:hover {
  background: #f8f5f0;
  box-shadow: 0 4px 16px rgba(22, 33, 39, 0.12);
  transform: translateY(-1px);
}

.btn--amber {
  background: var(--amber);
  color: #1a1a1a;
  font-weight: 700;
}
.btn--amber:hover {
  background: #e08e00;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}
.btn--amber:active { transform: translateY(0); }

.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 12px rgba(15, 37, 72, 0.06);
}

/* Solid white once scrolled */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 16px rgba(15, 37, 72, 0.08);
}

.nav__inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 62px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover { color: #000; background: rgba(0, 0, 0, 0.06); }
.nav__link.active { color: #000; background: rgba(0, 0, 0, 0.07); }

.nav__cta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  margin-left: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 10px rgba(13, 105, 116, 0.24);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 40, 36, 0.82), rgba(0, 55, 50, 0.76)),
    url('reka.png') center / cover no-repeat;
}

.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 72px) 72px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 820px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Override label for hero */
.hero .label {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Override ghost btn for dark background */
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

/* ── Hero stats bar ── */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(0, 52, 48, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stats__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}


.hero-stats__sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pillar:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 4px 16px rgba(37,99,235,0.07);
  transform: translateY(-2px);
}

.pillar__icon {
  width: 44px;
  height: 44px;
  background: #f3f5f4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 8px 28px rgba(22, 33, 39, 0.07);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: #fff6e8;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Technology (dark section) ── */
.tech__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.tech__intro p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 16px;
}

.tech__intro .btn--white { margin-top: 24px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  transition: color 0.2s;
}
.feature-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.feature-item:hover { color: var(--white); }

.feature-item svg { flex-shrink: 0; color: #5ec9cf; }

/* ── EIS support ── */
.eis__panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 18px 40px rgba(20, 23, 28, 0.05);
}

.eis__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.eis__intro {
  padding-right: 12px;
}

.eis__logo {
  width: min(100%, 340px);
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.eis__intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.eis__notice {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.eis__details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eis__detail {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
}

.eis__detail:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.eis__detail h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.eis__detail p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
}

/* ── Why choose us ── */
.reasons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.reason:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 8px 24px rgba(22, 33, 39, 0.06);
  transform: translateY(-2px);
}

/* Make the 5th item span full width */
.reason:last-child { grid-column: 1 / -1; }

.reason__num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #8f5a00;
  background: #fff3dd;
  border: 1px solid #f3d29a;
  padding: 5px 9px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.reason__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.reason__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__info .label { margin-bottom: 12px; }

.contact__info h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact__info > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.company-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.company-detail svg { margin-top: 3px; flex-shrink: 0; }

.detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.detail-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

/* Form */
.contact__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group label span { color: var(--blue); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 105, 116, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 38px;
}

.form-group textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.6;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-error {
  font-size: 0.76rem;
  color: #ef4444;
  min-height: 16px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success,
.form-failure {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-failure {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-status__text {
  display: block;
}

.form-success[hidden],
.form-failure[hidden],
.btn-spinner[hidden] {
  display: none !important;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer__address {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__bottom {
  padding-block: 20px;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── Floating funding badge ── */
.funding-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  display: block;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 23, 28, 0.08);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 18, 22, 0.2);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s var(--ease);
}

.funding-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.22);
  opacity: 0.98;
}

.funding-fab__logo {
  width: 220px;
  height: auto;
  display: block;
}

/* ── Scroll reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in reveals */
.reveal .pillar:nth-child(2) { transition-delay: 0.1s; }
.reveal .pillar:nth-child(3) { transition-delay: 0.2s; }
.reveal .service-card:nth-child(2) { transition-delay: 0.08s; }
.reveal .service-card:nth-child(3) { transition-delay: 0.16s; }
.reveal .service-card:nth-child(4) { transition-delay: 0.24s; }
.reveal .reason:nth-child(2) { transition-delay: 0.08s; }
.reveal .reason:nth-child(3) { transition-delay: 0.16s; }
.reveal .reason:nth-child(4) { transition-delay: 0.24s; }
.reveal .reason:nth-child(5) { transition-delay: 0.32s; }

/* ── Keyframes ── */
@keyframes ping {
  0%  { transform: scale(1); opacity: 0.8; }
  100%{ transform: scale(2.5); opacity: 0; }
}

@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__inner   { padding-block: calc(var(--nav-h) + 48px) 60px; }
  .hero__lead    { max-width: 100%; }
  .hero__actions { justify-content: flex-start; }
  .hero-stats__item { padding-inline: 20px; }

  .about__grid   { grid-template-columns: 1fr; gap: 40px; }
  .tech__grid    { grid-template-columns: 1fr; gap: 48px; }
  .eis__panel    { padding: 32px; }
  .eis__main     { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .reasons__grid  { grid-template-columns: 1fr; }
  .reason:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .section { padding-block: 72px; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(15, 37, 72, 0.12);
  }

  .nav__links.open { display: flex; }
  .nav__hamburger  { display: flex; }

  /* Force dark text in mobile menu regardless of scroll state */
  .nav__links .nav__link {
    color: var(--text-muted);
    text-align: center;
    padding-block: 10px;
  }
  .nav__links .nav__link:hover { color: var(--text); background: var(--gray-100); }
  .nav__links .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding-block: 10px;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero__title { font-size: 1.85rem; }
  .hero-stats__item { padding-inline: 12px; font-size: 0.8rem; }
  .hero-stats__item svg { display: none; }
  .funding-fab { right: 14px; bottom: 14px; padding: 16px 18px; border-radius: 18px; }
  .funding-fab__logo { width: 170px; }
  .eis__panel { padding: 26px 22px; border-radius: 22px; }
  .eis__main { gap: 26px; }
  .eis__intro { padding-right: 0; }
  .eis__logo { margin-bottom: 22px; }
  .eis__notice { font-size: 1.05rem; }
}
