:root {
  --bg: #F4F0E8;
  --surface: #FFFFFF;
  --surface-2: #F8F5EE;
  --border: rgba(20, 22, 27, 0.08);
  --ink: #14161B;
  --muted: #6B6F77;
  --accent: #F6B51E;
  --cheap: #166534;
  --cheap-bg: #DCFCE7;
  --mid: #9A6700;
  --mid-bg: #FDEFC8;
  --high: #991B1B;
  --high-bg: #FEE2E2;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Inter Tight', 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
a { color: #14161B; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }

.hero { padding: 30px 0 22px; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); margin: 0 0 10px; color: var(--ink); }
.hero p.lead { color: var(--muted); margin: 0; max-width: 70ch; }

.controls-panel {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
@media (max-width: 760px) {
  .controls-panel { grid-template-columns: 1fr; }
}
.ctrl label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 600;
}
.ctrl input, .ctrl select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 22, 27, 0.18);
  background: #FFFFFF;
  color: #14161B;
  font-size: 0.95rem;
}
.ctrl input:focus, .ctrl select:focus {
  outline: none;
  border-color: #F6B51E;
}

.fuel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}
.fuel-btn {
  border: 1px solid rgba(20, 22, 27, 0.14);
  background: #FFFFFF;
  color: #14161B;
  padding: 9px 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.fuel-btn.active {
  background: #F6B51E;
  color: #14161B;
  font-weight: 700;
  border-color: #14161B;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}
@media (max-width: 700px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
}
.kpi {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
.kpi .lbl { font-size: 0.78rem; color: var(--muted); }
.kpi .val { font-size: 1.45rem; font-weight: 700; margin-top: 3px; color: #14161B; }

.stations-list {
  display: grid;
  gap: 12px;
}
.station-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
@media (max-width: 620px) {
  .station-card { grid-template-columns: 1fr; }
}
.station-brand { font-size: 1.08rem; font-weight: 700; color: #14161B; }
.station-addr { font-size: 0.88rem; color: var(--muted); margin-top: 3px; }
.station-meta { font-size: 0.8rem; color: var(--muted); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.price-box { text-align: right; }
@media (max-width: 620px) {
  .price-box { text-align: left; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
}
.price-val { font-size: 1.65rem; font-weight: 800; color: #14161B; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-cheap { background: #DCFCE7; color: #166534; }
.badge-mid { background: #FDEFC8; color: #9A6700; }
.badge-high { background: #FEE2E2; color: #991B1B; }

.btn-maps {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #14161B;
  border: 1px solid #14161B;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-maps:hover { background: #F6B51E; border-color: #F6B51E; color: #14161B; text-decoration: none; }

.search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.search-row input {
  flex: 1;
  min-width: 0;
}
.btn-near-me {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 22, 27, 0.18);
  background: #F8F5EE;
  color: #14161B;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.btn-near-me:hover {
  background: #FDEFC8;
  border-color: #F6B51E;
}
.btn-near-me:disabled {
  opacity: 0.65;
  cursor: wait;
}
.near-me-status {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}
.near-me-status[hidden] { display: none; }
.filter-24h-btn {
  border: 1px solid rgba(20, 22, 27, 0.14);
  background: #FFFFFF;
  color: #14161B;
  padding: 9px 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.filter-24h-btn.active {
  background: #14161B;
  color: #F6B51E;
  font-weight: 700;
  border-color: #14161B;
}
.empty-filter-msg {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.empty-filter-msg[hidden] { display: none; }
.info-section {
  margin-top: 30px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
.info-card h3 {
  font-size: 0.98rem;
  margin: 0 0 8px;
  color: #14161B;
}
.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.info-highlight {
  font-size: 1.32rem;
  font-weight: 800;
  color: #14161B;
  margin: 4px 0 6px;
}
.faq-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.faq-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
.faq-card h3 {
  font-size: 0.98rem;
  margin: 0 0 6px;
  color: #14161B;
}
.faq-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.legal-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
.legal-card h1 {
  margin-top: 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.legal-card h2 {
  font-size: 1.15rem;
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal-card p, .legal-card li {
  color: #374151;
  font-size: 0.95rem;
}
.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  max-width: 620px;
}
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 22, 27, 0.18);
  background: #FFFFFF;
  color: #14161B;
  font-family: inherit;
  font-size: 0.95rem;
  min-height: 110px;
  resize: vertical;
}
.contact-form textarea:focus {
  outline: none;
  border-color: #F6B51E;
}
.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}
.contact-check input {
  width: auto;
  margin-top: 3px;
}
.contact-feedback {
  padding: 12px 14px;
  border-radius: 12px;
  background: #DCFCE7;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-feedback[hidden] { display: none; }

.search-results {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.muni-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  color: #14161B;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px -16px rgba(60, 45, 20, 0.25);
}
.muni-link:hover { border-color: #F6B51E; text-decoration: none; }

.breadcrumbs {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 16px 0 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
footer {
  margin-top: 44px;
  background: #EFE8DC;
  border-top: 1px solid rgba(20, 22, 27, 0.08);
  padding: 26px 0 38px;
  color: #6B6F77;
  font-size: 0.84rem;
  text-align: center;
}
footer a { color: #14161B; font-weight: 600; }
.gh-footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.85rem;
}
.gh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #14161B;
  border-top: 1px solid rgba(246, 181, 30, 0.35);
  color: #F4F0E8;
  padding: 14px 18px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
}
.gh-cookie-banner a { color: #F6B51E; text-decoration: underline; }
.gh-cookie-banner[hidden] { display: none !important; }
@media (max-width: 768px) {
  .gh-cookie-banner { flex-direction: column; align-items: stretch; }
}

/* === GoRide Hero, Floating Pill Navbar, Tilted SVG Map & iPhone Lens === */
.gr-hero-wrap {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #F4F0E8;
  color: #14161B;
  padding: 24px 24px 56px;
  border-bottom: 1px solid #E5DFD3;
}
.gr-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  cursor: crosshair;
}
.gr-map-svg {
  position: absolute;
  inset: -16%;
  width: 132%;
  height: 132%;
  transform: rotate(-12deg);
  transform-origin: center;
  display: block;
}
#grCarsLayer, #grRouteLine, #grFlagGroup { pointer-events: none; }
.gr-map-tooltip {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  background: #14161B;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(20, 22, 27, 0.22);
  transform: translate(12px, -32px);
  white-space: nowrap;
}
.gr-map-tooltip[hidden] { display: none; }

.gr-nav-shell {
  position: relative;
  z-index: 50;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.gr-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(248, 245, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 16px;
  padding: 12px 20px;
  box-shadow: 0 10px 30px rgba(20, 22, 27, 0.06);
}
.gr-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter Tight', 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  color: #14161B;
  text-decoration: none;
}
.gr-logo:hover { text-decoration: none; }
.gr-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #F6B51E;
  color: #14161B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.98rem;
}
.gr-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
.gr-nav-links a {
  color: #6B6F77;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gr-nav-links a.active,
.gr-nav-links a:hover { color: #14161B; text-decoration: none; }
.gr-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: #F6B51E; display: inline-block; }
.gr-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #14161B;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.gr-nav-btn .gr-arrow { color: #F6B51E; transition: color 0.2s ease, transform 0.2s ease; }
.gr-nav-btn:hover { background: #F6B51E; color: #14161B; text-decoration: none; }
.gr-nav-btn:hover .gr-arrow { color: #14161B; transform: translateX(2px); }
@media (max-width: 768px) {
  .gr-nav-links { display: none; }
}

.gr-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .gr-grid { grid-template-columns: 1fr; gap: 28px; }
}
.gr-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #14161B;
  box-shadow: 0 4px 14px rgba(20, 22, 27, 0.05);
  margin-bottom: 18px;
}
.gr-live-tag {
  background: #FDEFC8;
  color: #9A6700;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.gr-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F6B51E;
  animation: grPulse 1.6s infinite;
}
@keyframes grPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 181, 30, 0.65); }
  50% { box-shadow: 0 0 0 6px rgba(246, 181, 30, 0); }
}
.gr-h1 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #14161B;
  margin: 0 0 16px;
}
.gr-h1-accent {
  display: block;
  color: #F6B51E;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gr-h1-accent.is-fading { opacity: 0; transform: translateY(6px); }
.gr-sub {
  color: #6B6F77;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 24px;
}
.gr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gr-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #14161B;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 22, 27, 0.16);
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease;
}
.gr-btn-primary span { color: #F6B51E; }
.gr-btn-primary:hover { background: #F6B51E; color: #14161B; transform: translateY(-1px); text-decoration: none; }
.gr-btn-primary:hover span { color: #14161B; }
.gr-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #14161B;
  border: 1px solid rgba(20, 22, 27, 0.14);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}
.gr-btn-secondary:hover { background: #F8F5EE; text-decoration: none; }

.gr-phone {
  width: 310px;
  max-width: 100%;
  margin: 0 auto;
  background: #14161B;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(20, 22, 27, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.gr-iphone-screen {
  background: #ECE6DA;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  position: relative;
}
.gr-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #14161B;
  position: relative;
  z-index: 4;
}
.gr-island { width: 82px; height: 22px; background: #14161B; border-radius: 999px; }
.gr-lens-window { position: relative; flex: 1; min-height: 280px; overflow: hidden; background: #ECE6DA; }
.gr-lens-svg { width: 145%; height: 145%; transform: translate(-12%, -12%) rotate(-8deg); display: block; }
.gr-lens-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: #F6B51E;
  color: #14161B;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 22, 27, 0.22);
  border: 2px solid #fff;
  white-space: nowrap;
}
.gr-lens-chip {
  position: absolute;
  background: #FFFFFF;
  color: #14161B;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(20, 22, 27, 0.14);
  border: 1px solid rgba(20, 22, 27, 0.08);
  cursor: pointer;
}
.gr-lens-chip.active { background: #14161B; color: #F6B51E; }
.gr-sheet {
  background: #FFFFFF;
  border-radius: 22px 22px 0 0;
  padding: 16px;
  position: relative;
  z-index: 5;
  box-shadow: 0 -8px 24px rgba(20, 22, 27, 0.08);
}
.gr-fuel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.gr-fuel-card {
  background: #F8F5EE;
  border: 1.5px solid #E6E0D4;
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  color: #14161B;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.gr-fuel-card.active { background: #FDEFC8; border-color: #F6B51E; }
.gr-fuel-card .fn { font-size: 0.7rem; font-weight: 700; color: #6B6F77; }
.gr-fuel-card .fp { font-size: 0.84rem; font-weight: 800; margin-top: 2px; }
.gr-hold-btn {
  position: relative;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: #14161B;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.88rem;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gr-hold-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #F6B51E;
  transition: width 0.08s linear;
}
.gr-hold-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }
.gr-hold-btn.filled .gr-hold-label { color: #14161B; }
