/* ===== STAGE PAGES ===== */

.country-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.country-hero__flag { font-size: 3rem; line-height: 1; flex-shrink: 0; margin-top: 0.2rem; }
.country-hero h1 { margin-bottom: 0.5rem; }

.country-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}
.country-stat { display: flex; flex-direction: column; }
.country-stat strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-light); line-height: 1; }
.country-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== SECTION INTRO ===== */
.section-intro {
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold);
}
.section-intro p { color: var(--text-muted); margin-bottom: 0.75rem; }
.section-intro p:last-child { margin-bottom: 0; }

/* ===== REGION CARDS ===== */
.region-cards {
  display: grid;
  /* Two per row; one per row on phones (see the max-width: 768px rule). */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: box-shadow var(--transition);
}
.region-card:hover { box-shadow: var(--shadow-md); }
.region-card h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.region-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ===== STAGES LIST ===== */
.stages-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stage-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.stage-item:last-child { border-bottom: none; }
.stage-item:hover { background: #faf8f4; }
.stage-item--highlight { background: #f6fdf6; }
.stage-item--highlight:hover { background: #edf7ed; }

.stage-item__number {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--parchment);
  border-right: 1px solid var(--border);
}

.stage-item__content {
  padding: 1.25rem 1.5rem;
  flex: 1;
  min-width: 0;
}

.stage-item__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.stage-item__header h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0;
}
.stage-item__distance {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  background: #e8f5e9;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}

.stage-item__content > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.stage-item__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stage-item__highlights span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--parchment);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ===== PRACTICAL GRID ===== */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.practical-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.practical-card h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.practical-card p { font-size: 0.87rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.practical-card a { color: var(--green); }

/* ===== NEXT SECTION CTA ===== */
.next-section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.next-section-cta__text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}
.next-section-cta__text h3 { color: var(--white); margin: 0 0 0.3rem; font-size: 1.15rem; }
.next-section-cta__text p { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin: 0; }

/* ===== FINISH CALLOUT ===== */
.finish-callout {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #fef8e7, #fdf3d0);
  border: 1px solid #f0d890;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}
.finish-callout__icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.finish-callout h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.finish-callout p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== GUIDES INDEX (guides.html) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 5rem 0 3.5rem;
  margin-top: 64px;
}
.page-hero__inner { max-width: 640px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin: 0.4rem 0 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; }

.guides-index {}
.guides-index__featured { margin-bottom: 3.5rem; }

.featured-guide-card {
  display: block;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 4px solid var(--gold);
}
.featured-guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.featured-guide-card .guide-card__tag { color: var(--gold-deep); }
.featured-guide-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  margin: 0.5rem 0 0.75rem;
}
.featured-guide-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0; max-width: 680px; }
.featured-guide-card__meta { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; display: block; }

.guides-index__section { margin-bottom: 3.5rem; }
.guides-index__heading {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.guides-grid--list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.guides-grid--stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.guide-list-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}
.guide-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.guide-list-card--soon { opacity: 0.55; cursor: default; }
.guide-list-card--soon:hover { box-shadow: none; transform: none; }
.guide-list-card .guide-list-card__tag { color: var(--gold-deep); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }
.guide-list-card h3 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; }
.guide-list-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.guide-list-card__meta { font-size: 0.75rem; color: var(--text-light); margin-top: 0.5rem; display: block; }

.stage-list-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: all var(--transition);
  color: var(--text);
}
.stage-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.stage-list-card__flag { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.stage-list-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 0.2rem; }
.stage-list-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; }

/* ===== SIMPLE PAGES (about, privacy, affiliate) ===== */
.simple-page__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}
.simple-page__narrow { max-width: 760px; }

.simple-page__content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.simple-page__content h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.simple-page__content h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; margin: 1.25rem 0 0.4rem; }
.simple-page__content p, .simple-page__narrow p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.simple-page__content a, .simple-page__narrow a { color: var(--green); }
.simple-page__narrow h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.simple-page__narrow h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.simple-page__narrow h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; margin: 1.25rem 0 0.4rem; }

.lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-list {
  padding-left: 0;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.about-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 0.1rem;
}

ol.about-list { counter-reset: about-counter; }
ol.about-list li { counter-increment: about-counter; }
ol.about-list li::before {
  content: counter(about-counter) '.';
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .guides-grid--stages { grid-template-columns: repeat(2, 1fr); }
  .guides-grid--list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .country-hero { flex-direction: column; gap: 0.75rem; }
  .country-stats { gap: 1.25rem; }
  .region-cards { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: 1fr; }
  .guides-grid--stages { grid-template-columns: repeat(2, 1fr); }
  .guides-grid--list { grid-template-columns: 1fr; }
  .simple-page__inner { grid-template-columns: 1fr; }
  .next-section-cta { flex-direction: column; }
  .finish-callout { flex-direction: column; }
  .featured-guide-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .guides-grid--stages { grid-template-columns: 1fr; }
  .stage-item__header { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
}
