@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Nunito:wght@500;600;700;800&display=swap");

:root {
  --graphite: #2a2c32;
  --graphite-soft: #3b3e47;
  --silver: #c8ccd4;
  --silver-bright: #e8eaef;
  --peach: #f5c4a8;
  --peach-deep: #e59a74;
  --gold: #c9a86c;
  --gold-soft: #d8bf8e;
  --mist: #f5f1eb;
  --horizon: #f8dcc8;
  --ink: #1c1e24;
  --muted: #5a5e68;
  --surface: rgba(255, 252, 249, 0.74);
  --surface-strong: rgba(255, 250, 246, 0.94);
  --line: rgba(42, 44, 50, 0.12);
  --shadow: 0 20px 44px rgba(42, 44, 50, 0.09);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Nunito", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1100px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 580px at 85% -5%, rgba(245, 196, 168, 0.5), transparent 55%),
    radial-gradient(800px 480px at 5% 8%, rgba(201, 168, 108, 0.28), transparent 50%),
    linear-gradient(165deg, #f7f3ee 0%, #ebe8e3 48%, #e0e4ea 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    180deg,
    rgba(255, 250, 246, 0.94),
    rgba(255, 250, 246, 0.8)
  );
  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: 800;
  font-size: 1.02rem;
  color: var(--graphite);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 28% 28%, var(--silver-bright), var(--silver) 42%, var(--graphite-soft) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 38% -25% -25% -25%;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 168, 0.75), transparent);
  animation: mercury-flow 7s ease-in-out infinite;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform 0.25s ease;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

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

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

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

.btn {
  --btn-bg: linear-gradient(135deg, var(--peach-deep), var(--gold));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.88rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--btn-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 -2px 0 rgba(42, 44, 50, 0.12),
    0 12px 26px rgba(229, 154, 116, 0.3);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.btn:hover {
  transform: scale(0.96) translateY(2px);
  filter: saturate(1.06);
  box-shadow:
    inset 0 4px 10px rgba(42, 44, 50, 0.2),
    0 4px 12px rgba(229, 154, 116, 0.22);
}

.btn:active {
  transform: scale(0.93);
}

.btn-ghost {
  --btn-bg: linear-gradient(135deg, rgba(200, 204, 212, 0.55), rgba(232, 234, 239, 0.92));
  box-shadow:
    inset 0 -1px 0 rgba(42, 44, 50, 0.08),
    0 8px 18px rgba(42, 44, 50, 0.06);
}

/* Centered brand-first hero — distinct from bottom-left stacked heroes */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--silver-bright);
  text-align: center;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 44, 50, 0.28) 0%, rgba(30, 32, 38, 0.55) 55%, rgba(30, 32, 38, 0.82) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(245, 196, 168, 0.35), transparent 55%);
}

.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(200, 204, 212, 0.18) 48%,
    transparent 62%
  );
  animation: mercury-flow 14s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
  animation: rise-in 1s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  line-height: 1.05;
  background: linear-gradient(115deg, #fff 8%, var(--peach) 42%, var(--gold-soft) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--silver-bright);
  margin: 0 auto 1.1rem;
  max-width: 28rem;
  letter-spacing: 0;
}

.hero p {
  color: rgba(232, 234, 239, 0.88);
  font-size: 1.02rem;
  max-width: 30rem;
  margin: 0 auto 1.6rem;
}

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

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

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.mercury-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(200, 204, 212, 0.38), rgba(245, 196, 168, 0.3) 42%, rgba(201, 168, 108, 0.2));
  border-block: 1px solid var(--line);
}

.mercury-band::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 140%;
  top: -20%;
  right: -12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 60%);
  animation: mercury-flow 11s ease-in-out infinite;
  pointer-events: none;
}

.offer-preview {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.offer-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
}

.offer-copy p {
  color: var(--muted);
}

.offer-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

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

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

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-row:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
}

.service-row img {
  width: 140px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.service-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-row .meta {
  color: var(--graphite-soft);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.evidence figure {
  margin: 0;
}

.evidence blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--graphite);
  font-weight: 500;
}

.evidence figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

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

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

.prose {
  max-width: 44rem;
}

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

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

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

.panel {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

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

.media-wide {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  min-height: 280px;
}

.media-wide img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
}

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.35rem;
  text-decoration: none;
  align-items: start;
}

.blog-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.blog-item h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

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

.blog-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

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

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

.price-table th {
  font-family: var(--font-display);
  background: rgba(200, 204, 212, 0.28);
}

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

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

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

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font: inherit;
  color: var(--ink);
}

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

.form-field .error {
  color: #8a3b2a;
  font-size: 0.86rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(201, 168, 108, 0.25);
  border: 1px solid rgba(201, 168, 108, 0.55);
}

.form-status.is-error {
  display: block;
  background: rgba(229, 154, 116, 0.28);
  border: 1px solid rgba(138, 59, 42, 0.35);
  color: #6e2f22;
}

.lab-steps {
  display: grid;
  gap: 1.15rem;
  counter-reset: lab;
}

.lab-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.lab-step::before {
  counter-increment: lab;
  content: counter(lab);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, var(--silver), var(--peach));
  color: var(--ink);
  flex-shrink: 0;
}

.lab-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.lab-step p {
  margin: 0;
  color: var(--muted);
}

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

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

.team-member h3 {
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.team-member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  background:
    linear-gradient(180deg, transparent, rgba(42, 44, 50, 0.04)),
    linear-gradient(135deg, rgba(200, 204, 212, 0.28), rgba(245, 196, 168, 0.18));
  border-top: 1px solid var(--line);
}

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

.site-footer h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 420px;
  margin-left: auto;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 250, 246, 0.96), rgba(232, 234, 239, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(229, 154, 116, 0.25);
  border: 1px solid rgba(138, 59, 42, 0.3);
  color: #6e2f22;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

@keyframes mercury-flow {
  0% {
    transform: translateX(-10%) rotate(0deg);
  }
  50% {
    transform: translateX(20%) rotate(2deg);
  }
  100% {
    transform: translateX(45%) rotate(-1deg);
  }
}

@keyframes horizon-drift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

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

@media (max-width: 900px) {
  .offer-preview,
  .evidence,
  .grid-3,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .blog-item,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row img {
    width: 100%;
    height: 180px;
  }

  .service-row .meta {
    white-space: normal;
  }

  .offer-preview {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 250, 246, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
  }

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

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