:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3efe7;
  --text: #1f1d1a;
  --muted: #6c665f;
  --line: rgba(50, 41, 31, 0.12);
  --accent: #8c6a45;
  --accent-strong: #5b4024;
  --accent-soft: #efe5d8;
  --shadow: 0 20px 60px rgba(37, 28, 17, 0.08);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1160px, calc(100vw - 32px));
}

html[data-theme="warm"] {
  --bg: #f6f0e9;
  --surface: #fffaf4;
  --surface-2: #efe3d4;
  --accent-soft: #ead8c2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
body.menu-open,
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
p, ul { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.08;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
h4 { font-size: 1.1rem; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 88px 0; }
.section-soft { padding: 82px 0; background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(243,239,231,0.9)); }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #c39e76);
  color: #fff;
  box-shadow: var(--shadow);
}
.brand-text { font-size: 1.05rem; }
.site-header,
.sub-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, .84);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .96rem;
  color: var(--muted);
}
.main-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover { color: var(--accent-strong); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button,
.mobile-toggle,
.scroll-to-top,
.legal-modal-close {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 700;
}
.pill-age {
  background: var(--accent-soft);
  border-color: rgba(140, 106, 69, .18);
}
.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  padding: 0;
  position: relative;
}
.mobile-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
}
.mobile-toggle span:nth-child(1) { top: 16px; }
.mobile-toggle span:nth-child(2) { top: 23px; }
.mobile-toggle span:nth-child(3) { top: 30px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 18px 34px rgba(91, 64, 36, .18);
}
.btn-secondary,
.btn-outline,
.btn-primary-small,
.btn-secondary-small {
  background: var(--surface);
  border-color: var(--line);
}
.btn-outline { border-color: rgba(140, 106, 69, .28); }
.btn-primary-small,
.btn-secondary-small { min-height: 44px; padding: 0 16px; font-size: .9rem; }
.hero-grid,
.two-col,
.contact-layout,
.split-visual {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero-copy p,
.contact-panel p,
.legal-section p { max-width: 62ch; color: var(--muted); }
.hero-actions,
.hero-meta,
.button-row,
.cookie-banner-buttons,
.age-popup-buttons,
.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 24px; }
.card-frame {
  background: var(--surface);
  padding: 14px;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(50, 41, 31, 0.08);
}
.card-frame img {
  border-radius: var(--radius);
  aspect-ratio: 1 / .78;
  object-fit: cover;
}
.tall-media img { aspect-ratio: .9 / 1; }
.media-large img { aspect-ratio: 1 / .78; }
.badges-row,
.feature-grid,
.legal-grid,
.footer-grid { display: grid; gap: 20px; }
.badges-row { grid-template-columns: repeat(4, 1fr); }
.trust-card,
.mini-card,
.legal-card,
.map-card,
.contact-form,
.quote-card,
.responsible-box,
.legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-card,
.mini-card,
.legal-card { padding: 24px; }
.trust-mark,
.legal-badge {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 14px;
}
.trust-card p,
.mini-card p,
.legal-card p,
.contact-list span,
.feature-item span,
.quote-card,
.footer-note,
.legal-page p,
.legal-page li { color: var(--muted); }
.feature-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 30px;
}
.feature-item {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
}
.stacked-media { display: grid; gap: 20px; }
.quote-card { padding: 24px 26px; font-size: 1.04rem; }
.compact-grid { grid-template-columns: repeat(2, 1fr); }
.three-grid { grid-template-columns: repeat(3, 1fr); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
  font-weight: 800;
}
.contact-panel,
.contact-form { padding: 30px; }
.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}
.contact-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.map-card { padding: 24px; }
.form-group { margin-bottom: 14px; }
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { resize: vertical; min-height: 130px; }
.form-success { display: none; margin-top: 14px; font-weight: 700; color: var(--accent-strong); }
.contact-form.is-sent .form-success { display: block; }
.legal-section .legal-shell { display: grid; gap: 28px; }
.legal-grid { grid-template-columns: repeat(3, 1fr); }
.responsible-box {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #fff, #f6ede2);
}
.large-box { display: block; }
.large-box h3 { margin-bottom: 12px; }
.site-footer {
  padding: 32px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.footer-grid { grid-template-columns: 1.3fr .8fr .9fr .9fr; align-items: start; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.only-center { justify-content: center; }
.scroll-to-top {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.scroll-to-top.visible { opacity: 1; pointer-events: auto; }
.age-popup,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.age-popup.hidden,
.legal-modal { display: none; }
.age-popup:not(.hidden),
.legal-modal.is-open { display: block; }
.age-popup-overlay,
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 13, .55);
  backdrop-filter: blur(6px);
}
.age-popup-content,
.legal-modal-content {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: var(--surface);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}
.age-popup-icon {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-content {
  width: min(780px, 100%);
  margin-left: auto;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1.6rem;
}
.legal-page-wrap { padding: 80px 0; }
.legal-page { padding: 36px; max-width: 860px; }
.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent-strong);
  font-weight: 700;
}
.small-footer { padding-top: 18px; }
.short-hero { min-height: calc(100vh - 180px); }

@media (max-width: 1024px) {
  .badges-row,
  .footer-grid,
  .legal-grid,
  .three-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .two-col,
  .contact-layout,
  .split-visual { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .section,
  .section-soft { padding: 68px 0; }
  .main-nav,
  .header-tools .pill-age,
  .icon-button { display: none; }
  .mobile-toggle { display: inline-flex; }
  .badges-row,
  .compact-grid,
  .legal-grid,
  .footer-grid,
  .three-grid { grid-template-columns: 1fr; }
  .cookie-banner-content,
  .responsible-box,
  .footer-bottom { flex-direction: column; align-items: stretch; }
  .contact-panel,
  .contact-form,
  .legal-page,
  .age-popup-content,
  .legal-modal-content { padding: 24px; }
  .hero-actions,
  .button-row,
  .age-popup-buttons,
  .cookie-banner-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .scroll-to-top { align-self: flex-end; }
}
