:root {
  --blue: #173a73;
  --red: #d72638;
  --yellow: #ffd166;
  --cream: #fff8eb;
  --ink: #1f2937;
  --muted: #64748b;
  --card: #ffffff;
  --green: #0f766e;
  --shadow: 0 20px 50px rgba(23, 58, 115, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 209, 102, 0.42), transparent 26rem),
    radial-gradient(circle at 92% 42%, rgba(215, 38, 56, 0.12), transparent 22rem),
    radial-gradient(circle at 6% 86%, rgba(20, 184, 166, 0.14), transparent 20rem),
    linear-gradient(180deg, var(--cream) 0%, #fffdf8 42%, #edf7ff 100%);
}

a { color: inherit; }

.hero {
  min-height: 86vh;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 209, 102, 0.98), transparent 18%),
    radial-gradient(circle at 12% 82%, rgba(20, 184, 166, 0.58), transparent 26%),
    linear-gradient(135deg, rgba(23, 58, 115, 0.98), rgba(215, 38, 56, 0.88));
  overflow: hidden;
}

.nav, .hero-grid, main { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo, .nav-links a { text-decoration: none; font-weight: 900; }
.logo { letter-spacing: 0.04em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; }
.nav-links a { opacity: 0.9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: center;
  padding: 90px 0 84px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.eyebrow.dark { color: #8a4f00; background: #fff1c7; }

h1, h2, h3 { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}
h2 { color: var(--blue); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
h3 { color: var(--blue); }

.intro {
  max-width: 720px;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.primary { color: var(--blue); background: var(--yellow); }
.secondary { color: white; border: 2px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.14); }

.hero-card, .quick-note, .spot-card, .restaurant-card, .feature-food, .tips-grid article {
  border: 1px solid rgba(23, 58, 115, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 16px 16px 28px;
  color: var(--ink);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, var(--yellow), #fb7185, #38bdf8);
}
.hero-photo {
  position: relative;
  margin-bottom: 22px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.22);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-photo span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(17, 24, 39, 0.66);
  font-size: 0.82rem;
  font-weight: 900;
}
.card-kicker { display: inline-block; margin-bottom: 14px; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
ol { padding-left: 22px; margin: 0; line-height: 1.75; }

main { margin-top: -48px; padding-bottom: 56px; }
.quick-note { padding: 20px 24px; margin-bottom: 48px; line-height: 1.65; }
.quick-note p { margin: 0; }
.section-block { margin: 56px 0; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p:last-child { color: var(--muted); line-height: 1.7; }

.guide-tabs {
  padding: 34px;
  border: 1px solid rgba(23, 58, 115, 0.08);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(23, 58, 115, 0.08);
  backdrop-filter: blur(10px);
}
.tab-list {
  position: sticky;
  top: 10px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 26px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(23, 58, 115, 0.09);
}
.tab-button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.tab-button:hover { transform: translateY(-1px); }
.tab-button.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--red));
  box-shadow: 0 14px 30px rgba(215, 38, 56, 0.24);
}
.tab-panel { animation: panelIn 220ms ease both; }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 26px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 209, 102, 0.54), transparent 18rem),
    linear-gradient(135deg, rgba(23, 58, 115, 0.12), rgba(215, 38, 56, 0.10));
}
.spots-banner { grid-template-columns: 1fr; }
.panel-banner h3 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.panel-banner p:last-child { max-width: 800px; color: var(--muted); line-height: 1.7; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.spot-card, .restaurant-card { overflow: hidden; transition: transform 160ms ease, box-shadow 160ms ease; }
.spot-card:hover, .restaurant-card:hover { transform: translateY(-5px) rotate(-0.2deg); box-shadow: 0 26px 60px rgba(23, 58, 115, 0.2); }
.card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 170px;
  overflow: hidden;
  background: #e0f2fe;
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.34));
}
.card-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}
.spot-card:hover .card-photo img, .restaurant-card:hover .card-photo img { transform: scale(1.045); }
.emoji-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
  font-size: 1.8rem;
}
.tag {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: rgba(17, 24, 39, 0.62);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
  font-weight: 900;
  font-size: 0.78rem;
}
.emoji-badge, .tag { z-index: 1; }
.card-body { padding: 22px; }
.card-body p { color: var(--muted); line-height: 1.62; }
.card-body .definition { color: #334155; font-weight: 800; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.meta span { padding: 7px 10px; border-radius: 999px; background: #fff1c7; color: #744b00; font-size: 0.86rem; font-weight: 800; }
.photo-credit {
  display: inline-flex;
  margin-top: 14px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}
.photo-credit:hover { color: var(--blue); text-decoration: underline; }

.feature-food {
  min-height: 100%;
  padding: 24px;
  color: white;
  border-color: rgba(255,255,255,0.2);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 209, 102, 0.72), transparent 30%),
    linear-gradient(145deg, var(--blue), var(--red));
}
.feature-food h3 { color: white; font-size: 2.2rem; }
.feature-food p { line-height: 1.75; }
.feature-food .card-kicker { color: var(--yellow); }
.compact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.tips-grid article { padding: 24px; }
.tips-grid span { font-size: 2rem; }
.tips-grid p { color: var(--muted); line-height: 1.62; }

footer { padding: 28px; text-align: center; color: var(--muted); }

@media (max-width: 850px) {
  .hero-grid, .panel-banner { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 70px; }
  .hero-copy { text-align: center; }
  .intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-card { max-width: 620px; margin-inline: auto; }
}

@media (max-width: 620px) {
  .hero { padding: 18px 0; }
  .nav { align-items: flex-start; }
  .nav-links { justify-content: flex-end; gap: 10px; font-size: 0.9rem; }
  main { width: min(100% - 24px, 1160px); }
  .guide-tabs { padding: 22px 14px; border-radius: 30px; }
  .tab-list { position: static; grid-template-columns: 1fr; border-radius: 26px; }
  .panel-banner { padding: 20px; }
  .card-grid, .compact { grid-template-columns: 1fr; }
}
