:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #5e6971;
  --line: #d9dedc;
  --paper: #f6f3ec;
  --white: #ffffff;
  --green: #1f6b5b;
  --gold: #c79a45;
  --sky: #d9e8ef;
  --shadow: 0 20px 50px rgba(23, 32, 39, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.header-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/visalia-charter-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 20, 25, 0.9) 0%, rgba(12, 20, 25, 0.77) 42%, rgba(12, 20, 25, 0.34) 72%, rgba(12, 20, 25, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 20, 25, 0.48), rgba(12, 20, 25, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  min-height: 820px;
  margin: 0 auto;
  padding: 106px 0 44px;
}

.hero-copy {
  max-width: 720px;
  color: var(--white);
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
}

.quick-form {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 22px;
}

.quick-form h2 {
  margin-bottom: 6px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.form-note,
.privacy-note {
  color: var(--muted);
  font-size: 0.9rem;
}

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

form {
  display: grid;
  gap: 12px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

legend {
  margin-bottom: 8px;
}

.intent-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.intent-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid #cdd5d6;
  border-radius: 4px;
  background: #fbfbf8;
  padding: 8px 10px;
  cursor: pointer;
}

.intent-group input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

label:not(.intent-group label) {
  display: grid;
  gap: 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd4d6;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 10px 11px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(199, 154, 69, 0.32);
  border-color: var(--gold);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lead-form:not(.is-trip-pricing) .trip-fields {
  display: none !important;
}

.submit-button {
  display: inline-flex;
  min-height: 48px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: #15110a;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.privacy-note {
  margin: -2px 0 0;
}

.notice {
  border-radius: 4px;
  margin: 12px 0;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 800;
}

.notice.success {
  background: #e4f3ec;
  color: #14503f;
}

.notice.error {
  background: #f7e8e5;
  color: #8a2a20;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-strip div {
  min-height: 118px;
  background: var(--paper);
  padding: 24px clamp(18px, 4vw, 42px);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.quick-strip span {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  display: grid;
  gap: 8px;
  padding: 22px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
}

footer p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 960px) {
  .site-header {
    position: relative;
    background: var(--ink);
  }

  .hero {
    min-height: 980px;
  }

  .hero-content {
    min-height: 980px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 38px 0 34px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .quick-form {
    max-width: 680px;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 15px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .header-link {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-top: 30px;
  }

  h1 {
    font-size: 3rem;
  }

  .field-pair {
    grid-template-columns: 1fr;
  }

  .quick-form {
    padding: 17px;
  }

  .hero-points {
    gap: 8px;
  }
}
