/* Open Road Training — Country Roads / Rural British Theme */
:root {
  --green: #2e5902;
  --cream: #f9f4e8;
  --brown: #8b4513;
  --orange: #ff6f00;
  --offwhite: #fefefe;
  --green-dark: #1e3d01;
  --green-light: #3a6e03;
  --cream-dark: #ede8d5;
  --text-dark: #1a1a1a;
  --text-brown: #5c2d0a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
}

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

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

/* ---- UTILITIES ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem auto;
  max-width: 300px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--green);
  opacity: 0.35;
}
.divider-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--cream); color: var(--cream); }

/* ---- NAV ---- */
nav {
  background: var(--cream);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(46,89,2,0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--brown); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--brown);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  font-family: system-ui, sans-serif;
}
.nav-links a:hover { color: var(--green); }
.nav-links .nav-cta a {
  background: var(--green);
  color: var(--cream);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
}
.nav-links .nav-cta a:hover { opacity: 0.85; color: var(--cream); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--green);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 3px solid var(--green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
}

/* ---- HERO ---- */
.hero {
  background: var(--green);
  background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  background-blend-mode: multiply;
  padding: 6rem 0 5rem;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,89,2,0.85) 0%, rgba(30,61,1,0.70) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
}
.hero-text p {
  color: rgba(249,244,232,0.88);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Form Card */
.hero-form-card {
  background: var(--cream);
  border: 3px solid var(--brown);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero-form-card h3 {
  font-size: 1.35rem;
  color: var(--green);
  margin-bottom: 0.4rem;
  text-align: center;
}
.hero-form-card p {
  color: var(--text-brown);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.form-row { margin-bottom: 0.9rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 4px;
  background: var(--offwhite);
  font-size: 0.95rem;
  font-family: system-ui, sans-serif;
  color: var(--text-dark);
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-submit { width: 100%; margin-top: 0.5rem; font-size: 1.05rem; padding: 0.9rem; }
#form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-form-card { max-width: 500px; margin: 0 auto; }
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--green);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(249,244,232,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.stat-label {
  font-family: Georgia, serif;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
}
.stat-sub {
  color: rgba(249,244,232,0.7);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(249,244,232,0.2); }
}

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-brown);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--green);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

/* ---- MODULES SECTION ---- */
.modules-section { background: var(--cream); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.module-card {
  background: var(--offwhite);
  border-left: 4px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(46,89,2,0.06);
}
.module-card:hover {
  box-shadow: 0 6px 20px rgba(46,89,2,0.12);
  transform: translateY(-2px);
}
.module-num {
  font-family: Georgia, serif;
  font-size: 0.8rem;
  color: var(--brown);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.module-card h3 {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.module-card p { color: var(--text-brown); font-size: 0.92rem; }

@media (max-width: 768px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .modules-grid { grid-template-columns: 1fr; } }

/* ---- PHOTOS SECTION ---- */
.photos-section { background: var(--offwhite); }
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.photo-frame {
  border: 4px solid var(--green);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(46,89,2,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 4/3;
}
.photo-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(46,89,2,0.22);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

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

/* ---- PRICING ---- */
.pricing-section { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.pricing-card {
  background: var(--offwhite);
  border-top: 5px solid var(--green);
  border-radius: 0 0 8px 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 3px 12px rgba(46,89,2,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(46,89,2,0.15);
}
.pricing-card.featured { border-top-color: var(--orange); }
.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 6px 6px;
}
.pricing-card h3 {
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.pricing-price {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  color: var(--brown);
  font-weight: 700;
  margin: 0.5rem 0 1.25rem;
  line-height: 1;
}
.pricing-price span {
  font-size: 1rem;
  color: var(--text-brown);
  font-family: system-ui, sans-serif;
  font-weight: 400;
}
.pricing-features { list-style: none; margin-bottom: 1.75rem; }
.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-brown);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; text-align: center; }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--green);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--cream);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(249,244,232,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--green-dark);
  color: rgba(249,244,232,0.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--cream); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: Georgia, serif;
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: rgba(249,244,232,0.75);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-address { font-size: 0.88rem; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(249,244,232,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(249,244,232,0.55);
  max-width: 700px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--cream);
  border-top: 3px solid var(--green);
  padding: 1rem 1.5rem;
  z-index: 998;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
#cookie-banner p { font-size: 0.88rem; color: var(--text-brown); max-width: 700px; }
#cookie-banner a { color: var(--green); text-decoration: underline; }
.cookie-btn {
  background: var(--green);
  color: var(--cream);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }

/* ---- INNER PAGE HERO ---- */
.page-hero {
  background: var(--green);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(249,244,232,0.8); font-size: 1rem; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.company-card {
  background: var(--offwhite);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(46,89,2,0.08);
}
.company-card h3 { color: var(--green); margin-bottom: 1rem; font-size: 1.2rem; }
.company-card p { color: var(--text-brown); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.5rem; }
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 1.25rem;
  transition: opacity 0.2s;
}
.wa-link:hover { opacity: 0.87; }
.contact-form-wrap {
  background: var(--offwhite);
  border-top: 4px solid var(--green);
  border-radius: 0 0 8px 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(46,89,2,0.08);
}
.contact-form-wrap h3 { color: var(--green); margin-bottom: 1.25rem; font-size: 1.2rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- TERMS / PRIVACY ---- */
.legal-content {
  background: var(--offwhite);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 2.5rem 3rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(46,89,2,0.06);
}
.legal-content h2 {
  font-size: 1.5rem;
  color: var(--green);
  margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p { color: var(--text-brown); margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { color: var(--text-brown); padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.4rem; line-height: 1.65; }
.legal-meta {
  background: var(--cream);
  border-left: 4px solid var(--brown);
  padding: 1rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
  color: var(--text-brown);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .legal-content { padding: 1.5rem; }
  .form-row-half { grid-template-columns: 1fr; }
}
