/* ================================================================
   RESET + BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1419;
  --bg-alt: #1a2028;
  --bg-card: #222a35;
  --bg-card-hover: #2a3441;
  --text: #e8eef5;
  --text-soft: #a8b3c1;
  --text-dim: #6b7685;
  --border: #2f3a48;
  --accent: #f39c12;
  --accent-soft: #f5b25b;
  --green: #27ae60;
  --red: #e74c3c;
  --blue: #3498db;
  --purple: #9b59b6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(231, 76, 60, 0.2), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(52, 152, 219, 0.25), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(243, 156, 18, 0.15), transparent 60%),
    linear-gradient(160deg, #0f1419 0%, #1a2832 50%, #0f1419 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 60px 70px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1.5px 1.5px at 120px 40px, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 180px 100px, rgba(255,255,255,0.2), transparent);
  background-size: 200px 200px;
  opacity: 0.6;
  animation: stars 60s linear infinite;
}

@keyframes stars {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 100px;
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 1s ease 0.1s both;
}

.hero-title-from { color: var(--text); }
.hero-title-to {
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-arrow {
  color: var(--accent);
  font-size: 0.7em;
  animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 36px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-family {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 1s ease 0.3s both;
}

.fam {
  padding: 10px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.fam:hover {
  background: rgba(243, 156, 18, 0.15);
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-2px);
}

.hero-cta {
  display: inline-block;
  padding: 16px 38px;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4);
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(243, 156, 18, 0.6);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-soft);
}

/* ================================================================
   ROUTES GRID
   ================================================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.route-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--route-color, var(--accent));
  transform: translateY(-4px);
  transition: transform 0.3s;
}

.route-card:hover {
  transform: translateY(-6px);
  border-color: var(--route-color, var(--accent));
  box-shadow: var(--shadow);
}

.route-card:hover::before {
  transform: translateY(0);
}

.route-card.active {
  border-color: var(--route-color, var(--accent));
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.route-card.active::before {
  transform: translateY(0);
}

.route-emoji {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}

.route-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.route-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
  min-height: 40px;
}

.route-score-big {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.score-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--route-color, var(--accent));
  line-height: 1;
}

.score-max { color: var(--text-dim); font-size: 20px; font-weight: 500; }
.score-label { color: var(--text-soft); font-size: 13px; margin-left: auto; text-transform: uppercase; letter-spacing: 1px; }

.route-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.stat-label { color: var(--text-dim); }
.stat-value { color: var(--text); font-weight: 500; }

.route-highlights {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.route-highlights strong { color: var(--text); }

.route-select-btn {
  display: block;
  margin-top: 18px;
  padding: 12px;
  text-align: center;
  background: var(--route-color, var(--accent));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  opacity: 0.9;
}

.route-card:hover .route-select-btn { opacity: 1; }
.route-card.active .route-select-btn { opacity: 1; }

/* ================================================================
   DETAIL SECTION
   ================================================================ */
.section-detail {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 10%, rgba(255,255,255,0.02) 90%, transparent);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.detail-head-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.detail-emoji {
  font-size: 72px;
  line-height: 1;
}

.detail-label {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.detail-sub {
  color: var(--text-soft);
  font-size: 17px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  min-width: 300px;
}

.stat-big {
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat-big-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-big-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================================================
   MAP
   ================================================================ */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

#map {
  width: 100%;
  height: 540px;
  background: #1a2028;
}

/* Dark map tiles - handled by leaflet */
.leaflet-container {
  background: #0f1419 !important;
  font-family: var(--font-body) !important;
}

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border);
}

.leaflet-popup-tip {
  background: var(--bg-card) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 13px;
  line-height: 1.5;
}

.leaflet-popup-content strong {
  color: var(--accent-soft);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.leaflet-control-attribution a {
  color: var(--text-dim) !important;
}

.leaflet-control-attribution {
  background: rgba(15, 20, 25, 0.8) !important;
  color: var(--text-dim) !important;
}

/* Custom marker */
.day-marker {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.day-marker.active {
  transform: scale(1.3);
  z-index: 1000;
}

.stop-marker {
  background: var(--bg-card);
  color: #fff;
  border-radius: 50%;
  width: 26px !important;
  height: 26px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.map-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  z-index: 500;
  pointer-events: auto;
}

.map-overlay-title {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.day-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.day-chips::-webkit-scrollbar { height: 4px; }
.day-chips::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.day-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-soft);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.day-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ================================================================
   DETAIL COLUMNS (budget, pros/cons)
   ================================================================ */
.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.col-budget, .col-pros, .col-cons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.col-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.budget-list {
  list-style: none;
}

.budget-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}

.budget-list li:last-child { border-bottom: none; }
.budget-list .blabel { color: var(--text-soft); }
.budget-list .bvalue { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.budget-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.budget-total-label { font-weight: 700; color: var(--text); }
.budget-total-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}

.proscons-list {
  list-style: none;
}

.proscons-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

.col-pros .proscons-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

.col-cons .proscons-list li::before {
  content: '!';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  top: 10px;
  font-size: 11px;
}

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline-head {
  margin-bottom: 40px;
  text-align: center;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 10px;
}

.timeline-sub {
  color: var(--text-soft);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--red));
  border-radius: 3px;
}

.day-block {
  position: relative;
  margin-bottom: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all 0.3s;
  cursor: pointer;
}

.day-block:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.day-block.active {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.day-block::before {
  content: attr(data-day);
  position: absolute;
  left: -40px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.day-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.day-date {
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 500;
}

.day-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.day-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.day-desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.day-sleep {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text);
}

.day-sleep-icon { font-size: 20px; }
.day-sleep-price { margin-left: auto; font-weight: 600; color: var(--green); }

.stops-list {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.stop-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  overflow: hidden;
}

.stop-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.stop-photo {
  width: 100%;
  min-height: 220px;
  background-color: var(--bg-card-hover);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s;
}

.stop-photo.no-photo {
  background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-alt));
}

.stop-photo.has-photo {
  background-color: transparent;
}

.stop-photo.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
}

.stop-photo-fallback {
  font-size: 64px;
  opacity: 0.4;
  z-index: 1;
  position: relative;
}

.stop-photo.has-photo .stop-photo-fallback {
  display: none;
}

.stop-info {
  padding: 20px 24px 22px 0;
  min-width: 0;
}

.stop-header {
  margin-bottom: 10px;
}

.stop-type {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(243, 156, 18, 0.15);
  color: var(--accent-soft);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.stop-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

.stop-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.stop-kids {
  padding: 12px 14px;
  background: rgba(243, 156, 18, 0.07);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  margin-bottom: 14px;
}

.stop-kids-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.stop-kids-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.stop-practical {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}

.practical-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  line-height: 1.5;
}

.practical-row .pl {
  color: var(--text-dim);
  font-weight: 500;
}

.practical-row .pv {
  color: var(--text-soft);
}

.day-sleep {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

.day-sleep-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.day-sleep-content strong {
  color: var(--text);
  font-size: 15px;
}

.sleep-link {
  font-size: 12px;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(39, 174, 96, 0.3);
}

.sleep-type {
  font-size: 12px;
  color: var(--text-dim);
}

.bneg { color: #e67e22 !important; }

/* ================================================================
   BUDGET STRATEGY
   ================================================================ */
.budget-strategy {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(243, 156, 18, 0.05));
  border: 1px solid rgba(39, 174, 96, 0.25);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 50px;
}

.bs-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.bs-intro {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 20px;
}

.bs-tactics {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.bs-tactic {
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.bs-tactic-label {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 6px;
}

.bs-tactic-detail {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

.bs-warning {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
}

/* ================================================================
   SLEEP WHY
   ================================================================ */
.day-sleep {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.day-sleep-main {
  display: flex;
  gap: 14px;
  align-items: center;
}

.sleep-contacts {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  display: grid;
  gap: 8px;
}

.sleep-contact-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.sleep-ci {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  font-size: 14px;
}

.sleep-contact-link {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 174, 96, 0.3);
  transition: all 0.2s;
  word-break: break-word;
}

.sleep-contact-link:hover {
  color: #4ed681;
  border-bottom-color: #4ed681;
}

.sleep-why {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ================================================================
   RULES / APPS / CARDS GRIDS
   ================================================================ */
.section-rules, .section-apps, .section-cards {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015));
}

.rules-grid, .apps-grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.rule-card, .app-card, .discount-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.rule-card:hover, .app-card:hover, .discount-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.rule-flag { font-size: 40px; margin-bottom: 12px; }
.rule-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 14px;
}
.rule-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.6;
}

.app-icon { font-size: 36px; margin-bottom: 12px; }
.app-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.app-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

.discount-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
}

.card-price {
  color: var(--accent-soft);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.discount-card p:not(.card-price) {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ================================================================
   BENCHMARK
   ================================================================ */
.bench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.bench-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.bench-card.highlight {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(243, 156, 18, 0.1));
  border-color: var(--green);
  transform: scale(1.03);
}

.bench-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bench-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.bench-card.highlight .bench-value { color: var(--green); }

.bench-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.bench-footnote {
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-dim);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.footer-small {
  font-size: 12px;
  margin-top: 8px;
  opacity: 0.6;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .detail-cols { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; }
  .detail-stats { min-width: 100%; }
  .hero-title { flex-direction: column; gap: 4px; }
  .hero-arrow { transform: rotate(90deg); }
  #map { height: 400px; }
}

@media (max-width: 900px) {
  .stop-card { grid-template-columns: 200px 1fr; }
  .stop-photo { min-height: 180px; }
  .stop-info { padding: 16px 18px 18px 0; }
  .practical-row { grid-template-columns: 110px 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 16px; }
  .hero { padding: 40px 16px; min-height: 90vh; }
  .stop-card { grid-template-columns: 1fr; }
  .stop-photo { width: 100%; min-height: 200px; }
  .stop-info { padding: 0 18px 20px; }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .day-block::before { left: -30px; width: 28px; height: 28px; font-size: 13px; }
  .map-overlay { left: 8px; right: 8px; padding: 12px; }
  .day-chip { font-size: 12px; padding: 6px 12px; }
  .practical-row { grid-template-columns: 100px 1fr; font-size: 12px; }
}

/* ================================================================
   UTILITY
   ================================================================ */
.fade-in { animation: fadeInUp 0.6s ease both; }
