:root {
  --asphalt: #175267;
  --asphalt-2: #1c6178;
  --asphalt-3: #227690;
  --cream: #ffffff;
  --cream-2: #f1f7f8;
  --ink: #17191b;
  --paper: #ffffff;
  --line-yellow: #f5e665;
  --line-yellow-dim: #ddc93f;
  --brake-red: #1f7791;
  --brake-red-dim: #175267;
  --moss: #5c6266;
  --muted: #565c5f;
  --muted-light: #a9d2de;

  --font-display: "Baloo 2", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-mono: "Quicksand", sans-serif;
  --font-script: "Kalam", cursive;

  --rail-width: 64px;
  --max: 1160px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--line-yellow); color: var(--asphalt); }

:focus-visible {
  outline: 3px solid var(--line-yellow);
  outline-offset: 3px;
}


.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(23, 82, 103, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(23, 82, 103, 0.98);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
  transition: padding 0.3s ease;
}

.site-header.scrolled .nav { padding: 12px 15px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--muted-light);
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--line-yellow);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream-2);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: var(--line-yellow);
  opacity: 0.35;
  top: -140px;
  right: -120px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: var(--brake-red);
  opacity: 0.12;
  bottom: -100px;
  right: 12%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin: 50px;
}

.hero-content {
  max-width: 620px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(10px 12px 0 rgba(23, 25, 27, 0.12));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--asphalt);
  background: var(--line-yellow);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  font-family: var(--font-script);
  font-weight: 700;
  text-transform: none;
  color: var(--asphalt);
  background: linear-gradient(transparent 62%, var(--line-yellow) 62%);
  padding: 0 2px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-subtitle strong { color: var(--ink); font-weight: 700; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 3px solid var(--ink);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--line-yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--cream-2);
}

.btn-on-dark {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
}

.btn-on-dark:hover {
  background: var(--paper);
  color: var(--ink);
}

.route-stop {
  position: relative;
}

.route-stop .stop-marker {
  position: absolute;
  left: 0;
  top: 96px;
  width: var(--rail-width);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.route-stop .stop-marker .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--line-yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.route-stop .stop-marker .line {
  width: 2px;
  flex: 1;
  background: repeating-linear-gradient(
    to bottom,
    var(--line-yellow-dim) 0 8px,
    transparent 8px 16px
  );
  min-height: 120px;
}

.route-stop .stop-marker .label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 1220px) {
  .route-stop .stop-marker { display: flex; }
  .route-stop { padding-left: var(--rail-width); }
}

.section {
  padding: 110px 0;
}

.section-alt { background: var(--cream-2); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brake-red);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 3rem;
  color: var(--ink);
}

.section-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: -1.75rem;
  margin-bottom: 3rem;
}


.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-text p:first-child {
  font-size: 1.2rem;
  color: var(--ink);
}

.plates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.plate {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  box-shadow: 4px 4px 0 var(--ink);
}

.plate::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  border: 1px dashed var(--line-yellow-dim);
  border-radius: 3px;
  pointer-events: none;
}

.plate-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--brake-red);
  letter-spacing: 0.02em;
}

.plate-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.package-card {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.package-card.featured {
  border-color: var(--paper);
  background: var(--asphalt);
  color: var(--paper);
}

.featured-tag {
  position: absolute;
  top: -13px;
  left: 2rem;
  background: var(--line-yellow);
  color: var(--asphalt);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.package-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-card.featured .package-title { color: var(--line-yellow); }

.package-price {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--brake-red);
  margin-bottom: 0.25rem;
}

.package-card.featured .package-price { color: var(--paper); }

.package-lessons {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.package-card.featured .package-lessons { color: var(--muted-light); }

.package-features {
  list-style: none;
  margin-bottom: 2rem;
}

.package-features li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(33, 37, 43, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.package-card.featured .package-features li {
  border-bottom-color: rgba(246, 242, 233, 0.12);
}

.package-features li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--moss);
}

.package-card.featured .package-features li svg { color: var(--line-yellow); }

.package-card .btn {
  width: 100%;
  justify-content: center;
  background: var(--asphalt);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.package-card .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.package-card.featured .btn {
  background: var(--line-yellow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}

.hourly-option {
  margin-top: 1.75rem;
  background: var(--asphalt);
  color: var(--paper);
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 2.5rem;
  text-align: center;
}

.hourly-option h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hourly-option .price-line {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hourly-option p.sub { color: rgba(246,242,233,0.85); margin-bottom: 1.5rem; }

.payment-info {
  margin-top: 1.75rem;
  background: var(--cream-2);
  border: 1px dashed var(--muted-light);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}

.payment-info h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.payment-info p { color: var(--muted); }
.payment-info strong { color: var(--ink); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-item {
  background: var(--cream);
  border-radius: 18px;
  padding: 2.25rem;
  border: 3px solid var(--ink);
  border-left-width: 6px;
  border-left-color: var(--line-yellow-dim);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.25rem;
  color: var(--brake-red);
}

.service-icon svg { width: 100%; height: 100%; }

.service-item h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-item p { color: var(--muted); font-size: 0.95rem; }

.schedule-banner {
  margin-top: 3rem;
  background: var(--asphalt);
  color: var(--paper);
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 2.5rem;
  text-align: center;
}

.schedule-banner .eyebrow { color: var(--line-yellow); }

.schedule-banner .hours {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0.5rem 0;
}

.schedule-banner p.sub { color: var(--muted-light); }


.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 5px 5px 0 var(--ink);
  border-top-width: 7px;
  border-top-color: var(--line-yellow);
}

.testimonial-card:nth-child(2) { border-top-color: var(--brake-red); }
.testimonial-card:nth-child(3) { border-top-color: var(--moss); }

.testimonial-text {
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) { .contact-methods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .contact-methods { grid-template-columns: 1fr; } }

.contact-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--asphalt);
  color: var(--paper);
  border: 3px solid var(--paper);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: var(--asphalt-3);
}

.contact-icon {
  width: 34px; height: 34px;
  margin: 0 auto 1.25rem;
  color: var(--line-yellow);
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-item h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-item small { color: var(--muted-light); font-size: 0.8rem; }

.location-card {
  margin-top: 1.75rem;
  background: var(--cream-2);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 2.5rem;
  text-align: center;
}

.location-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.location-card svg { width: 20px; height: 20px; color: var(--brake-red); }
.location-card p { color: var(--muted); }
.location-card .status { color: var(--moss); font-weight: 600; }


.footer {
  background: var(--asphalt);
  color: var(--muted-light);
  text-align: center;
  padding: 3.5rem 0;
}

.footer h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}

.footer .footer-contact { margin-top: 1rem; font-size: 0.9rem; }
.footer .footer-contact span { margin: 0 10px; }

.footer-socials { margin-top: 1.5rem; display: flex; justify-content: center; gap: 1.25rem; }

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246,242,233,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover { border-color: var(--line-yellow); color: var(--line-yellow); }
.footer-socials svg { width: 18px; height: 18px; }

.footer .fine-print { margin-top: 1.75rem; font-size: 0.8rem; }
.footer .credit { font-size: 0.75rem; margin-top: 0.5rem; color: var(--muted); }
.footer .credit a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--muted); }
.footer .credit a:hover { color: var(--line-yellow); border-color: var(--line-yellow); }

.float-btn {
  position: fixed;
  right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  z-index: 100;
}

.float-btn svg { width: 24px; height: 24px; }

.whatsapp-float {
  bottom: 28px;
  background: #2fae60;
  color: white;
}

.whatsapp-float:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.back-to-top {
  bottom: 92px;
  background: var(--line-yellow);
  color: var(--asphalt);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 260px; }
  .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--asphalt-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.active { transform: translateX(0); }

  .nav-links a { font-size: 1.2rem; }

  .menu-toggle { display: flex; }

  .section { padding: 80px 0; }

  .plates { grid-template-columns: repeat(2, 1fr); }

  .cta-buttons { flex-direction: column; align-items: stretch; }

  .float-btn { width: 46px; height: 46px; right: 18px; }
  .whatsapp-float { bottom: 18px; }
  .back-to-top { bottom: 74px; }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.active { display: block; }