/* =========================================================================
   Outside Rome — Day Trips from Rome
   Visual lineage: /new-site-simple (structural locks)
   Palette: Roman plaster + Antique parchment + Cerulean teal + Caramel Dream + Spanish Raisin
   Fonts: Manrope (display) + Inter (body)
   ========================================================================= */

:root {
  /* Surfaces */
  --c-bg:        #FAF7F2;  /* Roman plaster */
  --c-bg-alt:    #F0E8DA;  /* Antique parchment */
  --c-bg-card:   #ffffff;
  --c-white:     #ffffff;  /* Pure white — text on dark surfaces, button text */
  --c-cream-warm:#f5d3b6;  /* Warm cream accent — italic emphasis, dark-bg kickers */
  --c-text-on-dark:#e5d9d4;/* Pale rose-cream for body text on the Spanish-Raisin footer bg */
  /* Ink */
  --c-ink:       #62504d;  /* Spanish Raisin (body text + dark surfaces) */
  --c-ink-soft:  #8a7a76;  /* Muted ink (only use on dark surfaces — fails AA on light bg below 14pt bold) */
  --c-ink-strong:#2b2220;
  /* Accents — use --c-accent for BACKGROUNDS or large/icon TEXT only.
     For body-sized text on light bg, use --c-accent-dark (AA compliant). */
  --c-accent:        #b9623c;  /* Caramel Dream (CTAs, button BGs) */
  --c-accent-dark:   #984e2e;  /* Darker caramel for TEXT on light bg */
  --c-blue:          #3490a8;  /* Blue Moon (secondary highlights, links) */
  --c-blue-dark:     #266f83;
  /* Lines */
  --c-line:      #e4d8c4;
  --c-line-soft: #efe6d4;

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw:    1180px;
  --gutter:  clamp(20px, 4vw, 48px);
  --radius:  14px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(98, 80, 77, .08);
  --shadow-md: 0 8px 24px rgba(98, 80, 77, .12);
  --shadow-lg: 0 18px 40px rgba(98, 80, 77, .15);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--c-blue-dark); text-decoration: none; }
a:hover { color: var(--c-accent-dark); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink-strong);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p  { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.kicker {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin: 0 0 .9em;
  font-weight: 600;
}
.kicker--light { color: rgba(255,255,255,.85); }

.section          { padding: clamp(36px, 5vw, 64px) 0; }
.section--alt     { background: var(--c-bg-alt); }
.section-head     { max-width: 760px; margin: 0 auto clamp(20px, 3vw, 40px); text-align: center; }
.section-head .lede { color: var(--c-ink); font-size: 1.05rem; }

.lede { font-size: 1.05rem; }

.sr-only, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; padding: 10px 16px;
  background: var(--c-ink-strong); color: var(--c-white);
  border-radius: 6px; z-index: 9999;
  clip: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  color: var(--c-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink-strong);
  border-color: var(--c-ink-strong);
}
.btn-ghost:hover {
  background: var(--c-ink-strong);
  color: var(--c-white);
  text-decoration: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, .98);
  box-shadow: 0 4px 18px rgba(98,80,77,.08);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--c-ink-strong);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.brand-mark-accent { color: var(--c-accent); }
.brand-tagline {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-top: 2px;
}

.primary-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.primary-nav .nav-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 2px;
  row-gap: 2px;
  align-items: center;
  justify-items: start;
}

.primary-nav a {
  display: inline-block;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink-strong);
  border-radius: 999px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.primary-nav a:hover {
  background: var(--c-bg-alt);
  color: var(--c-accent-dark);
  text-decoration: none;
}

/* Header CTA button (All tours) — sits to the right of the nav grid */
.nav-btn {
  flex: 0 0 auto;
  background: var(--c-accent);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.nav-btn:hover {
  background: var(--c-accent-dark);
  color: var(--c-white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.32rem;
  width: 44px;
  height: 44px;
  padding: 0.55rem;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink-strong);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--c-white);
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-block: clamp(44px, 6vw, 76px);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg,
      rgba(22, 17, 16, .94) 0%,
      rgba(22, 17, 16, .82) 25%,
      rgba(22, 17, 16, .55) 55%,
      rgba(22, 17, 16, .10) 85%,
      rgba(22, 17, 16, 0)   100%),
    url('images/rome-day-trips-hero.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
  font-weight: 600;
}
.hero-headline {
  color: var(--c-white);
  margin: 0 0 .4em;
  font-weight: 800;
  letter-spacing: -.015em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-headline em {
  font-style: normal;
  color: var(--c-cream-warm);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.96);
  margin: 0 0 .9em;
  max-width: 640px;
}
.hero-body {
  font-size: 1rem;
  color: rgba(255,255,255,.86);
  margin: 0 0 1.6em;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-actions .btn-ghost {
  color: var(--c-white);
  border-color: var(--c-white);
}
.hero-actions .btn-ghost:hover {
  background: var(--c-white);
  color: var(--c-ink-strong);
}
.hero-trust {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 32px;
  color: rgba(255,255,255,.9);
  font-size: .94rem;
  font-weight: 500;
  width: max-content;
  max-width: 100%;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 700;
  font-size: .8rem;
}

/* ---------- Destinations strip ---------- */
.destinations-strip {
  background: var(--c-ink-strong);
  color: var(--c-bg);
  padding: clamp(18px, 2.4vw, 26px) 0;
}
.destinations-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  text-align: center;
}
.destinations-label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-cream-warm);
  flex: 0 0 auto;
}
.destinations-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
}
.destinations-list li {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  font-weight: 500;
  color: rgba(245, 240, 232, .92);
  white-space: nowrap;
  padding: 2px 0;
}

/* ---------- Intro section ---------- */
.intro-section { padding-block: clamp(36px, 5vw, 60px); }
.intro-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.intro-headline {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  margin: 0 0 1em;
  line-height: 1.2;
}
.intro-headline em {
  display: block;
  font-style: italic;
  color: var(--c-accent);
  font-weight: 700;
  margin-top: .15em;
}
.intro-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.13rem);
  color: var(--c-ink);
  text-align: left;
  margin: 0 0 1.2em;
  line-height: 1.7;
}
.intro-body {
  font-size: clamp(.98rem, 1.4vw, 1.06rem);
  color: var(--c-ink);
  text-align: left;
  margin: 0;
  line-height: 1.7;
}

/* ---------- Category navigator ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

/* Intro card (first slot in the grid) */
.cat-card--intro {
  position: relative;
  overflow: hidden;
  color: var(--c-white);
  border: none;
  background-image:
    linear-gradient(125deg,
      rgba(22, 17, 16, .92) 0%,
      rgba(22, 17, 16, .72) 35%,
      rgba(22, 17, 16, .40) 70%,
      rgba(22, 17, 16, .25) 100%),
    url('images/rome-day-trips-hero.webp');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.cat-card--intro:hover { transform: none; box-shadow: var(--shadow-md); }
.cat-card-intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  gap: 14px;
}
.cat-card-intro-content .kicker {
  margin: 0;
  color: var(--c-cream-warm);
}
.cat-card-intro-content h2 {
  color: var(--c-white);
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.cat-card-intro-content p {
  color: rgba(255, 255, 255, .92);
  margin: 0;
  font-size: clamp(.95rem, 1.3vw, 1.02rem);
  line-height: 1.6;
  max-width: 38ch;
}
.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
  background: var(--c-ink-strong);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cat-card-link {
  position: relative;
  display: block;
  height: 100%;
  min-height: 320px;
  color: var(--c-white);
  overflow: hidden;
}
.cat-card-link:hover { text-decoration: none; color: var(--c-white); }

.cat-card-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-alt);
  z-index: 0;
  transition: transform .5s ease;
}
.cat-card:hover .cat-card-media { transform: scale(1.05); }

.cat-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(22, 17, 16, 0)   0%,
    rgba(22, 17, 16, .25) 40%,
    rgba(22, 17, 16, .70) 75%,
    rgba(22, 17, 16, .92) 100%);
  z-index: 1;
  pointer-events: none;
}

.cat-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 320px;
  padding: clamp(20px, 2.6vw, 28px);
  gap: 8px;
  color: var(--c-white);
}
.cat-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  color: var(--c-white);
  line-height: 1.22;
  letter-spacing: -.005em;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.cat-card-hook {
  color: rgba(255,255,255,.95);
  font-size: clamp(.95rem, 1.15vw, 1.02rem);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.cat-card-meta {
  font-size: .85rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  letter-spacing: .01em;
  margin-top: 2px;
}
.cat-card-cta {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-cream-warm);
  font-size: .98rem;
  margin-top: 4px;
}
.cat-card:hover .cat-card-cta { color: var(--c-white); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
.step {
  background: var(--c-bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--c-line-soft);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--c-ink); }

/* ---------- Editorial credibility ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.editorial-body h2 { margin-top: 0; }
.editorial-callouts {
  display: grid;
  gap: 14px;
}
.callout {
  background: var(--c-bg-card);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--c-blue);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--c-ink-strong); font-family: var(--font-display); font-size: 1.02rem; }
.callout span  { color: var(--c-ink); font-size: .92rem; }

/* ---------- Category details (text left, GYG widget right) ---------- */
.category-details { padding-block: clamp(36px, 5vw, 64px); }

.cat-detail {
  padding-block: clamp(24px, 3.5vw, 44px);
  border-bottom: 1px solid var(--c-line);
}
.cat-detail:last-of-type { border-bottom: none; }
.cat-detail--alt { background: var(--c-bg-alt); }

.cat-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.cat-detail-text { min-width: 0; }
.cat-detail-stats {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-accent-dark);
  background: rgba(185, 98, 60, .10);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cat-detail-text h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--c-ink-strong);
  margin: 0 0 .55em;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.cat-detail-text p {
  color: var(--c-ink);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1em;
}
.cat-detail-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-accent-dark);
  font-size: 1rem;
}
.cat-detail-link:hover { color: var(--c-ink-strong); text-decoration: underline; }

.cat-detail-widget {
  background: var(--c-bg-card);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.cat-detail--alt .cat-detail-widget { background: var(--c-white); }
.cat-detail-widget-label {
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line-soft);
}
/* GYG widget container: take full width inside the card */
.cat-detail-widget > div[data-gyg-href] { width: 100%; }

@media (max-width: 880px) {
  .cat-detail-grid { grid-template-columns: 1fr; }
  .cat-detail-widget { position: static; }
}

/* ---------- Gallery (full-width) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100%;
}
.gallery-cell {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gallery-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.65) 100%);
}
.gallery-cap {
  position: absolute;
  left: 14px; bottom: 12px;
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ---------- Social proof ---------- */
.social-proof {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.social-proof h2 { margin-bottom: .6em; }
.social-proof .lede { color: var(--c-ink); }

/* ---------- Practical grid ---------- */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.practical-item {
  background: var(--c-bg-card);
  padding: 22px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line-soft);
}
.practical-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--c-ink-strong);
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.practical-item p { margin: 0; color: var(--c-ink); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: box-shadow .2s;
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--c-line);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-ink-strong);
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-accent);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--c-ink); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--c-accent) 0%, #c97244 60%, var(--c-accent-dark) 100%);
  color: var(--c-white);
  padding: clamp(48px, 7vw, 80px) 0;
  text-align: center;
}
.final-cta h2 { color: var(--c-white); margin-bottom: .4em; }
.final-cta p  { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 1.6em; }
.final-cta .btn-primary {
  background: var(--c-white);
  color: var(--c-accent-dark);
}
.final-cta .btn-primary:hover {
  background: var(--c-ink-strong);
  color: var(--c-white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-text-on-dark);
  padding: clamp(40px, 5vw, 56px) 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 40px;
}
.footer-col h3 {
  font-family: var(--font-display);
  color: var(--c-white);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--c-text-on-dark); }
.footer-col a:hover { color: var(--c-cream-warm); text-decoration: underline; }
.footer-col--brand .brand-mark { color: var(--c-white); font-size: 1.4rem; display: block; }
.footer-col--brand .brand-mark-accent { color: var(--c-cream-warm); }
.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--c-text-on-dark);
  margin: 6px 0 14px;
  font-size: .98rem;
}
.footer-blurb {
  color: rgba(229,217,212,.78);
  font-size: .9rem;
  max-width: 320px;
}
.footer-base {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(229,217,212,.7);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-cell { aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card--intro { min-height: 260px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: none;
    margin-top: 8px;
  }
  .primary-nav.open { display: block; }
  .primary-nav .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
    padding: 8px;
    justify-items: stretch;
  }
  .primary-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    white-space: normal;
  }
  /* On mobile the All-tours button sits between the brand and the toggle */
  .nav-btn { padding: 8px 14px; font-size: .85rem; }
  .hero { min-height: auto; padding-block: 56px; }
  .hero-headline { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  /* On narrow screens, fade dark from top instead of side so text stays legible.
     Use the 800w variant to save mobile bandwidth. */
  .hero-media {
    background-image:
      linear-gradient(180deg,
        rgba(22, 17, 16, .92) 0%,
        rgba(22, 17, 16, .75) 50%,
        rgba(22, 17, 16, .50) 100%),
      url('images/rome-day-trips-hero-800w.webp');
  }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-cell { aspect-ratio: 16 / 10; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .destinations-wrap { flex-direction: column; gap: 8px; }
  .hero-trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
