:root {
  --milk: #f7f3ec;
  --white: #fffcf7;
  --paper: #efe8dc;
  --graphite: #242424;
  --muted: #67625b;
  --line: #e3d9ca;
  --burgundy: #0f6b57;
  --green: #06483d;
  --brown: #7a5137;
  --gold: #b89b5e;
  --shadow: 0 20px 60px rgba(36, 36, 36, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  scroll-margin-top: 86px;
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 10px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(255, 252, 247, 0.86);
  border-bottom: 1px solid rgba(227, 217, 202, 0.8);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo-header {
  height: 52px;
}

.brand-logo-footer {
  width: 178px;
  height: auto;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--graphite);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 18px;
}

.logo-text {
  font-size: 18px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.mobile-nav-contact {
  display: none;
}

.main-nav a:hover,
.quick-link:hover,
.practice-card a:hover,
.blog-card a:hover {
  color: var(--burgundy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phones {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 2px;
}

.quick-link {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.quick-link span {
  color: var(--graphite);
}

.social-link {
  padding-left: 2px;
}

.header-actions .btn {
  min-height: 46px;
  width: 188px;
  padding: 0 18px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--burgundy);
}

.btn-primary:hover {
  background: var(--brown);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(330px, 1fr) auto;
    gap: 16px;
  }

  .main-nav {
    gap: 14px;
  }

  .social-link {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 1080px) {
  .header-phones {
    display: none;
  }
}

.btn-secondary {
  color: var(--burgundy);
  border-color: rgba(122, 38, 52, 0.35);
  background: rgba(255, 252, 247, 0.72);
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--brown);
  background: var(--brown);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: auto;
  padding-top: 76px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(122, 38, 52, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(122, 38, 52, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span,
.category-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 252, 247, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.portrait-card {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--white), #efe5d6);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.city-lines {
  position: absolute;
  inset: 24px 16px auto;
  width: calc(100% - 32px);
  height: 65%;
  fill: none;
  stroke: rgba(15, 107, 87, 0.18);
  stroke-width: 2;
}

.team-slides {
  position: relative;
  z-index: 1;
}

.team-slide {
  display: none;
  gap: 18px;
}

.team-slide.is-active {
  display: grid;
  animation: carouselFade 260ms ease;
}

.team-slide[hidden] {
  display: none;
}

.portrait-placeholder {
  position: absolute;
  right: 34px;
  bottom: 118px;
  left: 34px;
  height: 360px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 26%, rgba(184, 155, 94, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(22, 61, 53, 0.08), rgba(122, 38, 52, 0.1));
}

.hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(320px, 36vw, 520px);
  border-radius: 8px;
  object-fit: cover;
  object-position: 54% 38%;
  box-shadow: 0 18px 40px rgba(36, 36, 36, 0.12);
}

.hero-photo-mykola {
  object-position: 50% 34%;
}

.portrait-shape {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 230px;
  height: 310px;
  transform: translateX(-50%);
  border-radius: 120px 120px 8px 8px;
  background:
    radial-gradient(circle at 50% 52px, #d9c5ae 0 44px, transparent 45px),
    linear-gradient(180deg, transparent 90px, var(--green) 91px);
}

.founder-note {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 252, 247, 0.72);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(14px);
}

.founder-note span,
.blog-card span,
.card-number,
.steps span {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
}

.founder-note strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 25px;
}

.founder-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.carousel-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.carousel-controls button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--graphite);
  background: rgba(255, 252, 247, 0.74);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.carousel-controls button:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.carousel-controls button.is-active {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

@keyframes carouselFade {
  from {
    transform: translateY(6px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.intro-band,
.consultation {
  background: var(--green);
  color: var(--white);
}

.intro-band p,
.consultation p {
  color: rgba(255, 252, 247, 0.78);
}

.intro-band .section-kicker,
.consultation .eyebrow {
  color: var(--gold);
}

.intro-band .split {
  align-items: center;
}

.intro-band .section-kicker {
  max-width: 320px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: none;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.intro-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 252, 247, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 252, 247, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.why {
  background:
    linear-gradient(90deg, rgba(122, 38, 52, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(22, 61, 53, 0.05) 1px, transparent 1px),
    var(--white);
  background-size: 96px 96px;
  color: var(--graphite);
}

.why .eyebrow {
  color: var(--burgundy);
}

.why .section-head p:not(.eyebrow) {
  max-width: 840px;
  color: #3f3b36;
  font-size: 19px;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 60px;
}

.split p:last-child {
  max-width: 790px;
  margin-bottom: 0;
  font-size: 18px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.narrow {
  max-width: 680px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.practice-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-groups {
  display: grid;
  gap: 18px;
}

.service-group-head {
  max-width: 820px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--burgundy);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.72);
}

.service-group-head-spaced {
  margin-top: 34px;
}

.service-group-head h3 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.practice-card,
.blog-card,
.format-grid article {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.practice-card p {
  color: var(--muted);
}

.practice-card::before,
.blog-card::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.practice-card:hover,
.blog-card:hover,
.format-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 155, 94, 0.72);
  background: #fffaf1;
}

.practice-card:hover::before,
.blog-card:hover::before {
  transform: scaleX(1);
}

.practice-card p,
.blog-card p,
.format-grid p,
.steps p {
  color: var(--muted);
}

.practice-card a,
.blog-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 800;
}

.situations {
  background: #fff9f0;
}

.check-grid,
.benefit-grid,
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.check-grid p,
.benefit-grid div {
  position: relative;
  min-height: 92px;
  margin: 0;
  padding: 22px 22px 22px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.8);
}

.check-grid p::before,
.benefit-grid div::before {
  position: absolute;
  top: 25px;
  left: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burgundy);
  content: "";
}

.center-action {
  margin-top: 28px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 56px;
}

.process-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.process-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.steps h3,
.steps p {
  grid-column: 2;
}

.steps span {
  grid-row: span 2;
}

.benefit-grid div {
  border-color: rgba(22, 61, 53, 0.14);
  background: #f8f3ea;
  color: var(--graphite);
  font-weight: 700;
}

.benefit-grid div::before {
  background: var(--gold);
}

.about-grid,
.consultation-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}

.photo-placeholder {
  display: grid;
  min-height: 520px;
  place-items: end start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(36, 36, 36, 0) 45%, rgba(36, 36, 36, 0.65)),
    radial-gradient(circle at 55% 26%, rgba(184, 155, 94, 0.2), transparent 22%),
    linear-gradient(140deg, #d8cabb, #efe8dc 45%, #173d35);
  box-shadow: var(--shadow);
}

.founder-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 34%;
}

.founder-photo::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(180deg, rgba(36, 36, 36, 0), rgba(36, 36, 36, 0.62));
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
  margin: 0 0 28px 28px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 252, 247, 0.4);
  border-radius: 999px;
  background: rgba(36, 36, 36, 0.32);
}

.about-copy p {
  color: var(--muted);
  font-size: 18px;
}

.status-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.status-list span,
.status-list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.status-list a {
  color: var(--burgundy);
  font-weight: 800;
}

.formats {
  background: #fff9f0;
}

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

.format-grid article {
  min-height: 230px;
}

.pricing {
  background: var(--white);
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(36, 36, 36, 0.05);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(320px, 1.7fr) minmax(150px, 0.65fr);
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row-head {
  min-height: 48px;
  padding-block: 14px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-row strong {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.25;
}

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

.price-row span:last-child {
  justify-self: end;
  color: var(--burgundy);
  font-weight: 900;
  white-space: nowrap;
}

.price-row-head span,
.price-row-head span:last-child {
  color: rgba(255, 252, 247, 0.94);
}

.price-note {
  max-width: 820px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.faq {
  background: #fff9f0;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
}

.faq-note {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-note strong {
  color: var(--graphite);
}

.faq-note span {
  display: block;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-weight: 700;
}

details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--burgundy);
  content: "+";
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 720px;
  margin: -8px 0 24px;
  color: var(--muted);
}

.privacy-note {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 252, 247, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.08);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 252, 247, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.1);
}

.honey-field {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 252, 247, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 252, 247, 0.22);
  border-radius: 8px;
  padding: 14px;
  color: var(--white);
  background: rgba(36, 36, 36, 0.18);
  outline: none;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 252, 247, 0.58);
}

.lead-form select option {
  color: var(--graphite);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(255, 252, 247, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 252, 247, 0.1);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.file-field small {
  color: rgba(255, 252, 247, 0.68);
  font-weight: 500;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.consent input {
  width: 18px;
  height: 18px;
}

.site-footer {
  padding: 64px 0 96px;
  background: var(--graphite);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.05fr 1.05fr 0.9fr;
  gap: 34px;
}

.footer-grid p {
  max-width: 410px;
  color: rgba(255, 252, 247, 0.68);
}

.footer-grid h3 {
  color: var(--gold);
  font-size: 15px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 252, 247, 0.72);
}

.footer-grid strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--white);
  font-size: 14px;
}

.footer-grid strong:first-of-type {
  margin-top: 0;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 252, 247, 0.12);
  color: rgba(255, 252, 247, 0.54);
  font-size: 14px;
}

.article-page {
  background: var(--milk);
}

.article-hero {
  padding: 96px 0 52px;
  overflow-x: hidden;
}

.article-hero h1 {
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 64px;
  align-items: start;
}

.article-content {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow-wrap: break-word;
}

.article-content h2 {
  margin-top: 32px;
  font-size: clamp(28px, 3vw, 38px);
}

.article-content p,
.article-content li {
  color: #4b4740;
  font-size: 18px;
}

.article-aside {
  position: sticky;
  top: 100px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9f0;
  overflow-wrap: break-word;
}

.article-aside a {
  display: block;
  margin-top: 12px;
  color: var(--burgundy);
  font-weight: 800;
}

.service-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(18px);
}

.service-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.service-topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.service-topbar nav a:hover {
  color: var(--burgundy);
}

.service-topbar .btn {
  min-height: 42px;
  padding: 0 16px;
}

.service-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1160px, calc(100% - 40px));
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 22px auto -52px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-breadcrumb a {
  color: var(--burgundy);
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(15, 107, 87, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 87, 0.045) 1px, transparent 1px),
    var(--milk);
  background-size: 96px 96px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 64px;
  align-items: center;
}

.service-hero-card,
.service-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-hero-card {
  padding: 28px;
}

.service-hero-card strong,
.service-aside strong {
  display: block;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
}

.service-hero-card p,
.service-aside p {
  color: var(--muted);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.service-main h2 {
  margin-top: 44px;
}

.service-main h2:first-of-type {
  margin-top: 0;
}

.service-seo-intent,
.service-prices,
.service-docs,
.service-faq,
.service-related {
  margin-bottom: 42px;
}

.service-seo-intent {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9f0;
}

.service-seo-intent p:not(.eyebrow) {
  color: var(--muted);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-cloud span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.service-list,
.service-situations,
.mini-steps {
  display: grid;
  gap: 14px;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-item,
.service-situations p,
.mini-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-item {
  padding: 22px;
}

.service-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.3;
}

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

.service-price-grid,
.doc-checklist,
.service-faq-list,
.service-related-grid {
  display: grid;
  gap: 14px;
}

.service-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-price-grid article,
.doc-checklist p,
.service-faq-list article,
.service-related-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-price-grid article {
  padding: 22px;
}

.service-price-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--burgundy);
  font-weight: 900;
}

.service-price-grid h3,
.service-faq-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-price-grid p,
.service-faq-list p {
  margin: 0;
  color: var(--muted);
}

.service-situations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-situations p {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

.service-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 44px 0;
  padding: 30px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.service-cta-band span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-cta-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
}

.service-cta-band p {
  margin: 0;
  color: rgba(255, 252, 247, 0.8);
}

.service-cta-band .btn {
  color: var(--green);
  border-color: var(--white);
  background: var(--white);
}

.service-cta-band .btn:hover {
  color: var(--white);
  border-color: var(--brown);
  background: var(--brown);
}

.doc-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-checklist p {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 40px;
  color: var(--muted);
  font-weight: 700;
}

.doc-checklist p::before {
  position: absolute;
  top: 24px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--burgundy);
  content: "";
}

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

.mini-steps article {
  padding: 20px;
}

.mini-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--burgundy);
  font-size: 13px;
  font-weight: 900;
}

.mini-steps h3 {
  font-size: 18px;
}

.mini-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-aside {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.service-aside .btn {
  width: 100%;
  margin-top: 14px;
}

.service-aside a:not(.btn) {
  display: block;
  margin-top: 12px;
  color: var(--burgundy);
  font-weight: 800;
}

.service-faq-list {
  grid-template-columns: 1fr;
}

.service-faq-list article {
  padding: 22px;
}

.service-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-related-grid a {
  display: grid;
  gap: 8px;
  padding: 20px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-related-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 87, 0.34);
  background: #fff9f0;
}

.service-related-grid strong {
  color: var(--graphite);
  font-size: 18px;
}

.service-related-grid span {
  color: var(--muted);
  font-size: 14px;
}

.service-lead-section {
  background: var(--green);
  color: var(--white);
}

.service-lead-section p {
  color: rgba(255, 252, 247, 0.78);
}

.service-lead-section .eyebrow {
  color: var(--gold);
}

.service-mini-form {
  align-self: start;
}

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

.messenger-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  width: min(320px, calc(100% - 32px));
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.messenger-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.messenger-panel button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.messenger-panel p {
  margin-bottom: 4px;
  color: var(--muted);
}

.messenger-panel a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.mobile-cta {
  display: none;
}

.reveal {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    top: 79px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 14px;
  }

  .main-nav.is-open .mobile-nav-contact {
    display: block;
    color: var(--burgundy);
    font-weight: 800;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split,
  .process-layout,
  .about-grid,
  .consultation-grid,
  .faq-grid,
  .service-hero-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-cta-band {
    grid-template-columns: 1fr;
  }

  .service-cta-band .btn {
    width: 100%;
  }

  .service-topbar nav {
    display: none;
  }

  .service-aside,
  .article-aside {
    position: static;
  }

  .faq-intro {
    position: static;
  }

  .intro-band .section-kicker {
    max-width: 680px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .portrait-card {
    min-height: 0;
  }

  .practice-grid,
  .check-grid,
  .benefit-grid,
  .blog-grid,
  .format-grid,
  .service-list,
  .service-situations,
  .mini-steps,
  .service-hub-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 68px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 16px;
  }

  .brand-logo-header {
    height: 42px;
  }

  .brand-logo-footer {
    width: 158px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn,
  .lead-form .btn {
    min-height: 56px;
    padding: 0 16px;
    border-radius: 8px;
    text-align: center;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .trust-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .portrait-card {
    min-height: 0;
    padding: 18px;
  }

  .portrait-placeholder {
    right: 18px;
    bottom: 128px;
    left: 18px;
    height: 286px;
  }

  .hero-photo {
    height: 320px;
  }

  .portrait-shape {
    width: 185px;
    height: 250px;
  }

  .founder-note {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .carousel-controls button {
    min-height: 44px;
  }

  .intro-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faq-note {
    padding: 18px;
  }

  .practice-grid,
  .check-grid,
  .benefit-grid,
  .blog-grid,
  .format-grid,
  .service-list,
  .service-situations,
  .mini-steps,
  .service-hub-grid,
  .service-price-grid,
  .doc-checklist,
  .service-related-grid,
  .footer-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .service-breadcrumb {
    width: min(100% - 28px, 1160px);
    margin: 16px auto -36px;
  }

  .service-seo-intent,
  .service-cta-band {
    padding: 22px;
  }

  .service-topbar-inner {
    min-height: 74px;
  }

  .service-topbar .btn {
    display: none;
  }

  .service-group-head {
    padding: 20px;
  }

  .service-hero-grid {
    gap: 28px;
  }

  .service-layout {
    gap: 28px;
  }

  .service-main h2 {
    margin-top: 36px;
  }

  .price-row,
  .price-row-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .price-row-head {
    display: none;
  }

  .price-row {
    align-items: start;
  }

  .price-row span:last-child {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: var(--burgundy);
    font-size: 14px;
  }

  .practice-card,
  .blog-card,
  .format-grid article {
    min-height: auto;
    padding: 22px;
  }

  .steps article {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .photo-placeholder {
    min-height: 420px;
  }

  .lead-form .full {
    grid-column: auto;
  }

  .site-footer {
    padding-bottom: 110px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-content {
    padding: 22px;
  }

  .article-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .article-aside {
    position: static;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -16px 40px rgba(36, 36, 36, 0.08);
  }

  .mobile-cta a,
  .mobile-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--graphite);
    background: var(--milk);
    appearance: none;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
  }

  .mobile-cta a:last-child {
    color: var(--white);
    border-color: var(--burgundy);
    background: var(--burgundy);
  }
}
