:root {
  --cream: #f7f0e7;
  --paper: #fffaf3;
  --white: #ffffff;
  --espresso: #24140f;
  --brown: #7a4d30;
  --caramel: #b98555;
  --soft: #e6d4c1;
  --muted: #77675b;
  --line: rgba(72, 42, 25, .16);
  --shadow: 0 24px 70px rgba(47, 27, 14, .13);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 243, .9);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: .02em;
  font-weight: 700;
  white-space: nowrap;
}
.brand span { color: var(--brown); }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #4d382c;
}
.nav-links a.active, .nav-links a:hover { background: #ead8c3; color: var(--espresso); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--espresso);
}
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  content: "";
}
.menu-toggle span:before { transform: translateY(-7px); }
.menu-toggle span:after { transform: translateY(5px); }
.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1f130e;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 12, 8, .82), rgba(22, 12, 8, .34) 55%, rgba(22, 12, 8, .12));
  z-index: 1;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 92px 22px 70px;
  color: var(--white);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--caramel);
  margin: 0 0 14px;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  margin: 0;
  letter-spacing: 0;
}
h1 { font-size: clamp(46px, 8vw, 112px); max-width: 980px; }
h2 { font-size: clamp(34px, 5vw, 66px); }
h3 { font-size: 27px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero p { color: rgba(255,255,255,.84); max-width: 720px; font-size: 19px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--espresso);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(58, 33, 18, .18); }
.btn.light { background: var(--white); color: var(--espresso); }
.btn.ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.38); }
.section { padding: 96px 22px; }
.section.alt { background: var(--paper); }
.container { max-width: 1180px; margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .75fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head p { font-size: 18px; }
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(58, 34, 20, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { font-family: Georgia, serif; font-size: 42px; color: var(--caramel); line-height: 1; }
.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; height: 310px; object-fit: cover; }
.media-card .pad { padding: 26px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}
.image-stack { position: relative; min-height: 520px; }
.image-stack img {
  position: absolute;
  width: 76%;
  height: 78%;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.image-stack img:first-child { top: 0; left: 0; }
.image-stack img:last-child { right: 0; bottom: 0; width: 54%; height: 52%; border: 10px solid var(--cream); }
.band {
  background: var(--espresso);
  color: var(--white);
  border-radius: 38px;
  padding: clamp(32px, 6vw, 70px);
  overflow: hidden;
  position: relative;
}
.band p { color: rgba(255,255,255,.76); }
.feature-list { display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #4e3b30;
}
.feature-list li:before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--caramel);
}
.band .feature-list li { color: rgba(255,255,255,.82); }
.pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
  color: var(--brown);
  font-weight: 800;
}
.page-hero {
  padding: 96px 22px 58px;
  background: linear-gradient(135deg, #fff8ef, #ead6bf);
}
.page-hero h1 { font-size: clamp(44px, 5.4vw, 78px); }
.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .8fr);
  gap: 44px;
  align-items: center;
}
.page-hero img { width: 100%; height: 440px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.article-layout {
  max-width: 860px;
  margin: 0 auto;
  font-size: 18px;
}
.article-layout h1 { font-size: clamp(42px, 5.6vw, 74px); }
.article-layout img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 34px; margin: 24px 0 40px; }
.article-layout h2 { font-size: 38px; margin: 44px 0 16px; }
.article-layout p { color: #59463a; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--brown); font-weight: 800; margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 8px; font-weight: 800; color: #4a3529; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--espresso);
}
textarea { min-height: 130px; resize: vertical; }
.map-block {
  min-height: 440px;
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(122,77,48,.88), rgba(36,20,15,.92)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 1px, transparent 1px 28px);
  color: var(--white);
  padding: 34px;
  display: grid;
  align-content: end;
  box-shadow: var(--shadow);
}
.map-block p { color: rgba(255,255,255,.78); }
.site-footer {
  background: #1d110d;
  color: var(--white);
  padding: 64px 22px 30px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 34px;
}
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.footer-links { display: grid; gap: 9px; }
.footer-bottom {
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.58);
  font-size: 14px;
}
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 980px;
  margin: 0 auto;
  display: none;
  background: rgba(255,250,243,.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 20px;
  gap: 18px;
  align-items: center;
}
.cookie-banner.show { display: grid; grid-template-columns: 1fr auto; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(25,14,10,.54);
  z-index: 90;
  display: none;
  padding: 20px;
  align-items: center;
  justify-content: center;
}
.modal.show { display: flex; }
.modal-card { max-width: 560px; background: var(--paper); border-radius: 30px; padding: 30px; box-shadow: var(--shadow); }
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 79px 14px auto 14px;
    display: none;
    background: rgba(255,250,243,.98);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 14px;
    box-shadow: var(--shadow);
  }
  body.menu-open .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head, .split, .page-hero .container, .footer-grid { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-wrap { padding: 13px 16px; }
  .brand { font-size: 24px; }
  h1 { font-size: 42px; overflow-wrap: break-word; }
  .hero p { font-size: 17px; }
  body.menu-open .nav-links { grid-template-columns: 1fr; }
  .hero { min-height: 760px; }
  .hero-content { padding: 70px 18px 48px; }
  .section { padding: 68px 18px; }
  .grid.three, .grid.two, .form-grid { grid-template-columns: 1fr; }
  .image-stack { min-height: 410px; }
  .image-stack img:first-child { width: 88%; height: 76%; }
  .image-stack img:last-child { width: 58%; height: 45%; border-width: 7px; }
  .page-hero { padding: 72px 18px 42px; }
  .page-hero img { height: 330px; }
  .card, .band { border-radius: 24px; padding: 24px; }
  .cookie-banner.show { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 100%; min-width: 0; white-space: normal; }
  .button-row .btn { max-width: 100%; }
}
