:root {
  --navy: #0b2940;
  --navy-2: #123c59;
  --red: #c92632;
  --red-dark: #9f1f28;
  --cream: #fffaf4;
  --sand: #f4eee5;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #66727d;
  --line: #dfe5e9;
  --teal: #2a7188;
  --shadow-sm: 0 8px 24px rgba(10, 35, 53, 0.08);
  --shadow-md: 0 18px 50px rgba(10, 35, 53, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; z-index: 9999; left: 12px; top: 12px; transform: translateY(-160%);
  background: var(--paper); color: var(--navy); border-radius: 8px; padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #2f84c4; outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,41,64,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 38px; aspect-ratio: 1; background: linear-gradient(135deg, var(--navy) 0 48%, var(--red) 48% 100%);
  color: white; clip-path: polygon(8% 20%, 25% 18%, 30% 4%, 46% 13%, 59% 6%, 69% 22%, 87% 28%, 79% 43%, 90% 58%, 71% 63%, 64% 90%, 47% 76%, 31% 89%, 26% 67%, 8% 59%, 17% 42%);
  font-size: 14px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.brand-copy strong { font-size: .98rem; color: var(--red); }
.brand-copy strong span { color: var(--navy); font-size: 1.2rem; }
.brand-copy small { color: var(--navy); font-weight: 900; letter-spacing: .18em; margin-top: 5px; }
.primary-nav { display: flex; align-items: center; gap: 24px; font-size: .94rem; font-weight: 750; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { background: var(--red); color: white; padding: 11px 16px; border-radius: 10px; box-shadow: 0 8px 20px rgba(201,38,50,.2); }
.nav-cta:hover { background: var(--red-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.hero {
  min-height: 620px; position: relative; isolation: isolate; display: flex; align-items: center; color: white;
  background:
    linear-gradient(90deg, rgba(5,24,38,.90), rgba(5,24,38,.62) 48%, rgba(5,24,38,.28)),
    url('https://images.unsplash.com/photo-1565123409695-7b5ef63a2efb?auto=format&fit=crop&w=1800&q=85') center 58% / cover;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(to top, rgba(5,24,38,.72), transparent); z-index: -1; }
.hero-content { padding-block: 96px 80px; position: relative; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .78rem; color: #ffe2a7; }
.eyebrow.dark { color: var(--red); }
.eyebrow.light { color: #ffd6a3; }
.hero h1 { max-width: 840px; font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero-intro { font-size: clamp(1rem, 2vw, 1.3rem); max-width: 650px; color: rgba(255,255,255,.9); margin: 20px 0 28px; }
.hero-search { max-width: 820px; background: white; padding: 8px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.search-icon { color: var(--navy); font-size: 1.5rem; margin-inline: 8px 2px; }
.hero-search input { min-width: 0; width: 100%; border: 0; padding: 13px 10px; color: var(--ink); outline: 0; }
.hero-search button, .empty-state button, .interest-form button { border: 0; background: var(--red); color: white; font-weight: 850; padding: 13px 22px; border-radius: 10px; }
.hero-search button:hover, .empty-state button:hover, .interest-form button:hover { background: var(--red-dark); }
.quick-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.quick-filters button { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.94); color: var(--navy); border-radius: 999px; padding: 10px 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.quick-filters button:hover, .quick-filters button[aria-pressed="true"] { background: var(--red); color: white; border-color: var(--red); transform: translateY(-1px); }

.trust-strip { background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 20px 28px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.16); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { font-size: .98rem; }
.trust-grid span { color: rgba(255,255,255,.72); font-size: .86rem; }

.section { padding-block: 84px; }
.section:nth-of-type(even) { background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .section h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; }
.section-actions { display: flex; align-items: center; gap: 14px; }
.results-count { color: var(--muted); font-weight: 750; }
.text-button { border: 0; background: transparent; color: var(--red); text-decoration: underline; font-weight: 800; }
.text-link { color: var(--red); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-copy { max-width: 640px; color: var(--muted); font-size: 1.04rem; }

.filter-toolbar { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--sand); border: 1px solid #e8dfd5; border-radius: var(--radius-sm); margin-bottom: 22px; }
.filter-toolbar label { font-size: .86rem; font-weight: 850; color: var(--navy); }
.filter-toolbar select { border: 1px solid #cfd8de; border-radius: 9px; padding: 9px 34px 9px 10px; background: white; color: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.truck-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.truck-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: #e8ecef; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.truck-card:hover .card-media img { transform: scale(1.035); }
.favorite-button { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.favorite-button[aria-pressed="true"] { background: var(--red); color: white; }
.card-body { padding: 18px; }
.card-kicker { margin: 0 0 4px; color: var(--red); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.card-body h3, .park-card h3, .event-card h3 { margin: 0; color: var(--navy); font-size: 1.25rem; }
.truck-meta { color: var(--muted); margin-top: 5px; font-size: .92rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag-list span { font-size: .78rem; background: #eef5f7; color: #285669; border-radius: 999px; padding: 6px 9px; font-weight: 750; }
.card-link { display: inline-flex; margin-top: 16px; color: var(--red); font-weight: 850; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed #d6dde2; border-radius: var(--radius); }
.empty-state > span { font-size: 3rem; }
.empty-state h3 { margin-bottom: 4px; color: var(--navy); }
.empty-state p { color: var(--muted); }

.section-parks { background: #f7f0e8 !important; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr); gap: 34px; align-items: stretch; }
.park-stack { display: grid; gap: 16px; margin-top: 28px; }
.park-card { display: grid; grid-template-columns: 190px 1fr; gap: 18px; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eadfd3; }
.park-card img { width: 100%; height: 100%; min-height: 165px; object-fit: cover; }
.park-card > div { padding: 18px 18px 18px 0; align-self: center; }
.city-panel { background: var(--navy); color: white; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-md); }
.city-panel h3 { font-size: 2rem; margin: 0; }
.texas-map { width: min(260px, 85%); aspect-ratio: 1.15; margin: 24px auto; background: linear-gradient(135deg, #e8f4f7, #c9e4eb); clip-path: polygon(15% 11%, 37% 12%, 43% 1%, 54% 7%, 75% 4%, 84% 17%, 96% 28%, 84% 44%, 88% 58%, 73% 62%, 67% 84%, 51% 100%, 40% 79%, 27% 77%, 26% 64%, 8% 57%, 13% 41%, 4% 30%); position: relative; }
.map-star { position: absolute; color: var(--red); font-size: 1rem; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
.map-star.one { left: 47%; top: 51%; }.map-star.two { left: 52%; top: 39%; }.map-star.three { left: 67%; top: 50%; }.map-star.four { left: 43%; top: 67%; }
.city-links { display: grid; gap: 8px; }
.city-links a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; text-decoration: none; border-top: 1px solid rgba(255,255,255,.16); }
.city-links a:hover strong { color: #ffd6a3; }
.city-links span { color: rgba(255,255,255,.68); font-size: .88rem; }

.events-section { background: white !important; }
.events-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.event-card { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.featured-event { background: linear-gradient(135deg, #fff6e9, white); border-color: #efdec6; }
.event-date { flex: 0 0 62px; width: 62px; height: 72px; display: grid; place-items: center; align-content: center; border-radius: 12px; background: var(--navy); color: white; line-height: 1; }
.event-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }.event-date strong { font-size: 1.55rem; margin-top: 4px; }
.event-card p:not(.card-kicker) { color: var(--muted); font-size: .92rem; }

.resource-section { background: #edf4f6 !important; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-grid a { display: flex; gap: 14px; align-items: center; padding: 20px; background: white; text-decoration: none; border-radius: var(--radius-sm); border: 1px solid #dbe5e8; box-shadow: var(--shadow-sm); }
.resource-grid a:hover { transform: translateY(-2px); border-color: #bfd1d7; }
.resource-icon { width: 44px; aspect-ratio: 1; display: grid; place-items: center; background: #e9f3f6; border-radius: 12px; }
.resource-grid strong, .resource-grid small { display: block; }.resource-grid strong { color: var(--navy); }.resource-grid small { color: var(--muted); margin-top: 2px; }

.about-section { background: var(--navy) !important; color: white; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-section h2 { color: white; }
.about-section p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 650px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-grid div { padding: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); }
.metric-grid strong { display: block; color: #ffd6a3; font-size: 1.45rem; }.metric-grid span { font-size: .86rem; color: rgba(255,255,255,.72); }

.list-section { background: #fff8ef !important; }
.list-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; background: white; padding: 34px; border: 1px solid #eadfd3; border-radius: 26px; box-shadow: var(--shadow-md); }
.list-card p { color: var(--muted); }
.interest-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.interest-form label { display: block; margin-bottom: 6px; font-size: .83rem; font-weight: 850; color: var(--navy); }
.interest-form input { width: 100%; border: 1px solid #cfd9df; border-radius: 10px; padding: 12px; }
.form-status { grid-column: 1 / -1; margin: 0 !important; min-height: 1.5em; color: #276a44 !important; font-weight: 750; }

.site-footer { background: #081d2d; color: white; padding-block: 42px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; align-items: start; }
.brand-footer .brand-copy strong, .brand-footer .brand-copy small { color: white; }
.site-footer p { color: rgba(255,255,255,.6); font-size: .88rem; }
.site-footer nav { display: grid; gap: 8px; }.site-footer nav a { text-decoration: none; color: rgba(255,255,255,.8); }.site-footer nav a:hover { color: white; }
.footer-note { text-align: right; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 76px; left: 16px; right: 16px; display: none; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 12px; border-radius: 8px; }.nav-cta { text-align: center; margin-top: 6px; }
  .hero { min-height: 590px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-layout, .about-grid, .list-card { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }.featured-event { grid-column: 1 / -1; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .interest-form { grid-template-columns: 1fr 1fr; }.interest-form button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-note { text-align: left; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 22px, 1180px); }
  .header-inner { min-height: 68px; }.primary-nav { top: 68px; }
  .brand-copy strong { font-size: .83rem; }.brand-copy strong span { font-size: 1rem; }.brand-copy small { font-size: .68rem; }
  .hero { min-height: 650px; background-position: 58% center; }
  .hero-content { padding-block: 74px 54px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-search { grid-template-columns: auto 1fr; }.hero-search button { grid-column: 1 / -1; width: 100%; }
  .quick-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .quick-filters button { white-space: nowrap; }
  .trust-grid { grid-template-columns: 1fr; }.trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 14px 4px; }.trust-grid div:last-child { border-bottom: 0; }
  .section { padding-block: 62px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .filter-toolbar { display: grid; grid-template-columns: auto 1fr; }.filter-toolbar select { width: 100%; }
  .card-grid, .events-grid, .resource-grid { grid-template-columns: 1fr; }.featured-event { grid-column: auto; }
  .park-card { grid-template-columns: 1fr; }.park-card img { height: 180px; }.park-card > div { padding: 0 18px 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .interest-form { grid-template-columns: 1fr; }.interest-form button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
