:root {
  --color-bg: #f3efe8;
  --color-bg-soft: #ebe6dd;
  --color-surface: #faf8f4;
  --color-ink: #2a2f2b;
  --color-ink-muted: #5c635c;
  --color-accent: #3d4a3f;
  --color-accent-hover: #2f3932;
  --color-line: #d4cec3;
  --color-error: #8b3a2f;
  --color-success: #2f5a3c;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --shell: min(1120px, calc(100% - 2.5rem));
  --radius: 2px;
  --shadow-soft: 0 18px 40px rgba(42, 47, 43, 0.08);
  --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);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse at top left, rgba(61, 74, 63, 0.06), transparent 42%),
    linear-gradient(180deg, #f7f3ed 0%, var(--color-bg) 38%, #ece7df 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin: 0 0 var(--space-2);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 var(--space-2);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  margin: 0 0 var(--space-1);
}

p {
  margin: 0 0 var(--space-2);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 239, 232, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--color-line);
  box-shadow: 0 8px 24px rgba(42, 47, 43, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 4.5rem;
}

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

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 0.55rem 0.8rem;
  font: inherit;
  color: var(--color-ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  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(-1px);
}

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

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

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.4s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 34, 30, 0.15) 0%, rgba(28, 34, 30, 0.55) 55%, rgba(28, 34, 30, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-6) 0 var(--space-5);
  max-width: 38rem;
  animation: fadeUp 0.9s 0.15s var(--ease) both;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  opacity: 0.9;
}

.hero h1 {
  color: inherit;
}

.hero p {
  color: rgba(247, 243, 237, 0.9);
  font-size: 1.12rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
}

.hero .btn-ghost {
  border-color: rgba(247, 243, 237, 0.45);
  color: #f7f3ed;
}

.section {
  padding: var(--space-5) 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.35);
  border-block: 1px solid var(--color-line);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

.section-intro p {
  color: var(--color-ink-muted);
}

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

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

.offer-list {
  display: grid;
  gap: 0;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
}

.offer-row:last-child {
  border-bottom: 1px solid var(--color-line);
}

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

.offer-meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 0.6rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-4);
  align-items: center;
}

.split img,
.media-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding: var(--space-5) 0 var(--space-3);
}

.page-hero .lede {
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--color-ink-muted);
}

.prose {
  max-width: 42rem;
}

.prose h2,
.prose h3 {
  margin-top: var(--space-4);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 var(--space-2);
}

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

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.steps li {
  position: relative;
  padding-left: 4rem;
  min-height: 3rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent);
  line-height: 1;
}

.quote-list {
  display: grid;
  gap: var(--space-3);
}

.quote {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-line);
}

.quote:last-child {
  border-bottom: 1px solid var(--color-line);
}

.quote blockquote {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
}

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

.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(--color-line);
  vertical-align: top;
}

.price-table th {
  font-weight: 600;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.journal-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: var(--space-2);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease);
}

.journal-card a:hover img {
  transform: scale(1.02);
}

.journal-card .meta {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form {
  display: grid;
  gap: var(--space-2);
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

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

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(61, 74, 63, 0.35);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.field-error {
  color: var(--color-error);
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.form-status.is-success {
  border-color: var(--color-success);
  color: var(--color-success);
}

.form-status.is-error {
  border-color: var(--color-error);
  color: var(--color-error);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  align-items: start;
}

.contact-aside {
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
}

.site-footer {
  margin-top: var(--space-5);
  padding: var(--space-5) 0 var(--space-3);
  background: #2f3832;
  color: #e8e2d8;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-3);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact p,
.footer-bottom p {
  color: rgba(232, 226, 216, 0.8);
}

.footer-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: rgba(232, 226, 216, 0.65);
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(232, 226, 216, 0.15);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(47, 56, 50, 0.97);
  color: #f3efe8;
  padding: 1.1rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
  animation: fadeUp 0.45s var(--ease);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.cookie-banner a {
  color: #f3efe8;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  border-color: rgba(243, 239, 232, 0.4);
  color: #f3efe8;
}

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

.service-detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) 0;
}

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

.fact-list {
  display: grid;
  gap: 0.85rem;
  margin: var(--space-3) 0;
}

.fact-list dt {
  font-weight: 700;
  margin: 0;
}

.fact-list dd {
  margin: 0.15rem 0 0;
  color: var(--color-ink-muted);
}

.cta-band {
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  background: var(--color-accent);
  color: #f7f3ed;
}

.cta-band h2 {
  color: inherit;
}

.cta-band p {
  color: rgba(247, 243, 237, 0.88);
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: #f7f3ed;
  color: var(--color-accent);
}

.cta-band .btn-ghost {
  border-color: rgba(247, 243, 237, 0.4);
  color: #f7f3ed;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-5) 0;
}

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

@keyframes heroRise {
  from {
    transform: scale(1.06);
    opacity: 0.7;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .offer-row,
  .split,
  .contact-panel,
  .service-detail-hero,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .offer-row:nth-child(even) img {
    order: -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

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

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .cookie-inner,
  .form-row.two {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
