:root {
  --graphite: #2c3038;
  --graphite-mid: #3a3f4a;
  --graphite-soft: #5a616e;
  --silver: #c5cad3;
  --silver-bright: #e4e7ec;
  --peach: #f0c9a8;
  --peach-deep: #e0a87a;
  --gold: #d4b896;
  --gold-soft: #e8d4b8;
  --ink: #1a1d23;
  --cream-mist: #f7f3ee;
  --surface: rgba(228, 231, 236, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(44, 48, 56, 0.12);
  --shadow: 0 18px 50px rgba(44, 48, 56, 0.12);
  --radius: 18px;
  --font-display: "Figtree", sans-serif;
  --font-body: "Nunito", 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(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(240, 201, 168, 0.45), transparent 55%),
    radial-gradient(900px 500px at 90% 5%, rgba(197, 202, 211, 0.55), transparent 50%),
    linear-gradient(180deg, #f4f1ec 0%, #ebe7e1 40%, #e8e4de 100%);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--graphite-mid);
}

.shell {
  width: var(--shell);
  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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(247, 243, 238, 0.92), rgba(247, 243, 238, 0.72));
  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 {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--peach), var(--silver), var(--gold));
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.55), 0 4px 14px rgba(224, 168, 122, 0.35);
  animation: mercury-shift 8s ease-in-out infinite;
}

.brand-name {
  font-size: 1.15rem;
}

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--graphite), var(--graphite-mid));
  color: var(--silver-bright) !important;
  box-shadow: 0 8px 24px rgba(44, 48, 56, 0.22);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 0.65rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.28s ease, background 0.28s ease;
}

.btn:active {
  transform: scale(0.94);
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--peach-deep), var(--gold) 45%, var(--silver));
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(224, 168, 122, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(224, 168, 122, 0.42);
  color: var(--ink);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--graphite);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed, brand-led */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--silver-bright);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: horizon-drift 18s ease-in-out infinite alternate;
}

.hero-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 29, 35, 0.15) 0%, rgba(26, 29, 35, 0.35) 40%, rgba(26, 29, 35, 0.82) 100%),
    linear-gradient(120deg, rgba(240, 201, 168, 0.28), transparent 45%, rgba(197, 202, 211, 0.22));
  pointer-events: none;
}

.hero-sheen::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 58%
  );
  animation: mercury-band 9s ease-in-out infinite;
}

.hero-anchor {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.75rem;
  max-width: 40rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
  animation: rise-in 0.9s ease both;
}

.hero-anchor--end {
  margin-left: auto;
  margin-right: max(calc((100% - var(--shell)) / 2), 1.25rem);
  text-align: right;
}

.hero-anchor--end .hero-lead {
  margin-left: auto;
}

.hero-anchor--end .btn-row {
  justify-content: flex-end;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  background: linear-gradient(120deg, #fff 10%, var(--peach) 45%, var(--silver-bright) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 32rem;
  color: rgba(228, 231, 236, 0.92);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0 5rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--graphite);
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--graphite-soft);
  font-size: 1.05rem;
}

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

.split-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 201, 168, 0.2), transparent 50%, rgba(197, 202, 211, 0.25));
  pointer-events: none;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.28s ease, background 0.28s ease;
}

.offer-item:hover {
  padding-left: 0.6rem;
  background: linear-gradient(90deg, rgba(240, 201, 168, 0.18), transparent 60%);
}

.offer-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.offer-item p {
  margin: 0;
  color: var(--graphite-soft);
}

.offer-meta {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--peach-deep);
  white-space: nowrap;
  padding-top: 0.2rem;
}

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

.quote-item {
  padding: 0;
  border: 0;
  background: none;
}

.quote-item blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.quote-item cite {
  font-style: normal;
  color: var(--graphite-soft);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 1.75rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--graphite);
}

.faq-item p {
  margin: 0;
  color: var(--graphite-soft);
  max-width: 42rem;
}

/* Page heroes */
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--graphite);
}

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

.page-hero-media {
  margin-top: 2rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  max-height: 420px;
  box-shadow: var(--shadow);
}

.page-hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Service & blog grids — interaction containers, not decorative cards */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.listing-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.listing-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.listing-body h2,
.listing-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.listing-body p {
  margin: 0;
  color: var(--graphite-soft);
}

.listing-meta {
  display: block;
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--peach-deep);
  font-family: var(--font-display);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

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

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

.detail-hero-img {
  margin: 1.75rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-hero-img img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.includes {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.includes li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--graphite);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--gold));
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--peach-deep);
  line-height: 1;
  padding-top: 0.15rem;
}

.step h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--graphite);
}

.step p {
  margin: 0;
  color: var(--graphite-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form,
.contact-aside {
  padding: 0;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--graphite);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--peach-deep);
  box-shadow: 0 0 0 3px rgba(224, 168, 122, 0.25);
}

.form-field .error {
  min-height: 1.25rem;
  margin: 0.35rem 0 0;
  color: #9b3b2e;
  font-size: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #2f6b4f;
}

.form-status.is-error {
  color: #9b3b2e;
}

.contact-aside h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--graphite);
}

.contact-aside p {
  margin: 0 0 0.55rem;
  color: var(--graphite-soft);
}

/* Legal */
.legal-content {
  max-width: 46rem;
  padding-bottom: 4rem;
}

.legal-content h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--graphite);
}

.legal-content p,
.legal-content li {
  color: var(--graphite-soft);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(180deg, transparent, rgba(44, 48, 56, 0.04)),
    linear-gradient(135deg, rgba(197, 202, 211, 0.35), rgba(240, 201, 168, 0.2));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--graphite);
}

.footer-tag,
.footer-col p {
  margin: 0;
  color: var(--graphite-soft);
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--graphite);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--graphite-soft);
}

.footer-col a:hover {
  color: var(--graphite);
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-base p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--graphite-soft);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(135deg, rgba(44, 48, 56, 0.96), rgba(58, 63, 74, 0.94));
  color: var(--silver-bright);
  box-shadow: 0 -12px 40px rgba(26, 29, 35, 0.28);
}

.cookie-banner[hidden] {
  display: none !important;
}

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

.cookie-inner p {
  margin: 0;
  max-width: 44rem;
}

.cookie-inner a {
  color: var(--peach);
}

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

.cookie-banner .btn-ghost {
  color: var(--silver-bright);
  border-color: rgba(228, 231, 236, 0.28);
  background: transparent;
}

.cookie-banner .form-status {
  width: var(--shell);
  margin: 0.5rem auto 0;
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-h) - 12rem);
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

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

.error-page p {
  margin: 0 0 1.5rem;
  color: var(--graphite-soft);
  max-width: 28rem;
}

/* Motion helpers */
.fade-in {
  animation: rise-in 0.85s ease both;
}

.delay-1 {
  animation-delay: 0.15s;
}

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

@keyframes mercury-shift {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1);
  }
  50% {
    filter: hue-rotate(12deg) saturate(1.15);
  }
}

@keyframes mercury-band {
  0% {
    transform: translateX(-18%);
  }
  100% {
    transform: translateX(18%);
  }
}

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

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

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

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

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

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

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

  .offer-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .cookie-actions {
    width: 100%;
  }

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

  .hero-anchor,
  .hero-anchor--end {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    text-align: left;
  }

  .hero-anchor--end .hero-lead {
    margin-left: 0;
  }

  .hero-anchor--end .btn-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
