:root {
  --bg: #f7f3ee;
  --surface: #fffdfa;
  --surface-strong: #efe7de;
  --surface-dark: #171c38;
  --text: #182034;
  --muted: #66708d;
  --line: rgba(24, 32, 52, 0.12);
  --accent: #6da5ff;
  --accent-strong: #6a4df7;
  --sand: #cbb5de;
  --shadow: 0 24px 80px rgba(37, 43, 84, 0.14);
  --radius: 28px;
  --radius-small: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(109, 165, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(106, 77, 247, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f7ff 0%, #f1eefc 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Prata", serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding-top: 32px;
}

.section--contrast {
  background: linear-gradient(180deg, rgba(23, 28, 56, 0.98), rgba(20, 25, 51, 0.96));
  color: white;
}

.section--photo-band {
  background:
    radial-gradient(circle at top left, rgba(109, 165, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109, 165, 255, 0.14);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section--contrast .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #e8ebff;
}

.hero--home .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.muted {
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 247, 255, 0.78);
  border-bottom: 1px solid rgba(24, 32, 52, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo strong {
  display: block;
  font-size: 1rem;
}

.logo small {
  display: block;
  color: var(--muted);
}

.logo__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-family: "Prata", serif;
  font-size: 1.4rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a:not(.button) {
  color: var(--muted);
  font-weight: 600;
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(106, 77, 247, 0.24);
}

.button:hover,
.pill:hover {
  transform: translateY(-2px);
}

.button--small {
  padding: 12px 18px;
}

.button--ghost,
.pill {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--light {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.pill.is-active {
  background: var(--text);
  color: white;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero--home {
  padding: 92px 0 64px;
}

.hero--inner {
  padding: 42px 0 12px;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__layout--inner {
  grid-template-columns: 1fr 0.8fr;
}

.hero__banner {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
}

.hero__banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 46, 0.78) 0%, rgba(15, 21, 46, 0.38) 36%, rgba(15, 21, 46, 0.12) 62%, rgba(15, 21, 46, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 21, 46, 0.12));
}

.hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 58px;
}

.hero__content {
  max-width: 720px;
  color: white;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.hero--home h1 {
  max-width: none;
  font-size: clamp(1.78rem, 1.7vw, 2.32rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: white;
  max-width: none;
}

.hero__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero--home .hero__lead {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

@media (min-width: 1280px) {
  .hero__content {
    max-width: none;
    width: 100%;
  }

  .hero--home h1 {
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero--home .hero__content {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding-bottom: 128px;
}

.hero--home .hero__actions {
  position: absolute;
  left: 58px;
  bottom: 58px;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.hero__note {
  align-self: flex-end;
  max-width: 280px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(15, 21, 46, 0.72);
  backdrop-filter: blur(10px);
  color: white;
}

.service-hero-copy {
  max-width: 920px;
}

.service-hero-copy .hero__lead,
.service-hero-copy .muted {
  max-width: 78ch;
}

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

.hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero__visual--service img {
  min-height: 520px;
}

.stats,
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stats--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.stat,
.fact {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.stat strong,
.fact strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-head {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 10px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 78ch;
}

.section-head > * {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.card--image {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.card--image img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.card--service {
  min-height: 420px;
  display: flex;
  align-items: end;
  color: white;
  border: 0;
  text-decoration: none;
}

.card--service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 26, 48, 0.08), rgba(22, 26, 48, 0.88));
}

.card--service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card--service .card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.card--service .link-arrow {
  color: #ffffff;
  margin-top: 10px;
}

.card--service h3 {
  margin-bottom: 0;
}

.card--service:hover {
  transform: translateY(-4px);
}

.card--service:hover img {
  transform: scale(1.03);
}

.card--service img {
  transition: transform 0.45s ease;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.photo-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  min-height: 220px;
  box-shadow: var(--shadow);
}

.photo-grid__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 25, 51, 0.06), rgba(20, 25, 51, 0.78));
}

.photo-grid__item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-weight: 800;
  line-height: 1.4;
}

.photo-strip {
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.photo-strip img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.photo-grid__item--1 {
  grid-row: 1 / span 2;
}

.photo-grid__item--4 {
  grid-column: 2;
}

.photo-grid__item--5 {
  grid-column: 3;
}

.card__body {
  padding: 22px;
}

.link-arrow {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline__item {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline__item span:first-child {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
  font-weight: 800;
}

.wizard,
.lead-card,
.service-calc {
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard__meta {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 14.28%;
  height: 100%;
  background: linear-gradient(90deg, #8dd8d0, #fff5d6);
}

.wizard__summary {
  display: grid;
  gap: 6px;
}

.wizard__summary strong {
  font-size: 1.3rem;
}

.choice-grid,
.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-grid--materials {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.choice-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.choice-card,
.choice-chip,
.checkline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.choice-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
}

.choice-card {
  flex-direction: column;
  align-items: stretch;
}

.choice-card span {
  font-weight: 700;
}

.choice-card input,
.choice-chip input,
.checkline input {
  accent-color: var(--accent);
}

.wizard label,
.lead-form label,
.service-calc label {
  display: grid;
  gap: 8px;
}

.wizard input,
.wizard textarea,
.lead-form input,
.lead-form textarea,
.service-calc input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.lead-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 245, 0.9));
  color: var(--text);
  border: 1px solid rgba(23, 33, 38, 0.08);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.form-message {
  min-height: 24px;
  color: var(--accent-strong);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  padding: 10px 20px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.faq__answer {
  display: none;
  color: var(--muted);
}

.faq__item.is-open .faq__answer {
  display: block;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.article__body {
  display: grid;
  gap: 26px;
}

.article__body section,
.thankyou {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.service-copy {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.service-copy__body {
  display: grid;
  gap: 18px;
  max-width: 86ch;
}

.service-copy__body p {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  color: var(--muted);
}

.footer {
  padding: 60px 0 24px;
  color: #dfe7ea;
  background: linear-gradient(180deg, #19252a 0%, #10181b 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(223, 231, 234, 0.7);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero__layout,
  .hero__layout--inner,
  .lead-card,
  .footer__grid,
  .timeline,
  .photo-grid,
  .card-grid,
  .card-grid--4,
  .stats,
  .facts,
  .choice-grid--materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    position: absolute;
    inset: calc(100% + 8px) 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: block;
  }

  .hero__banner,
  .hero__overlay {
    min-height: 640px;
  }

  .hero__overlay {
    padding: 40px;
  }

  .hero--home h1 {
    font-size: clamp(1.72rem, 1.95vw, 2.28rem);
  }

  .hero--home .hero__content {
    padding-bottom: 120px;
  }

  .hero--home .hero__actions {
    left: 40px;
    bottom: 40px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero__layout,
  .hero__layout--inner,
  .lead-card,
  .footer__grid,
  .timeline,
  .photo-grid,
  .card-grid,
  .card-grid--4,
  .stats,
  .facts,
  .choice-grid,
  .input-grid,
  .choice-grid--materials {
    grid-template-columns: 1fr;
  }

  .photo-grid__item--1,
  .photo-grid__item--4,
  .photo-grid__item--5 {
    grid-column: auto;
    grid-row: auto;
  }

  .card--service {
    min-height: 360px;
  }

  .section-head,
  .footer__bottom,
  .wizard__actions,
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.8rem;
  }

  .hero__banner,
  .hero__overlay {
    min-height: 560px;
  }

  .hero__overlay {
    padding: 24px;
  }

  .hero--home h1 {
    max-width: none;
    font-size: 2rem;
    line-height: 1;
    white-space: normal;
  }

  .hero--home .hero__lead {
    max-width: none;
    font-size: 1rem;
  }

  .hero--home .hero__content {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero--home .hero__actions {
    position: static;
    margin-top: 24px;
    padding-top: 0;
  }

  .hero__note {
    max-width: none;
    align-self: stretch;
  }

  .hero__visual img,
  .hero__visual--service img,
  .photo-strip img {
    min-height: 280px;
    height: 280px;
  }

  .topbar__inner {
    gap: 12px;
  }
}
