:root {
  --ink: #1a2a28;
  --ink-soft: #3a4f4b;
  --paper: #f2f5f4;
  --paper-deep: #e4ebe8;
  --surface: #ffffff;
  --accent: #1e4d4a;
  --accent-hover: #163a38;
  --gold: #b8956a;
  --gold-soft: #e8d9c4;
  --line: #c5d0cc;
  --danger: #8b3a3a;
  --ok: #2a5c48;
  --shadow: 0 12px 40px rgba(26, 42, 40, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  /* weights: 400/500/600 */
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(184, 149, 106, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(30, 77, 74, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #eef2f0 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 245, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--radius);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 560;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn--primary {
  background: var(--accent);
  color: #f7faf8;
  border-color: var(--accent);
}

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

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

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

.btn--gold {
  background: var(--gold-soft);
  color: var(--ink);
  border-color: var(--gold);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: #f4f7f5;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.2s ease-out both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(18, 40, 38, 0.88) 18%, rgba(18, 40, 38, 0.45) 58%, rgba(18, 40, 38, 0.25) 100%),
    linear-gradient(0deg, rgba(18, 40, 38, 0.55), transparent 45%);
}

.hero__content {
  padding: 5.5rem 0 3.5rem;
  max-width: 36rem;
  animation: fadeUp 0.9s ease-out 0.15s both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  color: #fff;
}

.hero__lead {
  font-size: 1.12rem;
  color: rgba(244, 247, 245, 0.9);
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section--band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

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

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

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

.split--reverse > :first-child {
  order: 2;
}

.frame {
  position: relative;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  border: 1.5px solid var(--gold);
  z-index: -1;
  pointer-events: none;
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.offer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.7s ease-out both;
}

.offer:nth-child(2) {
  animation-delay: 0.1s;
}

.offer:nth-child(3) {
  animation-delay: 0.2s;
}

.offer:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.offer img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer__body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.offer__body h3 {
  margin-bottom: 0.4rem;
}

.offer__body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.offer__link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

.quote-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, #2a635e 100%);
  color: #f4f7f5;
  border-radius: var(--radius);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 500;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.85;
  font-family: var(--font-body);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
}

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

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

.price-table th {
  background: var(--paper-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.note {
  padding: 1rem 1.15rem;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

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

.review:last-child {
  border-bottom: none;
}

.review__meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.review p:last-child {
  margin-bottom: 0;
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.35rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-card h3 {
  margin-bottom: 0.35rem;
}

.blog-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.page-hero {
  padding: 3.25rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(30, 77, 74, 0.06), transparent 55%);
}

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

.page-hero p {
  max-width: 40rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.prose {
  max-width: 42rem;
}

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

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-card dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.contact-card dt:first-child {
  margin-top: 0;
}

.contact-card dd {
  margin: 0.25rem 0 0;
  font-weight: 500;
}

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

.form-group label {
  display: block;
  font-weight: 560;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(30, 77, 74, 0.25);
  border-color: var(--accent);
}

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

.field-error {
  display: block;
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

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

.form-status--ok {
  background: rgba(42, 92, 72, 0.12);
  color: var(--ok);
  border: 1px solid rgba(42, 92, 72, 0.3);
}

.form-status--err {
  background: rgba(139, 58, 58, 0.1);
  color: var(--danger);
  border: 1px solid rgba(139, 58, 58, 0.25);
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: #d7e0dc;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #e8d9c4;
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

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

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

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 1rem;
  animation: fadeUp 0.45s ease-out both;
}

.cookie-banner__inner {
  width: min(100%, 820px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner__inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.inline-error {
  background: rgba(139, 58, 58, 0.12);
  color: var(--danger);
  padding: 0.75rem 1rem;
  margin: 0.5rem;
  border-radius: var(--radius);
}

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

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

.legal-table th {
  background: var(--paper-deep);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--gold);
  margin-left: 0.5rem;
  padding-left: 1.5rem;
}

.timeline__item {
  position: relative;
  padding-bottom: 1.75rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--gold-soft);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

@keyframes heroRise {
  from {
    opacity: 0.6;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .split,
  .split--reverse,
  .offer-grid,
  .contact-grid,
  .footer-grid,
  .blog-card,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

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

  .site-header__inner {
    position: relative;
  }

  .quote-block {
    grid-template-columns: 1fr;
  }
}

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