:root {
  --bg: #f6f4ef;
  --paper: #fffcf7;
  --ink: #241616;
  --muted: #4a3836;
  --line: #eadfdf;
  --brand: #ae1f1f;
  --brand-deep: #7a1518;
  --call: #6e1220;
  --focus: #241616;
  --max: 1080px;
  --header: 4.25rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  padding-bottom: var(--cookie-space, 11rem);
}

html.consented body { padding-bottom: 0; }

img, svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--brand); }

.num { white-space: nowrap; }

.num > span + span { margin-inline-start: 0.15em; }

a:hover { color: var(--brand-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 50;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.emergency {
  background: var(--call);
  color: #fff;
  container-type: inline-size;
}

.emergency .wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  width: min(var(--max), calc(100% - 0.75rem));
  padding-block: 0.15rem;
}

.emergency p {
  margin: 0;
  min-width: 0;
  font-size: clamp(0.6875rem, 2.4cqi, 0.8125rem);
  line-height: 1.2;
  white-space: nowrap;
}

.emergency-full { display: none; }

.emergency-short { display: inline; }

.emergency a {
  color: #fff;
  flex: none;
  font-weight: 700;
  font-size: inherit;
  line-height: 1.2;
  text-decoration: underline;
  white-space: nowrap;
}

.emergency-call { display: none; }

@container (max-width: 17.5rem) {
  .emergency .wrap { flex-wrap: wrap; }

  .emergency p,
  .emergency a { white-space: normal; }
}

@container (min-width: 42rem) {
  .emergency .wrap { justify-content: space-between; }

  .emergency-full { display: inline; }

  .emergency-short { display: none; }

  .emergency-call { display: inline; }
}

.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  container-type: inline-size;
}

.site-header a { color: #fff; text-decoration: none; }

.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.45rem;
  min-height: var(--header);
}

.header-bar.wrap {
  width: min(var(--max), calc(100% - 0.75rem));
}

.mark { width: 28px; height: 28px; flex: none; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
  min-width: 0;
  min-height: 48px;
}

.logo small {
  display: block;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}

@container (max-width: 23rem) {
  .logo small { display: none; }
}

.nav-details { position: static; }

.nav-details > summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
}

.nav-details > summary::-webkit-details-marker { display: none; }

.nav-details nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--brand-deep);
  padding: 0.2rem 1rem 0.7rem;
  z-index: 25;
}

.nav-details[open] nav { display: grid; }

.nav-details a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-details a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25rem; }

.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 48px;
  padding: 0 1rem;
  background: #fff;
  color: var(--brand) !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.call.solid {
  background: var(--brand);
  color: #fff !important;
}

.hero .call.solid {
  background: #fff;
  color: var(--brand) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}

.btn.light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  background: linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 78%);
  color: #fff6f6;
  padding: 2.4rem 0 2.6rem;
  container-type: inline-size;
}

.hero a { color: #fff; }

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe4e4;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 0.8rem; }

h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0 0 0.7rem; }

h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }

.lede { font-size: 1.125rem; max-width: 42rem; margin: 0 0 1.2rem; color: var(--muted); }

.hero .lede { color: #fff6f6; }

.page-head .kicker { color: var(--brand); }

.hero-grid {
  display: grid;
  gap: 1.25rem;
}

@container (min-width: 40rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(min(100%, 16rem), 0.9fr);
    align-items: end;
  }
}

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.panel a { color: var(--brand); }

.panel p { margin: 0.35rem 0; }

.price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.price-line strong { white-space: nowrap; }

section { padding: 2.4rem 0; }

.prose { max-width: 44rem; }

.photo { margin: 1.4rem 0 0; }

.photo-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  clip-path: inset(0 round 14px);
  transform: translateZ(0);
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  overflow: hidden;
}

.photo figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
  align-items: start;
}

.photo-grid .photo {
  margin: 0;
  min-width: 0;
}

.prose p, .prose li { color: var(--muted); }

.prose strong { color: var(--ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 0.75rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 0.95rem;
}

.card:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.card p { margin: 0; color: var(--muted); flex: 1; }

.card span { color: var(--brand); font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.stat b {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.steps b { display: block; color: var(--brand); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }

.page-head { padding: 1.8rem 0 0.4rem; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.9375rem;
  margin-bottom: 0.8rem;
}

.crumb a { min-height: 48px; display: inline-flex; align-items: center; }

.prices { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }

.prices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.prices li:last-child { border-bottom: 0; }

.note { font-size: 0.9375rem; color: var(--muted); }

form {
  display: grid;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

label { display: grid; gap: 0.3rem; font-weight: 650; }

input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbb8b8;
  border-radius: 10px;
  min-height: 48px;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

textarea { min-height: 8rem; resize: vertical; }

.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.site-footer {
  background: #4e1418;
  color: #fff6f6;
  padding: 2rem 0 1.2rem;
}

.site-footer a { color: #fff; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.2rem;
}

.foot-links { display: flex; flex-direction: column; align-items: flex-start; }

.foot-links a,
.foot-links button {
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  min-height: 48px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.legal {
  margin: 1.2rem 0 0;
  color: #f0d4d4;
  font-size: 0.875rem;
}

.cookie {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(60, 18, 18, 0.08);
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
}

.cookie[hidden] { display: none; }

[hidden] { display: none !important; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.cookie p {
  margin: 0 0 0.7rem;
  max-width: none;
  white-space: normal;
  overflow-wrap: break-word;
}

.cookie p a { white-space: nowrap; }

.cookie form,
.cookie-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 0.8rem;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.cookie-prefs label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  min-height: 48px;
}

.cookie button {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#cookie-reject, #cookie-customize, #cookie-save {
  background: #fff;
  color: var(--ink);
  border: 1px solid #c4a0a0;
}

#cookie-accept {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}

@media (min-width: 900px) {
  .nav-details > summary { display: none; }

  .nav-details { flex: 0 0 auto; }

  .nav-details nav,
  .nav-details[open] nav {
    display: flex;
    flex-wrap: nowrap;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0.15rem;
  }

  .nav-details a {
    border: 0;
    padding: 0 0.55rem;
    font-size: 0.95rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
