/* ============================================================
   KonKon SEO Pages — Shared Stylesheet
   Mobile-first, coherente con la marca KonKon
   ============================================================ */

:root {
  --red:       #CC0018;
  --red-dark:  #a00012;
  --red-light: #ff334d;
  --black:     #0f0f0f;
  --dark:      #1a1a1a;
  --mid:       #2e2e2e;
  --bg:        #f5f5f5;
  --white:     #ffffff;
  --txt:       #1a1a1a;
  --txt2:      #555555;
  --txt3:      #888888;
  --border:    #e0e0e0;
  --radius:    12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
}

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  background: var(--black);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--red);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red) url('/og-image.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.header-brand-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.header-cta {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--red-dark); }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  padding: 10px 20px;
  font-size: 12px;
  color: var(--txt3);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span + span::before { content: ' › '; margin: 0 4px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2a0008 50%, #1a0005 100%);
  color: #fff;
  padding: 40px 20px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '🇯🇵';
  position: absolute;
  font-size: 120px;
  opacity: 0.06;
  right: -10px;
  top: -10px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.hero-meta span::before { margin-right: 4px; }

/* ── APP BANNER ─────────────────────────────────────────────── */
.app-banner {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.app-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.app-banner-text { flex: 1; }
.app-banner-text strong { display: block; font-size: 14px; font-weight: 700; }
.app-banner-text small { font-size: 11px; opacity: 0.85; }
.app-banner-btn {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 22px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.app-banner-btn:hover { transform: scale(1.03); }

/* ── MAIN CONTENT ───────────────────────────────────────────── */
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ── INTRO ──────────────────────────────────────────────────── */
.intro-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0 20px;
  border-left: 4px solid var(--red);
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.intro-box p { color: var(--txt2); font-size: 15px; line-height: 1.7; }

/* ── QUICK STATS ────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.stat-card .val {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .lbl { font-size: 11px; color: var(--txt3); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--txt);
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
}

/* ── DAY CARD ───────────────────────────────────────────────── */
.day-card {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  overflow: hidden;
}

.day-header {
  background: var(--dark);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.day-num {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.day-header-text h3 { font-size: 16px; font-weight: 700; line-height: 1.2; }
.day-header-text span { font-size: 12px; color: rgba(255,255,255,.6); }

.day-body { padding: 16px 18px; }

.places-list { list-style: none; }
.places-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.places-list li:last-child { border-bottom: none; padding-bottom: 0; }
.place-emoji { font-size: 20px; flex-shrink: 0; line-height: 1.3; }
.place-info strong { display: block; color: var(--txt); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.place-info span { color: var(--txt2); font-size: 13px; line-height: 1.4; }

.day-tip {
  background: #fff8f0;
  border-left: 3px solid #f59e0b;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 13px;
  color: #7c5a00;
}
.day-tip::before { content: '💡 '; }

/* ── TIPS SECTION ───────────────────────────────────────────── */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 480px) { .tips-grid { grid-template-columns: 1fr; } }

.tip-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.tip-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.tip-card p { font-size: 13px; color: var(--txt2); line-height: 1.5; }

/* ── BOTTOM CTA ─────────────────────────────────────────────── */
.bottom-cta {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  margin: 28px 0 16px;
  color: #fff;
}
.bottom-cta h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.bottom-cta p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: var(--red-dark); transform: scale(1.02); }
.cta-stars { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; }

/* ── RELATED LINKS ──────────────────────────────────────────── */
.related-section { margin-top: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.related-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-decoration: none;
  color: var(--txt);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 2px solid transparent;
  transition: border-color 0.2s;
  display: block;
}
.related-card:hover { border-color: var(--red); }
.related-card .rc-days { font-size: 22px; font-weight: 800; color: var(--red); }
.related-card .rc-title { font-size: 14px; font-weight: 600; margin: 4px 0 3px; }
.related-card .rc-cities { font-size: 12px; color: var(--txt3); }

/* ── LISTING PAGE ───────────────────────────────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none;
  color: var(--txt);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.listing-card-header {
  background: linear-gradient(135deg, var(--black), #2a0008);
  padding: 24px 20px;
  color: #fff;
  position: relative;
}
.listing-card-days {
  font-size: 36px;
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
}
.listing-card-label { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.5px; }
.listing-card-body { padding: 16px; }
.listing-card-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.listing-card-cities { font-size: 13px; color: var(--txt3); margin-bottom: 10px; }
.listing-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: #f0f0f0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--txt2);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 20px;
  font-size: 12px;
}
.site-footer a { color: var(--red-light); text-decoration: none; }

/* ── STICKY MOBILE CTA ──────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--red);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.sticky-cta p { color: #fff; font-size: 13px; font-weight: 600; flex: 1; }
.sticky-cta a {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 30px 16px 26px; }
  .app-banner { flex-wrap: wrap; }
  .app-banner-icon { display: none; }
  body { padding-bottom: 60px; }
}
