:root {
  --bg: #f4f2ee;
  --bg-deep: #e8e4dc;
  --surface: #fffcf8;
  --text: #1c1b19;
  --muted: #5f5b54;
  --accent: #2f4a3c;
  --accent-hover: #243a30;
  --accent-soft: #dfe8e3;
  --border: #d9d4cb;
  --danger: #8b3a2f;
  --shadow: 0 18px 40px rgba(28, 27, 25, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --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);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 74, 60, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 228, 220, 0.9), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #efece6 100%);
  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-hover);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--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: 100;
  backdrop-filter: blur(12px);
  background: rgba(244, 242, 238, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(28, 27, 25, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(12deg);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 14rem;
}

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

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

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

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

.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  margin-left: 0.5rem;
}

.nav-toggle {
  align-items: center;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

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

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 28rem;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
  animation: rise-in 0.9s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
}

.hero-copy {
  animation: rise-in 0.8s ease both;
}

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

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

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

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

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

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

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

.section {
  padding: 4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.offer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise-in 0.7s ease both;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-deep);
}

.offer-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.offer-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.offer-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.offer-meta {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.band {
  background: var(--accent);
  color: #f4f2ee;
  padding: 3.5rem 0;
}

.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.band p {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: rgba(244, 242, 238, 0.85);
}

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

.band .btn-primary:hover {
  background: #fff;
}

.quote-list {
  display: grid;
  gap: 1rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  margin: 0 0 0.85rem;
}

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

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.08rem;
}

.page-hero-media {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}

.page-hero-media img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--bg-deep);
}

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

.aside-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.aside-panel dl {
  margin: 0 0 1.25rem;
}

.aside-panel dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.85rem;
}

.aside-panel dd {
  margin: 0.2rem 0 0;
}

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

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

.price-table th {
  background: var(--accent-soft);
  font-weight: 600;
}

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

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

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

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

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 40rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

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

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

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent);
}

.form-status.is-error {
  display: block;
  background: #f3e4e1;
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.contact-card {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

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

.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  background: var(--bg-deep);
}

.blog-card-body {
  padding: 1.1rem 1.1rem 1.1rem 0;
}

.blog-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: #1c1b19;
  color: #d9d4cb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f4f2ee;
  margin: 0 0 0.5rem;
}

.footer-topic {
  margin: 0;
  color: #a8a39a;
  font-size: 0.95rem;
}

.footer-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8a80;
}

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #33302c;
  font-size: 0.9rem;
  color: #8f8a80;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(28, 27, 25, 0.96);
  color: #f4f2ee;
  padding: 1rem 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
  animation: slide-up 0.45s ease both;
}

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

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
  font-size: 0.95rem;
}

.cookie-inner a {
  color: #cfe0d6;
}

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

.cookie-banner .btn-ghost {
  border-color: #5a564e;
  color: #f4f2ee;
}

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

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
}

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

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-split,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 18rem;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-body {
    padding: 0 1.1rem 1.1rem;
  }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(244, 242, 238, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
