:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-soft: #e3f2fd;
  --success: #2e9e5b;
  --warning: #f4a100;
  --danger: #e23b3b;
  --bg: #f4f6fa;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1b2733;
  --muted: #6b7785;
  --outline: #e2e8f0;
  --shadow: 0 24px 70px rgba(13, 71, 161, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 101, 192, 0.12), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(46, 158, 91, 0.12), transparent 32rem),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.34;
  pointer-events: none;
  z-index: -1;
}

.page-glow-1 {
  top: 12rem;
  left: -12rem;
  background: #64b5f6;
}

.page-glow-2 {
  right: -10rem;
  bottom: 10rem;
  background: #81c784;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(27, 39, 51, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 30px rgba(21, 101, 192, 0.32);
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(21, 101, 192, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 18px 36px rgba(21, 101, 192, 0.28);
}

.btn-ghost {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--outline);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-soft);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary-dark);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-small {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding-top: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(227, 242, 253, 0.9);
  font-weight: 800;
  font-size: 0.86rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 rgba(46, 158, 91, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 13px rgba(46, 158, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-copy p,
.center-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
}

.trust-row div {
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--primary-dark);
}

.trust-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.route-card,
.phone {
  border: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.route-card {
  position: absolute;
  top: 16px;
  left: 0;
  right: 24px;
  z-index: 3;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.route-top,
.route-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.route-top span {
  color: var(--muted);
  font-weight: 700;
}

.route-top strong {
  color: var(--primary);
  font-size: 1.8rem;
}

.route-line {
  position: relative;
  height: 120px;
  margin: 18px 0;
}

.route-line::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 56px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--success), var(--primary));
}

.route-point,
.bus {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.route-point {
  top: 34px;
  width: 64px;
  height: 48px;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--outline);
}

.route-point.home { left: 0; }
.route-point.school { right: 0; }

.bus {
  top: 26px;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translateX(-50%);
  background: var(--warning);
  box-shadow: 0 18px 40px rgba(244, 161, 0, 0.28);
  animation: float 4s ease-in-out infinite;
  font-size: 1.8rem;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.status-pill.success {
  color: #0b6b39;
  background: rgba(46, 158, 91, 0.12);
}

.status-pill.blue {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.phone-stack {
  position: absolute;
  inset: 170px 0 0;
}

.phone {
  position: absolute;
  width: 260px;
  min-height: 500px;
  padding: 18px;
  border-radius: 38px;
}

.phone-parent {
  right: 30px;
  top: 0;
  z-index: 2;
}

.phone-driver {
  left: 20px;
  top: 70px;
  z-index: 1;
  transform: rotate(-5deg);
}

.phone-bar {
  width: 82px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #d8e1ec;
}

.app-top {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 800;
  font-size: 0.78rem;
}

.phone h3 {
  margin: 24px 0 8px;
  font-size: 1.65rem;
}

.phone p {
  color: var(--muted);
  line-height: 1.6;
}

.notification-card,
.student-list span,
.driver-toggle {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--outline);
}

.notification-card {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
}

.notification-card span,
.notification-card small {
  color: var(--muted);
}

.mini-timeline {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.mini-timeline span {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: #d8e1ec;
}

.mini-timeline .done,
.mini-timeline .active {
  background: var(--success);
}

.driver-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  margin: 22px 0;
}

.driver-toggle span:first-child {
  color: #fff;
  background: var(--primary);
}

.driver-toggle span {
  display: grid;
  place-items: center;
  padding: 10px 4px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.8rem;
}

.student-list {
  display: grid;
  gap: 10px;
}

.student-list span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  font-size: 0.86rem;
}

.student-list b {
  color: var(--success);
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  text-align: center;
  font-weight: 800;
}

.split,
.business {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card,
.business-panel,
.calc-card,
.testimonial,
.cta-panel,
.eco-detail {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(27, 39, 51, 0.07);
}

.feature-card {
  padding: 24px;
}

.feature-card .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--primary-soft);
  font-size: 1.35rem;
}

.feature-card p,
.eco-detail p,
.testimonial span {
  color: var(--muted);
  line-height: 1.65;
}

.video-showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
  padding-top: 48px;
}

.video-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--outline);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(27, 39, 51, 0.06);
}

.video-card {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(21, 101, 192, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  z-index: 1;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.center-copy {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.ecosystem {
  padding-top: 84px;
}

.ecosystem-map {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
  margin: 0 auto;
}

.eco-node {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(27, 39, 51, 0.06);
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.eco-node:hover,
.eco-node.active {
  transform: translateY(-4px);
  border-color: rgba(21, 101, 192, 0.35);
  background: #fff;
}

.eco-node span,
.eco-node strong,
.eco-node small {
  display: block;
}

.eco-node span {
  margin-bottom: 14px;
  font-size: 2rem;
}

.eco-node strong {
  font-size: 1.25rem;
}

.eco-node small {
  margin-top: 8px;
  color: var(--muted);
}

.eco-line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--success));
}

.eco-detail {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 26px;
  text-align: center;
}

.business-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
}

.metric {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--primary);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.calc-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
}

.calc-card label {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 420px) 52px;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  font-weight: 800;
}

input[type="range"] {
  accent-color: var(--primary);
}

.calc-card label span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.calc-result div {
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.calc-result strong,
.calc-result span {
  display: block;
}

.calc-result strong {
  font-size: 2.25rem;
  letter-spacing: -0.05em;
}

.calc-result span {
  margin-top: 6px;
  opacity: 0.86;
}

.faq {
  padding-top: 58px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(27, 39, 51, 0.07);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 24px 26px;
  color: var(--text);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.proof {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  padding-top: 58px;
}

.testimonial,
.cta-panel {
  padding: 34px;
}

.testimonial p {
  font-size: 1.35rem;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.cta-panel {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), transparent 20rem),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel .btn-primary {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: none;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 42px;
  color: var(--muted);
}

.footer-topline {
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, transparent, rgba(21, 101, 192, 0.22), rgba(46, 158, 91, 0.18), transparent);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.footer-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-contact,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.footer-contact a,
.footer-nav a {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: var(--primary-dark);
}

.footer-contact .contact-pill,
.footer-contact .whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(27, 39, 51, 0.06);
  line-height: 1;
  white-space: nowrap;
}

.footer-contact .mail-link {
  color: var(--primary-dark);
}

.footer-contact .whatsapp-link {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.footer-contact .whatsapp-link:hover {
  color: #fff;
  background: #1fb85a;
}

.footer-nav {
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  justify-content: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  font-size: 0.88rem;
}

.legal-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 101, 192, 0.12), transparent 34rem),
    var(--bg);
}

.legal-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 28px;
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.legal-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 92px;
}

.legal-nav,
.legal-card {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(27, 39, 51, 0.07);
}

.legal-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.legal-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
}

.legal-nav a:hover,
.legal-nav a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.legal-card {
  padding: clamp(24px, 5vw, 52px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--warning);
  border-radius: 16px;
  background: #fff8e1;
  color: #6d4c00;
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 800;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--outline);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links a {
    padding: 14px 16px;
  }

  .hero,
  .split,
  .video-showcase,
  .business,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 720px;
  }

  .ecosystem-map {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eco-line {
    width: 4px;
    height: 36px;
    margin: 0 auto;
  }

  .logos,
  .business-panel,
  .calc-result,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .footer-main {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .section {
    width: calc(100% - 20px);
    padding: 64px 0;
  }

  .section-small {
    width: calc(100% - 20px);
  }

  h1 {
    font-size: 3rem;
  }

  .trust-row,
  .feature-grid,
  .logos,
  .business-panel,
  .calc-result,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 650px;
  }

  .route-card {
    right: 0;
  }

  .phone {
    width: 225px;
  }

  .phone-parent {
    right: 0;
  }

  .phone-driver {
    left: 0;
  }

  .calc-card label {
    grid-template-columns: 1fr 52px;
  }

  .calc-card input {
    grid-column: 1 / -1;
    order: 3;
  }

  .footer-main,
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
