/* ============================================================
   Da Nang Tours Page — Page-specific styles
   ============================================================ */

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: var(--ink-900);
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    min-height: 440px;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,14,26,0.95) 0%,
    rgba(10,14,26,0.55) 50%,
    rgba(10,14,26,0.2) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-12);
  padding-bottom: var(--space-10);
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin-bottom: var(--space-4);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast) ease;
}

.breadcrumb a:hover {
  color: var(--amber-400);
}

.breadcrumb [aria-current="page"] {
  color: rgba(255,255,255,0.85);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: white;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: var(--space-5);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  line-height: 1;
}

/* ---- Listing Controls ---- */
.listing-controls {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--sand-200);
  padding: var(--space-3) 0;
}

@media (min-width: 768px) {
  .listing-controls {
    top: 72px;
  }
}

.listing-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.listing-count {
  font-size: 0.875rem;
  color: var(--sand-600);
}

.listing-count strong {
  color: var(--ink-900);
}

.duration-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.duration-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px 5px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--sand-600);
  background: white;
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.duration-btn:hover {
  border-color: var(--amber-400);
  color: var(--amber-600);
  background: var(--amber-50);
}

.duration-btn.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: white;
}

/* ---- Listing Section ---- */
.listing-section {
  padding: var(--space-8) 0 var(--space-16);
  background: var(--sand-50);
}

/* ---- Featured badge (Popular / Best Value) ---- */
.tour-card-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tour-card-badges .tour-card-badge {
  position: static;
}

.tour-card-featured-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  padding: 4px 10px 3px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  background: var(--ink-900);
  color: var(--amber-400);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.tour-card-badges .tour-card-featured-badge {
  position: static;
}

/* ---- Tour card description ---- */
.tour-card-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--sand-600);
  margin-bottom: var(--space-3);
}

/* ---- Pricing Toggle ---- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-600);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.pricing-toggle:hover {
  color: var(--amber-700);
}

.pricing-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.pricing-toggle.open svg {
  transform: rotate(180deg);
}

/* ---- Pricing Table (collapsed by default) ---- */
.tour-pricing-table {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  border: 1px solid var(--sand-200);
  border-radius: 0;
  font-size: 0.78rem;
  transition: max-height var(--duration-slow) var(--ease-out),
              opacity var(--duration-normal) ease,
              margin-bottom var(--duration-normal) ease;
}

.tour-pricing-table.open {
  max-height: 200px;
  opacity: 1;
  margin-bottom: var(--space-4);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.8fr repeat(6, 1fr);
  gap: 0;
}

.pricing-row span {
  padding: 6px 8px;
  border-right: 1px solid var(--sand-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pricing-row span:last-child {
  border-right: none;
}

.pricing-row--header {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-row--header span {
  border-right-color: rgba(255,255,255,0.08);
}

.pricing-row:not(.pricing-row--header):not(.pricing-row--child) {
  background: white;
  font-weight: 600;
  color: var(--ink-900);
}

.pricing-row:not(.pricing-row--header):not(.pricing-row--child) span:not(:first-child) {
  color: var(--amber-600);
  font-weight: 700;
}

.pricing-row--child {
  background: var(--sand-50);
  color: var(--sand-600);
}

/* ---- WhatsApp button variant ---- */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  background: #25D366;
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

/* ---- SEO Intro (below listings) ---- */
.page-seo-intro {
  padding: var(--space-12) 0;
  background: white;
  border-top: 1px solid var(--sand-200);
}

.page-seo-intro-inner {
  max-width: 100%;
}

.page-seo-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-4);
}

.page-seo-intro p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sand-700);
  margin-bottom: var(--space-4);
}

.page-seo-intro p:last-child {
  margin-bottom: 0;
}

.page-seo-intro a {
  color: var(--amber-600);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-seo-intro a:hover {
  color: var(--amber-700);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--ink-900);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--duration-normal) var(--ease-out);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---- Best Time to Visit (inside SEO intro) ---- */
.best-time-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

/* -- Chart wrapper -- */
.chart-wrapper {
  margin-bottom: var(--space-5);
}

/* -- Legend -- */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sand-600);
}

.legend-dot {
  width: 12px;
  height: 12px;
}

.legend-dot--temp {
  background: #f97316;
}

.legend-dot--rain {
  background: #93c5fd;
}

.legend-marker {
  width: 12px;
  height: 12px;
  border: 2px solid var(--amber-500);
  background: rgba(251,191,36,0.15);
}

.legend-marker--best {
  border-color: var(--amber-500);
}

/* -- Chart container -- */
.bar-chart {
  display: flex;
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  overflow: hidden;
}

/* -- Y-axis -- */
.chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3) var(--space-2) 28px var(--space-3);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sand-400);
  min-width: 34px;
  text-align: right;
  border-right: 1px solid var(--sand-200);
}

/* -- Bars area -- */
.chart-bars-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 300px;
  padding: var(--space-3) var(--space-2) 0;
  position: relative;
}

/* -- Gridlines -- */
.chart-gridlines {
  position: absolute;
  top: var(--space-3);
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-gridline {
  width: 100%;
  height: 1px;
  background: var(--sand-200);
}

/* -- Bar group -- */
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

.bar-group--best {
  background: rgba(251,191,36,0.08);
  border-left: 1px dashed rgba(251,191,36,0.4);
  border-right: 1px dashed rgba(251,191,36,0.4);
}

/* -- Bar pair (temp + rain side by side) -- */
.bar-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  flex: 1;
  width: 100%;
  padding: 0 2px;
}

/* -- Individual bar -- */
.bar {
  flex: 1;
  max-width: 22px;
  height: var(--h, 0%);
  position: relative;
  transition: height 0.6s cubic-bezier(0.22,1,0.36,1);
}

.bar--temp {
  background: #f97316;
}

.bar--rain {
  background: #93c5fd;
}

/* -- Value label on top of bar -- */
.bar-val {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bar--temp .bar-val {
  color: #ea580c;
}

.bar--rain .bar-val {
  color: #3b82f6;
}

.bar-group:hover .bar-val {
  opacity: 1;
}

/* -- Month label -- */
.bar-label {
  padding-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sand-500);
  line-height: 1;
  height: 22px;
  flex-shrink: 0;
}

.bar-group--best .bar-label {
  color: var(--amber-600);
  font-weight: 700;
}

/* -- Season summary pills -- */
.season-summary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--sand-700);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
}

.summary-pill strong {
  color: var(--ink-900);
}

.summary-pill svg {
  flex-shrink: 0;
  color: var(--sand-400);
}

.summary-pill--best {
  background: var(--amber-50);
  border-color: var(--amber-300);
  color: var(--amber-800);
}

.summary-pill--best svg {
  color: var(--amber-600);
}

.summary-pill--warn {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.summary-pill--warn svg {
  color: #d97706;
}

/* -- Responsive -- */
@media (max-width: 480px) {
  .chart-bars-area {
    height: 240px;
    padding: var(--space-2) 2px 0;
  }

  .bar {
    max-width: 14px;
  }

  .bar-val {
    font-size: 0.5rem;
    top: -14px;
  }

  .bar-label {
    font-size: 0.6rem;
  }

  .chart-yaxis {
    min-width: 28px;
    font-size: 0.6rem;
  }
}

/* ---- Things to Do in Da Nang ---- */
.activities-section {
  padding: var(--space-12) 0;
  background: var(--sand-50);
  border-top: 1px solid var(--sand-200);
}

.activities-section .headline-section {
  margin-bottom: var(--space-3);
}

.activities-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--sand-700);
  max-width: 100%;
  margin-bottom: var(--space-8);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .activities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 400px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  background: #fff;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.activity-card-img {
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.04);
}

.activity-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.activity-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-2);
}

.activity-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--sand-600);
  margin-bottom: 0;
}

/* ---- Featured Section ---- */
.featured-section {
  padding: var(--space-12) 0;
  background: white;
  border-top: 1px solid var(--sand-200);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .featured-card--hero {
    grid-row: 1 / 3;
  }
}

.featured-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: white;
  min-height: 220px;
}

.featured-card--hero {
  min-height: 300px;
}

@media (min-width: 768px) {
  .featured-card--hero {
    min-height: 100%;
  }
}

.featured-card-img {
  position: absolute;
  inset: 0;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-img img {
  transform: scale(1.05);
}

.featured-card-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: var(--space-6);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.featured-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--amber-500);
  color: white;
  border-radius: 4px;
  margin-bottom: var(--space-3);
}

.featured-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.featured-card--hero h3 {
  font-size: 1.5rem;
}

.featured-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-3);
}

.featured-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-300);
}

/* ---- Blog Section ---- */
.blog-section {
  padding: var(--space-12) 0;
  background: var(--color-bg-warm);
  border-top: 1px solid var(--sand-200);
}

.blog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.blog-header .headline-section {
  margin-bottom: 0;
}

.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-600);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.blog-view-all:hover {
  color: var(--amber-700);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.blog-card {
  background: white;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-cat {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-600);
  margin-bottom: var(--space-2);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--sand-600);
  margin-bottom: var(--space-3);
  flex: 1;
}

.blog-card-meta {
  font-size: 0.72rem;
  color: var(--sand-400);
  font-weight: 500;
}


/* ============================================================
   Ha Giang Loop pillar page — bespoke sections
   (appended; everything above is shared hub styling)
   ============================================================ */

/* ---- Generic guide section wrapper ---- */
.guide-section { padding: var(--space-16) 0; }
.guide-section--warm { background: var(--color-bg-warm); }
.guide-section .section-intro {
  max-width: 760px;
  margin: 0 auto var(--space-10);
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.guide-section .headline-section { margin-bottom: var(--space-4); }
.guide-section--warm .section-intro {
  margin: 0 0 var(--space-10);
  text-align: left;
  font-size: 15px;
  max-width: 100%;
}
.section-eyebrow {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-600);
  margin-bottom: var(--space-3);
}
.guide-section--warm .section-eyebrow { text-align: left; }
.guide-section--warm .headline-section { text-align: left; }

/* ---- Photo rows (inside intro-band) ---- */
.photo-row { display: grid; gap: 4px; margin: var(--space-10) 0; }
.photo-row + .photo-row { margin-top: 0; }
.photo-row--4 { grid-template-columns: repeat(4, 1fr); }
.photo-row--3 { grid-template-columns: repeat(3, 1fr); }
.photo-row--6 { grid-template-columns: repeat(6, 1fr); }
.photo-cell { overflow: hidden; aspect-ratio: 4/3; }
.photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.photo-cell:hover img { transform: scale(1.03); }
@media (max-width: 640px) {
  .photo-row--4 { grid-template-columns: repeat(2, 1fr); }
  .photo-row--3 { grid-template-columns: repeat(2, 1fr); }
  .photo-row--6 { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Above-the-fold intro under the hero ---- */
.intro-band { background: #fff; padding: var(--space-12) 0; border-top: 1px solid var(--sand-200); }
.intro-band-inner { max-width: 100%; }
.intro-band-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-4);
}
.intro-band-inner p {
  color: var(--sand-700);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.intro-band-inner p:last-child { margin-bottom: 0; }

/* ---- Best Time to Visit (inside intro band) ---- */
.best-time-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.chart-wrapper { margin-bottom: var(--space-5); }
.chart-legend { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-3); }
.chart-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--sand-600); }
.legend-dot { width: 12px; height: 12px; }
.legend-dot--temp { background: #f97316; }
.legend-dot--rain { background: #93c5fd; }
.legend-marker { width: 12px; height: 12px; border: 2px solid var(--amber-500); background: rgba(251,191,36,0.15); }
.legend-marker--best { border-color: var(--amber-500); }
.bar-chart { display: flex; background: var(--sand-50); border: 1px solid var(--sand-200); overflow: hidden; }
.chart-yaxis { display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-3) var(--space-2) 28px var(--space-3); font-size: 0.65rem; font-weight: 600; color: var(--sand-400); min-width: 34px; text-align: right; border-right: 1px solid var(--sand-200); }
.chart-bars-area { flex: 1; display: flex; align-items: flex-end; gap: 0; height: 300px; padding: var(--space-3) var(--space-2) 0; position: relative; }
.chart-gridlines { position: absolute; top: var(--space-3); left: 0; right: 0; bottom: 28px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-gridline { width: 100%; height: 1px; background: var(--sand-200); }
.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; position: relative; z-index: 1; }
.bar-group--best { background: rgba(251,191,36,0.08); border-left: 1px dashed rgba(251,191,36,0.4); border-right: 1px dashed rgba(251,191,36,0.4); }
.bar-pair { display: flex; align-items: flex-end; justify-content: center; gap: 2px; flex: 1; width: 100%; padding: 0 2px; }
.bar { flex: 1; max-width: 22px; height: var(--h, 0%); position: relative; transition: height 0.6s cubic-bezier(0.22,1,0.36,1); }
.bar--temp { background: #f97316; }
.bar--rain { background: #93c5fd; }
.bar-val { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 0.6rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity 0.2s ease; }
.bar--temp .bar-val { color: #ea580c; }
.bar--rain .bar-val { color: #3b82f6; }
.bar-group:hover .bar-val { opacity: 1; }
.bar-label { padding-top: 6px; font-size: 0.7rem; font-weight: 600; color: var(--sand-500); line-height: 1; height: 22px; flex-shrink: 0; }
.bar-group--best .bar-label { color: var(--amber-600); font-weight: 700; }
.season-summary { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.summary-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 0.8rem; color: var(--sand-700); background: var(--sand-50); border: 1px solid var(--sand-200); }
.summary-pill strong { color: var(--ink-900); }
.summary-pill svg { flex-shrink: 0; color: var(--sand-400); }
.summary-pill--best { background: var(--amber-50); border-color: var(--amber-300); color: var(--amber-800); }
.summary-pill--best svg { color: var(--amber-600); }
.summary-pill--warn { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.summary-pill--warn svg { color: #d97706; }
@media (max-width: 480px) {
  .chart-bars-area { height: 240px; padding: var(--space-2) 2px 0; }
  .bar { max-width: 14px; }
  .bar-val { font-size: 0.5rem; top: -14px; }
  .bar-label { font-size: 0.6rem; }
  .chart-yaxis { min-width: 28px; font-size: 0.6rem; }
}

.intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
}
.intro-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Route highlights ---- */
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) {
  .route-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .route-grid { grid-template-columns: 1fr; }
}
.route-card {
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.route-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.route-card h4,
.route-card p {
  margin-left: var(--space-6);
  margin-right: var(--space-6);
}
.route-card h4 { margin-top: var(--space-5); }
.route-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}
.route-card h4 { font-size: 1.05rem; margin-bottom: var(--space-2); color: var(--ink-900); }
.route-card p { color: var(--color-text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: var(--space-5); }

/* ---- Safety section ---- */
.safety-callout {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 100%;
  margin: 0 0 var(--space-10);
  padding: var(--space-6);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-lg);
}
.safety-callout svg { width: 26px; height: 26px; color: var(--amber-600); flex-shrink: 0; }
.safety-callout p { color: var(--ink-800); line-height: 1.7; margin: 0; }
.safety-callout strong { color: var(--ink-900); }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.safety-card {
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.safety-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.safety-card-icon svg { width: 22px; height: 22px; }
.safety-card--good .safety-card-icon { background: var(--jade-100); color: var(--jade-700); }
.safety-card--warn .safety-card-icon { background: #fdeaea; color: var(--coral-600); }
.safety-card--info .safety-card-icon { background: var(--amber-100); color: var(--amber-700); }
.safety-card h4 { font-size: 1.08rem; margin-bottom: var(--space-2); color: var(--ink-900); }
.safety-card p { color: var(--color-text-secondary); font-size: 0.94rem; line-height: 1.65; }

/* ---- Comparison table ---- */
.compare-wrap { overflow-x: auto; max-width: 100%; }
.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table thead th:first-child { width: 22%; }
.compare-table thead th:not(:first-child) { width: 26%; }
.compare-table th, .compare-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border-default);
  font-size: 0.94rem;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--ink-900);
  color: #fff;
  font-weight: 600;
}
.compare-table thead th.col-best { background: var(--jade-700); }
.compare-table tbody th {
  font-weight: 600;
  color: var(--ink-900);
  background: var(--sand-50);
  white-space: nowrap;
}
.compare-table td.col-best { background: var(--jade-50); }
.compare-table .yes { color: var(--jade-700); font-weight: 600; }
.compare-table .no { color: var(--coral-600); font-weight: 600; }

/* ---- Extend / customise cards ---- */
.extend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.extend-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.extend-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--amber-700);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  margin-bottom: var(--space-4);
}
.extend-card h4 { font-size: 1.15rem; color: var(--ink-900); margin-bottom: var(--space-2); }
.extend-card p { color: var(--color-text-secondary); font-size: 0.94rem; line-height: 1.65; flex-grow: 1; }
.extend-card .btn { margin-top: var(--space-5); }

/* ---- WhatsApp CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff;
  text-align: center;
  padding: var(--space-16) 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto var(--space-8); line-height: 1.7; }
.cta-band-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ---- Compact prose for guide copy ---- */
.guide-prose { max-width: 820px; margin: 0 auto; }
.guide-prose h3 { font-size: 1.3rem; color: var(--ink-900); margin: var(--space-8) 0 var(--space-3); }
.guide-prose p { color: var(--color-text-secondary); line-height: 1.75; margin-bottom: var(--space-4); }
.guide-prose ul { margin: 0 0 var(--space-4) var(--space-5); color: var(--color-text-secondary); line-height: 1.7; }
.guide-prose a { color: var(--amber-700); font-weight: 600; text-decoration: underline; }

@media (max-width: 640px) {
  .safety-callout { flex-direction: column; gap: var(--space-3); align-items: stretch; }
  .guide-section { padding: var(--space-12) 0; }
}
