@import url('tokens.css');

/* ==========================================================================
   Self-Hosted Typography (@font-face)
   ========================================================================== */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Utilities */
.text-center { text-align: center; }
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (max-width: 767px) {
  .order-1, .order-2 { order: unset; }
}

/* ==========================================================================
   Base CSS Resets & Accessibility
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Editorial Typography Scale
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-midnight);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.08em; }

p {
  max-width: var(--reading-width);
}

.lead {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-charcoal-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-brass);
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-spacing {
  padding-top: var(--space-section-mobile);
  padding-bottom: var(--space-section-mobile);
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: var(--space-section-desktop);
    padding-bottom: var(--space-section-desktop);
  }
}

.divider-rule {
  border: none;
  height: 1px;
  background-color: var(--color-border);
  margin: var(--space-xl) 0;
}

.divider-brass {
  border: none;
  height: 1px;
  background-color: var(--color-border-brass);
  margin: var(--space-xl) 0;
}

/* 12-Column Editorial Grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-12 {
    gap: var(--space-xl);
  }
}

/* Column spans */
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-4  { grid-column: span 12; }
.col-8  { grid-column: span 12; }

@media (min-width: 768px) {
  .col-6 { grid-column: span 6; }
  .col-4 { grid-column: span 4; }
  .col-8 { grid-column: span 8; }
}

/* Asymmetric editorial layouts */
.editorial-split {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .editorial-split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .editorial-split-media {
    flex: 0 0 55%;
  }
  .editorial-split-content {
    flex: 0 0 40%;
  }
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: var(--radius-sm);
  min-height: 44px; /* Touch target accessibility */
}

.btn-forest {
  background-color: var(--color-forest);
  color: var(--color-white);
  border: 1px solid var(--color-forest);
}

.btn-forest:hover {
  background-color: var(--color-forest-dark);
  border-color: var(--color-forest-dark);
}

.btn-brass {
  background-color: var(--color-brass);
  color: var(--color-midnight); /* white on brass is ~2.6:1 and fails WCAG AA; midnight is ~5.6:1 */
  font-weight: 600;
  border: 1px solid var(--color-brass);
}

.btn-brass:hover {
  background-color: var(--color-brass-hover);
  border-color: var(--color-brass-hover);
  color: var(--color-midnight);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-forest);
  border: 1px solid var(--color-forest);
}

.btn-outline:hover {
  background-color: var(--color-forest);
  color: var(--color-white);
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-forest);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-brass);
  min-height: auto;
}

.btn-link:hover {
  color: var(--color-midnight);
  border-color: var(--color-midnight);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 245, 239, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }
}

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

/* Transparent, trimmed logo (612x168, ~3.6:1): sized by height so it aligns with header controls */
.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: none;
  display: block;
}

@media (min-width: 480px) {
  .brand-logo-img { height: 44px; }
}

@media (min-width: 768px) {
  .brand-logo-img { height: 52px; }
}

.brand-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-forest);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brass);
  margin-top: 2px;
}

.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.6vw, 1.75rem);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active,
.nav-item.is-open > .nav-link {
  color: var(--color-forest);
  border-bottom-color: var(--color-brass);
}

.nav-caret {
  transition: transform var(--transition-fast);
}

.nav-item.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -1.25rem;
  min-width: 248px;
  padding: var(--space-xs) 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-brass);
  box-shadow: 0 12px 32px rgba(21, 43, 59, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 110;
}

/* Hover for pointer users; JS toggles .is-open for click, touch and keyboard */
@media (hover: hover) {
  .nav-item.has-menu:hover > .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-item.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav-menu-link:hover,
.nav-menu-link:focus-visible,
.nav-menu-link.active {
  color: var(--color-forest);
  background-color: var(--color-ivory);
  border-left-color: var(--color-brass);
}

.header-phone-link {
  display: none;
  padding: 0 1.1rem;
  min-height: 42px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.header-phone-link:hover { background: var(--color-forest-dark); color: var(--color-white); }

@media (min-width: 1280px) {
  .header-phone-link {
    display: inline-flex;
  }
}

/* Keep logo + six nav items + CTA on one line between 1024px and 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-logo-img { height: 44px; }
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-forest);
  background-color: var(--color-white);
  border: 1px solid var(--color-forest);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-quote-btn:hover {
  background-color: var(--color-forest);
  color: var(--color-white);
}

/* Tap-to-call in the header whenever the full phone number button is hidden */
.header-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-forest);
  color: var(--color-white);
  background: var(--color-forest);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(36, 72, 61, 0.22);
  transition: background-color var(--transition-fast);
}

.header-call-btn:hover {
  background: var(--color-forest-dark);
}

@media (min-width: 1280px) {
  .header-call-btn { display: none; }
}

/* Phones: the sticky bottom bar already offers "Free Quote", keep the header to the call button */
@media (max-width: 479px) {
  .header-quote-btn { display: none; }
}

/* Hero Section Responsive Layout */
.hero-section {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
  background-color: var(--color-ivory);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-grid {
  gap: var(--space-xl);
}

.hero-title {
  font-size: clamp(1.85rem, 6.2vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--color-midnight);
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-lead {
  font-size: clamp(0.9375rem, 3.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
  width: 100%;
}

.hero-btn-primary,
.hero-btn-secondary {
  width: 100%;
  padding: 0.85rem 1.4rem;
  justify-content: center;
  min-height: 44px;
}

@media (min-width: 540px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    width: auto;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: auto;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  width: 100%;
}

.hero-stats > div:last-child {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  .hero-stats > div:last-child {
    grid-column: auto;
  }
}

.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 2px;
}

.hero-stat-value {
  display: block;
  font-size: 12px;
  color: var(--color-charcoal-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--color-midnight);
  color: var(--color-ivory);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  color: rgba(247, 245, 239, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: var(--color-brass);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
  color: rgba(247, 245, 239, 0.6);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Editorial Cards & Accordions
   ========================================================================== */
.editorial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: clamp(1.25rem, 3.5vw, var(--space-xl));
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.editorial-card:hover {
  border-color: var(--color-border-brass);
}

/* Destination Feature Blocks & Content */
.destination-feature-block {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.dest-feature-content {
  padding: var(--space-md) 0;
}

@media (min-width: 768px) {
  .dest-feature-content {
    padding: var(--space-md) var(--space-lg);
  }
}

/* Info Cards */
.info-card-midnight {
  background: var(--color-midnight);
  color: var(--color-ivory);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border-brass);
  position: relative;
  border-radius: var(--radius-sm);
}

/* Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Brand & Information Pages (About, Booking, Permits, Guides, Policies)
   ========================================================================== */
.col-3, .col-5, .col-7, .col-9 { grid-column: span 12; }

/* Let wide children (tables, figures) scroll inside a column instead of widening the page */
.grid-12 > * { min-width: 0; }

/* Wide inline gaps (e.g. gap: var(--space-2xl)) x 11 column gutters exceed a phone's width;
   on mobile every column spans 12, so cap the column gutter there. */
@media (max-width: 767px) {
  .grid-12 { column-gap: var(--space-md) !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid-12 { column-gap: var(--space-lg) !important; }
}

@media (min-width: 768px) {
  .col-3 { grid-column: span 3; }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .col-9 { grid-column: span 9; }
}

.page-intro {
  background-color: var(--color-ivory);
  border-bottom: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}

.page-intro .breadcrumbs .container {
  padding-left: 0;
  padding-right: 0;
}

.page-intro-body {
  max-width: 820px;
  margin-top: var(--space-lg);
}

.page-intro h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.page-intro-meta {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-charcoal-muted);
  letter-spacing: 0.04em;
}

/* Long-form reading column */
.prose {
  max-width: var(--reading-width);
  font-size: var(--text-base);
  line-height: 1.8;
}

.prose > * + * { margin-top: var(--space-md); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-xl); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-xs); }
.prose a { color: var(--color-forest); font-weight: 600; }

/* Numbered editorial sections */
.numbered-steps {
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--color-border);
}

.numbered-steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.numbered-steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--color-forest);
}

.numbered-steps h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.numbered-steps p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.75;
}

.numbered-steps .step-meta {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-forest);
  font-weight: 600;
}

@media (min-width: 768px) {
  .numbered-steps > li { grid-template-columns: 6rem 1fr; }
  .numbered-steps > li::before { font-size: var(--text-3xl); }
}

/* Term / description rows separated by thin rules */
.rule-list { list-style: none; }

.rule-list > li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.rule-list > li:first-child { border-top: 1px solid var(--color-border); }

.rule-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-midnight);
  margin-bottom: 2px;
}

.on-dark .rule-list > li { border-color: rgba(247, 245, 239, 0.14); }
.on-dark .rule-list strong { color: var(--color-white); }

/* Data tables (permits, seasons) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.fact-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.fact-table caption {
  text-align: left;
  padding: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-charcoal-muted);
  caption-side: bottom;
  border-top: 1px solid var(--color-border);
}

.fact-table th,
.fact-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.fact-table thead th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-midnight);
  background: var(--color-ivory);
  font-weight: 600;
}

.fact-table tbody th {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-midnight);
  min-width: 9rem;
}

.fact-table tbody tr:last-child th,
.fact-table tbody tr:last-child td { border-bottom: none; }

.status-yes { color: var(--color-forest); font-weight: 600; }
.status-no { color: #9b2c2c; font-weight: 600; }
.status-check { color: var(--color-midnight); font-weight: 600; }

/* Notes and approval markers */
.callout {
  border-left: 3px solid var(--color-brass);
  background: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.callout-forest { border-left-color: var(--color-forest); }
.callout strong { color: var(--color-midnight); }

.needs-approval {
  font-size: max(0.85em, 0.75rem);
  font-weight: 600;
  color: #7a5a1c;
  background: rgba(185, 154, 98, 0.14);
  padding: 0 0.3em;
  white-space: normal;
}

/* In-page contents list */
.page-toc {
  list-style: none;
  font-size: var(--text-sm);
  border-top: 1px solid var(--color-border);
}

.page-toc li { border-bottom: 1px solid var(--color-border); }

.page-toc a {
  display: block;
  padding: var(--space-sm) 0;
  min-height: 44px;
  color: var(--color-charcoal);
  text-decoration: none;
}

.page-toc a:hover { color: var(--color-forest); }

@media (min-width: 768px) {
  .page-toc-sticky {
    position: sticky;
    top: 96px;
  }
}

.anchor-target { scroll-margin-top: 96px; }

/* Midnight band */
.band-midnight {
  background: var(--color-midnight);
  color: var(--color-ivory);
}

.band-midnight h2,
.band-midnight h3 { color: var(--color-white); }
.band-midnight .lead { color: rgba(247, 245, 239, 0.78); }

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.btn-on-dark {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid rgba(247, 245, 239, 0.5);
}

.btn-on-dark:hover {
  border-color: var(--color-ivory);
  background: rgba(247, 245, 239, 0.08);
}

/* Editorial figures and gallery */
.figure-frame {
  margin: 0;
  overflow: hidden;
  background: var(--color-midnight);
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.figure-frame:hover img { transform: scale(1.03); }

.figure-caption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-charcoal-muted);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl) var(--space-lg);
}

.gallery-item { margin: 0; }
.gallery-item a { display: block; color: inherit; text-decoration: none; }
.gallery-item .figure-frame { aspect-ratio: 3 / 2; }
.gallery-item.is-portrait .figure-frame { aspect-ratio: 4 / 5; }

.gallery-item figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-midnight);
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(12, 1fr); }
  .gallery-item { grid-column: span 6; }
  .gallery-item.is-wide { grid-column: span 12; }
  .gallery-item.is-wide .figure-frame { aspect-ratio: 16 / 9; }
  .gallery-item.is-portrait { grid-column: span 5; }
  .gallery-item.is-portrait + .gallery-item { grid-column: span 7; align-self: end; }
  .gallery-item.span-4 { grid-column: span 4; }
}

/* Testimonials */
.testimonial-list { list-style: none; }

.testimonial {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-midnight);
  max-width: 52ch;
}

.testimonial-attribution {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
}

.testimonial-attribution strong { color: var(--color-charcoal); }

/* Month-by-month season cards */
.season-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
}

.season-grid > div {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.season-grid h3 {
  font-size: var(--text-lg);
  margin-bottom: 2px;
}

.season-grid .season-months {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-forest);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.season-grid p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .season-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-2xl); }
}

@media (min-width: 1024px) {
  .season-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Contact detail list */
.contact-detail { padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border); }
.contact-detail:first-child { border-top: 1px solid var(--color-border); }

.contact-detail-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-forest);
  text-decoration: none;
  font-weight: 500;
}

.contact-detail p { font-size: var(--text-sm); line-height: 1.7; }

/* ==========================================================================
   Site Footer (premium editorial)
   ========================================================================== */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-brass);
}

.footer-cta-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  color: var(--color-white);
  max-width: 22ch;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-footer .footer-btn-primary {
  background: var(--color-brass);
  border: 1px solid var(--color-brass);
  color: var(--color-midnight);
  font-weight: 600;
}

.site-footer .footer-btn-primary:hover {
  background: var(--color-ivory);
  border-color: var(--color-ivory);
  color: var(--color-midnight);
}

.site-footer .btn-on-dark { color: var(--color-ivory); }
.site-footer .btn-on-dark:hover { color: var(--color-white); }

@media (min-width: 900px) {
  .footer-cta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl) var(--space-lg);
  padding: var(--space-2xl) 0;
}

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

@media (min-width: 1024px) {
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-xl); }
  .footer-brand { grid-column: auto; padding-right: var(--space-xl); }
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-logo img { height: 64px; width: auto; }

.site-footer .footer-wa-link {
  align-self: center;
  padding: 10px 4px;
  font-size: var(--text-sm);
  color: rgba(247, 245, 239, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-wa-link:hover { color: var(--color-white); }

.footer-blurb {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(247, 245, 239, 0.72);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.footer-contact {
  list-style: none;
  font-size: var(--text-sm);
  color: rgba(247, 245, 239, 0.8);
}

.footer-contact li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  border-top: 1px solid rgba(247, 245, 239, 0.08);
}

.footer-contact li:last-child { border-bottom: 1px solid rgba(247, 245, 239, 0.08); }

.footer-contact span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass);
  font-weight: 600;
  padding-top: 2px;
}

.site-footer .footer-contact a { color: var(--color-white); font-weight: 500; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brass);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  font-size: var(--text-sm);
}

.footer-links li + li { margin-top: 2px; }

.footer-links a {
  display: inline-block;
  padding: 6px 0;
  background-image: linear-gradient(var(--color-brass), var(--color-brass));
  background-size: 0 1px;
  background-position: 0 85%;
  background-repeat: no-repeat;
  transition: background-size var(--transition-normal), color var(--transition-fast);
}

.site-footer .footer-links a:hover {
  color: var(--color-white);
  background-size: 100% 1px;
}

.footer-altitudes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(247, 245, 239, 0.08);
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: var(--color-white);
}

.footer-altitudes span {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 245, 239, 0.6);
  margin-right: 6px;
}

.site-footer .footer-bottom { margin-top: 0; }

/* Leave room so the floating WhatsApp / call dock never covers the legal bar */
@media (min-width: 1024px) {
  .site-footer { padding-bottom: 128px; }
}

/* Reserve space for the sticky mobile action bar so it never covers content */
@media (max-width: 1023px) {
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom, 0px)); }
}

.footer-legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
}

.footer-legal a { display: inline-block; padding: 6px 0; }
.site-footer .footer-top-link { color: var(--color-brass); font-weight: 600; }


/* ==========================================================================
   Touch targets (DESIGN.md: 44px+) & minimum readable sizes
   ========================================================================== */
.btn-link { padding: 10px 0; }
.site-footer .footer-links a,
.site-footer .footer-legal a { padding: 10px 0; }
.site-footer .footer-contact a,
.contact-detail-value { display: inline-block; padding: 8px 0; }
.page-toc a { display: flex; align-items: center; }

/* ==========================================================================
   Enquiry Form (multi-destination)
   ========================================================================== */
.enquiry-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-forest);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.enquiry-head {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.enquiry-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.enquiry-sub {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.65;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.enq-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg) var(--space-md);
}

@media (min-width: 600px) {
  .enq-row { grid-template-columns: 1fr 1fr; }
}

.enq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.enq-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-midnight);
}

.enq-req { color: #b42318; }

.enq-hint {
  display: inline-block;
  margin-left: 6px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-charcoal-muted);
}

.enq-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d3d6cf;
  border-radius: var(--radius-md);
  background: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.enq-input:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(36, 72, 61, 0.15);
}

textarea.enq-input { min-height: 96px; resize: vertical; line-height: 1.55; }

select.enq-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23576165' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

/* Destination picker */
.enq-destinations {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.enq-destinations legend { padding: 0; margin-bottom: var(--space-sm); }

.enq-context {
  font-size: var(--text-sm);
  background: var(--color-ivory);
  border-left: 3px solid var(--color-brass);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.enq-groups {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.enq-group + .enq-group { border-top: 1px solid var(--color-border); }

.enq-group-summary {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 52px;
  padding: 0 var(--space-md);
  cursor: pointer;
  list-style: none;
  background: var(--color-white);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-midnight);
  user-select: none;
}

.enq-group-summary::-webkit-details-marker { display: none; }
.enq-group-summary:hover { background: var(--color-ivory); }

.enq-group-name { flex: 1; min-width: 0; }

.enq-group-count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--color-white);
  white-space: nowrap;
}

.enq-group-count[hidden] { display: none; }

.enq-group-chevron {
  flex-shrink: 0;
  color: var(--color-charcoal-muted);
  transition: transform var(--transition-fast);
}

.enq-group[open] .enq-group-chevron { transform: rotate(180deg); }
.enq-group[open] .enq-group-summary { background: var(--color-ivory); }

.enq-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: var(--space-md);
  background: var(--color-ivory);
}

@media (min-width: 600px) {
  .enq-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.enq-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  background: var(--color-white);
  border: 1px solid #d3d6cf;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.3;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.enq-chip:hover { border-color: var(--color-forest); }

.enq-chip input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #9aa29d;
  border-radius: 4px;
  background: var(--color-white);
  display: grid;
  place-content: center;
  cursor: pointer;
}

.enq-chip input::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.enq-chip input:checked { background: var(--color-forest); border-color: var(--color-forest); }
.enq-chip input:checked::after { opacity: 1; }
.enq-chip input:focus-visible { outline: 2px solid var(--color-brass); outline-offset: 2px; }

.enq-chip:has(input:checked) {
  border-color: var(--color-forest);
  background: rgba(36, 72, 61, 0.06);
  font-weight: 600;
  color: var(--color-midnight);
}

.enq-chip-wide { width: 100%; }

.enq-selected {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-forest);
  font-weight: 500;
  max-width: none;
}

.enq-selected:empty { display: none; }

/* Actions */
.enq-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.enq-submit { width: 100%; min-height: 52px; font-size: var(--text-base); font-weight: 600; }

.enq-alt {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  text-align: center;
  max-width: none;
}

.enq-alt a { color: var(--color-forest); font-weight: 600; padding: 8px 0; display: inline-block; }

@media (min-width: 600px) {
  .enq-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .enq-submit { width: auto; padding-left: 2rem; padding-right: 2rem; }
  .enq-alt { text-align: right; }
}

@media (max-width: 599px) {
  .enquiry-card { padding: 1.25rem 1rem; }
  .enq-chips { padding: 10px; gap: 6px; }
  .enq-chip { gap: 8px; padding: 8px 10px; font-size: 0.875rem; }
  .enq-group-summary { padding: 0 12px; }
}

.enq-destinations legend .enq-hint { display: block; margin: 2px 0 0; }

/* Header spacing: keep logo, menu and call/quote buttons from touching */
.header-inner { gap: var(--space-md); }

@media (min-width: 1024px) {
  .header-inner { gap: var(--space-lg); }
}

/* The container caps at 1200px, so the header never gets wider than this */
@media (min-width: 1024px) {
  .brand-logo-img { height: 46px; }
}

.header-phone-link,
.header-quote-btn { white-space: nowrap; flex-shrink: 0; }
.site-nav svg,
.header-cta-group svg { max-width: none; flex-shrink: 0; }

/* ==========================================================================
   Package Cards (photo-led) — .pkg-rail (swipe row on phones) / .pkg-grid (compact list on phones)
   ========================================================================== */
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.pkg-card:hover {
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(21, 43, 59, 0.06), 0 10px 28px rgba(21, 43, 59, 0.12);
  transform: translateY(-2px);
}

.pkg-card:focus-within { box-shadow: 0 0 0 2px var(--color-brass); }

.pkg-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-ivory-dark);
}

.pkg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.pkg-card:hover .pkg-media img { transform: scale(1.035); }

.pkg-duration {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-midnight);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.pkg-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.pkg-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5a1c;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}

.pkg-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkg-link { color: var(--color-midnight); text-decoration: none; }
.pkg-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pkg-link:focus-visible { outline: none; }
.pkg-card:hover .pkg-link { color: var(--color-forest); }

.pkg-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.8125rem;
  color: var(--color-charcoal-muted);
  margin-bottom: 10px;
}

.pkg-meta li { display: inline-flex; align-items: center; gap: 5px; }
.pkg-meta svg { color: var(--color-forest); max-width: none; flex-shrink: 0; }

.pkg-summary {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-charcoal-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  max-width: none;
}

.pkg-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.pkg-price { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pkg-price strong { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--color-forest); }
.pkg-price-label { font-size: 0.75rem; color: var(--color-charcoal-muted); }

.pkg-actions {
  position: relative;
  z-index: 2; /* above the stretched title link */
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pkg-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-forest);
  color: var(--color-forest);
  background: var(--color-white);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.pkg-call:hover { background: var(--color-forest); color: var(--color-white); }
.pkg-call svg { max-width: none; }

.pkg-quote {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.pkg-quote:hover { background: var(--color-forest-dark); }

/* ---- Rail: horizontal swipe on phones, grid from tablets ---- */
.pkg-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 320px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pkg-rail::-webkit-scrollbar { display: none; }
.pkg-rail-item { scroll-snap-align: start; min-width: 0; }

.pkg-rail-more { margin-top: var(--space-sm); }

@media (min-width: 768px) {
  .pkg-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .pkg-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- Grid: compact horizontal cards on phones ---- */
.pkg-count {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  margin-bottom: var(--space-sm);
}

.pkg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (max-width: 639px) {
  .pkg-grid .pkg-card { flex-direction: row; border-radius: 12px; }
  .pkg-grid .pkg-media { width: 112px; flex-shrink: 0; aspect-ratio: auto; }
  .pkg-grid .pkg-duration { left: 6px; top: 6px; padding: 3px 7px; font-size: 0.75rem; }
  .pkg-grid .pkg-body { padding: 12px 12px 12px 14px; min-width: 0; }
  .pkg-grid .pkg-kicker { font-size: 0.75rem; letter-spacing: 0.04em; }
  .pkg-grid .pkg-title { font-size: 1rem; margin-bottom: 6px; }
  .pkg-grid .pkg-meta { font-size: 0.75rem; gap: 4px 10px; margin-bottom: 8px; }
  .pkg-grid .pkg-meta-pace,
  .pkg-grid .pkg-summary,
  .pkg-grid .pkg-price { display: none; }
  .pkg-grid .pkg-footer { padding-top: 8px; gap: 8px; justify-content: flex-end; }
  .pkg-grid .pkg-price strong { font-size: 0.9rem; }
  .pkg-grid .pkg-call { width: 40px; height: 40px; }
  .pkg-grid .pkg-quote { min-height: 40px; padding: 0 14px; font-size: 0.8125rem; }
}

@media (min-width: 640px) {
  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
}

@media (min-width: 1024px) {
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .pkg-card:hover { transform: none; }
  .pkg-card:hover .pkg-media img { transform: none; }
}

/* Packages listing: compact header + instant filters (less scrolling before the first card) */
.pkg-page { padding-top: var(--space-xl); }
.pkg-page-head { max-width: 760px; margin: var(--space-sm) 0 var(--space-lg); }
.pkg-page-head h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); margin-bottom: var(--space-xs); }
.pkg-page-head .lead { font-size: var(--text-base); }

.pkg-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: var(--space-lg);
}

.pkg-filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.pkg-filter label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-midnight);
}

.pkg-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 2rem 0 0.85rem;
  border: 1px solid #d3d6cf;
  border-radius: 999px;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23576165' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-charcoal);
}

.pkg-filter select:focus { outline: 2px solid var(--color-brass); outline-offset: 2px; }

.js .pkg-filter-submit { display: none; }

.pkg-filter-reset {
  grid-column: 1 / -1;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-forest);
  padding: 6px 0;
}

@media (min-width: 768px) {
  .pkg-page { padding-top: var(--space-2xl); }
  .pkg-filters { grid-template-columns: minmax(0, 280px) minmax(0, 220px) auto auto; justify-content: start; }
  .pkg-filter-reset { grid-column: auto; align-self: center; }
}

/* Breadcrumbs render their own .container; inside another container that doubled the side padding */
.container .breadcrumbs .container { padding-left: 0; padding-right: 0; }
