/* =========================================================
   MoltHouse — sladovňa rodinných financií
   molthouse.digital · štýly
   ========================================================= */

:root {
  --malt: #6A4028;
  --malt-dark: #4B2C1A;
  --malt-light: #8A5B3C;
  --barley: #D8B65C;
  --barley-soft: #EBD9A4;
  --charcoal: #242424;
  --charcoal-deep: #1A1817;
  --parchment: #F4EAD8;
  --parchment-bright: #FCF7EC;
  --brass: #B08A50;
  --ink: #2B231C;
  --ink-soft: #5C4E42;

  --font-display: "Fraunces", "Bookman Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-util: "Barlow Condensed", "Trebuchet MS", "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 18px 40px -28px rgba(36, 36, 36, .8);
  --rule: 1px solid rgba(176, 138, 80, .35);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(rgba(106, 64, 40, .045) 1px, transparent 1px),
    radial-gradient(rgba(106, 64, 40, .03) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--malt); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.1rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 1.1em; }

/* ---------- utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--dark { background: var(--charcoal); color: var(--parchment); }
.section--dark h2, .section--dark h3 { color: var(--parchment-bright); }
.section--malt { background: var(--malt-dark); color: var(--parchment); }
.section--malt h2, .section--malt h3 { color: var(--parchment-bright); }
.section--tint { background: linear-gradient(180deg, rgba(216,182,92,.14), rgba(244,234,216,0)); }

.eyebrow {
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--barley);
  flex: none;
}
.section--dark .eyebrow, .section--malt .eyebrow { color: var(--barley); }

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lead, .section--malt .lead { color: rgba(244,234,216,.82); }

.head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-util);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--barley); color: var(--charcoal); }
.btn--primary:hover { background: var(--barley-soft); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(216,182,92,.55); color: var(--barley); background: transparent; }
.btn--ghost:hover { background: rgba(216,182,92,.12); transform: translateY(-2px); }
.btn--dark { background: var(--malt); color: var(--parchment-bright); }
.btn--dark:hover { background: var(--malt-light); transform: translateY(-2px); }
.btn--wide { width: 100%; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(26, 24, 23, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176,138,80,.28);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.32rem;
  color: var(--parchment-bright);
  line-height: 1;
  letter-spacing: -.02em;
}
.brand__tag {
  display: block;
  font-family: var(--font-util);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: .25rem;
}
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.nav a {
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(244,234,216,.82);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--barley); border-bottom-color: var(--barley); }
.nav .btn { display: none; }
.header__cta {
  font-family: var(--font-util);
  letter-spacing: .06em;
  font-size: 1.02rem;
  color: var(--barley);
  text-decoration: none;
  border: 1px solid rgba(216,182,92,.5);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.header__cta:hover { background: rgba(216,182,92,.14); }
.burger {
  display: none;
  background: none;
  border: 1px solid rgba(216,182,92,.5);
  border-radius: var(--radius);
  padding: .5rem .6rem;
  color: var(--barley);
}
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--parchment);
  background: var(--charcoal-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.8) contrast(1.05); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26,24,23,.96) 12%, rgba(75,44,26,.72) 58%, rgba(26,24,23,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1 { color: var(--parchment-bright); max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--barley); }
.hero__lead { max-width: 54ch; color: rgba(244,234,216,.88); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.4rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  border-top: 1px solid rgba(176,138,80,.4);
  padding-top: 1.6rem;
}
.fact__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--barley);
  line-height: 1;
}
.fact__label { font-size: .95rem; color: rgba(244,234,216,.75); margin: .5rem 0 0; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.pillar {
  background: var(--parchment-bright);
  border: var(--rule);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
}
.pillar__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--malt);
}
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- split (o nás) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(176,138,80,.5);
}
.split__badge {
  position: absolute;
  right: -12px;
  bottom: -22px;
  background: var(--barley);
  color: var(--charcoal);
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .92rem;
  line-height: 1.3;
  max-width: 200px;
  box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; margin-top: .2rem; color: var(--barley); }

/* ---------- calculator (signature) ---------- */
.brew {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: stretch;
}
.brew__panel {
  background: rgba(244,234,216,.06);
  border: 1px solid rgba(176,138,80,.45);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .88rem;
  margin-bottom: .4rem;
  color: var(--barley-soft);
}
.field__input { position: relative; display: flex; align-items: center; }
.field__input span {
  position: absolute;
  right: .9rem;
  font-family: var(--font-util);
  color: rgba(244,234,216,.6);
}
.field input[type="number"], .field input[type="range"] { width: 100%; }
.field input[type="number"] {
  background: rgba(26,24,23,.6);
  border: 1px solid rgba(176,138,80,.5);
  color: var(--parchment-bright);
  border-radius: var(--radius);
  padding: .75rem 2.4rem .75rem .9rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
}
.field input[type="number"]:focus { border-color: var(--barley); outline: none; }
.brew__note { font-size: .88rem; color: rgba(244,234,216,.6); margin: 0; }

.vat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.vat__vessel {
  position: relative;
  width: 168px;
  height: 250px;
  border: 3px solid var(--brass);
  border-radius: 14px 14px 60px 60px / 14px 14px 32px 32px;
  background: rgba(26,24,23,.55);
  overflow: hidden;
}
.vat__vessel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(244,234,216,.05) 0 2px, transparent 2px 26px);
  z-index: 3;
  pointer-events: none;
}
.vat__liquid {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12%;
  background: linear-gradient(180deg, var(--barley) 0%, var(--malt) 100%);
  transition: height .6s cubic-bezier(.4, 0, .2, 1);
}
.vat__liquid::before {
  content: "";
  position: absolute;
  top: -7px; left: 0; right: 0;
  height: 12px;
  background: var(--parchment-bright);
  opacity: .85;
  border-radius: 50%;
}
.vat__scale { position: absolute; inset: 0; z-index: 4; }
.vat__scale i {
  position: absolute;
  right: 0;
  width: 18px;
  height: 1px;
  background: rgba(244,234,216,.35);
}
.vat__readout {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--barley);
  margin: 1.2rem 0 .2rem;
  line-height: 1;
}
.vat__caption { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: rgba(244,234,216,.7); }
.vat__verdict {
  margin-top: 1rem;
  font-size: .96rem;
  color: rgba(244,234,216,.85);
  max-width: 30ch;
}

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.result {
  border: 1px solid rgba(176,138,80,.4);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  background: rgba(26,24,23,.35);
}
.result b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--parchment-bright); }
.result span { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: rgba(244,234,216,.65); }

/* ---------- process ---------- */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); counter-reset: stage; }
.stage { position: relative; padding-top: 2.6rem; }
.stage::before {
  counter-increment: stage;
  content: "0" counter(stage);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: rgba(106,64,40,.28);
  line-height: 1;
}
.stage::after {
  content: "";
  position: absolute;
  top: 1.1rem; left: 3.4rem; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), rgba(176,138,80,0));
}
.stage h3 { margin-bottom: .4rem; }
.stage p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.stage__time {
  display: inline-block;
  margin-top: .7rem;
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--malt);
  border: 1px solid rgba(176,138,80,.5);
  border-radius: 999px;
  padding: .15rem .7rem;
}

/* ---------- banner band ---------- */
.band { position: relative; background: var(--malt-dark); color: var(--parchment); overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36,36,36,.92) 20%, rgba(75,44,26,.62) 100%);
}
.band__inner { position: relative; z-index: 2; padding: clamp(3rem, 6vw, 5rem) 0; max-width: 58ch; }
.band h2 { color: var(--parchment-bright); }
.band p { color: rgba(244,234,216,.85); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); align-items: start; }
.plan {
  background: var(--parchment-bright);
  border: var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}
.plan--feature { border: 2px solid var(--barley); position: relative; }
.plan__flag {
  position: absolute;
  top: -13px; left: 1.4rem;
  background: var(--malt);
  color: var(--parchment-bright);
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  padding: .25rem .8rem;
  border-radius: 999px;
}
.plan__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin: 0 0 .2rem; }
.plan__for { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--malt); }
.plan__price small { font-family: var(--font-util); font-size: 1rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .06em; }
.plan__meta { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--brass); margin: .5rem 0 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; font-size: .97rem; }
.plan ul li { display: flex; gap: .6rem; align-items: flex-start; }
.plan ul svg { flex: none; margin-top: .25rem; color: var(--malt); }
.plan .btn { margin-top: auto; }

.price-terms {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: var(--rule);
  border-radius: var(--radius);
  background: rgba(244,234,216,.6);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.price-terms h3 { margin-bottom: .8rem; }
.price-terms dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; margin: 0; }
.price-terms dt { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .11em; font-size: .82rem; color: var(--brass); }
.price-terms dd { margin: .2rem 0 0; font-size: .97rem; color: var(--ink-soft); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--gap); }
.quote {
  border-left: 3px solid var(--barley);
  padding: .2rem 0 .2rem 1.4rem;
}
.quote p { font-family: var(--font-display); font-size: 1.12rem; font-style: italic; line-height: 1.5; }
.quote footer { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--brass); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: var(--rule); }
.faq__item { border-bottom: var(--rule); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.15rem 2.6rem 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: .4rem; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.faq__a { display: none; padding: 0 1rem 1.3rem 0; color: var(--ink-soft); }
.faq__a.is-open { display: block; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.form { display: grid; gap: 1.05rem; }
.form label {
  font-family: var(--font-util);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--brass);
  display: block;
  margin-bottom: .35rem;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid rgba(176,138,80,.55);
  border-radius: var(--radius);
  background: var(--parchment-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--malt); outline: none; box-shadow: 0 0 0 3px rgba(216,182,92,.35); }
.form .consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.form .consent input { margin-top: .25rem; width: 18px; height: 18px; flex: none; accent-color: var(--malt); }
.error { color: #9B2C1C; font-size: .85rem; margin: .3rem 0 0; display: none; }
.error.is-shown { display: block; }
.form-status {
  display: none;
  border: 1px solid var(--malt);
  border-left: 4px solid var(--barley);
  background: rgba(216,182,92,.16);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-size: .97rem;
}
.form-status.is-shown { display: block; }

.contact-card {
  background: var(--charcoal);
  color: var(--parchment);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(176,138,80,.4);
}
.contact-card h3 { color: var(--parchment-bright); }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dt { font-family: var(--font-util); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; color: var(--barley); }
.contact-card dd { margin: .25rem 0 0; }
.contact-card a { color: var(--parchment-bright); text-decoration: none; border-bottom: 1px solid rgba(216,182,92,.6); }
.contact-card a:hover { color: var(--barley); }
.contact-card img { margin-top: 1.5rem; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }

/* ---------- footer ---------- */
.footer { background: var(--charcoal-deep); color: rgba(244,234,216,.75); padding: clamp(2.8rem, 5vw, 4rem) 0 1.6rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
.footer h4 {
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .85rem;
  color: var(--barley);
  margin: 0 0 .9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: rgba(244,234,216,.75); text-decoration: none; }
.footer a:hover { color: var(--barley); }
.footer .brand__name { font-size: 1.2rem; }
.footer__disclaimer {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(176,138,80,.28);
  font-size: .87rem;
  color: rgba(244,234,216,.55);
}
.footer__bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; margin-top: 1rem; font-size: .85rem; color: rgba(244,234,216,.5); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  width: min(100% - 1.5rem, 980px);
  background: var(--charcoal);
  color: var(--parchment);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.6rem;
  align-items: center;
  z-index: 90;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.cookie.is-visible { transform: translateX(-50%) translateY(0); }
.cookie p { margin: 0; font-size: .93rem; color: rgba(244,234,216,.85); }
.cookie a { color: var(--barley); }
.cookie__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie .btn { padding: .6rem 1.1rem; font-size: .92rem; }

/* ---------- legal pages ---------- */
.page-hero { background: var(--malt-dark); color: var(--parchment); padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { color: var(--parchment-bright); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: .4rem; }
.page-hero p { margin: 0; color: rgba(244,234,216,.8); }
.doc { max-width: 820px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.doc h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-top: 2.2rem; }
.doc h2:first-of-type { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.2rem; }
.doc li { margin-bottom: .5rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.doc th, .doc td { border: 1px solid rgba(176,138,80,.45); padding: .65rem .8rem; text-align: left; vertical-align: top; }
.doc th { background: rgba(216,182,92,.22); font-family: var(--font-util); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.doc .updated {
  font-family: var(--font-util);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .82rem;
  color: var(--brass);
  border-bottom: var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-family: var(--font-util); text-transform: uppercase; letter-spacing: .11em; text-decoration: none; color: var(--malt); }
.back-link:hover { color: var(--malt-light); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .split, .brew, .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split__badge { right: 8px; bottom: -18px; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal-deep);
    border-bottom: 1px solid rgba(176,138,80,.35);
    padding: .5rem 1.25rem 1.4rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid rgba(176,138,80,.18); }
  .nav a:hover, .nav a.is-active { border-bottom-color: rgba(176,138,80,.18); }
  .nav .btn { display: inline-flex; margin-top: 1rem; border-bottom: 0; color: var(--charcoal); }
  .nav .btn:hover { color: var(--charcoal); }
  .cookie { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .stage::after { display: none; }
}

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

@media print {
  .header, .cookie, .footer, .hero__media { display: none; }
}
