:root {
  --bg: #f4efe5;
  --paper: #fffdf8;
  --ink: #11253a;
  --muted: #546678;
  --brand: #1a7ec8;
  --brand-dark: #0e5d96;
  --accent: #ef8e1b;
  --mint: #0f9f84;
  --line: #d8d2c5;
  --danger: #c5444e;
  --shadow: 0 18px 36px rgba(17, 37, 58, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 4%, #fff7e8 0%, rgba(255, 247, 232, 0) 36%),
    radial-gradient(circle at 85% 12%, rgba(26, 126, 200, 0.12) 0%, rgba(26, 126, 200, 0) 28%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.layout-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.top-ribbon {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  font-size: 0.92rem;
  padding: 0.55rem 0;
}

.top-ribbon .layout-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(244, 239, 229, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-badge {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--mint));
  box-shadow: var(--shadow);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  padding: 3.4rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 142, 27, 0.18) 0%, rgba(239, 142, 27, 0) 65%);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  color: var(--muted);
  max-width: 65ch;
  margin: 1rem 0 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-aside {
  padding: 1.3rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.8rem;
}

.stat {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem;
}

.stat strong {
  font-size: 1.14rem;
  display: block;
  font-family: "Fraunces", Georgia, serif;
}

.section {
  padding: 1rem 0 2.6rem;
}

.section-title {
  margin-bottom: 1rem;
}

.note {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

.card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th,
td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #ebe6da;
  text-align: left;
  vertical-align: top;
}

th {
  background: #fbf7ed;
  font-size: 0.92rem;
}

.cta-strip {
  margin: 0.8rem 0 2.6rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #bfd8ee;
  background: linear-gradient(125deg, rgba(26, 126, 200, 0.08), rgba(15, 159, 132, 0.08));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.cta-strip > div {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-strip h3,
.cta-strip p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .hero-cta {
  justify-content: center;
}

.warn {
  border-left: 4px solid var(--danger);
  padding-left: 0.75rem;
  color: #4f4c46;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.list-clean {
  margin: 0;
  padding-left: 1.2rem;
}

.list-clean li {
  margin-bottom: 0.35rem;
}

.mini-map {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cfc8ba;
  border-radius: 0.7rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.tiny {
  font-size: 0.85rem;
  color: var(--muted);
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.legal h2 {
  margin-bottom: 0.7rem;
}

.legal h3 {
  margin-top: 1.1rem;
}

.legal p,
.legal li {
  color: #40515f;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f2ece0;
  margin-top: 2rem;
  padding: 1.4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.4rem;
  color: #304151;
}

.footer-links a:hover {
  color: #0f5f98;
}

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

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

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 1.2rem));
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #bdd0e0;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 50;
  display: none;
}

.cookie-banner.open {
  display: block;
}

.cookie-banner p {
  margin: 0;
  color: #2f4255;
  font-size: 0.94rem;
}

.cookie-banner a {
  text-decoration: underline;
  font-weight: 700;
  color: #0b5e99;
}

.cookie-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-manage {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  border: 1px solid #c7c0b1;
  background: #fffdf8;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .footer-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 1rem;
    min-width: 260px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
    padding: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cookie-manage {
    bottom: 6.2rem;
  }
}
