:root {
  --bg: #f3f4f2;
  --bg-soft: #e8ebe7;
  --surface: #fbfbfa;
  --ink: #1f2a24;
  --ink-muted: #5a6760;
  --accent: #3d5a4c;
  --accent-deep: #2c4238;
  --accent-soft: #d5e0d9;
  --line: #cfd6d0;
  --danger: #8b3a3a;
  --success: #2f5d45;
  --shadow: 0 18px 40px rgba(31, 42, 36, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.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);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #dfe8e2 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e4e2dc 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1rem;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  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: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 244, 242, 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.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #f7faf8 !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  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: #f7faf8;
}

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

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

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 42rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f4f7f5;
  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(180deg, rgba(20, 32, 26, 0.25) 0%, rgba(20, 32, 26, 0.72) 70%, rgba(20, 32, 26, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  animation: rise 0.8s ease both;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 12ch;
  color: #f7faf8;
}

.hero .lead {
  color: rgba(244, 247, 245, 0.88);
  max-width: 34rem;
}

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

.hero .btn-secondary {
  border-color: rgba(247, 250, 248, 0.45);
  color: #f7faf8;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}

.page-hero.with-image {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .page-hero.with-image {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.page-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: var(--bg-soft);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

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

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

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

.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-soft);
}

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

.offer-body h3 {
  font-size: 1.35rem;
}

.offer-meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.quote-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.25rem;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
}

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

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

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

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

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

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

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--bg-soft);
}

.detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

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

.detail-aside dl {
  margin: 0;
}

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

.detail-aside dd {
  margin: 0.25rem 0 0;
}

.prose {
  max-width: 42rem;
}

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

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

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

.guide-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(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 550;
}

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

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

.form .error {
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.1em;
}

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

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

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

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.address-block {
  background: var(--bg-soft);
  padding: 1.35rem;
  border-radius: var(--radius);
}

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

.blog-item {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 760px) {
  .blog-item {
    grid-template-columns: 280px 1fr;
  }
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  background: var(--bg-soft);
}

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

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

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

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

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

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

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

.footer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a9bdb2;
  margin-bottom: 0.65rem;
}

.footer-tag {
  max-width: 24rem;
  color: #c5d2cb;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #a9bdb2;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(251, 251, 250, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(31, 42, 36, 0.08);
  padding: 1rem 0;
}

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

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
  color: var(--ink-muted);
}

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

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

.fade-up {
  animation: rise 0.7s ease both;
}

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

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

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

  .site-nav.is-open {
    display: flex;
    animation: rise 0.25s ease both;
  }

  .site-nav a {
    padding: 0.65rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

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