@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --c-ink: #16241c;
  --c-ink-2: #223a2c;
  --c-moss: #3f5c4b;
  --c-moss-soft: #556d5c;
  --c-cream: #f4ede0;
  --c-cream-2: #ece2ce;
  --c-sand: #e6d9bd;
  --c-gold: #c98a37;
  --c-gold-hi: #e3a751;
  --c-gold-soft: #f0d8a6;
  --c-terra: #a9492c;
  --c-line: rgba(22, 36, 28, 0.14);
  --c-line-light: rgba(244, 237, 224, 0.18);
  --shadow-soft: 0 18px 48px -28px rgba(22, 36, 28, 0.45);
  --shadow-hard: 0 28px 60px -22px rgba(22, 36, 28, 0.55);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-moss);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover,
a:focus {
  color: var(--c-terra);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin: 0 0 1.1em;
  color: #2c3a31;
}

.lead {
  font-size: 1.15rem;
  color: #3d4f42;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: var(--c-gold-hi);
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

.section--dark {
  background: var(--c-ink);
  color: var(--c-cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-cream);
}

.section--dark p,
.section--dark .lead {
  color: rgba(244, 237, 224, 0.82);
}

.section--sand {
  background: var(--c-sand);
}

.section--gold-wash {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-2) 100%);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-title p {
  margin-bottom: 0;
}

.section-title--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.divider-gold {
  width: 54px;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider-gold--center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--c-gold-hi);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-ink);
  box-shadow: 0 12px 26px -14px rgba(201, 138, 55, 0.95);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--c-gold-hi);
  color: var(--c-ink);
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--c-ink);
  color: var(--c-cream);
}

.btn-ink:hover,
.btn-ink:focus {
  background: var(--c-ink-2);
  color: var(--c-cream);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--c-ink);
  color: var(--c-cream);
}

.btn-outline-light {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(244, 237, 224, 0.55);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: var(--c-cream);
  color: var(--c-ink);
}

.btn-link {
  padding: 0;
  background: none;
  color: var(--c-moss);
  font-weight: 600;
  border: 0;
}

.btn-link i {
  transition: transform 0.3s var(--ease);
}

.btn-link:hover i {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(22, 36, 28, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(22, 36, 28, 0.98);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.8);
}

.header-topline {
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
  font-size: 0.85rem;
  color: rgba(244, 237, 224, 0.75);
  padding: 0.55rem 0;
}

.header-topline a {
  color: rgba(244, 237, 224, 0.85);
}

.header-topline a:hover {
  color: var(--c-gold-hi);
}

.header-topline .topline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.6rem;
}

.header-topline .topline-item i {
  color: var(--c-gold);
}

.header-main {
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--c-cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--c-gold-hi);
}

.brand img {
  border-radius: 6px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  color: rgba(244, 237, 224, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-primary a:hover,
.nav-primary a.is-active {
  background: rgba(244, 237, 224, 0.1);
  color: var(--c-cream);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 237, 224, 0.35);
  background: transparent;
  color: var(--c-cream);
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-hi);
}

.header-cta {
  display: inline-flex;
}

@media (max-width: 991px) {
  .nav-primary {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--c-ink-2);
    border-radius: var(--r-md);
    margin-top: 1rem;
  }
  .nav-primary.is-open {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--c-cream);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 36, 28, 0.55) 0%, rgba(22, 36, 28, 0.86) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero h1 {
  color: var(--c-cream);
  margin-bottom: 1.2rem;
}

.hero h1 .accent {
  color: var(--c-gold-hi);
  font-style: italic;
}

.hero p {
  color: rgba(244, 237, 224, 0.88);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 237, 224, 0.18);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-gold-hi);
  line-height: 1;
}

.hero-meta-item span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.7);
  margin-top: 0.4rem;
}

/* Hero slider */
.slider {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
}

.slider-track {
  position: relative;
  min-height: 88vh;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 36, 28, 0.5) 0%, rgba(22, 36, 28, 0.88) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(3rem, 8vw, 6rem) 0;
  color: var(--c-cream);
}

.slide-content h1,
.slide-content h2 {
  color: var(--c-cream);
}

.slide-content p {
  color: rgba(244, 237, 224, 0.88);
  font-size: 1.12rem;
  max-width: 600px;
}

.slider-nav {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(244, 237, 224, 0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.slider-dot.is-active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  width: 32px;
  border-radius: 6px;
}

/* Feature / intro blocks */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.feature-card {
  padding: 2rem 1.75rem;
  background: #fffaf0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 138, 55, 0.5);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-gold-soft);
  color: var(--c-terra);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: #3d4f42;
}

/* Split block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-sand);
  box-shadow: var(--shadow-hard);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media--square {
  aspect-ratio: 1 / 1;
}

.split-media--landscape {
  aspect-ratio: 4 / 3;
}

.split-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--c-cream);
  color: var(--c-ink);
  padding: 1rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}

.split-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--c-terra);
}

.split-badge span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-moss);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat {
  padding: 1.6rem 1.2rem;
  text-align: center;
  border-right: 1px solid var(--c-line);
}

.stat:last-child {
  border-right: 0;
}

@media (max-width: 767px) {
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--c-terra);
  line-height: 1;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-moss);
  margin-top: 0.6rem;
}

.section--dark .stat-number {
  color: var(--c-gold-hi);
}

.section--dark .stat-label {
  color: rgba(244, 237, 224, 0.72);
}

.section--dark .stat {
  border-color: var(--c-line-light);
}

/* Service / Article cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.tour-card {
  position: relative;
  background: #fffaf0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hard);
}

.tour-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-sand);
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.tour-card:hover .tour-card-media img {
  transform: scale(1.06);
}

.tour-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--c-ink);
  color: var(--c-gold-hi);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.tour-card-body {
  padding: 1.6rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card-body h3 {
  margin-bottom: 0.7rem;
}

.tour-card-body h3 a {
  color: var(--c-ink);
}

.tour-card-body h3 a:hover {
  color: var(--c-terra);
}

.tour-card-body p {
  color: #3d4f42;
  font-size: 0.97rem;
  flex: 1;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--c-line);
}

.tour-card-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--c-terra);
  font-weight: 700;
}

.tour-card-price small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--c-moss);
  font-weight: 500;
  margin-left: 0.2rem;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: proc;
}

.process-step {
  position: relative;
  padding: 2.2rem 1.5rem 1.6rem;
  background: var(--c-cream-2);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
}

.process-step::before {
  counter-increment: proc;
  content: counter(proc, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-terra);
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--c-gold-soft);
  margin-bottom: 1.1rem;
  letter-spacing: 0.05em;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  font-size: 0.94rem;
  color: #3d4f42;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-sand);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem 0.9rem;
  background: linear-gradient(180deg, rgba(22, 36, 28, 0) 0%, rgba(22, 36, 28, 0.85) 100%);
  color: var(--c-cream);
  font-size: 0.88rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: #fffaf0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s var(--ease);
  color: var(--c-terra);
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.4rem;
  color: #3d4f42;
  font-size: 0.96rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.team-card {
  background: #fffaf0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.team-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-sand);
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.team-body h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.team-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-terra);
  margin-bottom: 0.8rem;
}

.team-body p {
  margin: 0;
  font-size: 0.92rem;
  color: #3d4f42;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem 1.8rem;
  background: rgba(244, 237, 224, 0.08);
  border: 1px solid var(--c-line-light);
  border-radius: var(--r-md);
  color: var(--c-cream);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--c-cream);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-moss);
}

.testimonial-person strong {
  display: block;
  font-family: var(--font-body);
  color: var(--c-cream);
  font-size: 0.98rem;
}

.testimonial-person span {
  font-size: 0.82rem;
  color: var(--c-gold-hi);
}

.testimonial-stars {
  color: var(--c-gold-hi);
  margin-bottom: 1rem;
}

/* CTA band */
.cta-band {
  background-size: cover;
  background-position: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  color: var(--c-cream);
  text-align: center;
}

.cta-band h2 {
  color: var(--c-cream);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(244, 237, 224, 0.85);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Forms */
.form-card {
  background: #fffaf0;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}

.form-grid .form-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-moss);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-line);
  background: var(--c-cream);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--c-ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-gold);
  background: #fffaf0;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select {
  border-color: var(--c-terra);
  background: #fff3ee;
}

.form-field-error {
  font-size: 0.8rem;
  color: var(--c-terra);
  display: none;
}

.form-field.is-invalid .form-field-error {
  display: block;
}

.form-actions {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-legal {
  font-size: 0.82rem;
  color: #4a5c4f;
  margin-top: 1rem;
}

/* Newsletter / inline form */
.inline-form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: 0 auto;
}

.inline-form input {
  flex: 1;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line);
  background: #fffaf0;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.inline-form input:focus {
  outline: none;
  border-color: var(--c-gold);
}

/* Map */
.map-frame {
  width: 100%;
  min-height: 380px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--c-ink);
  color: rgba(244, 237, 224, 0.82);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  position: relative;
}

.site-footer h4 {
  color: var(--c-cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--c-cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand:hover {
  color: var(--c-gold-hi);
}

.footer-text {
  color: rgba(244, 237, 224, 0.72);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(244, 237, 224, 0.82);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--c-gold-hi);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: rgba(244, 237, 224, 0.82);
}

.footer-contact-list i {
  color: var(--c-gold);
  margin-top: 0.3rem;
  width: 16px;
}

.footer-contact-list a {
  color: rgba(244, 237, 224, 0.85);
}

.footer-contact-list a:hover {
  color: var(--c-gold-hi);
}

.footer-registration {
  border-top: 1px solid var(--c-line-light);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(244, 237, 224, 0.6);
}

.footer-registration p {
  margin: 0.2rem 0;
  color: rgba(244, 237, 224, 0.6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--c-line-light);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: rgba(244, 237, 224, 0.55);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 237, 224, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cream);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
}

/* Cookie banner — Kadurel specific */
.kadurel-cookie {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(20px);
  width: min(960px, calc(100% - 2rem));
  z-index: 1080;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(201, 138, 55, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}

.kadurel-cookie.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.kadurel-cookie.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(24px);
  pointer-events: none;
}

.kadurel-cookie__inner {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

@media (max-width: 767px) {
  .kadurel-cookie__inner {
    grid-template-columns: 44px 1fr;
  }
  .kadurel-cookie__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

.kadurel-cookie__seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.kadurel-cookie__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(244, 237, 224, 0.86);
  margin: 0;
}

.kadurel-cookie__text strong {
  color: var(--c-cream);
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.kadurel-cookie__text a {
  color: var(--c-gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kadurel-cookie__text a:hover {
  color: var(--c-cream);
}

.kadurel-cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.kadurel-cookie__btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.kadurel-cookie__btn--accept {
  background: var(--c-gold);
  color: var(--c-ink);
}

.kadurel-cookie__btn--accept:hover,
.kadurel-cookie__btn--accept:focus {
  background: var(--c-gold-hi);
  color: var(--c-ink);
}

.kadurel-cookie__btn--decline {
  background: transparent;
  color: rgba(244, 237, 224, 0.85);
  border-color: rgba(244, 237, 224, 0.3);
}

.kadurel-cookie__btn--decline:hover,
.kadurel-cookie__btn--decline:focus {
  border-color: var(--c-cream);
  color: var(--c-cream);
}

/* Utilities */
.text-accent {
  color: var(--c-terra);
}

.text-cream {
  color: var(--c-cream);
}

.text-gold {
  color: var(--c-gold-hi);
}

.mb-0 { margin-bottom: 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  margin: 0 0 1rem;
}

.pill-list li {
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--c-cream-2);
  color: var(--c-moss);
  border: 1px solid var(--c-line);
}

.check-list {
  padding: 0;
  list-style: none;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: #3d4f42;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--c-terra);
  font-size: 0.85rem;
}

.section--dark .check-list li {
  color: rgba(244, 237, 224, 0.85);
}

.section--dark .check-list li::before {
  color: var(--c-gold-hi);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
   QA overrides — contrast & navigation fixes
   ============================================================ */

/* Dropdown trigger rendered as a button so no placeholder "#" href is needed */
.nav-primary button.nav-link {
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  color: rgba(244, 237, 224, 0.86);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-primary button.nav-link:hover,
.nav-primary button.nav-link:focus,
.nav-primary button.nav-link[aria-expanded="true"] {
  background: rgba(244, 237, 224, 0.1);
  color: var(--c-cream);
}

.nav-primary button.nav-link:focus-visible {
  outline: 2px solid var(--c-gold-hi);
  outline-offset: 3px;
}

/* Header CTA: keep ink text on the gold pill (link color rule was overriding it) */
.nav-primary a.btn-gold,
.nav-primary a.btn-gold:visited,
.nav-primary a.btn-gold:hover,
.nav-primary a.btn-gold:focus,
.nav-primary a.btn-gold:active {
  color: var(--c-ink);
}

/* CTA band sitting on the sand section needs dark text */
.section--sand .cta-band:not([style]) h2,
.section--sand .cta-band:not([style]) h3,
.section--sand .cta-band:not([style]) p,
.section--sand .cta-band:not([style]) .lead {
  color: var(--c-ink);
}

.section--sand .cta-band:not([style]) .btn-outline {
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.section--sand .cta-band:not([style]) .btn-outline:hover,
.section--sand .cta-band:not([style]) .btn-outline:focus {
  background: var(--c-ink);
  color: var(--c-cream);
}

/* Footer headings and small print on the dark ink background */
.site-footer h2,
.site-footer h2.section-title {
  color: var(--c-cream);
}

.site-footer h2.section-title.mb-3 {
  margin-bottom: 1rem;
}

.site-footer .map-frame {
  border-color: var(--c-line-light);
}

.site-footer .map-frame a {
  color: var(--c-gold-hi);
}

.site-footer .map-frame a:hover,
.site-footer .map-frame a:focus {
  color: var(--c-cream);
}

.footer-bottom p {
  color: rgba(244, 237, 224, 0.8);
}

/* ============================================================
   QA overrides — readable milestone cards, nav toggle button,
   and contrast repairs (sand eyebrow, CTA band, footer text,
   gallery captions, header CTA button).
   ============================================================ */

/* Nav dropdown toggle rendered as a real <button> (no placeholder href) */
.nav-primary button.nav-link {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  color: rgba(244, 237, 224, 0.86);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-primary button.nav-link:hover,
.nav-primary button.nav-link:focus,
.nav-primary button.nav-link[aria-expanded="true"] {
  background: rgba(244, 237, 224, 0.1);
  color: var(--c-cream);
}

/* Header CTA: keep ink label on gold background (was overridden to cream) */
.nav-primary a.btn-gold,
.nav-primary a.btn-gold:hover,
.nav-primary a.btn-gold:focus {
  color: var(--c-ink);
}

/* Milestone / process cards: two readable columns on desktop, one on mobile */
@media (min-width: 992px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    padding-right: 2.2rem;
  }

  .process-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .process {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Eyebrow on the sand section needs a darker tone for AA contrast */
.section--sand .eyebrow {
  color: #7a3218;
}

/* CTA band without a photographic background still needs a dark backdrop */
.cta-band {
  background-color: var(--c-ink);
  border-radius: var(--r-lg);
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* Footer headings: bootstrap h2 colour (ink) was invisible on ink */
.site-footer h2,
.site-footer h3,
.site-footer .section-title {
  color: var(--c-cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

/* Footer body copy */
.site-footer p,
.site-footer .footer-text {
  color: rgba(244, 237, 224, 0.8);
}

.footer-bottom,
.footer-bottom p {
  color: rgba(244, 237, 224, 0.75);
}

/* Google Maps route link inside the footer */
.site-footer .map-frame p a {
  color: var(--c-gold-hi);
}

.site-footer .map-frame p a:hover,
.site-footer .map-frame p a:focus {
  color: var(--c-cream);
}

/* Gallery captions over photos: stronger scrim for legible text */
.gallery-caption {
  background: linear-gradient(180deg, rgba(22, 36, 28, 0) 0%, rgba(22, 36, 28, 0.88) 32%, rgba(22, 36, 28, 0.97) 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Outline buttons placed on the dark CTA band need a light label */
.cta-band .btn-outline {
  color: var(--c-cream);
  border-color: rgba(244, 237, 224, 0.6);
}

.cta-band .btn-outline:hover,
.cta-band .btn-outline:focus {
  background: var(--c-cream);
  color: var(--c-ink);
  border-color: var(--c-cream);
}

/* ============================================================
   QA overrides — CTA band on the sand section (legal pages)
   The band paints an ink background, so its copy must be cream.
   ============================================================ */

.section--sand .cta-band.cta-band:not([style]) h2,
.section--sand .cta-band.cta-band:not([style]) h3,
.section--sand .cta-band.cta-band:not([style]) p,
.section--sand .cta-band.cta-band:not([style]) .lead,
.section--sand .cta-band.cta-band:not([style]) .section-title {
  color: var(--c-cream);
}

.section--sand .cta-band.cta-band:not([style]) a.btn-outline,
.section--sand .cta-band.cta-band:not([style]) a.btn-outline:visited {
  color: var(--c-cream);
  border-color: rgba(244, 237, 224, 0.6);
}

.section--sand .cta-band.cta-band:not([style]) a.btn-outline:hover,
.section--sand .cta-band.cta-band:not([style]) a.btn-outline:focus {
  background: var(--c-cream);
  color: var(--c-ink);
  border-color: var(--c-cream);
}

/* Dropdown toggle rendered as a button: keep Bootstrap dropdown behaviour */
.nav-primary button.nav-link.dropdown-toggle,
.nav-primary .navbar-nav button.dropdown-toggle {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  border: 0;
  background: transparent;
  color: rgba(244, 237, 224, 0.86);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  border-radius: var(--r-pill);
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav-primary .navbar-nav button.dropdown-toggle {
    padding: 0.6rem 1rem;
    color: rgba(244, 237, 224, 0.9);
  }
}

/* ============================================================
   QA overrides — contact details block inside page content
   (.footer-contact-list styling is cream-on-ink and was reused
   on a light section, making the text invisible)
   ============================================================ */

main .footer-contact-list li,
main .footer-contact-list li span,
main .footer-contact-list li strong {
  color: #2c3a31;
}

main .footer-contact-list a,
main .footer-contact-list a:visited {
  color: #1f3a2c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main .footer-contact-list a:hover,
main .footer-contact-list a:focus {
  color: var(--c-terra);
}

/* Keep the dropdown toggle inside the dark header on one line */
.site-header .nav-primary button.nav-link.dropdown-toggle {
  white-space: nowrap;
}

/* ============================================================
   QA overrides — readable "360°" image badge and dropdown toggle
   alignment inside the collapsed mobile navigation.
   ============================================================ */

/* The stat badge overlays a photo; use a fully opaque light surface and
   very dark label colours so every text node clears WCAG AA. */
.split-badge {
  background: #fffaf0;
  background-color: #fffaf0;
  border: 1px solid rgba(22, 36, 28, 0.12);
  isolation: isolate;
}

.split-badge strong {
  color: #6d2c14;
  opacity: 1;
}

.split-badge span {
  color: #1f3327;
  opacity: 1;
}

/* Dropdown trigger is a <button> inside the nav: match link metrics and
   keep the chevron aligned when the nav collapses on mobile. */
.nav-primary button.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: rgba(244, 237, 224, 0.86);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

@media (min-width: 992px) {
  .nav-primary button.nav-link {
    width: auto;
    justify-content: flex-start;
  }
}

.nav-primary button.nav-link:hover,
.nav-primary button.nav-link:focus,
.nav-primary button.nav-link[aria-expanded="true"] {
  background: rgba(244, 237, 224, 0.1);
  color: var(--c-cream);
}

.nav-primary button.nav-link:focus-visible {
  outline: 2px solid var(--c-gold-hi);
  outline-offset: 3px;
}

/* Dropdown items use the ink surface so they stay legible on cream pages */
.nav-primary .dropdown-menu {
  border: 1px solid rgba(22, 36, 28, 0.12);
  border-radius: var(--r-md);
  padding: 0.5rem;
  background: #fffaf0;
  box-shadow: var(--shadow-soft);
}

.nav-primary .dropdown-menu .dropdown-item {
  color: var(--c-ink);
  border-radius: 8px;
  white-space: normal;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
}

.nav-primary .dropdown-menu .dropdown-item:hover,
.nav-primary .dropdown-menu .dropdown-item:focus {
  background: var(--c-cream-2);
  color: #6d2c14;
}

/* ============================================================
   QA overrides — cookie consent banner visibility & link contrast
   ============================================================ */

/* The consent banner is rendered in the markup and must be readable as soon
   as the page paints (no hidden-until-script state). Dismissal still works:
   the JS adds .is-hidden, which keeps the higher specificity below. */
.kadurel-cookie {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.kadurel-cookie.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(24px);
  pointer-events: none;
}

/* Links inside the dark consent banner: gold on ink (7.6:1), never the
   global moss-grey link colour that would be unreadable here. */
.kadurel-cookie a,
.kadurel-cookie a:visited {
  color: var(--c-gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kadurel-cookie a:hover,
.kadurel-cookie a:focus {
  color: var(--c-cream);
}

/* Keep the consent text and its links on one readable column on mobile */
@media (max-width: 767px) {
  .kadurel-cookie {
    padding: 1.1rem 1.15rem;
    bottom: 0.75rem;
  }

  .kadurel-cookie__text {
    font-size: 0.86rem;
  }
}

/* ============================================================
   QA override — hero slider must span the full section width
   The section is a flex container and `.slider` was shrinking to
   its content width (half the viewport), which pushed the only
   content container to x=0 with no desktop inset.
   ============================================================ */

.hero > .slider {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Restore the shared container inset on the slide content: the
   `.slide-content` padding shorthand was zeroing the horizontal
   side padding, so the text sat flush against the viewport edge. */
.slide .slide-content.container-wide {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   QA override — hero slider copy must respect the container gutter
   `.slide-content` uses `padding: clamp(...) 0`, which zeroes the
   horizontal side padding inherited from `.container-wide`. Inside
   the full-bleed slider that left the heading/lead flush against the
   viewport edge (first glyph clipped). Restore the shared 1.25rem
   gutter and keep the vertical rhythm, on every breakpoint.
   ============================================================ */

.hero .slider .slide > .slide-content.container-wide {
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  max-width: min(var(--container), 100%);
  margin-inline: auto;
  box-sizing: border-box;
}

/* Long display words in the hero heading must not be clipped either */
.hero .slider .slide .slide-content .section-title,
.hero .slider .slide .slide-content .lead {
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .hero .slider .slide > .slide-content.container-wide {
    padding-inline: 1.25rem;
  }
}

/* ============================================================
   QA override — hero slider copy clipped at the left edge
   `.slide-content.container-wide` sits inside `.slide`, which was
   not full width inside the hero flex row, so the content box
   started left of the viewport. Force the slide and its inner
   content box to fill the slider and keep a real gutter.
   ============================================================ */

.hero .slider .slider-track,
.hero .slider .slider-track > .slide {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero .slider .slide {
  align-items: center;
  justify-content: center;
}

.hero .slider .slide > .slide-content.container-wide {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  text-align: left;
}

@media (min-width: 768px) {
  .hero .slider .slide > .slide-content.container-wide {
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }
}

/* Keep display words inside the gutter on narrow screens */
.hero .slider .slide .slide-content .section-title,
.hero .slider .slide .slide-content .lead,
.hero .slider .slide .slide-content .eyebrow {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* ============================================================
   QA override — statistics row on mobile
   `repeat(auto-fit, minmax(180px, 1fr))` could not fit two tracks
   in a narrow viewport, so the row collapsed to a single narrow
   track and the stats left a wide unused strip on the right.
   Stack the stats in one full-width column below 768px.
   ============================================================ */

@media (max-width: 767px) {
  .stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .stats-row > .stat {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    padding-left: 0;
    padding-right: 0;
  }
}
