:root {
  /* Own "ledger" palette — not the reference Tilda mint/lilac kit */
  --accent: #5a4578;
  --accent-soft: #8a74a8;
  --ink: #2c322f;
  --ink-strong: #1a1e1c;
  --mint: #e4ebe7;
  --mint-deep: #cfdad3;
  --white: #fff;
  --paper: #f3f1ec;
  --wash: #ebe6f2;
  --muted: rgba(44, 50, 47, 0.7);
  --footer: #232826;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --stage: 1200px;
  --header-h: 80px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-weight: 400;
}

/* Scroll lock: fixed body (keeps place) + optional desktop scrollbar pad */
body.is-scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  padding-right: var(--scroll-lock-gap, 0px);
}

body.is-scroll-locked .site-header {
  padding-right: var(--scroll-lock-gap, 0px);
}

.heading-1 {
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
  text-wrap: balance;
}

.heading-3 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  text-wrap: balance;
}

.body-3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
}

.body-5 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.body-6 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-wrap: pretty;
}

.title-1 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  text-wrap: balance;
}

.title-4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.caption-1 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.button-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: var(--space-200);
  top: -100px;
  z-index: 4000;
  padding: var(--space-75) var(--space-100);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-200);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--stage));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-75) var(--space-100);
  border: none;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 300ms var(--ease),
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.btn:hover {
  background: var(--ink);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--sm {
  min-height: 40px;
  height: auto;
  padding: var(--space-75) var(--space-300);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.btn--hero {
  min-height: 56px;
  height: auto;
  width: auto;
  padding: var(--space-200) var(--space-400);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.btn--light {
  background: #fff;
  color: var(--accent);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--ink);
  color: #fff;
}

.btn--dark {
  width: 250px;
  height: 70px;
  min-height: 70px;
  padding: 0 30px;
  background: #373e3c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: #222;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(55, 62, 60, 0.25);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Floating header —— */
.site-header {
  position: fixed;
  inset: var(--space-200) 0 auto;
  z-index: 2000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--space-300);
  width: min(100% - 2rem, 1120px);
  min-height: 56px;
  padding: var(--space-75) var(--space-200) var(--space-75) var(--space-300);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px -12px rgba(55, 62, 60, 0.28);
  transition:
    background-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.site-header.is-scrolled .site-header__bar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px -14px rgba(55, 62, 60, 0.35);
}

.site-home {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}

.site-home:hover {
  color: var(--accent);
  background: var(--wash);
}

.site-home svg {
  display: block;
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.nav a {
  padding: var(--space-75) var(--space-100);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-strong);
  white-space: nowrap;
  transition: color 300ms var(--ease);
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-200);
  flex-shrink: 0;
}

.header-phone {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0;
}

.social {
  width: 30px;
  height: 30px;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0 5px;
  box-sizing: content-box;
  transition: color 300ms var(--ease);
}

.social:hover {
  color: var(--accent);
}

.social svg {
  display: block;
  width: 30px;
  height: 30px;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}

.burger--close {
  background: transparent;
}

.burger--close span {
  background: var(--ink);
  position: absolute;
  left: 13px;
  top: 21px;
  margin: 0;
}

.burger--close span:first-child {
  transform: rotate(45deg);
}

.burger--close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2100;
  padding: var(--space-300);
  overflow: auto;
  background: rgba(247, 251, 249, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms var(--ease), visibility 500ms var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-600);
}

.mobile-nav nav {
  display: grid;
  gap: var(--space-200);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.mobile-nav.is-open nav a,
.mobile-nav.is-open nav .btn {
  animation: menu-in 500ms var(--ease) both;
}

.mobile-nav.is-open nav a:nth-child(1) { animation-delay: 0ms; }
.mobile-nav.is-open nav a:nth-child(2) { animation-delay: 60ms; }
.mobile-nav.is-open nav a:nth-child(3) { animation-delay: 120ms; }
.mobile-nav.is-open nav a:nth-child(4) { animation-delay: 180ms; }
.mobile-nav.is-open nav a:nth-child(5) { animation-delay: 240ms; }
.mobile-nav.is-open nav a:nth-child(6) { animation-delay: 300ms; }
.mobile-nav.is-open nav a:nth-child(7) { animation-delay: 360ms; }
.mobile-nav.is-open nav .btn { animation-delay: 400ms; }

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Hero: brand plane + framed portrait —— */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, var(--wash) 0%, transparent 55%),
    var(--paper);
  color: var(--ink);
}

/* Full-viewport hero only on desktop — phones stay content-sized */
@media (min-width: 1101px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--stage));
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--space-700)) 0 var(--space-700);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy portrait"
    "cta portrait";
  column-gap: var(--space-700);
  row-gap: var(--space-500);
  align-items: center;
}

.hero__copy {
  grid-area: copy;
  max-width: 680px;
  align-self: end;
}

.hero__title {
  margin: 0 0 var(--space-300);
  max-width: 680px;
  color: var(--ink-strong);
}

.hero__sub {
  margin: 0 0 var(--space-200);
  max-width: 34rem;
  color: var(--muted);
}

.hero__format {
  display: inline-block;
  margin: 0;
  padding: var(--space-75) var(--space-200);
  border-radius: var(--radius-pill);
  background: var(--wash);
  color: var(--accent);
}

.hero__cta {
  grid-area: cta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: start;
  gap: var(--space-300);
}

.hero__secondary {
  display: inline-block;
  width: fit-content;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(55, 62, 60, 0.35);
  padding-bottom: 2px;
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
}

.hero__secondary:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero__portrait {
  grid-area: portrait;
  margin: 0;
  justify-self: end;
  align-self: center;
  width: min(100%, 440px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 48px -28px rgba(55, 62, 60, 0.35);
  transform: translateY(12px);
  animation: hero-portrait-in 900ms var(--ease) both;
}

.hero__portrait picture {
  display: block;
  width: 100%;
}

.hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

@keyframes hero-portrait-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Proof strip under hero */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(55, 62, 60, 0.08);
  padding: var(--space-600) 0;
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-400);
}

.proof-strip__item strong {
  display: block;
  margin-bottom: var(--space-75);
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  color: var(--accent);
}

.proof-strip__item span {
  display: block;
  max-width: 16rem;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
}


/* Tagline word reveal */
.tagline-reveal {
  background: var(--paper);
  padding: var(--space-900) 0;
}

.tagline-reveal__text {
  margin: 0;
  max-width: 680px;
  color: var(--ink);
}

.tagline-reveal [data-word] {
  display: inline-block;
  margin-right: 0.28em;
  color: rgba(55, 62, 60, 0.28);
  transition: color 500ms var(--ease);
}

.tagline-reveal [data-word].is-on {
  color: var(--ink);
}

/* —— Shared sections —— */
.section {
  padding: var(--space-800) 0;
}

.section--mint {
  background: var(--mint);
}

.section--purple {
  background: var(--accent);
  color: #fff;
}

.section--dark {
  background: var(--footer);
  color: #fff;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section__head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.section-rule {
  height: 1px;
  width: 100%;
  max-width: 1160px;
  margin: -1.5rem 0 2.5rem;
  background: var(--accent);
  opacity: 0.35;
}

.section h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.section h2 img {
  width: 34px;
  height: 34px;
}

.section__lead {
  margin: 0;
  max-width: 18rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.section--purple .section__lead,
.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.8);
}

/* Benefits — editorial list, not identical purple cards */
.benefits {
  background: var(--white);
}

.benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-700);
  align-items: start;
}

.benefits__intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-200));
}

.benefits__intro .heading-3 {
  margin: 0 0 var(--space-300);
  color: var(--ink-strong);
}

.benefits__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
}

.benefits__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  padding: var(--space-400) 0;
  border-top: 1px solid rgba(150, 96, 220, 0.22);
}

.benefit:last-child {
  border-bottom: 1px solid rgba(150, 96, 220, 0.22);
}

.benefit .title-1 {
  margin: 0 0 var(--space-100);
  color: var(--ink-strong);
}

.benefit .title-1::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: var(--space-100);
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  transform: translateY(-1px);
}

.benefit .body-6 {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  padding-left: calc(8px + var(--space-100));
}

.benefit--accent {
  padding: var(--space-400) var(--space-300);
  margin: 0 calc(var(--space-300) * -1);
  border-radius: var(--radius-lg);
  background: var(--wash);
  border-top-color: transparent;
}

.benefit--accent + .benefit {
  border-top-color: transparent;
}

.benefit--accent .title-1 {
  color: var(--accent);
}

.services {
  background: var(--paper);
}

.services__intro {
  margin-bottom: var(--space-500);
  max-width: 40rem;
}

.services__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.services__lead {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: var(--space-100);
}

/* Services rows */
.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-300);
  min-height: 0;
  padding: var(--space-300) var(--space-400);
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(44, 50, 47, 0.1);
  color: var(--ink);
  transition:
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.service-item:hover {
  background: var(--wash);
  border-color: transparent;
}

.service-item:active {
  transform: scale(0.99);
}

.service-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.service-item__text {
  display: grid;
  gap: var(--space-50);
  min-width: 0;
}

.service-item__title {
  display: block;
  font-weight: 600;
  color: var(--ink-strong);
}

.service-item__hint {
  display: block;
  color: var(--muted);
}

.service-item__price {
  text-align: right;
  white-space: nowrap;
  color: var(--ink);
}

.service-item__price strong {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0.15em;
  color: var(--accent);
}

.service-item .btn--sm {
  width: auto;
  min-width: 120px;
}

/* CTA band — Tilda #rec781871695 */
.cta-band {
  background: var(--accent);
  color: #fff;
  min-height: 0;
  padding: var(--space-800) 0;
  display: flex;
  align-items: center;
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 432px);
  gap: 2.5rem 3rem;
  align-items: center;
  width: min(100% - 2.5rem, 1200px);
  padding-inline: 0;
}

.cta-band__copy {
  position: relative;
  padding-left: 0.25rem;
}

.cta-band__arrow {
  position: absolute;
  left: -70px;
  top: -28px;
  width: 110px;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}

.cta-band h2,
.cta-band .heading-3 {
  margin: 0 0 var(--space-200);
  max-width: 680px;
  color: #fff;
}

.cta-band p,
.cta-band .body-3 {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band__form {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.field-line {
  display: block;
  width: 100%;
}

.field-line input {
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font);
  outline: none;
}

.field-line input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.phone-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.35rem;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid #c9c9c9;
  border-radius: var(--radius-pill);
  background: #fff;
  box-sizing: border-box;
}

.phone-field__prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}

.phone-field__flag {
  font-size: 1.05rem;
  line-height: 1;
}

.phone-field__cc {
  letter-spacing: 0.02em;
}

.phone-field input[data-phone-mask] {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0.7rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  font: inherit;
  color: inherit;
  outline: none;
}

.phone-field--on-dark {
  margin-top: 0;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.phone-field--on-dark .phone-field__prefix {
  color: #fff;
}

.phone-field--on-dark input[data-phone-mask] {
  padding: 0;
  color: #fff;
}

.phone-field--on-dark input[data-phone-mask]::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.form-note--on-dark {
  color: rgba(255, 255, 255, 0.85);
}

.form-note--on-dark.is-ok {
  color: var(--mint);
}

/* About */
.about {
  background: var(--accent);
  color: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-700);
  align-items: center;
}

.about__photo {
  margin: 0;
  width: 100%;
  max-width: 400px;
  justify-self: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  line-height: 0;
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Equal crop top/bottom (and sides if needed) */
  object-position: center;
}

.about__eyebrow {
  margin: 0 0 var(--space-100);
  color: rgba(255, 255, 255, 0.82);
}

.about .heading-3 {
  margin: 0 0 var(--space-300);
  color: #fff;
}

.about__lead {
  margin: 0 0 var(--space-400);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
}

.about__points {
  display: grid;
  gap: var(--space-300);
  margin: 0 0 var(--space-500);
}

.about__points li {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.about__points .title-4 {
  display: block;
  margin-bottom: var(--space-50);
  color: #fff;
}

.about .btn {
  background: #fff;
  color: var(--accent);
}

.about .btn:hover {
  background: var(--ink);
  color: #fff;
}

/* Tariffs */
.tariffs {
  background: var(--white);
}

.tariffs__intro {
  margin-bottom: var(--space-500);
  max-width: 40rem;
}

.tariffs__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.tariffs__lead {
  margin: 0;
  color: var(--muted);
}

.tariff-list {
  display: grid;
  gap: var(--space-200);
}

.tariff {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-200) var(--space-400);
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(44, 50, 47, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-400);
  box-sizing: border-box;
}

.tariff__top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-200);
  flex-wrap: wrap;
}

.tariff .title-1 {
  margin: 0;
  color: var(--ink-strong);
}

.tariff__price {
  margin: 0;
  white-space: nowrap;
  color: var(--ink);
}

.tariff__price strong {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0.15em;
  color: var(--accent);
}

.tariff .body-6 {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
  grid-column: 1 / -1;
}

.tariff .btn--sm {
  grid-column: 1 / -1;
  justify-self: start;
}

/* Prices */
.prices {
  background: var(--paper);
}

.prices__intro {
  margin-bottom: var(--space-500);
  max-width: 40rem;
}

.prices__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.prices__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.prices__points {
  max-width: 40rem;
}

.prices__cta {
  margin: var(--space-500) 0 0;
}

.price-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-500);
  box-sizing: border-box;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  table-layout: fixed;
}

.price-table th,
.price-table td {
  padding: var(--space-300) var(--space-200);
  text-align: left;
  border-bottom: 1px solid rgba(55, 62, 60, 0.1);
  vertical-align: middle;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.price-table thead th {
  font-weight: 600;
  color: var(--ink-strong);
}

.price-table tbody th {
  font-weight: 500;
  color: var(--ink);
}

.price-table th:not(:first-child),
.price-table td:not(:first-child) {
  text-align: center;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

/* Steps */
.steps-section {
  background: var(--white);
}

.steps-section__intro {
  margin-bottom: var(--space-600);
  max-width: 40rem;
}

.steps-section__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.steps-section__lead {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-400);
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  display: grid;
  gap: var(--space-200);
  align-content: start;
  padding: var(--space-400);
  border-radius: var(--radius-xl);
  background: var(--mint);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.step .title-1 {
  margin: 0;
  color: var(--ink-strong);
}

.step .body-6 {
  margin: 0;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-700);
  align-items: start;
}

.faq-section__intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-200));
}

.faq-section__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.faq-section__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 0;
}

.faq__item {
  background: transparent;
  border: 0;
  border-top: 1px solid #eee;
  border-radius: 0;
  padding: 0;
}

.faq__item:last-child {
  border-bottom: 1px solid #eee;
}

.faq__item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: var(--space-400) var(--space-600) var(--space-400) 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--ink-strong);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 500ms var(--ease);
}

.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(-45deg);
}

.faq__item .body-6,
.faq__item p {
  margin: 0;
  padding: 0 0 var(--space-400);
  max-width: 36rem;
  color: var(--muted);
}

/* Scope — what is included */
.scope {
  background: var(--paper);
}

.scope__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-700);
  align-items: start;
}

.scope__intro {
  position: sticky;
  top: calc(var(--header-h) + var(--space-200));
}

.scope__intro .heading-3 {
  margin: 0 0 var(--space-200);
}

.scope__lead {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
}

.scope__list {
  display: grid;
  gap: var(--space-200);
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope__item {
  padding: var(--space-400);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(44, 50, 47, 0.08);
}

.scope__item .title-1 {
  margin: 0 0 var(--space-100);
  color: var(--ink-strong);
}

.scope__item .body-6 {
  margin: 0;
  color: var(--muted);
}

/* Contacts */
.contacts {
  background: var(--footer);
  color: #fff;
}

.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: var(--space-700);
  align-items: stretch;
}

.contacts__simple {
  max-width: 36rem;
}

.contacts__wa {
  margin: var(--space-300) 0 0;
}

.contacts__wa a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 300ms var(--ease);
}

.contacts__wa a:hover {
  border-bottom-color: #fff;
}

.contacts .heading-3 {
  margin: 0 0 var(--space-200);
  color: #fff;
}

.contacts__lead {
  margin: 0 0 var(--space-400);
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.82);
}

.contacts__phone {
  display: block;
  margin-bottom: var(--space-100);
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  color: #fff;
}

.contacts__mail {
  display: block;
  margin-bottom: var(--space-300);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 300ms var(--ease);
}

.contacts__mail:hover {
  color: #fff;
}

.check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check--on-dark {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
}

.check--on-dark a {
  color: #fff;
}

.site-footer__copy a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__copy a:hover {
  color: #fff;
}

.legal {
  padding-top: calc(var(--header-h) + var(--space-700));
  background: var(--paper);
}

.legal__inner {
  max-width: 40rem;
}

.legal__eyebrow {
  margin: 0 0 var(--space-100);
  color: var(--muted);
}

.legal .heading-3 {
  margin: 0 0 var(--space-300);
}

.legal__lead {
  margin: 0 0 var(--space-500);
  color: var(--muted);
}

.legal .title-1 {
  margin: var(--space-500) 0 var(--space-200);
}

.legal .body-6 {
  margin: 0 0 var(--space-200);
  color: var(--ink);
}

.legal__note {
  margin-top: var(--space-500);
  color: var(--muted);
}

.legal__back {
  margin-top: var(--space-600);
}

.contacts__addr {
  margin: 0 0 var(--space-400);
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.78);
}

.contacts__socials .social {
  color: #fff;
}

.contacts__socials .social:hover {
  color: var(--mint-deep);
}

.contacts__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  padding: var(--space-600);
}

.contacts__map--note p {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  background: #2c3331;
  color: #f4f7f6;
  padding: var(--space-700) 0 0;
}

.site-footer a:hover {
  color: var(--accent-soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 1.15fr;
  gap: var(--space-400);
  padding-bottom: var(--space-600);
}

.site-footer__reqs {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .title-4 {
  margin: 0 0 var(--space-200);
  color: #fff;
}

.site-footer__grid ul {
  display: grid;
  gap: var(--space-75);
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-300) 0 var(--space-400);
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 120ms;
}

.reveal--delay-2 {
  transition-delay: 220ms;
}

.reveal--delay-3 {
  transition-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__portrait {
    animation: none;
    transform: none;
  }

  .tagline-reveal [data-word] {
    color: var(--ink);
    transition: none;
  }

  .mobile-nav.is-open nav a,
  .mobile-nav.is-open nav .btn {
    animation: none;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__dialog {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(12%) scale(0.92);
  transition:
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal__lead {
  color: var(--muted);
  margin: 0.4rem 0 1rem;
}

.modal label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.modal input[type="text"] {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid #c9c9c9;
  border-radius: var(--radius-pill);
}

.modal .phone-field {
  margin-top: 0.35rem;
}

.check {
  display: flex !important;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500 !important;
  color: var(--muted);
  font-size: 0.85rem !important;
}

.check input {
  margin-top: 0.2rem;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note.is-ok {
  color: #1b7a4a;
}

.form-note.is-err {
  color: #b42318;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 1.25rem 0.5rem 0.5rem;
  text-align: center;
}

.form-success[hidden] {
  display: none !important;
}

.form-success__check {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #1b7a4a;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.form-success__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.form-success__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-success--on-dark .form-success__check {
  background: var(--mint, #7dcea0);
  color: #163028;
}

.form-success--on-dark .form-success__title,
.form-success--on-dark .form-success__text {
  color: #fff;
}

.cta-band__fields {
  display: grid;
  gap: 20px;
  justify-items: start;
  width: 100%;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .site-header__bar {
    width: min(100% - 1.5rem, 1120px);
    justify-content: space-between;
    gap: var(--space-100);
  }

  .header-actions {
    margin-left: auto;
  }

  .detail-trio {
    grid-template-columns: 1fr 1fr;
  }

  .heading-1,
  .hero__title {
    font-size: 48px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "portrait"
      "cta";
    gap: var(--space-400);
    padding-top: calc(var(--header-h) + var(--space-500));
    padding-bottom: var(--space-600);
    align-items: start;
  }

  .hero__copy {
    align-self: start;
  }

  /* Circle uses dedicated square avatar when present; falls back to full portrait */
  .hero__portrait {
    justify-self: center;
    align-self: start;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 12px 28px -16px rgba(55, 62, 60, 0.4);
  }

  .hero__portrait picture {
    height: 100%;
  }

  .hero__portrait img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    /* Avatar crop already frames the face */
    object-position: center center;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: var(--space-500);
  }

  .benefits__intro {
    position: static;
  }

  .scope__grid {
    grid-template-columns: 1fr;
    gap: var(--space-500);
  }

  .scope__intro {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .faq-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-500);
  }

  .faq-section__intro {
    position: static;
  }
}

@media (max-width: 980px) {
  .cta-band {
    min-height: 0;
    padding: 48px 0;
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-band__arrow {
    display: none;
  }

  .cta-band h2 {
    font-size: 32px;
  }

  .contacts__phone {
    font-size: 30px;
    line-height: 36px;
  }

  .hero__inner {
    width: min(100% - 2rem, var(--stage));
    padding: calc(var(--header-h) + var(--space-500)) 0 var(--space-600);
  }

  .heading-1,
  .hero__title {
    font-size: 36px;
    line-height: 40px;
  }

  .heading-3 {
    font-size: 30px;
    line-height: 36px;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--space-300);
  }

  .about__grid,
  .contacts__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .tariff {
    grid-template-columns: 1fr;
  }

  .tariff .btn--sm {
    justify-self: start;
  }

  .price-table-wrap {
    padding: 20px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 20px 24px;
  }

  .service-item__price {
    text-align: left;
  }

  .service-item .btn--sm {
    width: 100%;
    max-width: 250px;
  }

  .btn--dark {
    width: 100%;
    max-width: 250px;
  }

  .section__lead {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .heading-1,
  .hero__title {
    font-size: 30px;
    line-height: 36px;
  }

  .hero__title br {
    display: none;
  }

  .hero__portrait {
    width: 120px;
    height: 120px;
  }

  /* H1 already states the format — pill is noise on small screens */
  .hero__format {
    display: none;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-200);
  }

  .hero__cta .btn--hero {
    width: 100%;
  }

  .hero__secondary {
    align-self: center;
  }

  .tagline-reveal {
    padding: var(--space-700) 0;
  }

  .about__photo {
    max-width: 200px;
    margin-inline: auto;
  }
}
