/* =====================================================================
   FLAME · guide.css — Guías públicas (/guias/…, /citas/…).
   Se carga después de landing.css y reutiliza sus variables y botones.
   ===================================================================== */

.g-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.g-nav__cta { padding: 11px 22px; }

.g-main { max-width: 1040px; padding-top: 12px; padding-bottom: 64px; }

.g-crumbs { font-size: .88rem; color: #8a8a9a; margin: 8px 0 22px; }
.g-crumbs a { color: var(--ink-soft); font-weight: 600; }
.g-crumbs a:hover { color: var(--flame-pink); }

.g-article { color: #3f4358; line-height: 1.75; font-size: 1.04rem; }
@media (min-width: 1100px) {
  .g-article { font-size: 1.12rem; }
}
.g-article h1 {
  margin: 0 0 10px; color: var(--ink); font-weight: 800; line-height: 1.15;
  font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.02em;
}
.g-article h2 { margin: 44px 0 12px; color: var(--ink); font-weight: 800; font-size: 1.45rem; line-height: 1.3; }
.g-article ul, .g-article ol { padding-left: 1.25rem; }
.g-article li { margin-bottom: 6px; }
.g-article strong { color: var(--ink); }

.g-kicker {
  display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--pink-tint); color: var(--flame-pink);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.g-meta { margin: 0 0 24px; color: #8a8a9a; font-size: .9rem; }

.g-answer { margin: 0 0 24px; padding: 16px 20px; background: var(--pink-tint); border-left: 4px solid var(--flame-pink); border-radius: 8px; color: var(--ink); }
.g-answer strong { color: var(--flame-pink); }

.g-hero { margin: 0 0 28px; }
.g-hero img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; background: #f1e9ee; }
.g-hero figcaption { margin-top: 8px; font-size: .78rem; color: #8a8a9a; }
.g-hero figcaption a { color: inherit; }

.g-table-wrap { overflow-x: auto; margin: 28px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.g-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
.g-table caption { caption-side: top; text-align: left; padding: 14px 16px 6px; font-weight: 800; color: var(--ink); }
.g-table th, .g-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.g-table thead th { background: #faf6f8; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.g-table tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; }
.g-table tr.is-flame { background: var(--pink-tint); }
.g-table tr.is-flame th { color: var(--flame-pink); }
.g-note { margin: 0 0 8px; font-size: .85rem; color: #8a8a9a; }

.g-facts {
  margin: 44px 0 8px; padding: 24px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.g-facts h2 { margin-top: 0; }
.g-facts ul { margin: 0 0 20px; }

.g-article .faq-list { margin-top: 8px; }
.g-article .faq-item p { font-size: .98rem; }

.g-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.g-links a {
  display: block; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line);
  color: var(--ink); font-weight: 700; transition: border-color .15s, color .15s;
}
.g-links a:hover, .g-links a[aria-current="page"] { border-color: var(--flame-pink); color: var(--flame-pink); }

/* Tarjetas de guías */
.g-article .g-cards {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px;
}
.g-article .g-cards li { margin: 0; }
.g-card {
  position: relative; height: 100%; box-sizing: border-box;
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 46px 20px 20px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  color: inherit; line-height: 1.45;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.g-card:hover { transform: translateY(-3px); border-color: var(--pink-soft); box-shadow: var(--shadow-soft); }
.g-card__icon {
  flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--pink-tint); color: var(--flame-pink); font-size: 1.15rem;
  transition: background .18s, color .18s;
}
.g-card:hover .g-card__icon { background: var(--flame-grad); color: #fff; }
.g-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g-card__kicker { color: var(--flame-pink); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.g-card__title { color: var(--ink); font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.g-card__desc {
  color: var(--ink-soft); font-size: .9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.g-card__arrow {
  position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  color: #c9c3cc; font-size: .95rem; transition: color .18s, right .18s;
}
.g-card:hover .g-card__arrow { color: var(--flame-pink); right: 16px; }

/* Ciudades agrupadas por país */
.g-countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.g-country {
  padding: 18px 18px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
}
.g-country--wide { grid-column: 1 / -1; }
.g-countries > .g-country--wide:only-child { padding: 0; border: 0; background: none; }
.g-article .g-country__name {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  color: var(--ink); font-weight: 800; font-size: 1.02rem; line-height: 1.3;
}
.g-country__name i { color: var(--flame-pink); font-size: .9rem; }
.g-country__name span { margin-left: auto; color: #8a8a9a; font-size: .78rem; font-weight: 600; }
.g-article .g-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-article .g-chips li { margin: 0; }
.g-chips a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: #faf6f8; border: 1px solid transparent;
  color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
}
.g-chips a:hover { background: var(--pink-tint); border-color: var(--pink-soft); color: var(--flame-pink); }
.g-chips a[aria-current="page"] { background: var(--flame-grad); color: #fff; }

@media (max-width: 560px) {
  .g-article { font-size: 1rem; }
  .g-nav__cta { padding: 10px 16px; font-size: .9rem; }
  .g-article .g-cards { grid-template-columns: 1fr; }
  .g-card { padding: 16px 40px 16px 16px; gap: 14px; }
  .g-card__arrow { right: 16px; }
}
