/* Route One Driving — Retro Americana / Vintage Road Sign Style */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #faf0e6;
  color: #1a1a1a;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

/* ===== UTILITY ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--red { background: #8b1a1a; color: #faf0e6; }
.section--cream { background: #faf0e6; color: #1a1a1a; }
.section--dark { background: #1a1a1a; color: #faf0e6; }

/* ===== ORNAMENT / DIVIDER ===== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: #d4af37;
  border-top: 1px dashed #d4af37;
  border-bottom: 1px dashed #d4af37;
  border-top-width: 1px;
  outline: 1px dashed #d4af37;
}
.ornament-star {
  color: #d4af37;
  font-size: 1.6rem;
  line-height: 1;
}

.gold-divider {
  border: none;
  border-top: 2px dashed #d4af37;
  margin: 32px 0;
  opacity: 0.7;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.text-center { text-align: center; }
.text-gold { color: #d4af37; }
.text-red { color: #8b1a1a; }
.text-cream { color: #faf0e6; }

/* ===== DOUBLE-LINE BORDER FRAME ===== */
.frame-double {
  border: 3px solid #8b1a1a;
  outline: 1px solid #8b1a1a;
  outline-offset: 4px;
  padding: 8px;
}

/* ===== NAVIGATION ===== */
.nav {
  background: #8b1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #d4af37;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
  height: 70px;
}

.nav-logo {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: #faf0e6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.nav-logo span { color: #d4af37; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: #faf0e6;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  font-family: Georgia, serif;
}
.nav-links a:hover { color: #d4af37; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #faf0e6;
  display: block;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: #8b1a1a;
  background-image:
    url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  padding: 100px 0 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.82);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 20px;
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-title {
  color: #faf0e6;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 8px;
}

.hero-sub {
  color: #faf0e6;
  font-size: 1.1rem;
  margin-top: 20px;
  opacity: 0.9;
  max-width: 540px;
}

/* ===== ENROLLMENT FORM CARD ===== */
.form-card {
  background: #faf0e6;
  border: 3px solid #8b1a1a;
  outline: 2px solid #d4af37;
  outline-offset: 3px;
  padding: 36px 28px;
  border-radius: 2px;
}

.form-card-title {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b1a1a;
  margin-bottom: 4px;
  text-align: center;
}

.form-card-sub {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b1a1a;
  margin-bottom: 4px;
  font-family: Georgia, serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #8b1a1a;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  border-radius: 2px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: all 0.25s;
  font-weight: bold;
}

.btn-primary {
  background: #8b1a1a;
  color: #faf0e6;
  border-color: #8b1a1a;
}
.btn-primary:hover {
  background: #6d1414;
  border-color: #6d1414;
}

.btn-gold {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
}
.btn-gold:hover {
  background: #d4af37;
  color: #1a1a1a;
}

.btn-gold-solid {
  background: #d4af37;
  color: #1a1a1a;
  border-color: #d4af37;
  font-weight: bold;
}
.btn-gold-solid:hover {
  background: #b8952e;
  border-color: #b8952e;
}

.btn-full { width: 100%; text-align: center; }

.form-success {
  display: none;
  background: #2d6a2d;
  color: #fff;
  padding: 14px;
  border-radius: 2px;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* ===== STATS ROW ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.stat-card {
  background: #faf0e6;
  border: 3px solid #8b1a1a;
  border-top: 5px solid #d4af37;
  padding: 28px 20px;
  text-align: center;
  border-radius: 2px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #8b1a1a;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}

/* ===== MODULES GRID ===== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.module-card {
  background: #faf0e6;
  border: 2px solid #8b1a1a;
  border-top: 5px solid #d4af37;
  padding: 32px 24px;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,26,0.18);
}

.module-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2.8rem;
  font-weight: bold;
  color: #d4af37;
  opacity: 0.25;
  line-height: 1;
  font-family: Georgia, serif;
}

.module-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #8b1a1a;
}

.module-title {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #8b1a1a;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.module-desc {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
}

/* ===== PHOTO PANELS ===== */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.photo-panel {
  border: 6px solid #8b1a1a;
  outline: 3px solid #faf0e6;
  outline-offset: -10px;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.photo-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: sepia(18%) contrast(1.05);
  transition: transform 0.4s;
}

.photo-panel:hover img { transform: scale(1.04); }

.photo-caption {
  background: #8b1a1a;
  color: #faf0e6;
  text-align: center;
  padding: 10px 14px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

.price-card {
  background: #faf0e6;
  border: 3px solid #8b1a1a;
  border-radius: 50% 50% 4px 4px / 30px 30px 4px 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(139,26,26,0.22);
}

.price-card--featured {
  border-color: #d4af37;
  border-width: 4px;
}

.price-header {
  background: #8b1a1a;
  color: #faf0e6;
  text-align: center;
  padding: 32px 24px 24px;
  position: relative;
}

.price-card--featured .price-header {
  background: #6d1414;
  border-bottom: 3px solid #d4af37;
}

.price-tier {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 6px;
}

.price-name {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 3rem;
  font-weight: bold;
  color: #d4af37;
  line-height: 1;
}

.price-amount sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: #faf0e6;
}

.price-amount span {
  font-size: 1rem;
  color: #faf0e6;
  font-weight: normal;
}

.price-body {
  padding: 28px 24px 32px;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(139,26,26,0.2);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #333;
}

.price-features li::before {
  content: '★';
  color: #d4af37;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #8b1a1a;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(212,175,55,0.4);
  pointer-events: none;
}

.cta-title {
  color: #faf0e6;
  margin-bottom: 16px;
}

.cta-sub {
  color: #faf0e6;
  opacity: 0.85;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: #faf0e6;
  padding: 60px 0 32px;
  border-top: 4px solid #8b1a1a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #faf0e6;
  margin-bottom: 16px;
}
.footer-logo span { color: #d4af37; }

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-company {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #faf0e6;
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover { opacity: 1; color: #d4af37; }

.footer-bottom {
  border-top: 1px dashed rgba(212,175,55,0.3);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.55;
}

.footer-disclaimer {
  font-size: 0.78rem;
  opacity: 0.5;
  max-width: 600px;
  line-height: 1.5;
  font-style: italic;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #faf0e6;
  border-top: 4px solid #8b1a1a;
  padding: 20px 32px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

.cookie-text {
  font-size: 0.9rem;
  color: #1a1a1a;
  flex: 1;
  min-width: 260px;
}

.cookie-text a {
  color: #8b1a1a;
  text-decoration: underline;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9000;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  background: #8b1a1a;
  padding: 80px 0;
  text-align: center;
}

.company-card {
  background: #faf0e6;
  border: 3px solid #8b1a1a;
  border-top: 5px solid #d4af37;
  padding: 36px 32px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(139,26,26,0.25);
  font-size: 0.95rem;
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  font-size: 1.2rem;
  color: #8b1a1a;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  background: #8b1a1a;
  padding: 60px 0;
  text-align: center;
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-body h2 {
  font-size: 1.3rem;
  color: #8b1a1a;
  margin: 36px 0 12px;
  letter-spacing: 0.05em;
  border-bottom: 2px dashed #d4af37;
  padding-bottom: 8px;
}

.legal-body h3 {
  font-size: 1.05rem;
  color: #8b1a1a;
  margin: 24px 0 8px;
}

.legal-body p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
}

.legal-body ul, .legal-body ol {
  margin: 12px 0 18px 24px;
}

.legal-body li {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: #333;
}

.legal-meta {
  background: #faf0e6;
  border: 2px solid #8b1a1a;
  border-top: 4px solid #d4af37;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #8b1a1a;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(212,175,55,0.3);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .nav { position: relative; }

  .modules-grid { grid-template-columns: 1fr; }
  .photos-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
