:root {
  --ink: #1a2332;
  --ink-soft: #3a4556;
  --mist: #eef1f4;
  --paper: #f7f8fa;
  --white: #ffffff;
  --teal: #1a7a6d;
  --teal-deep: #125e54;
  --coral: #e07a5f;
  --line: #d5dbe3;
  --shadow: 0 18px 40px rgba(26, 35, 50, 0.08);
  --radius: 14px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 122, 109, 0.09), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(224, 122, 95, 0.08), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--mist));
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.inline-error {
  background: #fde8e4;
  color: #8a2f1d;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

[data-include="header"],
[data-include="footer"] {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 250, 0.86);
  border-bottom: 1px solid rgba(213, 219, 227, 0.8);
}

.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;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--teal);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

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

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.2s ease;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #c9d0da;
  padding: 3rem 1.25rem 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact p {
  color: #aeb7c4;
  font-size: 0.95rem;
}

.footer-label {
  color: var(--white);
  font-weight: 650;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
  color: #c9d0da;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-copy {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #8e98a8;
}

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

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 122, 109, 0.25);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--ink);
  color: var(--white);
}

.btn-secondary:hover {
  background: #2a3648;
  color: var(--white);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

/* Hero — full-bleed editorial composition */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 35, 50, 0.82) 0%, rgba(26, 35, 50, 0.45) 48%, rgba(26, 35, 50, 0.25) 100%),
    linear-gradient(0deg, rgba(26, 35, 50, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
}

.hero h1 {
  max-width: 14ch;
  color: var(--white);
}

.hero p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.hero .eyebrow {
  color: #9fd6cb;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

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

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

.offer-grid,
.card-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item,
.article-card,
.price-block,
.review-card,
.faq-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 219, 227, 0.9);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-item:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: #b9c5d2;
  box-shadow: var(--shadow);
}

.offer-item img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.offer-item h3 a,
.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.meta {
  font-size: 0.85rem;
  color: #6b7687;
  margin-bottom: 0.5rem;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.band {
  background: var(--ink);
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.band p {
  color: #c5ccd6;
}

.band h2 {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: rgba(26, 122, 109, 0.08);
  font-weight: 650;
}

tr:last-child td {
  border-bottom: 0;
}

.form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 640px;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(26, 122, 109, 0.35);
  border-color: var(--teal);
}

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

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.3rem;
}

.field-error {
  color: #a33b26;
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.is-invalid {
  border-color: #d2664d !important;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: #e5f5f1;
  color: #125e54;
}

.form-status.is-error {
  background: #fde8e4;
  color: #8a2f1d;
}

.contact-aside {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.prose {
  max-width: 720px;
}

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

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

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

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  animation: slideUp 0.45s ease;
}

.cookie-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(26, 122, 109, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}

.price-figure {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0.4rem 0 0.8rem;
}

.muted {
  color: #6b7687;
  font-size: 0.92rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2em;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .footer-grid,
  .offer-grid,
  .card-grid,
  .blog-grid,
  .steps,
  .split,
  .split-reverse,
  .two-col,
  .band {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(247, 248, 250, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
    opacity: 1;
    padding: 0.5rem 0 1rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem;
    gap: 0.85rem;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
