/* ──────────────────────────────────────────────────────────────
   GasWatch PH - Styles
   Clean, modern, minimal. Inspired by Pinterest board.
   No gradients. Card-based. Lots of white space.
   ────────────────────────────────────────────────────────────── */

/* ─── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --bg: #f7f7f7;
  --bg-alt: #f0f0f0;
  --text: #111111;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  --accent: #111111;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --yellow: #ca8a04;
  --yellow-bg: #fef9c3;
  --red: #dc2626;
  --red-bg: #fee2e2;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Announcement Banner ───────────────────────────────────── */
/* ─── Advisory Ticker ──────────────────────────────────────── */
.advisory-ticker {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 999;
}
.advisory-ticker-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.advisory-ticker-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-badge-alert { background: #ef4444; }
.ticker-badge-update { background: #22c55e; }
.ticker-badge-new { background: #3b82f6; }
.advisory-ticker-text {
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-gas {
  color: var(--text);
}

.logo-watch {
  color: var(--text);
}

.logo-ph {
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.update-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 48px;
  background: var(--white);
}

.hero-content {
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  color: var(--green);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.hero-highlight svg {
  flex-shrink: 0;
}

/* ─── Fuel Update Bar ──────────────────────────────────────── */
.update-bar {
  background: #16213e;
  color: #fff;
  padding: 12px 0;
}

.update-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.update-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.update-bar-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.update-bar-week {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.update-bar-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}

.change-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.change-tag.change-up {
  background: rgba(239,68,68,0.2);
  color: #fca5a5;
}

.change-tag.change-down {
  background: rgba(34,197,94,0.2);
  color: #86efac;
}

.update-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.update-bar-next-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.update-bar-countdown {
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

/* ─── Mission Strip ──────────────────────────────────────────── */
.mission-strip {
  background: #f7f7f7;
  padding: 40px 0;
}
.mission-strip-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mission-strip .mission-flag {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}
.mission-strip-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.mission-strip-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.mission-strip-desc strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.stat-card:nth-child(1)::before { background: #3d71e1; }
.stat-card:nth-child(2)::before { background: #3d71e1; }
.stat-card:nth-child(3)::before { background: #3d71e1; }
.stat-card:nth-child(4)::before { background: #3d71e1; }

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-icon svg {
  display: block;
}

.stat-card:nth-child(1) .stat-icon { background: #dbe6fa; color: #3d71e1; }
.stat-card:nth-child(2) .stat-icon { background: #dbe6fa; color: #3d71e1; }
.stat-card:nth-child(3) .stat-icon { background: #dbe6fa; color: #3d71e1; }
.stat-card:nth-child(4) .stat-icon { background: #dbe6fa; color: #3d71e1; }

.stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.stat-unit {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ─── Sections ──────────────────────────────────────────────── */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ─── Map ───────────────────────────────────────────────────── */
.map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--text);
  color: var(--text);
}

.chip.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

#map {
  width: 100%;
  height: 520px;
  background: var(--bg);
}

/* ─── Price Level Legend Bar ─────────────────────────────────── */
.price-legend-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.legend-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.legend-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.legend-card-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.legend-card-low {
  border-left: 3px solid var(--green);
}
.legend-card-low .legend-card-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-bg);
}

.legend-card-mid {
  border-left: 3px solid var(--yellow);
}
.legend-card-mid .legend-card-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-bg);
}

.legend-card-high {
  border-left: 3px solid var(--red);
}
.legend-card-high .legend-card-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-bg);
}

.legend-card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.legend-card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.legend-card-hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Custom Leaflet Marker */
.price-marker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.9);
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.price-marker:hover {
  transform: scale(1.08);
}

.price-marker .marker-brand {
  opacity: 0.9;
  font-weight: 700;
}

.price-marker .marker-price {
  font-weight: 900;
}

.price-marker.level-low {
  background: var(--green);
  color: white;
}

.price-marker.level-mid {
  background: #e8a308;
  color: white;
}

.price-marker.level-high {
  background: var(--red);
  color: white;
}

.price-marker.level-na {
  background: #888888;
  color: white;
}

/* Leaflet Popup */
.station-popup {
  font-family: "Inter", sans-serif;
}

.station-popup .popup-brand {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.station-popup .popup-name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.station-popup .popup-area {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.station-popup .popup-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.station-popup .popup-price {
  background: var(--bg);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
}

.station-popup .popup-price-label {
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.station-popup .popup-price-value {
  font-weight: 700;
  color: var(--text);
  font-size: 0.875rem;
}

.station-popup .popup-nav {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.station-popup .popup-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.station-popup .popup-nav-btn:hover {
  opacity: 0.85;
}

.station-popup .popup-nav-maps {
  background: #4285F4;
  color: #fff;
}

.station-popup .popup-nav-waze {
  background: #33CCFF;
  color: #000;
}

/* ─── Price Table ───────────────────────────────────────────── */
.table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  flex: 1;
  min-width: 240px;
  transition: border-color var(--transition);
}

.search-box:focus-within {
  border-color: var(--text);
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.table-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.select-filter {
  padding: 10px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border-color var(--transition);
}

.select-filter:hover {
  border-color: var(--text);
}

.table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.price-table thead {
  background: var(--bg);
}

.price-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.price-table th.price-col {
  text-align: right;
}

.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.price-table tbody tr {
  transition: background var(--transition);
}

.price-table tbody tr:hover {
  background: var(--bg);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.station-name {
  font-weight: 500;
  color: var(--text);
}

.area-name {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.price-cell {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-cell.low {
  color: var(--green);
}

.price-cell.mid {
  color: var(--yellow);
}

.price-cell.high {
  color: var(--red);
}

.price-cell.na {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.75rem;
}

.table-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── Gasul / LPG ──────────────────────────────────────────── */
.gasul-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.gasul-tab {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.gasul-tab:hover {
  border-color: var(--text);
  color: var(--text);
}

.gasul-tab.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.gasul-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gasul-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.gasul-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.gasul-brand {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gasul-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gasul-price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gasul-price .currency {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.gasul-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.gasul-cheapest {
  border-color: var(--green);
  background: var(--green-bg);
}

.gasul-cheapest .gasul-price {
  color: var(--green);
}

/* ─── Steps / How it Works ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--bg-alt);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Help / Contact Section ─────────────────────────────────── */
.help-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.help-badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.help-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.help-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.help-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.help-feature svg {
  color: var(--green);
  flex-shrink: 0;
}

.help-form-wrapper {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.help-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-form {
  padding: 14px 24px;
  font-size: 0.9375rem;
  margin-top: 4px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ─── Find Nearest Button ────────────────────────────────────── */
.btn-nearest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: none;
  border: 1.5px dashed var(--primary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nearest:hover {
  background: var(--primary);
  color: #fff;
  border-style: solid;
}
.btn-nearest svg { flex-shrink: 0; }

.nearest-result {
  margin-top: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-width: 480px;
}
.nearest-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.nearest-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}
.nearest-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
}
.nearest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 8px;
}
.nearest-card:last-child { margin-bottom: 0; }
.nearest-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.nearest-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}
.nearest-card-dist {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.nearest-card-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.nearest-card-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
}
.nearest-card-area {
  font-size: 0.6875rem;
}

/* ─── Share Section ──────────────────────────────────────────── */
.share-section {
  background: #16213e;
  padding: 32px 0;
}
.share-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.share-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.share-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}
.share-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-share-native {
  background: #fff;
  color: #16213e;
}
.btn-share-native:hover { background: #e2e8f0; }
.btn-share-copy {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-share-copy:hover { background: rgba(255,255,255,0.2); }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer .logo-gas,
.footer .logo-watch {
  color: var(--white);
}

.footer .logo-ph {
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  margin-top: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── Mobile Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links,
  .nav-updated {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .hero {
    padding: 130px 0 32px;
  }

  .update-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .update-bar-left {
    gap: 6px;
  }

  .update-bar-sep {
    display: none;
  }

  .change-tag {
    font-size: 0.6rem;
    padding: 2px 7px;
  }

  .advisory-ticker-text {
    font-size: 12px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 18px 18px 16px;
  }

  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
    margin-bottom: 6px;
  }

  .stat-value {
    font-size: 1.375rem;
  }

  .mission-strip {
    padding: 24px 0;
  }

  .mission-strip-inner {
    gap: 12px;
  }

  .mission-strip .mission-flag {
    font-size: 1.25rem;
  }

  .mission-strip-title {
    font-size: 0.875rem;
  }

  .mission-strip-desc {
    font-size: 0.75rem;
  }

  .section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-desc {
    font-size: 0.8125rem;
  }

  #map {
    height: 400px;
  }

  .map-controls {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }

  .filter-group {
    gap: 3px;
    width: 100%;
  }

  .filter-label {
    font-size: 0.625rem;
  }

  .chip {
    padding: 4px 10px;
    font-size: 0.6875rem;
  }

  .chip-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
  }

  .price-legend-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
  }

  .legend-card {
    padding: 8px 10px;
    gap: 6px;
  }

  .legend-card-dot {
    width: 10px;
    height: 10px;
  }

  .legend-card-label {
    font-size: 0.6875rem;
  }

  .legend-card-hint {
    display: none;
  }

  .legend-card {
    padding: 10px 14px;
    gap: 10px;
  }

  .table-controls {
    flex-direction: column;
  }

  .search-box {
    min-width: 100%;
  }

  .table-filter-chips {
    width: 100%;
  }

  .select-filter {
    flex: 1;
    min-width: 0;
  }

  /* Horizontal scroll for table on mobile */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table {
    min-width: 640px;
  }

  .gasul-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gasul-card {
    padding: 20px;
  }

  .gasul-price {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 24px;
  }

  .help-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .help-form-wrapper {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .btn-nearest {
    width: 100%;
    justify-content: center;
  }

  .nearest-result {
    max-width: 100%;
  }

  .share-inner {
    flex-direction: column;
    text-align: center;
  }

  .share-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gasul-grid {
    grid-template-columns: 1fr 1fr;
  }

  #map {
    height: 350px;
  }
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card,
.gasul-card,
.step-card {
  animation: fadeIn 0.4s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.05s; }
.stat-card:nth-child(3) { animation-delay: 0.1s; }
.stat-card:nth-child(4) { animation-delay: 0.15s; }

/* ─── Leaflet Overrides ─────────────────────────────────────── */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  border: none !important;
  color: var(--text) !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 16px !important;
}

.leaflet-control-zoom a:hover {
  background: var(--bg) !important;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 16px !important;
  font-size: 14px !important;
}

.leaflet-popup-tip {
  box-shadow: none !important;
}

/* ─── Advisories ────────────────────────────────────────────── */
.advisories-section {
  padding: 48px 0 32px;
}

.advisories-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.advisory-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 20px 24px;
  border-left: 4px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.advisory-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.advisory-alert { border-left-color: #ef4444; }
.advisory-update { border-left-color: #22c55e; }
.advisory-new { border-left-color: #3b82f6; }

.advisory-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.advisory-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
}

.advisory-badge-alert { background: #ef4444; }
.advisory-badge-update { background: #22c55e; }
.advisory-badge-new { background: #3b82f6; }

.advisory-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.advisory-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.4;
}

.advisory-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
