:root {
  --ink: #1c2430;
  --ink-soft: #3a4556;
  --paper: #e8eef2;
  --paper-deep: #d5e0e8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #f4f7fa;
  --jade: #1f7a6c;
  --jade-deep: #155e53;
  --gold: #c9a227;
  --gold-soft: #e6d39a;
  --line: rgba(28, 36, 48, 0.12);
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --wide: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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(31, 122, 108, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(201, 162, 39, 0.16), transparent 50%),
    linear-gradient(165deg, #eef3f6 0%, #dfe8ef 42%, #e8eef2 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(28, 36, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 48, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

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

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

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

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

p {
  margin: 0 0 1em;
}

.visually-hidden {
  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: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.wrap {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
}

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

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

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

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

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

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 250, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

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

.site-header__mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--jade);
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 45%, var(--gold) 45% 55%, transparent 55%),
    linear-gradient(var(--jade), var(--jade));
  background-size: 100% 100%, 60% 2px;
  background-position: center, center 70%;
  background-repeat: no-repeat;
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-header__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.site-header__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

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

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

.site-nav a:hover {
  color: var(--jade-deep);
}

.site-nav__cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--jade-deep);
  color: #fff !important;
}

@media (max-width: 960px) {
  .site-header__toggle {
    display: inline-flex;
  }

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

  .site-nav.is-open {
    display: block;
    animation: drop-in 0.35s var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fade-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal {
  animation: rise 0.8s var(--ease) both;
}

.reveal--delay {
  animation-delay: 0.15s;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: #f4f7fa;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 36, 48, 0.88) 0%, rgba(28, 36, 48, 0.55) 48%, rgba(31, 122, 108, 0.35) 100%),
    linear-gradient(to top, rgba(28, 36, 48, 0.75), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), var(--wide));
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin: 0 0 0.35em;
  line-height: 0.95;
  animation: rise 0.9s var(--ease) both;
}

.hero__brand::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--gold);
  transform-origin: left;
  animation: fade-line 0.8s 0.35s var(--ease) both;
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(244, 247, 250, 0.9);
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero--page {
  min-height: 42vh;
  align-items: center;
}

.hero--page .hero__content {
  padding: 4.5rem 0 3rem;
}

.hero--page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 0.4em;
}

.hero--page .hero__lead {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

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

.section__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.panel--accent {
  border-left: 4px solid var(--jade);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

  .split--reverse .split__media {
    order: -1;
  }
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 35%;
  height: 35%;
  background: linear-gradient(135deg, transparent, rgba(201, 162, 39, 0.45));
  z-index: 1;
  pointer-events: none;
}

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

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

.offer {
  display: grid;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.offer:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.offer__img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.offer__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.offer:hover .offer__img img {
  transform: scale(1.04);
}

.offer h3 {
  margin: 0 0 0.35em;
  font-size: 1.35rem;
}

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

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .quote-stack {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

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

.quote--long {
  grid-row: span 2;
}

.band {
  background:
    linear-gradient(120deg, rgba(31, 122, 108, 0.12), rgba(201, 162, 39, 0.1)),
    var(--surface);
  border-block: 1px solid var(--line);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

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

.price-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.prose {
  max-width: 42rem;
}

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

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

.prose li + li {
  margin-top: 0.35rem;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.meta-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.meta-list strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade-deep);
}

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

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

.post-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.85rem;
}

.post-card:hover {
  color: inherit;
  text-decoration: none;
}

.post-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card time {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__row {
  display: grid;
  gap: 0.4rem;
}

.form__row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form__row input,
.form__row select,
.form__row textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: 2px solid var(--jade);
  outline-offset: 1px;
}

.form__error {
  color: #8b1e2d;
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form__status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(31, 122, 108, 0.12);
  border: 1px solid var(--jade);
}

.form__status--err {
  background: rgba(139, 30, 45, 0.08);
  border: 1px solid #8b1e2d;
}

.contact-aside {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--ink);
  color: #f4f7fa;
}

.contact-aside a {
  color: var(--gold-soft);
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
  background: var(--surface);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: var(--space);
  right: var(--space);
  bottom: var(--space);
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
}

.cookie-banner__inner {
  background: var(--ink);
  color: #f4f7fa;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-banner__text a {
  color: var(--gold-soft);
}

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

.cookie-banner .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

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

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(244, 247, 250, 0.88);
  padding: 3rem 0 1.5rem;
}

.site-footer__inner {
  width: min(100% - 2 * var(--space), var(--wide));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

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

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__copy {
  width: min(100% - 2 * var(--space), var(--wide));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(244, 247, 250, 0.55);
}

.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--space);
}

.page-404 h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.tag-list span {
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
