/* Zion View Driving School — static CSS matching original design tokens */

:root {
  --radius: 1rem;
  --background: #f7f3eb;
  --foreground: #3a2a1f;
  --card: #fcfaf6;
  --muted: #efe8db;
  --muted-foreground: #7a6a5a;
  --primary: #c45c2a;
  --primary-foreground: #fdf8f0;
  --secondary: #ebe0cc;
  --accent: #e8b84a;
  --forest: #2f5c3e;
  --forest-foreground: #fdf8f0;
  --border: #ddd0bc;
  --ink: #2a2118;
  --ink-foreground: #f5efe4;
  --shadow-warm: 0 20px 50px -20px rgba(196, 92, 42, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(221, 208, 188, 0.6);
  background: rgba(247, 243, 235, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.logo span { color: var(--primary); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--foreground); }

.nav-mobile {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}
.nav-mobile a {
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.nav-mobile a.is-active {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 600;
  transition: filter 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-sunset {
  background: linear-gradient(135deg, #c45c2a, #d98a3a);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-warm);
}
.btn-sunset:hover { filter: brightness(1.1); }
.btn-ghost {
  border: 1px solid rgba(245, 239, 228, 0.4);
  color: var(--ink-foreground);
  background: transparent;
}
.btn-ghost:hover { background: rgba(245, 239, 228, 0.1); }
.btn-forest {
  background: var(--forest);
  color: var(--forest-foreground);
  border-radius: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-forest:hover { filter: brightness(1.1); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Page intro */
.page-intro {
  padding: 4rem 0 2.5rem;
}
@media (min-width: 768px) {
  .page-intro { padding: 6rem 0 2.5rem; }
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin: 0;
}
.page-intro h1 {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .page-intro h1 { font-size: 3.75rem; }
}
.page-intro .lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(42, 33, 24, 0.35), rgba(42, 33, 24, 0.85));
}
.hero-content {
  display: flex;
  min-height: 80vh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 0 5rem;
  color: var(--ink-foreground);
}
.hero-content h1 {
  margin-top: 1rem;
  max-width: 48rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
}
@media (min-width: 768px) {
  .hero-content h1 { font-size: 4.5rem; }
}
.hero-content p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: rgba(245, 239, 228, 0.85);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Services grid */
.section { padding: 5rem 0; }
.section h2 {
  font-size: 1.875rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .section h2 { font-size: 2.25rem; }
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.service-card .img-wrap { position: relative; }
.service-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}
.service-icon {
  position: absolute;
  bottom: -1.5rem;
  left: 1.25rem;
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--forest);
  color: var(--forest-foreground);
  box-shadow: var(--shadow-warm);
  font-size: 1.25rem;
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.25rem 1.5rem 1.5rem;
}
.service-body h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-body p {
  margin: 0.5rem 0 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.service-body .btn-forest { margin-top: 1.25rem; }

/* Instructor split */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split img {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-warm);
}
.split img.wide { aspect-ratio: 3 / 2; }
.split .eyebrow { margin: 0; }
.split h2 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 600; }
@media (min-width: 768px) {
  .split h2 { font-size: 2.25rem; }
}
.split p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.split .btn { margin-top: 2rem; }

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
.review-card {
  border-radius: 1.5rem;
  background: var(--secondary);
  padding: 2rem;
}
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
}
.review-card figcaption {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* CTA band */
.cta-band {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #c45c2a, #d98a3a);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--primary-foreground);
}
.cta-band h2 {
  font-size: 1.875rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  .cta-band { padding: 3.5rem 4rem; }
  .cta-band h2 { font-size: 3rem; }
}
.cta-band p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: rgba(253, 248, 240, 0.9);
}
.cta-band .btn { margin-top: 2rem; }

/* Pricing cards */
.plans-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
}
.plan-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.plan-card.featured {
  background: var(--ink);
  color: var(--ink-foreground);
  border: none;
  box-shadow: var(--shadow-warm);
}
.plan-card h2 { font-size: 1.5rem; font-weight: 600; }
.plan-price {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
}
.plan-card.featured .plan-price { color: var(--accent); }
.plan-card ul {
  margin-top: 1.5rem;
  flex: 1;
}
.plan-card li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.plan-card li::before {
  content: "";
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--primary);
}
.plan-card .btn { margin-top: 2rem; align-self: flex-start; }

/* Adult / CDL cards */
.two-col {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
.info-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
}
.info-card.dark {
  background: var(--ink);
  color: var(--ink-foreground);
  border: none;
}
.info-card h2 { font-size: 1.5rem; font-weight: 600; }
.info-card p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}
.info-card.dark p { color: rgba(245, 239, 228, 0.75); }

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 2fr 3fr; }
}
.about-grid img {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-warm);
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.about-copy ul { color: var(--foreground); }
.about-copy li { margin-bottom: 0.5rem; }
.about-quote {
  border-radius: 1rem;
  background: var(--secondary);
  padding: 1.5rem;
  font-family: var(--font-display);
  color: var(--foreground);
  margin: 0;
}
.about-quote span {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--primary);
}

.about-hero { padding-top: 2rem; }
.about-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: center 60%;
  box-shadow: var(--shadow-warm);
}
.about-hero + .page-intro { padding-top: 2.5rem; }
.instructor-name {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.instructor-role {
  margin-top: -0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 1.5rem;
  border: 2px dashed var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Enroll form */
.enroll-form {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
}
@media (min-width: 640px) {
  .enroll-form { grid-template-columns: 1fr 1fr; }
}
.enroll-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}
.enroll-form input,
.enroll-form select,
.enroll-form textarea {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--foreground);
  outline: none;
}
.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
  box-shadow: 0 0 0 2px var(--primary);
}
.enroll-form .full { grid-column: 1 / -1; }
.enroll-form .actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.enroll-form .hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
.status-ok {
  border-radius: 1.5rem;
  background: var(--secondary);
  padding: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.status-err {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  background: var(--ink);
  color: var(--ink-foreground);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}
.footer-heading {
  font-weight: 600;
  margin: 0;
  color: var(--ink-foreground);
}
.footer-muted {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(245, 239, 228, 0.7);
}
.footer-links {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(245, 239, 228, 0.7); }
.footer-links a:hover { color: var(--ink-foreground); }
.footer-copy {
  border-top: 1px solid rgba(245, 239, 228, 0.15);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(245, 239, 228, 0.5);
  margin: 0;
}
