:root {
  --ink: #0f2f2a;
  --ink-soft: #1f4a42;
  --mist: #e8f2ee;
  --paper: #f4faf7;
  --foam: #ffffff;
  --line: rgba(15, 47, 42, 0.14);
  --accent: #d4a24c;
  --accent-deep: #b07d28;
  --teal: #3f8f7f;
  --danger: #9b2c2c;
  --ok: #1f6b4a;
  --shadow: 0 18px 50px rgba(15, 47, 42, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(212, 162, 76, 0.18), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(63, 143, 127, 0.16), transparent 36%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 48%, #eef6f2 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

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

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

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

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

.btn--primary {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--foam);
  box-shadow: 0 10px 24px rgba(15, 47, 42, 0.22);
}

.btn--primary:hover {
  color: var(--foam);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

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

.brand__mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--accent), #f0d39a 45%, transparent 46%),
    linear-gradient(225deg, var(--teal), #8fc4b8);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(232, 242, 238, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.65rem;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

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

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: var(--teal);
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 4rem 0 3.5rem;
}

.home-hero__layers {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(15, 47, 42, 0.88) 10%, rgba(15, 47, 42, 0.42) 48%, rgba(15, 47, 42, 0.18) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.home-hero__layers::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 162, 76, 0.28), transparent 28%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.03) 14px 15px
    );
}

.home-hero__content {
  position: relative;
  z-index: 1;
  color: var(--foam);
  max-width: 38rem;
}

.home-hero .eyebrow {
  color: #f0d39a;
}

.home-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 0.4rem;
  animation: riseIn 0.9s ease both;
}

.home-hero .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1rem;
  animation: riseIn 0.8s ease both;
}

.home-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  animation: riseIn 1s ease 0.08s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  animation: riseIn 1.05s ease 0.12s both;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

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

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

.offer-band__panel {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.55)),
    linear-gradient(45deg, rgba(63, 143, 127, 0.12), transparent 50%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.offer-band__panel::before {
  content: "";
  position: absolute;
  inset: 0.7rem auto auto 0.7rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0.55;
  pointer-events: none;
}

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

.offer-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.offer-list a:hover {
  transform: translateX(4px);
  border-color: rgba(63, 143, 127, 0.45);
  background: rgba(255, 255, 255, 0.9);
}

.offer-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.offer-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.quote {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.quote p {
  font-size: 1.05rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
}

.page-hero--media {
  min-height: 22rem;
  display: grid;
  align-items: end;
  color: var(--foam);
  overflow: hidden;
}

.page-hero__backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(15, 47, 42, 0.9), rgba(15, 47, 42, 0.35)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
}

.page-hero--media .lead {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero--media .eyebrow {
  color: #f0d39a;
}

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

.media-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.media-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.media-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.media-card__body h2,
.media-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.fee-table th {
  font-family: var(--font-display);
  background: rgba(15, 47, 42, 0.06);
}

.fee-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 12px 12px 0;
}

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

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.story img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

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

.area-item {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(232, 242, 238, 0.9));
}

.area-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.form-panel {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

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

.form-group .error {
  color: var(--danger);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.is-invalid .error {
  display: block;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: var(--danger);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(31, 107, 74, 0.12);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
}

.prose {
  max-width: 46rem;
  padding-bottom: 4rem;
}

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

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
}

.post-cover {
  margin-bottom: 1.5rem;
}

.post-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail__body {
  padding: 2.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.service-cta {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(212, 162, 76, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.8);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(15, 47, 42, 0.05)),
    rgba(15, 47, 42, 0.94);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .brand {
  color: var(--foam);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer__heading {
  font-size: 1rem;
  color: #f0d39a;
}

.site-footer__links {
  display: grid;
  gap: 0.45rem;
}

.site-footer__base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner__inner {
  width: min(100%, 720px);
  margin-inline: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(15, 47, 42, 0.96);
  color: var(--foam);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

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

.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

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

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  list-style: none;
}

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

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .offer-band,
  .evidence,
  .card-grid,
  .story,
  .contact-layout,
  .service-detail__body,
  .site-footer__grid,
  .area-map {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(232, 242, 238, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.1rem;
    display: none;
  }

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

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

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

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