﻿:root {
  --bg: #FFF8F0;
  --paper: #fffdf9;
  --sand: #f3e3d3;
  --accent: #C08552;
  --accent-deep: #8C5A3C;
  --ink: #4B2E2B;
  --ink-soft: #6d4d48;
  --line: #e5cfbd;
  --ok: #2f6f56;
  --warn: #9a3412;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --space-1: .4rem;
  --space-2: .7rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.4rem;
  --shadow-a: 0 18px 40px rgba(75, 46, 43, .12);
  --shadow-b: 0 4px 14px rgba(75, 46, 43, .14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at 9% 11%, rgba(192, 133, 82, .09) 0, transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(140, 90, 60, .08) 0, transparent 36%),
    var(--bg);
}

a {
  color: var(--accent-deep);
}

a:hover {
  text-decoration-style: wavy;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.site-top {
  padding: var(--space-2) var(--space-4);
  background: #392422;
  color: #f9eede;
  font-size: .93rem;
  display: flex;
  gap: .5rem 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-top a {
  color: #f9eede;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, .92);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) var(--space-4);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem 1rem;
  align-items: center;
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.numbered-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
}

.numbered-nav a {
  text-decoration: none;
  font-weight: 600;
}

.numbered-nav a::before {
  content: attr(data-num) " ";
  color: var(--accent);
  font-weight: 800;
}

main {
  padding: var(--space-4);
}

section,
article,
aside {
  scroll-margin-top: 95px;
}

.split-hero {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-copy {
  padding: var(--space-5);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #fff, #f9eee4 56%, #f6ebdf 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-a);
}

.hero-copy h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.6rem);
  line-height: 1.2;
}

.hero-visual {
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(75, 46, 43, .45), transparent);
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.panel,
.card,
.doc,
.faq-item,
.policy-wrap,
.contact-shell,
.thanks,
.timeline,
.note-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-b);
}

.panel,
.doc,
.timeline,
.note-strip {
  padding: var(--space-4);
}

.cards {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.card {
  padding: var(--space-4);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover {
  transform: translateY(-5px) skewX(-.4deg);
  box-shadow: var(--shadow-a);
  border-color: #d8bca7;
}

.grid-tilt {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.zigzag {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.tiny-kicker {
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .8rem;
  color: var(--ink-soft);
}

.disclaimer {
  margin-top: .8rem;
  padding: .75rem .95rem;
  border-left: 4px solid var(--accent);
  background: #fff6ed;
  border-radius: 0 10px 10px 0;
}

.metrics {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  background: #fff;
  border: 1px dashed #d9bca5;
  border-radius: 10px;
  padding: .8rem;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
}

.timeline {
  position: relative;
  margin-bottom: var(--space-5);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #d6b79f;
}

.timeline-entry {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .95rem;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: .65rem;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .95rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  padding: 0 1rem;
}

.faq-item.open .faq-a {
  max-height: 280px;
  padding-bottom: 1rem;
}

.filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}

.filter-btn {
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: #fff;
  padding: .42rem .85rem;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
}

form {
  display: grid;
  gap: .95rem;
}

label {
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: .72rem .82rem;
  border: 1px solid #ccab93;
  border-radius: var(--radius-sm);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #d7ab84;
  border-color: transparent;
}

.field small {
  display: block;
  min-height: 1.1em;
  margin-top: .25rem;
  color: #7d5f4d;
}

.field.error input,
.field.error textarea {
  border-color: #c53030;
}

.field.error small {
  color: #c53030;
}

.inline-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.btn {
  border: 0;
  border-radius: 11px;
  padding: .72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.alt {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
}

.btn.soft {
  background: var(--accent);
}

.map-frame {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius-md);
}

footer {
  margin-top: var(--space-6);
  background: #2f1e1c;
  color: #f8efe6;
  padding: var(--space-5) var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

footer a {
  color: #f6d9bc;
}

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #d9c4b5;
  background: #fff;
  box-shadow: var(--shadow-a);
  z-index: 100;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .7rem;
}

.cookie[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .46);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 120;
}

.cookie-panel {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px dashed #dcc6b7;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .56s ease, transform .56s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  margin-right: .35rem;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(.85);
    opacity: .8;
  }

  70% {
    transform: scale(1.25);
    opacity: .25;
  }

  100% {
    transform: scale(.85);
    opacity: .8;
  }
}

@media (min-width: 760px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
  }

  .grid-tilt {
    grid-template-columns: 1.25fr .75fr;
  }

  .zigzag {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr .9fr .9fr 1fr;
  }
}

@media (min-width: 980px) {
  .cards[data-three="1"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  main {
    padding: var(--space-5);
  }
}