/* Base and heading scale */
:root {
  --heading-1: clamp(2.75rem, 6vw, 4.8rem);
  --heading-2: clamp(1.5rem, 3vw, 2rem);
  --heading-3: clamp(1.0625rem, 1.8vw, 1.25rem);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 10rem;
}

body {
  font-family: Arial, sans-serif;
  background: #f7f3ec;
  color: #1d1d1f;
  line-height: 1.5;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #99651e;
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-weight: 700;
}

h1 {
  font-size: var(--heading-1);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

h2 {
  font-size: var(--heading-2);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--heading-3);
  line-height: 1.3;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section {
  padding: 36px 0;
}

/* Header */
header {
  padding: 18px 0;
  background: #f7f3ec;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e3ddd2;
}

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

.logo {
  display: flex;
  min-width: 0;
  max-width: 300px;
}

.logo img {
  height: 92px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.95rem;
}

.nav-links a {
  color: #444;
  padding-block: 6px;
}

.menu-button {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #d8d0c4;
  border-radius: 10px;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Hero */
.hero {
  padding: clamp(36px, 5vw, 60px) 0 35px;
}

.hero-grid,
.local-note {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.hero-grid {
  gap: 36px;
  align-items: start;
}

.hero-grid > *,
.local-note > *,
.weekend-item > * {
  min-width: 0;
}

.tag {
  display: inline-block;
  background: #1d1d1f;
  color: white;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: #4d4d4d;
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-card {
  background: #1d1d1f;
  color: white;
  border-radius: 28px;
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-card h2 {
  margin-bottom: 12px;
}

.hero-card p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-card a {
  background: white;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  align-self: flex-start;
  max-width: 100%;
  text-align: center;
}

.hero-card a:focus-visible {
  outline-color: white;
}

/* Guide-page navigation and update information */
.back-link {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  color: #555;
  font-weight: 700;
  font-size: 0.95rem;
}

.updated {
  display: inline-block;
  max-width: 100%;
  background: white;
  border: 1px solid #e4ddd2;
  padding: 10px 14px;
  border-radius: 999px;
  color: #555;
  font-size: 0.95rem;
}

/* Section headings */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title h2 + p {
  margin-top: 8px;
}

.section-title p {
  color: #666;
  max-width: 520px;
}

/* Category cards and area guides */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
  min-width: 0;
  background: white;
  border: 1px solid #e4ddd2;
  border-radius: 20px;
  padding: 22px;
  min-height: 170px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card span {
  font-size: 2rem;
  line-height: 1.2;
  display: block;
  margin-bottom: 14px;
}

.category-card h3 {
  margin-bottom: 8px;
}

.category-card p,
.place-content p,
.weekend-item p {
  color: #666;
  font-size: 0.95rem;
}

/* Image credits */
.place-content .image-credit {
  font-size: 0.8rem;
}

.guide-note {
  margin-bottom: 18px;
  color: #555;
}

/* Place cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.place-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e4ddd2;
  border-radius: 22px;
  overflow: hidden;
}

.place-img {
  position: relative;
  height: 240px;
  flex: 0 0 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #d7c8b2, #a58f70);
}

.place-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.place-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-label {
  align-self: flex-start;
  background: #f1e6d6;
  color: #6a4b22;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
}

.place-content > .featured-label {
  margin-bottom: 10px;
}

.area-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  background: white;
  color: #1d1d1f;
}

.card-meta {
  margin-bottom: 12px;
}

.place-content h3 {
  margin-bottom: 8px;
}

.place-content p {
  margin-bottom: 14px;
}

/* Buttons and card metadata */
.buttons,
.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.place-content .buttons {
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 999px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  background: white;
  color: inherit;
}

.btn-dark {
  background: #1d1d1f;
  color: white;
  border-color: #1d1d1f;
}

/* Filter controls */
.filters-section {
  padding: 20px 0 10px;
}

/* Weekend plans and shared guide panels */
.weekend-box,
.content-panel {
  background: white;
  border: 1px solid #e4ddd2;
  border-radius: 24px;
  padding: 24px;
}

.weekend-list {
  display: grid;
}

.weekend-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #eee5da;
}

.weekend-item:first-child {
  padding-top: 0;
}

.weekend-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.weekend-item h3 {
  margin-bottom: 4px;
}

.price {
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
}

/* Local recommendations and inset guide cards */
.local-note {
  background: white;
  border: 1px solid #e4ddd2;
  border-radius: 28px;
  padding: 34px;
  gap: 28px;
  align-items: start;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.local-note h2 {
  margin-bottom: 12px;
}

.local-note p,
.local-note-side p,
.inset-card p {
  color: #555;
  margin-bottom: 14px;
}

.local-note-side,
.inset-card {
  min-width: 0;
  background: #f7f3ec;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid #eee5da;
}

.local-note-side h3,
.inset-card h3 {
  margin-bottom: 8px;
}

.local-note-side p:last-child,
.inset-card p:last-child {
  margin-bottom: 0;
}

.local-note-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.local-note-list div {
  background: #f7f3ec;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #444;
}

/* Shared footer */
.site-footer {
  margin-top: 24px;
  padding: 44px 0 22px;
  background: #efe9df;
  border-top: 1px solid #ded5c8;
  color: #555;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.footer-grid > * {
  min-width: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-name {
  display: inline-block;
  color: #1d1d1f;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.footer-brand p {
  max-width: 32ch;
  margin-top: 12px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #1d1d1f;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: normal;
}

.footer-links {
  display: grid;
  gap: 4px;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  max-width: 100%;
  padding: 6px 0;
  overflow-wrap: anywhere;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid #ded5c8;
  color: #666;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 32px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-links a {
    min-height: 44px;
    padding: 10px 0;
  }
}

/* Pointer and motion preferences */
@media (hover: hover) and (pointer: fine) {
  a.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links a:hover,
  .back-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card {
    transition: none;
  }

  a.category-card:hover {
    transform: none;
  }
}

/* Five-column guides on smaller desktops */
@media (max-width: 1000px) {
  .category-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 850px) {
  .hero-grid,
  .local-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-card {
    min-height: 0;
  }
}

/* Mobile */
@media (max-width: 560px) {
  section {
    padding: 28px 0;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-card,
  .weekend-box,
  .content-panel,
  .local-note {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-card p {
    margin-bottom: 16px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-card {
    padding: 20px;
    min-height: 0;
  }

  .weekend-item {
    flex-direction: column;
    gap: 8px;
  }

  .local-note-side,
  .inset-card {
    padding: 18px;
  }
}

/* Burger navigation */
@media (max-width: 602px) {
  header {
    padding: 12px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .logo {
    flex-shrink: 0;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e3ddd2;
    font-size: 0.95rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
  }
}

/* Gradually shrink the logo on smaller phones */
@media (max-width: 400px) {
  .logo img {
    height: clamp(72px, calc(25vw - 8px), 92px);
  }
}

/* Dark variation of the shared recommendation panel */
.local-note-dark {
  background: #1d1d1f;
  color: white;
  border-color: #1d1d1f;
}

.local-note-dark p {
  color: #ddd;
}

.local-note-dark .local-note-side {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Reading copy inside shared content panels */
.prose > p {
  max-width: 75ch;
  margin-bottom: 16px;
  color: #555;
}

.prose > p:last-child {
  margin-bottom: 0;
}

/* Links within body copy and contact details */
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Featured variation of a shared card */
.place-card-featured {
  border: 2px solid #1d1d1f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Pricing inside shared place cards */
.plan-price {
  margin-bottom: 14px;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.plan-price small {
  font-size: 0.9rem;
  font-weight: 700;
  color: #666;
  letter-spacing: normal;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 4px 0 20px;
  padding-left: 1.25rem;
  list-style: "✓  ";
  color: #444;
  font-size: 0.95rem;
}

/* Pricing cards */
.place-card-featured {
  border: 2px solid #1d1d1f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.plan-price {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, calc(1.75rem + 0.7vw), 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.plan-price small {
  font-size: 0.9rem;
  font-weight: 700;
  color: #666;
  letter-spacing: normal;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 4px 0 24px;
  padding-left: 1.35rem;
  list-style: "✓  ";
  color: #444;
  font-size: 0.95rem;
}

/* Reporting panels */
.metric-list {
  display: grid;
  gap: 16px;
}

.metric-list > div + div {
  padding-top: 16px;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.metric-list dt {
  font-weight: 700;
}

.metric-list dd {
  margin-top: 4px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Numbered steps */
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #1d1d1f;
  color: white;
  font-weight: 800;
}

/* Full images without cropping */
.responsive-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
