:root {
  --ink: #111314;
  --ink-soft: #252827;
  --paper: #f7f5f0;
  --white: #ffffff;
  --yellow: #ffd353;
  --yellow-dark: #e7b92f;
  --teal: #1f6d67;
  --line: #d8d4cb;
  --muted: #676a67;
  --danger: #a13b32;
  --max: 1240px;
  --radius: 14px;
  --shadow: 0 20px 70px rgba(17, 19, 20, 0.13);
  --font-display: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.has-mobile-dock {
  padding-bottom: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--compact {
  padding: 80px 0;
}

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

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.section__head p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.section--dark .section__head p {
  color: #c3c6c3;
}

.kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.07;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.75rem, 6.2vw, 5.7rem);
}

body[data-page="urgent"] .hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.25rem);
}

body[data-page="implantation"] .hero h1 {
  font-size: clamp(2.55rem, 4.2vw, 4rem);
}

body[data-page="reu"] .hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #434744;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(17, 19, 20, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.brand__text small {
  color: #bfc2bf;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

.site-nav a {
  color: #e3e5e3;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

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

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

.header-phone {
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 22px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.button--secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button--secondary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button--dark-secondary {
  color: var(--white);
  background: transparent;
  border-color: #5a5e5b;
}

.button--dark-secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  background: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  min-height: 710px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 92px 62px 80px max(20px, calc((100vw - var(--max)) / 2));
  flex-direction: column;
  justify-content: center;
}

.hero__copy::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -100px;
  width: 180px;
  height: 100%;
  background: var(--white);
  content: "";
  transform: skewX(-7deg);
  transform-origin: top;
}

.hero__media {
  min-height: 710px;
  background: #e9e5dd;
}

.hero__media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  gap: 14px 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.88rem;
}

.availability {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.availability::before {
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.availability[data-state="closed"]::before {
  background: var(--muted);
}

.fact-rail {
  color: var(--white);
  background: var(--ink);
}

.fact-rail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  padding: 34px 38px;
  border-right: 1px solid #3b3f3c;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.fact span {
  color: #cdd0cd;
  font-size: 0.9rem;
}

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

.concern {
  display: flex;
  min-height: 280px;
  padding: 30px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.concern__number {
  margin-bottom: auto;
  color: var(--yellow-dark);
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
}

.concern h3 {
  margin: 30px 0 12px;
}

.concern p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

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

.step {
  position: relative;
  padding: 32px 36px 0 0;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 49px;
  right: 24px;
  width: 40px;
  height: 1px;
  background: var(--line);
  content: "";
}

.step__number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 13px;
  font-size: 1.2rem;
}

.step p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.media-split__image img {
  height: 100%;
  object-fit: cover;
}

.media-split__copy {
  display: flex;
  padding: clamp(52px, 8vw, 112px);
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
}

.media-split__copy .kicker {
  color: var(--yellow);
}

.media-split__copy p {
  margin: 26px 0 0;
  color: #c7cac7;
}

.plain-list {
  display: grid;
  padding: 0;
  gap: 0;
  margin: 34px 0 0;
  list-style: none;
  border-top: 1px solid #3c403d;
}

.plain-list li {
  padding: 16px 0;
  border-bottom: 1px solid #3c403d;
  font-size: 0.95rem;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.diagnostic-item {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
}

.diagnostic-item:last-child {
  border-right: 0;
}

.diagnostic-item strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.diagnostic-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.credit-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 850px;
  padding: 22px 0;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.credit-note__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
}

.credit-note p {
  margin: 0;
}

.form-section {
  padding: 100px 0;
  color: var(--white);
  background: var(--ink);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.2fr);
  gap: 80px;
}

.form-copy p {
  margin: 28px 0;
  color: #c5c8c5;
}

.form-contact {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.form-contact a {
  width: fit-content;
  color: var(--yellow);
  font-weight: 750;
  text-decoration: none;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.amo-crm-form {
  min-height: 500px;
  overflow: hidden;
  background: var(--white);
  border-radius: 12px;
}

.amo-crm-form iframe {
  display: block;
  width: 100% !important;
  min-height: 500px;
  border: 0;
}

.amo-crm-form[data-form-state="fallback"] {
  display: grid;
  min-height: 220px;
  padding: 34px;
  place-items: center;
}

.amo-crm-form__fallback {
  max-width: 430px;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.amo-crm-form__fallback a {
  color: var(--blue);
  font-weight: 780;
}

.amo-crm-form noscript p {
  margin: 0;
  padding: 28px;
  color: var(--ink);
}

.amo-crm-form noscript a {
  color: var(--blue);
  font-weight: 750;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #d9dcd9;
  font-size: 0.8rem;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--white);
  background: var(--ink-soft);
  border: 1px solid #545956;
  border-radius: 9px;
}

.field input::placeholder {
  color: #a4a8a5;
}

.field input:focus,
.field select:focus {
  border-color: var(--yellow);
}

.field select {
  appearance: auto;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #bfc3bf;
  font-size: 0.79rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--yellow);
}

.consent a {
  color: var(--white);
}

.lead-form .button {
  grid-column: 1 / -1;
  width: 100%;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 28px;
  margin: 0;
  color: #c7cac7;
  font-size: 0.87rem;
}

.form-status[data-status="success"],
.form-status[data-status="preview"] {
  color: #8cd0c9;
}

.form-status[data-status="error"] {
  color: #ffaaa1;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--teal);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 820px;
  padding: 0 0 26px;
  margin: 0;
  color: var(--muted);
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(440px, 1.3fr);
  gap: 70px;
  align-items: stretch;
}

.location__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location__details h2 {
  margin-bottom: 34px;
}

.location__row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.location__row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.location__row small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location__row a {
  font-weight: 720;
  text-decoration: none;
}

.map-card {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: 40px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink-soft);
  border: 1px solid #3c403d;
  border-radius: var(--radius);
  text-decoration: none;
}

.map-card::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  border: 8px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: var(--shadow);
  content: "";
  transform: translate(-50%, -70%) rotate(-45deg);
}

.map-card__label {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 18px 22px;
  gap: 4px;
  background: var(--ink);
}

.map-card__label strong {
  color: var(--yellow);
}

.site-footer {
  padding: 62px 0 0;
  color: #d8dbd8;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-title {
  display: block;
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 750;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: #b8bcb8;
  font-size: 0.84rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.medical-warning {
  padding: 22px 0;
  color: #dbdedb;
  border-top: 1px solid #3d413e;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  width: min(450px, calc(100% - 40px));
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid #4a4e4b;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 16px;
  color: #c7cac7;
  font-size: 0.82rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.78rem;
}

.mobile-dock {
  display: none;
}

.privacy-page {
  min-height: 65vh;
  padding: 100px 0;
  background: var(--white);
}

.privacy-page article {
  max-width: 860px;
}

.privacy-page h1 {
  margin-bottom: 36px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.privacy-page h2 {
  margin: 48px 0 18px;
  font-size: 1.8rem;
}

.privacy-page p,
.privacy-page li {
  color: #4f5350;
}

.legal-note {
  padding: 18px 20px;
  margin: 28px 0;
  background: #efede7;
  border-left: 4px solid var(--yellow);
}

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

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero__copy {
    padding-right: 30px;
  }

  .form-layout {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  body.has-mobile-dock {
    padding-bottom: 72px;
  }

  .section,
  .section--compact {
    padding: 76px 0;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 38px;
  }

  .header-phone,
  .header-actions .button {
    display: none;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .hero,
  .hero__grid {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding: 64px 20px 54px;
  }

  .hero__copy::after {
    display: none;
  }

  .hero__media {
    min-height: 390px;
  }

  .hero__media img {
    max-height: 520px;
  }

  .fact-rail__grid,
  .concerns-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #3b3f3c;
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .concern {
    min-height: 220px;
  }

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

  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step__number {
    grid-row: 1 / 3;
    margin: 0;
  }

  .step h3 {
    align-self: end;
  }

  .step p {
    margin-top: 6px;
  }

  .media-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .media-split__image {
    min-height: 420px;
  }

  .diagnostic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .diagnostic-item:nth-child(2) {
    border-right: 0;
  }

  .diagnostic-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .form-layout,
  .location {
    grid-template-columns: 1fr;
  }

  .form-layout {
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mobile-dock {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    gap: 8px;
    background: var(--ink);
    border-top: 1px solid #3d413e;
  }

  .mobile-dock .button {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .cookie-banner {
    right: 12px;
    bottom: 82px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    font-size: clamp(2.55rem, 13.2vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__media {
    min-height: 320px;
  }

  .media-split__image {
    min-height: 330px;
  }

  .media-split__copy {
    padding: 58px 22px;
  }

  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-item,
  .diagnostic-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnostic-item:last-child {
    border-bottom: 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .field,
  .field--full,
  .consent,
  .lead-form .button,
  .form-status {
    grid-column: 1;
  }

  .map-card {
    min-height: 340px;
    padding: 22px;
  }

  .cookie-banner__actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
