/* ============================================================
   SoMar Fotostudio — Components
   ------------------------------------------------------------
   Buttons, forms, header, footer, cookie banner, sections.
   ============================================================ */

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 18px 40px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
}
.btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--espresso);
  color: var(--linen);
}
.btn-primary:hover {
  background: var(--terracotta);
}

.btn-secondary {
  background: transparent;
  color: var(--espresso);
  padding: 16px 38px;
  border: 1px solid var(--espresso);
}
.btn-secondary:hover {
  background: var(--espresso);
  color: var(--linen);
}

.btn-on-dark {
  border-color: var(--linen);
  color: var(--linen);
}
.btn-on-dark:hover {
  background: var(--linen);
  color: var(--espresso);
}

.btn-text {
  display: inline-block;
  padding-bottom: 2px;
  color: var(--espresso);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--terracotta);
  transition: border-color var(--duration-base) var(--ease-out);
}
.btn-text:hover { border-bottom-color: var(--espresso); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); }
}
@media (hover: none) and (pointer: coarse) {
  .btn-primary:active, .btn-secondary:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ─── Forms ─────────────────────────────────────────── */
.form-label {
  display: block;
  margin-bottom: var(--space-2xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  border: 1px solid rgba(var(--warm-stone-rgb), 0.3);
  border-radius: 0;
  transition: border-color var(--duration-base) var(--ease-out);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(var(--warm-stone-rgb), 0.7);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.form-textarea { resize: none; }

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  cursor: pointer;
  font-size: 16px;
  color: var(--driftwood);
}
.form-radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta);
}

/* ─── Header ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(var(--linen-rgb), 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(var(--warm-stone-rgb), 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 72px;
}
@media (min-width: 768px) {
  .site-header__inner { height: 88px; }
}

.site-header__logo img {
  width: 40px; height: 40px;
  transition: opacity var(--duration-base);
}
@media (min-width: 768px) {
  .site-header__logo img { width: 50px; height: 50px; }
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}
@media (min-width: 768px) { .site-header__nav { display: flex; } }

.site-header__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--linen);
  transition: color var(--duration-base);
}
.is-scrolled .site-header__link { color: var(--espresso); }
.site-header__link:hover { color: var(--terracotta); }

.site-header__cta { padding: 12px 24px; font-size: 12px; }

.site-header__lang {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(var(--linen-rgb), 0.7);
}
.is-scrolled .site-header__lang { color: var(--warm-stone); }
@media (min-width: 768px) { .site-header__lang { display: inline-flex; } }
.site-header__lang button:hover { color: var(--terracotta); }

.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--linen);
}
.is-scrolled .site-header__burger { color: var(--espresso); }
@media (min-width: 768px) { .site-header__burger { display: none; } }

.site-header__mobile {
  background: var(--linen);
  border-top: 1px solid rgba(var(--warm-stone-rgb), 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}
.site-header__mobile-link {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--espresso);
}
.site-header__mobile-link:hover { color: var(--terracotta); }
.site-header__mobile-lang {
  display: flex;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(var(--warm-stone-rgb), 0.1);
  font-size: 14px;
  color: var(--warm-stone);
}
.site-header__mobile-lang button:hover { color: var(--terracotta); }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { align-items: center; }
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg picture,
.hero__bg picture img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--espresso-rgb), 0.7) 0%,
    rgba(var(--espresso-rgb), 0.4) 50%,
    rgba(var(--espresso-rgb), 0.2) 100%
  );
}
@media (min-width: 768px) {
  .hero__bg::after { background: rgba(var(--espresso-rgb), 0.5); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: var(--space-3xl);
}
@media (min-width: 768px) { .hero__inner { padding-top: 96px; padding-bottom: 0; } }

.hero__body {
  max-width: 720px;
  color: var(--linen);
}
.hero__overline { color: rgba(var(--linen-rgb), 0.8); margin-bottom: var(--space-sm); }
.hero__title    { color: var(--linen); margin-bottom: var(--space-md); }
.hero__lead     { color: rgba(var(--linen-rgb), 0.9); max-width: 600px; margin-bottom: var(--space-xl); }
.hero__ctas     { display: flex; flex-direction: column; gap: var(--space-sm); }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }

.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(var(--linen-rgb), 0.6);
  animation: hero-bounce 2s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ─── Section header (overline + h2 + lead) ────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}
.section-header__overline { color: var(--warm-stone); margin-bottom: var(--space-sm); }
.section-header__lead     { color: var(--driftwood); margin-top: var(--space-md); }

/* ─── Space section (studio gallery) ─────────────── */
.space-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.space-strip::-webkit-scrollbar { display: none; }
.space-card {
  flex-shrink: 0;
  width: 85vw;
  scroll-snap-align: start;
}
@media (min-width: 768px) { .space-card { width: 45vw; } }
@media (min-width: 1024px) { .space-card { width: 30vw; } }

.space-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  text-align: center;
}
@media (min-width: 768px) {
  .space-stats { grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
}
.space-stat__value {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}
@media (min-width: 768px) { .space-stat__value { font-size: 56px; } }
.space-stat__label { font-size: 14px; color: var(--warm-stone); }

/* ─── Two-paths section ────────────────────────────── */
.path-card { display: flex; flex-direction: column; }
.path-card__image {
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.path-card__image img { transition: transform var(--duration-slow) var(--ease-out); }
.path-card:hover .path-card__image img { transform: scale(1.02); }
.path-card__title { margin: var(--space-md) 0 var(--space-sm); }
.path-card__body  { margin-bottom: var(--space-md); color: var(--driftwood); }

/* ─── Experience section ───────────────────────────── */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1024px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
}
.experience-grid__image { order: 2; }
.experience-grid__body  { order: 1; }
@media (min-width: 1024px) {
  .experience-grid__image { order: 1; }
  .experience-grid__body  { order: 2; }
}
.experience-grid__title { margin-bottom: var(--space-md); white-space: pre-line; }
.experience-grid__lead  { margin-bottom: var(--space-xl); color: var(--driftwood); }
.experience-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
@media (min-width: 640px) {
  .experience-pillars { grid-template-columns: repeat(3, 1fr); }
}
.experience-pillar { text-align: center; }
@media (min-width: 640px) { .experience-pillar { text-align: left; } }
.experience-pillar__icon {
  color: var(--warm-stone);
  margin-bottom: var(--space-md);
  display: inline-flex;
}
.experience-pillar__title { margin-bottom: var(--space-2xs); }
.experience-pillar__body  { font-size: 14px; color: var(--driftwood); }

/* ─── Gallery section ──────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-xl);
}
.gallery-filter {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--warm-stone);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-base);
}
.gallery-filter:hover { color: var(--espresso); }
.gallery-filter.is-active {
  color: var(--espresso);
  border-bottom-color: var(--terracotta);
}

.gallery-grid {
  column-count: 1;
  column-gap: var(--space-md);
}
@media (min-width: 640px)  { .gallery-grid { column-count: 2; } }
@media (min-width: 1024px) { .gallery-grid { column-count: 3; } }
@media (min-width: 1280px) { .gallery-grid { column-count: 4; } }

.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-warm);
  transition: box-shadow var(--duration-slow) var(--ease-out);
}
.gallery-item:hover { box-shadow: var(--shadow-warm-lg); }

/* ─── Testimonials ─────────────────────────────────── */
.testimonials { position: relative; max-width: 720px; margin: 0 auto; }
.testimonial-track {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial__icon  { color: rgba(var(--terracotta-rgb), 0.3); margin-bottom: var(--space-md); }
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: var(--type-h3);
  line-height: 1.5;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: var(--space-lg);
}
.testimonial__name   { font-weight: 500; color: var(--espresso); }
.testimonial__source { font-size: 14px; color: var(--warm-stone); }
.testimonial__stars  { display: inline-flex; gap: 4px; margin-top: var(--space-sm); color: var(--terracotta); }

.testimonial-dots {
  display: flex; justify-content: center; gap: var(--space-2xs);
  margin-top: var(--space-xl);
}
.testimonial-dot {
  width: 8px; height: 8px;
  background: rgba(var(--warm-stone-rgb), 0.3);
  border: none; border-radius: 999px;
  cursor: pointer;
  transition: all var(--duration-base);
}
.testimonial-dot:hover { background: rgba(var(--warm-stone-rgb), 0.5); }
.testimonial-dot.is-active {
  width: 32px;
  background: var(--terracotta);
}

.testimonial-trust { text-align: center; margin-top: var(--space-xl); font-size: 14px; color: var(--warm-stone); }

/* ─── FAQ ──────────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(var(--warm-stone-rgb), 0.2);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--espresso);
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-base);
}
.faq-question:hover,
.faq-question[aria-expanded="true"] { color: var(--terracotta); }
.faq-question__icon {
  flex-shrink: 0;
  color: var(--warm-stone);
  transition: transform var(--duration-base), color var(--duration-base);
}
.faq-question:hover .faq-question__icon { color: var(--terracotta); }
.faq-question[aria-expanded="true"] .faq-question__icon { transform: rotate(180deg); color: var(--terracotta); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-base) var(--ease-out);
}
.faq-answer[data-open="true"] {
  max-height: 600px;
}
.faq-answer__body {
  padding-bottom: var(--space-md);
  color: var(--driftwood);
}

.faq-cta { text-align: center; margin-top: var(--space-xl); }
.faq-cta__lead { color: var(--driftwood); margin-bottom: var(--space-sm); }

/* ─── Location section ─────────────────────────────── */
.location-section { background: rgba(var(--espresso-rgb), 0.05); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1024px) {
  .location-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
}
.location-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.location-row svg { flex-shrink: 0; color: var(--terracotta); margin-top: 4px; }
.location-row__title { font-weight: 500; color: var(--espresso); }
.location-row__body  { color: var(--driftwood); }

.location-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(var(--sand-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
  box-shadow: var(--shadow-warm);
}
.location-map iframe { width: 100%; height: 100%; border: none; }

/* ─── Booking section ──────────────────────────────── */
.booking-section { background: rgba(var(--espresso-rgb), 0.05); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
}
.booking-card {
  background: var(--white);
  padding: var(--space-xl);
  box-shadow: var(--shadow-warm);
}
@media (min-width: 768px) { .booking-card { padding: 40px; } }
.booking-card .form-input + .form-input,
.booking-card .form-group + .form-group { margin-top: var(--space-md); }
.booking-form > * + * { margin-top: var(--space-md); }
.booking-info-row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.booking-info-row + .booking-info-row { margin-top: var(--space-md); }
.booking-info-row svg { flex-shrink: 0; color: var(--terracotta); margin-top: 4px; }
.booking-hours {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  background: var(--white);
  border-left: 2px solid var(--terracotta);
}
.booking-hours__label { font-size: 14px; color: var(--warm-stone); margin-bottom: var(--space-2xs); }
.booking-hours__times { color: var(--espresso); }

.booking-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl) 0;
}
.booking-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 999px;
  background: rgba(var(--terracotta-rgb), 0.2);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
}

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--espresso);
  color: var(--linen);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
@media (max-width: 768px) {
  .site-footer { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
}
.site-footer__logo img { width: 70px; height: 70px; }
.site-footer__tagline {
  font-size: 14px;
  margin-top: var(--space-md);
  color: rgba(var(--linen-rgb), 0.7);
}
.site-footer__heading {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(var(--linen-rgb), 0.5);
  margin-bottom: var(--space-sm);
}
.site-footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer__list a,
.site-footer__list p { color: rgba(var(--linen-rgb), 0.8); }
.site-footer__list a:hover { color: var(--terracotta); }

.site-footer__social { display: flex; gap: var(--space-md); margin-bottom: var(--space-md); }
.site-footer__social a { color: rgba(var(--linen-rgb), 0.8); }
.site-footer__social a:hover { color: var(--terracotta); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(var(--linen-rgb), 0.1);
  font-size: 13px;
  color: rgba(var(--linen-rgb), 0.5);
}
@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.site-footer__legal { display: flex; gap: var(--space-md); }
.site-footer__legal a { color: rgba(var(--linen-rgb), 0.5); }
.site-footer__legal a:hover { color: var(--linen); }
.site-footer__lang { display: flex; gap: var(--space-2xs); align-items: center; }
.site-footer__lang button { font-size: 13px; color: rgba(var(--linen-rgb), 0.5); }
.site-footer__lang button:hover { color: var(--linen); }

/* ─── Cookie consent ───────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-banner);
  background: var(--espresso);
  color: var(--linen);
  box-shadow: var(--shadow-warm-xl);
  padding: var(--space-md) 0;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cookie-banner__copy { flex: 1; }
.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.cookie-banner__body { font-size: 14px; line-height: 1.6; color: rgba(var(--linen-rgb), 0.8); }
.cookie-banner__body a { color: var(--terracotta); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
@media (min-width: 640px) {
  .cookie-banner__actions { flex-direction: row; width: auto; }
}
.cookie-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--warm-stone);
  background: transparent;
  color: var(--linen);
  cursor: pointer;
  transition: background var(--duration-base);
}
.cookie-btn:hover { background: rgba(var(--linen-rgb), 0.1); }
.cookie-btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.cookie-btn--primary:hover { background: #B7884B; }

/* Settings modal */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-md);
}
.cookie-modal {
  width: 100%; max-width: 720px;
  max-height: 90vh;
  background: var(--white);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-warm-xl);
  overflow: hidden;
}
.cookie-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md);
  background: var(--espresso);
  color: var(--linen);
}
.cookie-modal__title { font-family: var(--font-serif); font-size: 24px; }
.cookie-modal__close { color: rgba(var(--linen-rgb), 0.7); }
.cookie-modal__close:hover { color: var(--white); }
.cookie-modal__body { flex: 1; overflow-y: auto; padding: var(--space-md); }
.cookie-modal__lead { color: var(--driftwood); margin-bottom: var(--space-md); }
.cookie-category {
  background: var(--linen);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}
.cookie-category__title { font-size: 18px; font-weight: 600; color: var(--espresso); margin-bottom: var(--space-2xs); }
.cookie-category__body  { font-size: 14px; color: var(--driftwood); }
.cookie-category__examples { font-size: 12px; color: var(--warm-stone); margin-top: var(--space-2xs); }
.cookie-category__badge {
  padding: 4px 12px;
  background: rgba(var(--terracotta-rgb), 0.2);
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 500;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider {
  position: absolute; inset: 0;
  background: rgba(var(--warm-stone-rgb), 0.3);
  transition: background var(--duration-base);
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 2px; top: 2px;
  background: var(--white);
  transition: transform var(--duration-base);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--terracotta); }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(20px); }

.cookie-modal__note {
  background: rgba(var(--sand-rgb), 0.3);
  border-left: 2px solid var(--terracotta);
  padding: var(--space-md);
  font-size: 14px;
  color: var(--driftwood);
}
.cookie-modal__note a { color: var(--terracotta); text-decoration: underline; }

.cookie-modal__footer {
  border-top: 1px solid rgba(var(--warm-stone-rgb), 0.2);
  background: var(--linen);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .cookie-modal__footer { flex-direction: row; justify-content: flex-end; }
}

/* ─── Legal pages ──────────────────────────────────── */
.legal-page {
  padding-top: 112px;
  padding-bottom: var(--space-2xl);
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--driftwood);
}
.legal-content h1 { margin-bottom: var(--space-xl); }
.legal-content h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); font-size: var(--type-h3); }
.legal-content h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); font-family: var(--font-sans); font-size: 18px; font-weight: 600; }
.legal-content h4 { margin-top: var(--space-lg); margin-bottom: var(--space-2xs); font-size: 18px; font-weight: 500; }
.legal-content p { margin-bottom: var(--space-md); }
.legal-content strong { color: var(--espresso); }
.legal-content ul { margin: var(--space-md) 0; padding-left: var(--space-md); list-style: disc; }
.legal-content ul li { margin-bottom: var(--space-2xs); }
.legal-content a { color: var(--terracotta); }
.legal-content a:hover { text-decoration: underline; }
.legal-content section { margin-bottom: var(--space-2xl); }
.legal-source {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  border-top: 1px solid rgba(var(--warm-stone-rgb), 0.2);
  background: rgba(var(--linen-rgb), 0.5);
  font-size: 14px;
  color: var(--warm-stone);
}
.legal-back {
  display: inline-block;
  margin-top: var(--space-xl);
  color: var(--terracotta);
  font-weight: 500;
}
.legal-back:hover { text-decoration: underline; }

/* ─── 404 page ─────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}
.error-page__title { margin-bottom: var(--space-md); }
.error-page__body  { margin-bottom: var(--space-xl); color: var(--driftwood); max-width: 480px; }

/* ─── Reveal-on-scroll animation ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animation delays ─────────────────────────────── */
.delay-100 { transition-delay: 100ms; animation-delay: 100ms; }
.delay-200 { transition-delay: 200ms; animation-delay: 200ms; }
.delay-300 { transition-delay: 300ms; animation-delay: 300ms; }
.delay-400 { transition-delay: 400ms; animation-delay: 400ms; }

/* ─── Hero fade-up (no JS dependency) ──────────────── */
@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.8s var(--ease-out) both; }
