@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap");

:root {
  --bg: #F3EEE7;
  --bg-deep: #E8DFD4;
  --ink: #22201D;
  --muted: #6C625A;
  --accent: #4A7A6A;
  --accent-soft: #DCE9E3;
  --card: #ffffff;
  --line: #ded7cf;
  --shadow: 0 18px 40px rgba(20, 16, 12, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at top left, #f7f3ee 0%, var(--bg) 40%, #efe8de 100%);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.page { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-deep) 0%, #f8f4ef 70%);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-close {
  display: none;
  align-self: flex-end;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1rem;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ink); color: #fff; font-weight: 700;
  display: grid; place-items: center;
  font-family: "Fraunces", serif; letter-spacing: 1px;
}
.name { font-weight: 600; font-size: 1.05rem; }
.role { color: var(--muted); font-size: 0.9rem; }

.nav { display: flex; flex-direction: column; gap: 10px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav a:hover { border-color: var(--accent); }

.contact-card {
  margin-top: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-title { font-weight: 600; margin-bottom: 8px; }
.contact-link { display: block; color: var(--ink); text-decoration: none; margin-bottom: 6px; }
.contact-note { font-size: 0.85rem; color: var(--muted); }

.content { padding: 48px 64px 32px; }

.mobile-header { display: none; align-items: center; gap: 12px; margin-bottom: 20px; }
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1.1rem;
}
.mobile-title { font-weight: 600; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-text, .hero-image {
  animation: fadeUp 0.9s ease both;
}
.hero-image { animation-delay: 0.08s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 6px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 6px;
}

.lead { font-size: 1.05rem; color: var(--muted); }

.hero-meta { margin-top: 18px; display: grid; gap: 8px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid #b9d8cf;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.meta-label { display: inline-block; min-width: 110px; font-weight: 600; color: var(--ink); }
.meta-value { color: var(--muted); }

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  object-fit: cover;
  height: 360px;
  border: 1px solid var(--line);
  display: block;
}

.section { margin-top: 48px; }
.section-header h2 { font-family: "Fraunces", serif; font-size: 2rem; margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 14px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(35, 28, 20, 0.08);
}
.card h3 { margin: 0 0 8px; }
.card.feature {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px; color: var(--muted);
}
.list strong { color: var(--ink); }

.highlight {
  margin-top: 18px;
  background: var(--accent-soft);
  border-radius: 18px;
  padding: 18px 22px;
  border: 1px solid #b9d8cf;
}

.timeline { display: grid; gap: 14px; }
.timeline-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 14px;
  padding: 16px; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(35, 28, 20, 0.06);
}
.timeline-year { font-weight: 700; color: var(--accent); }
.timeline-content h3 { margin: 0 0 6px; }

.link { color: var(--accent); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.gallery {
  margin-top: 18px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-item {
  border-radius: 14px; border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.7);
  min-height: 120px; display: grid; place-items: center;
  color: var(--muted); font-size: 0.85rem;
}

.small-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

.faq {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 600; border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn.primary:hover { background: #3B6356; }
.btn.ghost:hover { background: rgba(74, 122, 106, 0.08); }

.contact-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.label { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }

.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-note { flex-basis: 100%; font-size: 0.8rem; }
.footer-links { display: flex; gap: 16px; }

.legal {
  padding: 40px 64px;
  background: #f2eee8;
  border-top: 1px solid var(--line);
}
.legal-inner { max-width: 900px; margin: 0 auto; }

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 360px;
  display: none;
}
.cookie-banner p { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 15;
}
.overlay.show { opacity: 1; pointer-events: auto; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    height: 100%;
    width: 260px;
    transition: left 0.3s ease;
    z-index: 20;
  }
  .sidebar.open { left: 0; }
  .content { padding: 24px; }
  .hero { display: flex; flex-direction: column; }
  .hero-image { order: -1; }
  .mobile-header { display: flex; }
  .timeline-item { grid-template-columns: 1fr; }
  .menu-close { display: inline-flex; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-image img { height: 300px; }
  .cookie-banner { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-image { animation: none; }
}
