:root {
  --ink: #14212a;
  --muted: #5e6a70;
  --line: #d9e2e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --blue: #148bd1;
  --green: #4ebf3f;
  --orange: #ef7d16;
  --red: #e23b17;
  --shadow: 0 22px 70px rgba(20, 33, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 248, 0.92);
  border-bottom: 1px solid rgba(217, 226, 226, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
}

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

.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-cta {
  padding: 9px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 52px clamp(18px, 4vw, 56px) 42px;
  background:
    radial-gradient(circle at 80% 20%, rgba(78, 191, 63, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eff7f5 48%, #f8fbf9 100%);
}

.hero-inner,
.section,
.cta-band,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.22;
}

.lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.tertiary {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(20, 33, 42, 0.18);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-contact a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.hero-panel,
.qualification-box,
.price-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
  padding: 0;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-panel > div,
.hero-panel ul {
  padding-right: 24px;
}

.hero-panel > div {
  padding-left: 24px;
  padding-top: 22px;
}

.hero-panel ul {
  padding-left: 44px;
  padding-bottom: 24px;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  margin-top: 4px;
  color: var(--muted);
}

ul {
  padding-left: 20px;
}

.hero-panel ul,
.price-grid ul,
.qualification-box ul {
  margin: 18px 0 0;
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 0px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  padding: 28px;
  border-top: 4px solid var(--green);
  background: var(--white);
  border-radius: 8px;
}

.feature-grid article:nth-child(2) {
  border-color: var(--blue);
}

.feature-grid article:nth-child(3) {
  border-color: var(--orange);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.feature-grid p,
.service-list p,
.about p,
.price-grid p,
.cta-band p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.service-list {
  display: grid;
  gap: 16px;
}

.services-heading {
  max-width: 560px;
  font-size: clamp(2rem, 3.4vw, 3.85rem);
}

.inline-photo {
  margin: 30px 0 0;
}

.inline-photo img {
  width: 100%;
  max-height: 520px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 28%;
  filter: contrast(1.02);
}

.inline-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-list article {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 26px;
  background: var(--white);
  border-radius: 8px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 850;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.qualification-box {
  padding: 28px;
}

.about-card {
  display: grid;
  gap: 16px;
}

.about-card > img {
  width: 100%;
  max-height: 260px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.prices {
  padding-top: 36px;
}

.price-grid article {
  position: relative;
  padding: 28px;
}

.price-grid .highlight {
  border-color: rgba(20, 139, 209, 0.55);
}

.badge {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 4px 10px;
  color: var(--white) !important;
  background: var(--green);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.price {
  margin: 12px 0 4px;
  color: var(--ink) !important;
  font-size: 1.75rem;
  font-weight: 900;
}

.list-label {
  margin: 18px 0 8px;
  color: var(--ink) !important;
  font-weight: 850;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

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

.calculator-copy h2 {
  max-width: 540px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.08;
  overflow-wrap: normal;
  hyphens: none;
}

.measure-guide {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.measure-guide h3 {
  margin-bottom: 6px;
}

.measure-guide p {
  margin: 0;
  font-size: 0.96rem;
}

.measure-figure {
  position: relative;
  width: 104px;
  height: 168px;
  justify-self: center;
}

.figure-head,
.figure-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.figure-head {
  top: 0;
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.figure-body {
  top: 42px;
  width: 62px;
  height: 116px;
  border: 3px solid var(--ink);
  border-radius: 34px 34px 28px 28px;
  background: linear-gradient(180deg, #f8fbf9, #e8f4f0);
}

.measure-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  display: block;
  padding-top: 8px;
  border-top: 3px solid var(--orange);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}

.waist-line {
  top: 82px;
}

.hip-line {
  top: 121px;
  border-color: var(--blue);
}

.calculator {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field-grid fieldset {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-grid legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 850;
}

.field-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.field-grid input,
.field-grid select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font: inherit;
}

.calculator form .button {
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.result-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  background: #eef7f3;
  border: 1px solid rgba(78, 191, 63, 0.28);
}

.result-card strong,
.result-card span {
  display: block;
}

.result-card strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.result-section + .result-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(78, 191, 63, 0.28);
}

.result-card span {
  margin-top: 8px;
  color: var(--muted);
}

.result-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.timeline-row {
  display: grid;
  gap: 8px;
}

.timeline-row em {
  font-style: normal;
}

.timeline-row strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.timeline-row span {
  margin-top: 0;
  font-size: 0.92rem;
}

.timeline-bar {
  height: 12px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.timeline-explainer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.calculator-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
  padding: clamp(38px, 6vw, 58px);
  color: var(--white);
  background: linear-gradient(135deg, #14212a 0%, #1a5b7f 100%);
  border-radius: 8px;
}

.cta-band .eyebrow,
.cta-band p,
.cta-band address {
  color: rgba(255, 255, 255, 0.78);
}

.contact-note {
  width: 100%;
  margin: 4px 0 0;
}

.cta-band .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

address {
  width: 100%;
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 0px) 42px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.legal-page {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
  margin-bottom: 28px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-inner,
  .split,
  .calculator-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .price-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
  }

  .hero-panel img {
    height: 100%;
    min-height: 160px;
    aspect-ratio: auto;
  }

  .hero-panel > div {
    padding: 18px 18px 8px;
  }

  .hero-panel ul {
    grid-column: 1 / -1;
    padding: 0 18px 18px 138px;
    margin-top: 8px;
  }

  .measure-guide {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .site-header nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  .lead {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 76px 1fr;
  }

  .hero-panel img {
    min-height: 108px;
  }

  .hero-panel > div {
    padding: 12px 14px;
  }

  .hero-panel strong {
    font-size: 0.96rem;
  }

  .hero-panel span {
    font-size: 0.92rem;
  }

  .hero-panel ul {
    display: none;
  }

  .field-grid,
  .timeline-row {
    grid-template-columns: 1fr;
  }

  .measure-guide {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }

  .calculator,
  .field-grid fieldset,
  .result-card {
    padding: 18px;
  }
}
