:root {
  --bg: #f5f1ea;
  --bg-soft: #ece2d4;
  --surface: #ffffff;
  --surface-strong: #f9f6f1;
  --text: #231c15;
  --muted: #675b4c;
  --line: rgba(35, 28, 21, 0.1);
  --brand: #8a5a2e;
  --brand-dark: #613b18;
  --brand-soft: #d8c0a2;
  --dark: #1f1914;
  --shadow: 0 16px 48px rgba(24, 19, 13, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.error-page {
  text-align: center;
  max-width: 760px;
}

.center-buttons {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(245, 241, 234, 0.86);
  border-bottom: 1px solid rgba(35, 28, 21, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 0.2rem;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a,
.site-footer nav a {
  text-decoration: none;
  position: relative;
}

.main-nav a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(216, 192, 162, 0.65), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(138, 90, 46, 0.18), transparent 24%),
    linear-gradient(135deg, #f9f6f2 0%, #efe2d1 48%, #e6d4bd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(138, 90, 46, 0.08);
  filter: blur(4px);
}

.hero-grid,
.intro-grid,
.feature-grid,
.contact-grid,
.legal-shell,
.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.hero-grid {
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 4.5rem 0;
}

.eyebrow,
.section-tag,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
}

.eyebrow,
.section-tag {
  color: var(--brand);
}

.mini-label,
.light {
  color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 65ch;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.info-card,
.intro-box,
.step-card,
.contact-box,
.legal-card,
.floating-note,
.photo-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.highlight-card {
  padding: 2rem;
  background: linear-gradient(135deg, #2f241a, #7a4a20);
  color: white;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.88);
}

.stats-grid,
.card-grid,
.steps-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

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

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--brand-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.25rem;
}

.compact-top {
  margin-top: 1rem;
  margin-bottom: 0;
}

.photo-card {
  overflow: hidden;
  padding: 0;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.contain-image {
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff;
  padding: 0.75rem;
}

.photo-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-photo-card img {
  min-height: 320px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.full {
  width: 100%;
}

.hero-badges,
.tick-list,
.machine-columns ul,
.contact-list,
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}

.section {
  padding: 5.5rem 0;
}

.intro-strip,
.soft-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(236, 226, 212, 0.8));
}

.band-section {
  background: var(--surface-strong);
}

.tick-list li,
.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
}

.tick-list li::before,
.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
}

.dark-section {
  background: linear-gradient(135deg, #211913, #4a2e18);
  color: white;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.86);
}

.quote-card {
  margin: 0;
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.quote-card footer {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.quote-with-photo .quote-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.quote-with-photo .quote-person img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.quote-with-photo footer {
  margin-top: 0;
}

.machine-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(236,226,212,0.55));
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.doc-card img {
  min-height: 320px;
}

.machine-columns ul {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.machine-columns li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(35, 28, 21, 0.08);
}

.machine-columns li:last-child {
  border-bottom: 0;
}

.gas-grid,
.compact-gap {
  margin-top: 1.4rem;
}

.tinted-card {
  background: linear-gradient(135deg, rgba(216, 192, 162, 0.36), rgba(255, 255, 255, 0.92));
}

.gas-teaser-card {
  max-width: 760px;
}

.subtle {
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hours-card {
  margin-top: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(35, 28, 21, 0.08);
}

.hours-row:last-child {
  border-bottom: 0;
}

.hours-row strong {
  font-size: 0.98rem;
}

.hours-row span {
  text-align: right;
  color: var(--muted);
}

.contact-list a {
  text-decoration: none;
  font-weight: 700;
}

.contact-box {
  align-self: start;
  background: linear-gradient(180deg, #fffdf9, #f0e6d9);
}

.contact-side-card {
  margin-top: 1.5rem;
}

.inner-section {
  padding: 3rem 0 0;
}

.container-narrow-reset {
  width: 100%;
}

.map-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(216,192,162,0.18));
}

.map-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 380px;
}

.map-card iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.site-footer {
  background: #eadfce;
  border-top: 1px solid rgba(35, 28, 21, 0.08);
  padding: 1.8rem 0 2.4rem;
}

.footer-credit {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(35, 28, 21, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* legal pages */
.legal-hero {
  background: linear-gradient(135deg, #fcfaf6, #eee2d2);
  padding: 4rem 0 2rem;
}

.legal-shell {
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
}

.legal-layout {
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 110px;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
}

.subpage-hero {
  min-height: auto;
}

.gas-hero {
  padding: 3.8rem 0;
}

.gas-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 2rem;
  align-items: center;
}

.gas-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: min(340px, 100%);
  margin-left: auto;
  position: relative;
  justify-items: center;
}

.gas-bottle-card {
  text-align: center;
  width: 100%;
  min-height: 360px;
}

.gas-slider [data-slide] {
  display: none;
  width: 100%;
}

.gas-slider [data-slide].is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gas-bottle-card img {
  width: 100%;
  height: 260px;
  max-width: 100%;
  margin: 0 auto;
}

.gas-bottle-card--group {
  grid-column: span 2;
}

.gas-contact-card {
  max-width: 760px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.slider-title {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  color: var(--brand-dark);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(138, 90, 46, 0.25);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--brand);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid var(--line);
}

.legal-content h2,
.legal-content h3 {
  margin-top: 2rem;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.floating-note {
  margin-top: 1rem;
  border: 1px dashed rgba(138, 90, 46, 0.35);
  background: rgba(216, 192, 162, 0.14);
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro-grid,
  .feature-grid,
  .contact-grid,
  .legal-shell,
  .legal-layout,
  .gas-hero-layout,
  .cols-4,
  .cols-3,
  .steps-grid,
  .machine-columns,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .wide {
    grid-column: auto;
  }

  .gas-bottle-card--group {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-wrap {
    position: relative;
  }

  .hero-grid {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .stats-grid,
  .cols-2,
  .gas-slider {
    grid-template-columns: 1fr;
  }

  .gas-slider {
    margin-left: auto;
    margin-right: auto;
  }

  .gas-bottle-card--group {
    grid-column: auto;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  background: rgba(31, 25, 20, 0.96);
  color: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 1rem;
}

.cookie-banner__content {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__content p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 110;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, 1180px);
  }

  .section {
    padding: 4rem 0;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.82rem;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
  }

  .hours-row {
    flex-direction: column;
  }

  .hours-row span {
    text-align: left;
  }

  .cookie-banner__content,
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-card,
  .info-card,
  .intro-box,
  .step-card,
  .contact-box,
  .legal-content,
  .legal-card,
  .floating-note {
    padding: 1.2rem;
    border-radius: 20px;
  }
}
