/* ---------- CSS Reset / Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #f6f1ea;
  color: #3b2b23;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

main {
  overflow-x: hidden;
}

a {
  color: #8b4b22;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin: 0 0 0.4rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 0;
}

p {
  margin: 0 0 0.9rem;
}

/* ---------- Layout Helpers ---------- */
.section {
  padding: 4rem min(7vw, 4rem);
  border-top: 1px solid rgba(93, 65, 47, 0.16);
  position: relative;
}

.section--muted {
  background: #f0e4d7;
}

.section--policy {
  background: #f7f3ee;
}

.section__header {
  max-width: 880px;
  margin: 0 auto 2.5rem;
}

.section__header p {
  font-size: 0.98rem;
  color: #5f4a3b;
}

.section__body {
  max-width: 1120px;
  margin: 0 auto;
}

.section__body--two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section__body--two-col--reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section__body--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem;
  max-width: 1040px;
}

.section__figure {
  max-width: 780px;
  margin: 2.5rem auto 0;
}

.section__figure--small {
  max-width: 480px;
}

.section__figure figcaption {
  font-size: 0.8rem;
  color: #7a5f4e;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 241, 234, 0.88);
  border-bottom: 1px solid rgba(93, 65, 47, 0.12);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem min(7vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(93, 65, 47, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text {
  font-family: "Playfair Display", "Georgia", serif;
}

.logo-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.logo-subtitle {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7d6553;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.main-nav a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  border-color: rgba(139, 75, 34, 0.8);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem min(7vw, 4rem) 4.2rem;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.75rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7e5f48;
  margin-bottom: 0.8rem;
}

.hero__lede {
  font-size: 1rem;
  max-width: 34rem;
}

.hero__meta {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7d6553;
}

.hero__meta span::before {
  content: "— ";
}

.hero__image {
  position: relative;
}

.hero__image img {
  border-radius: 18px;
  box-shadow:
    0 18px 45px rgba(39, 22, 11, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.hero__image figcaption {
  position: absolute;
  left: 8%;
  bottom: 4%;
  max-width: 80%;
  background: rgba(246, 241, 234, 0.96);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f5544;
  box-shadow: 0 10px 30px rgba(39, 22, 11, 0.25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #8b4b22;
  background: #8b4b22;
  color: #fdfaf5;
  font-size: 0.86rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}

.btn--ghost {
  background: transparent;
  color: #8b4b22;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(32, 17, 8, 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ---------- Lists & Cards ---------- */
.list--editorial {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.list--editorial li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
}

.list--editorial li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #b2835b;
}

.aside-card {
  background: #f7efe6;
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid rgba(139, 75, 34, 0.2);
  box-shadow: 0 14px 32px rgba(50, 28, 16, 0.16);
}

.aside-card__figure {
  margin: 0 0 0.7rem;
}

.aside-card__figure img {
  border-radius: 12px;
}

.aside-card__figure figcaption {
  font-size: 0.78rem;
  color: #7f604c;
  margin-top: 0.4rem;
}

.aside-card__note {
  font-size: 0.85rem;
  color: #7a5f4e;
  border-left: 2px solid #c59463;
  padding-left: 0.65rem;
  margin-top: 0.45rem;
}

.step-card {
  position: relative;
  padding: 1.55rem 1.4rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(116, 79, 54, 0.26);
  background: radial-gradient(circle at top left, #fdf6ee 0, #f5e7d9 48%, #f6f1ea 100%);
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0,
    transparent 40%,
    transparent 60%,
    rgba(193, 153, 115, 0.18) 100%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.step-card__number {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a6b3f;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.problem-card {
  border-top: 1px solid rgba(139, 75, 34, 0.24);
  padding-top: 1rem;
  margin-bottom: 1.4rem;
}

.problem-card h3 {
  margin-bottom: 0.35rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(139, 75, 34, 0.2);
  background: #fdf8f1;
}

.hydration-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hydration-table th,
.hydration-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(139, 75, 34, 0.16);
  text-align: left;
}

.hydration-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7d6553;
  background: #f5e6d7;
}

.hydration-table tr:nth-child(even) td {
  background: rgba(245, 230, 215, 0.6);
}

/* ---------- Timeline ---------- */
.section--timeline {
  background-image: linear-gradient(
    120deg,
    #f6f1ea 0,
    #f3e5d5 35%,
    #f6f1ea 100%
  );
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 0 0.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(111, 81, 58, 0.7) 0,
    rgba(111, 81, 58, 0.7) 12px,
    transparent 12px,
    transparent 22px
  );
}

.timeline__item {
  position: relative;
  padding-left: 3.3rem;
  margin-bottom: 1.4rem;
}

.timeline__item:last-child {
  margin-bottom: 0.4rem;
}

.timeline__day {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 70px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7e5f48;
}

.timeline__day::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fdf8f1;
  border: 1px solid #7e5f48;
  box-shadow: 0 0 0 3px rgba(243, 215, 184, 0.7);
}

.timeline__content h3 {
  margin-bottom: 0.25rem;
}

.timeline__content p {
  margin: 0;
  font-size: 0.9rem;
}

.timeline__timehint {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a6a53;
}

/* ---------- Forms ---------- */
.policy-form {
  background: #fdf8f2;
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(139, 75, 34, 0.25);
  box-shadow: 0 12px 32px rgba(50, 28, 16, 0.15);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 84, 57, 0.5);
  font-family: inherit;
  font-size: 0.9rem;
  background: #fdfaf5;
  color: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-field textarea {
  border-radius: 14px;
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #8b4b22;
  box-shadow: 0 0 0 1px rgba(139, 75, 34, 0.5);
  background: #fff;
}

.form-field small {
  display: block;
  font-size: 0.75rem;
  color: #7a5f4e;
  margin-top: 0.25rem;
}

.form-field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.form-field--checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.form-field--checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.86rem;
}

.form-hint {
  font-size: 0.76rem;
  color: #7f604c;
  margin: 0 0 0.7rem;
}

.form-hint span {
  font-weight: 600;
}

.form-status {
  margin-top: 0.6rem;
  min-height: 1.2rem;
  font-size: 0.8rem;
  color: #6d513f;
}

.form-status--success {
  color: #236b3c;
}

.form-status--error {
  color: #903633;
}

.field-error {
  border-color: #903633 !important;
  box-shadow: 0 0 0 1px rgba(144, 54, 51, 0.5);
  background: #fff5f4;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding: 0.9rem 1.3rem;
  border-radius: 16px;
  background: rgba(27, 15, 7, 0.94);
  color: #f7efe6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  align-items: center;
}

.cookie-banner__text {
  flex: 2 1 260px;
  font-size: 0.8rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.cookie-banner__actions .btn--ghost {
  border-color: #f0dac0;
  color: #f0dac0;
}

.cookie-banner__actions .btn {
  font-size: 0.74rem;
  padding-inline: 1.2rem;
}

/* ---------- Contact & Footer ---------- */
.section--contact {
  background: #f3e5d5;
}

.site-footer {
  border-top: 1px solid rgba(93, 65, 47, 0.2);
  padding: 1.2rem min(7vw, 4rem) 2rem;
  background: #f6f1ea;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #7a5f4e;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.separator {
  margin: 0 0.35rem;
  color: #b2835b;
}

/* ---------- Policy Text ---------- */
.policy-text h3 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
}

.policy-text p {
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 3.2rem;
  }

  .hero__image {
    order: -1;
  }

  .section__body--two-col,
  .section__body--two-col--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding-inline: 1.4rem;
  }

  .hero {
    padding-inline: 1.4rem;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline__item {
    padding-left: 2.9rem;
  }
}

@media (max-width: 520px) {
  .cookie-banner__inner {
    margin-inline: 0.6rem;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .site-header__inner {
    padding-inline: 1.4rem;
  }
}


