:root {
  --brand-a: #2f4858;
  --brand-b: #5c7a6b;
  --brand-c: #d8b56a;
  --paper: #f4f1ea;
  --ink: #1d2a33;
  --line: #cfd8dc;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

a {
  color: var(--brand-a);
}

a:hover {
  color: #1d3441;
}

.container {
  width: min(100% - 2.2rem, 1080px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  z-index: 20;
}

.skip-link:focus {
  left: 0.6rem;
  top: 0.6rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fcfbf9;
}

.header-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: end;
  padding: 1rem 0;
}

.brand {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.tagline {
  margin: 0.3rem 0 0;
  color: #51616a;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.9rem;
  background: var(--surface);
}

.hero {
  padding: 2.2rem 0 1.4rem;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #5a6870;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-solid,
.btn-outline,
button {
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn-solid,
button {
  border: 1px solid var(--brand-a);
  background: var(--brand-a);
  color: #fff;
}

.btn-solid:hover,
button:hover {
  background: #213845;
}

.btn-outline {
  border: 1px solid var(--brand-a);
  color: var(--brand-a);
  background: transparent;
}

.section {
  padding: 1.5rem 0;
}

.section.alt {
  background: #ece8df;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem;
}

.articles {
  display: grid;
  gap: 0.85rem;
}

.article {
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-c);
  border-radius: 10px;
  background: var(--surface);
  padding: 0.95rem;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
}

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

.quote {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0.9rem;
}

.quote p {
  margin: 0.2rem 0;
}

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

form {
  display: grid;
  gap: 0.48rem;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b7c3cb;
  border-radius: 8px;
  padding: 0.56rem 0.62rem;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.consent input {
  width: auto;
  margin-top: 0.22rem;
}

.notice {
  border: 1px dashed #9db0ba;
  border-radius: 10px;
  background: #f9f7f1;
  padding: 0.95rem;
}

.site-footer {
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
  background: #fbfaf7;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.newsletter {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0.8rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #17242d;
  color: #eef4f7;
  border-top: 1px solid #223948;
}

.cookie-inner {
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-actions button {
  border: 1px solid #c0d0db;
  background: transparent;
  color: #eef4f7;
}

.cookie-actions button:first-child {
  background: #f2bb6f;
  color: #1a2a34;
  border-color: #f2bb6f;
}

.hidden {
  display: none;
}

input:focus,
textarea:focus,
a:focus,
button:focus {
  outline: 2px solid #1f5b7a;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .header-wrap,
  .hero-grid,
  .contact-layout,
  .footer-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
