:root {
  --ink: #14233a;
  --ink-soft: #3a4a5c;
  --paper: #f3f1ec;
  --paper-2: #e8ecef;
  --surface: #ffffff;
  --accent: #2a8a82;
  --accent-deep: #1f6b65;
  --warm: #d4a574;
  --line: rgba(20, 35, 58, 0.12);
  --shadow: 0 18px 40px rgba(20, 35, 58, 0.08);
  --radius: 4px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(42, 138, 130, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 165, 116, 0.14), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(243, 241, 236, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.35rem;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 55%, var(--warm) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
    animation: slideDown 0.28s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-main {
  padding-bottom: 4rem;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-full {
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  padding: 0;
  margin: 0 0 2rem;
}

.hero-full .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.95);
}

.hero-full .hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  color: #fff;
  animation: riseIn 0.8s ease both;
}

.hero-full .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-full .lede {
  max-width: 32rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.muted {
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .split-2 {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .split-reverse {
    direction: rtl;
  }

  .split-reverse > * {
    direction: ltr;
  }
}

.media-frame {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.offer-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .offer-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-item {
  padding: 0;
  border: none;
  background: transparent;
}

.offer-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
}

.offer-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.stat-note {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .stat-note {
    grid-template-columns: 1fr 1fr;
  }
}

.note-panel {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.note-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Forms */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

@media (min-width: 640px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(42, 138, 130, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: #9b2c2c;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(42, 138, 130, 0.12);
  color: var(--accent-deep);
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: #9b2c2c;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(155, 44, 44, 0.1);
  color: #9b2c2c;
  border-radius: var(--radius);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
  background: rgba(42, 138, 130, 0.06);
}

.price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  white-space: nowrap;
}

/* Reviews */
.review-list {
  display: grid;
  gap: 1.5rem;
}

.review {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.review h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.review .meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
}

.blog-card h2 {
  font-size: 1.35rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: inherit;
}

.legal-content {
  max-width: 46rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
  background: var(--surface);
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 840px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-aside {
  padding-top: 0.25rem;
}

.contact-aside h2 {
  font-size: 1.35rem;
}

.timeline {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-item .year {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent-deep);
}

.radar-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .radar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.radar-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.radar-item h3 {
  font-size: 1.25rem;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 18ch;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-address {
  white-space: pre-wrap;
  word-break: break-word;
}

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  animation: riseIn 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.cookie-actions .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 0.25rem;
}

.detail-meta {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta dt {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.detail-meta dd {
  margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
  .detail-meta {
    grid-template-columns: 1fr 1fr;
  }
}
