:root {
  --bg: #f4f2ed;
  --bg-deep: #ebe7df;
  --surface: #fbfaf7;
  --ink: #2a2d2b;
  --ink-soft: #5a5f5b;
  --line: #d5d0c6;
  --accent: #3d4f45;
  --accent-soft: #5f7468;
  --accent-warm: #a08b6c;
  --focus: #2f5d4a;
  --error: #8b3a3a;
  --success: #2f5d4a;
  --shadow: 0 18px 40px rgba(42, 45, 43, 0.06);
  --radius: 2px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(160, 139, 108, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(61, 79, 69, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.55rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 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(244, 242, 237, 0.88);
  border-bottom: 1px solid var(--line);
}

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

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

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

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: var(--accent);
  color: #f7f5f0 !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-soft);
  color: #fff !important;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

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

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

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

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

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  animation: heroRise 1.4s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 45, 43, 0.15) 0%, rgba(42, 45, 43, 0.72) 100%);
  z-index: -1;
}

.hero-copy {
  color: #f7f5f0;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 38rem;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero-copy .eyebrow {
  color: #d8d0c2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.hero-copy h1 {
  color: #fbfaf7;
  margin-bottom: 0.75rem;
}

.hero-copy p {
  color: #e4dfd5;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-muted {
  background: var(--bg-deep);
}

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

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.65rem;
}

.offer-grid,
.card-grid,
.story-grid {
  display: grid;
  gap: 1.5rem;
}

.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.offer-item,
.service-card,
.review-card,
.price-block,
.story-card,
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.7s ease both;
}

.service-card img,
.note-card img,
.detail-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1rem;
}

.service-card h3,
.offer-item h3,
.note-card h3 {
  margin-bottom: 0.45rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--accent-warm);
  margin-bottom: 0.6rem;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

.split-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  animation: softZoom 12s ease-in-out infinite alternate;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

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

.page-hero p {
  max-width: 42rem;
  font-size: 1.08rem;
}

.prose {
  max-width: 44rem;
}

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

.list-clean {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.list-clean li {
  margin-bottom: 0.45rem;
}

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

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem 1.1rem 3.4rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #f7f5f0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

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

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

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

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

.form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}

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

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

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

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

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

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

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

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: var(--bg-deep);
  font-weight: 560;
}

.site-footer {
  margin-top: 2rem;
  background: #2f3531;
  color: #d8d4cb;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f7f5f0;
  margin-bottom: 0.35rem;
}

.footer-tag,
.site-footer p {
  color: #c4bfb4;
}

.footer-label {
  color: #f0ebe2 !important;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem !important;
}

.site-footer a {
  color: #e8e2d6;
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-base {
  border-top: 1px solid rgba(232, 226, 214, 0.15);
  padding-top: 1rem;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(47, 53, 49, 0.97);
  color: #e8e2d6;
  border-top: 1px solid rgba(232, 226, 214, 0.2);
  padding: 1rem 0;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  color: #d8d4cb;
  margin: 0;
  max-width: 48rem;
}

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

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

.cookie-banner .btn-ghost {
  color: #f0ebe2;
  border-color: rgba(240, 235, 226, 0.35);
}

.cookie-banner .btn-primary {
  background: #c4b49a;
  color: #2a2d2b;
}

.price-block h3 {
  margin-bottom: 0.35rem;
}

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

.guide-panels {
  display: grid;
  gap: 1rem;
}

.guide-panel {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.guide-panel strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.cta-band {
  background: var(--accent);
  color: #f7f5f0;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-band h2,
.cta-band p {
  color: #f0ebe2;
}

.cta-band .btn-primary {
  background: #c4b49a;
  color: #2a2d2b;
}

.cta-band .btn-ghost {
  border-color: rgba(240, 235, 226, 0.4);
  color: #f0ebe2;
}

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

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

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

@keyframes softZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

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