/* Manrope is served locally to keep typography stable and avoid third-party font requests. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #193433;
  --muted: #566764;
  --paper: #f7f5f1;
  --white: #fffdfa;
  --galiotis: #d4cec6;
  --coventry: #bdc0bc;
  --brand: #356d67;
  --brand-dark: #27524e;
  --line: rgba(25, 52, 51, 0.15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); border-radius: 8px; background: var(--brand-dark); color: #fff; padding: 11px 15px; font-size: 13px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1400px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50% 50% 48% 52%;
  background: var(--brand-dark);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
}
.brand strong, .brand small { display: block; }
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav { display: flex; gap: 28px; color: #425856; font-size: 14px; }
.desktop-nav a, .phone-link { transition: color 180ms ease; }
.desktop-nav a:hover, .phone-link:hover { color: var(--brand); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.phone-link { font-size: 14px; font-weight: 700; white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { background: #193d39; transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 20px; font-size: 13px; }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--galiotis); }

.hero {
  width: min(1400px, calc(100% - 64px));
  min-height: 690px;
  margin: 0 auto;
  padding: 56px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
}
.hero-copy { padding-left: clamp(0px, 2vw, 34px); }
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.76);
  color: var(--muted);
  font-size: 12px;
}
.rating-pill strong { color: var(--ink); }
.rating-stars { color: #a7793f; letter-spacing: -0.08em; }
.eyebrow {
  margin: 40px 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  max-width: 690px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.4vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
h1 em { color: var(--brand); font-weight: 400; }
.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-address {
  max-width: 590px;
  margin-top: 42px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
}
.address-dot {
  width: 10px;
  height: 10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
.hero-address strong, .hero-address span { display: block; }
.hero-address strong { font-size: 14px; }
.hero-address div span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.hero-address > a { color: var(--brand-dark); font-size: 13px; font-weight: 700; }

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 220px 16px 220px 16px;
  background: var(--galiotis);
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  display: block;
  object-fit: cover;
  object-position: 58% center;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 43, 42, 0.22));
  pointer-events: none;
}
.hero-note {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 28px;
  width: min(330px, calc(100% - 56px));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(12px);
}
.hero-note p { margin: 0; font-size: 13px; line-height: 1.4; }
.note-number { color: var(--brand); font-family: Georgia, serif; font-size: 28px; }
.hero-label {
  position: absolute;
  z-index: 1;
  top: 28px;
  right: 28px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(25, 52, 51, 0.78);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.trust-row {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.trust-row article { min-height: 110px; padding: 26px 30px; display: flex; align-items: center; gap: 18px; }
.trust-row article + article { border-left: 1px solid var(--line); }
.trust-row article > span { color: var(--brand); font-family: Georgia, serif; font-size: 28px; }
.trust-row strong { display: block; font-size: 15px; }
.trust-row p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

::selection { background: var(--galiotis); color: var(--ink); }
:focus-visible { outline: 3px solid #9b6b32; outline-offset: 4px; }

.section {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 24px;
}

.section-heading {
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 56px;
}

.section-heading .eyebrow,
.about-copy .eyebrow,
.reviews-summary .eyebrow,
.faq-intro .eyebrow,
.contact-card .eyebrow,
.appointment-aside .eyebrow {
  margin-top: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 { margin: 0; }

.section-heading > p,
.faq-intro > p:last-child,
.appointment-aside > p,
.reviews-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.services-section { padding-top: 100px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 330px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover { transform: translateY(-4px); background: #fff; }
.service-topline { display: flex; justify-content: space-between; align-items: center; }
.service-topline span { color: var(--brand); font-family: Georgia, serif; font-size: 30px; }
.service-topline small {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ece9e3;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card h3 {
  max-width: 470px;
  margin-top: 52px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 2.3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}
.service-card p { max-width: 480px; margin: 16px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.service-card > a { min-height: 44px; margin-top: auto; display: inline-flex; align-items: center; color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.section-footnote { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.about-section {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  border-radius: 24px;
  background: var(--galiotis);
}

.about-visual { position: relative; min-height: 650px; overflow: hidden; border-radius: 190px 14px 14px 14px; }
.about-visual img { width: 100%; height: 100%; min-height: 650px; display: block; object-fit: cover; }
.about-visual span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(25, 52, 51, 0.8);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-copy { padding-right: clamp(16px, 4vw, 66px); }
.about-intro { margin: 28px 0 44px; color: #50615f; font-size: 18px; line-height: 1.6; }
.principles-list { border-top: 1px solid rgba(25, 52, 51, 0.22); }
.principles-list article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(25, 52, 51, 0.22);
}
.principles-list article > span { color: var(--brand); font-family: Georgia, serif; font-size: 24px; }
.principles-list h3 { font-size: 17px; }
.principles-list p { margin: 7px 0 0; color: #405653; font-size: 14px; line-height: 1.5; }

.process-heading { align-items: center; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; justify-self: end; color: var(--brand-dark); font-size: 14px; font-weight: 800; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-grid article { position: relative; min-height: 275px; padding: 28px; }
.steps-grid article + article { border-left: 1px solid var(--line); }
.steps-grid article > span { color: var(--brand); font-family: Georgia, serif; font-size: 34px; }
.steps-grid h3 { margin-top: 58px; font-size: 18px; }
.steps-grid p { margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.reviews-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(52px, 8vw, 124px);
  align-items: start;
}
.score-line { margin: 18px 0 32px; display: flex; align-items: center; gap: 20px; }
.score-line > strong { font-family: Georgia, serif; font-size: 72px; font-weight: 400; line-height: 1; }
.score-line div > span { color: #a7793f; letter-spacing: 0.08em; }
.score-line p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.reviews-summary h2 { font-size: clamp(40px, 4vw, 62px); }
.reviews-summary > p { margin-top: 24px; }
.reviews-summary .button { margin-top: 28px; }
.review-cards { display: grid; gap: 14px; }
.review-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.quote-mark { color: var(--brand); font-family: Georgia, serif; font-size: 48px; line-height: 0.6; }
.review-card blockquote { margin: 18px 0 30px; font-family: Georgia, serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.28; }
.review-card footer { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.review-card footer strong, .review-card footer span { display: block; }
.review-card footer strong { font-size: 13px; }
.review-card footer span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.review-card footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand); font-size: 12px; font-weight: 800; }

.clinic-section { padding-top: 80px; }
.clinic-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}
.clinic-gallery figure { position: relative; min-height: 460px; margin: 0; overflow: hidden; border-radius: 16px; background: var(--coventry); }
.clinic-gallery img { width: 100%; height: 100%; min-height: 460px; display: block; object-fit: cover; }
.clinic-gallery figure:nth-child(2) img { object-position: 45% center; }
.clinic-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(247, 245, 241, 0.9);
  color: var(--ink);
  font-size: 12px;
  backdrop-filter: blur(10px);
}
.photo-credit { margin: 14px 0 0; color: var(--muted); font-size: 11px; }

.appointment-shell {
  width: min(1400px, calc(100% - 64px));
  margin: 30px auto 0;
  padding: clamp(36px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  border-radius: 24px;
  background: var(--brand-dark);
  color: var(--white);
  scroll-margin-top: 24px;
}
.appointment-aside { padding-top: 10px; }
.appointment-aside .eyebrow { color: #c5d6d1; }
.appointment-aside h2 { max-width: 520px; }
.appointment-aside > p { margin-top: 28px; color: #c5d0cd; }
.appointment-aside > a { display: inline-block; margin-top: 34px; color: #fff; font-size: 18px; font-weight: 800; }
.appointment { padding: 34px; border-radius: 18px; background: var(--paper); color: var(--ink); }
.appointment-eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.appointment-title { font-size: clamp(32px, 3.4vw, 48px); }
.appointment-description { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.appointment-form { position: relative; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.appointment-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.appointment-field { display: grid; gap: 8px; }
.appointment-label { font-size: 12px; font-weight: 800; }
.appointment-input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(25, 52, 51, 0.25);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.appointment-input:focus { border-color: var(--brand); outline: 2px solid rgba(53, 109, 103, 0.2); }
.appointment-input[aria-invalid="true"] { border-color: #9b4036; }
.appointment-hint { color: var(--muted); font-size: 12px; }
.appointment-field-error { color: #7c332a; font-size: 12px; font-weight: 700; line-height: 1.4; }
.appointment-consent { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.appointment-checkbox { width: 17px; height: 17px; accent-color: var(--brand-dark); }
.appointment-consent-label { color: var(--muted); font-size: 13px; line-height: 1.5; }
.appointment-consent-label a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.appointment-field-error--consent { grid-column: 2; }
.appointment-submit {
  grid-column: 1 / -1;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.appointment-submit:disabled { cursor: wait; opacity: 0.7; }
.appointment-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.appointment-status--success { background: #e1eee9; color: #1e5146; }
.appointment-status--error { background: #f3dfdb; color: #7c332a; }
.appointment-status-link { font-weight: 800; text-decoration: underline; }

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: start;
}
.faq-intro { position: sticky; top: 30px; }
.faq-intro > p:last-child { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-family: Georgia, serif; font-size: 30px; font-style: normal; font-weight: 400; transition: transform 180ms ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { max-width: 720px; margin: -4px 54px 28px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.contacts-section {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.contact-card { padding: clamp(40px, 6vw, 82px); }
.contact-card h2 { font-size: clamp(38px, 4vw, 60px); }
.contact-card dl { margin: 38px 0; border-top: 1px solid var(--line); }
.contact-card dl > div { padding: 17px 0; display: grid; grid-template-columns: 100px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-card dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card dd { margin: 0; font-size: 14px; line-height: 1.5; }
.contact-card dd a { font-weight: 800; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-wrap { min-height: 640px; background: var(--coventry); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 640px; border: 0; filter: saturate(0.55) contrast(0.95); }

.site-footer {
  width: min(1400px, calc(100% - 64px));
  margin: 90px auto 0;
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 32px; }
.footer-top > p { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.footer-top > a { justify-self: end; font-size: 16px; font-weight: 800; }
.footer-bottom { margin-top: 34px; padding-top: 22px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) auto auto; align-items: start; column-gap: 28px; row-gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer-bottom > span, .footer-bottom details { min-width: 0; }
.footer-bottom details { text-align: right; }
.footer-bottom summary { cursor: pointer; }
.footer-bottom details p { max-width: 360px; margin: 10px 0 0 auto; }
.footer-bottom details a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.matrix-credit-row { display: flex; justify-content: flex-end; align-self: start; }
.matrix-credit {
  --matrix-credit-accent: #245cff;
  --matrix-credit-angle: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  padding: 8px 14px 8px 9px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,242,238,.94)) padding-box,
    conic-gradient(from var(--matrix-credit-angle), rgba(36,92,255,.12), rgba(36,92,255,.72), rgba(25,52,51,.34), rgba(36,92,255,.12)) border-box;
  box-shadow: 0 9px 26px rgba(36,92,255,.1), inset 0 1px 0 rgba(255,255,255,.78);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transform: translateZ(0);
  transition: color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: matrixCreditSpin 8s linear infinite, matrixCreditBreath 5s ease-in-out infinite;
}
.matrix-credit::before {
  content: "";
  position: absolute;
  inset: -45% -75%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.7) 49%, transparent 62%);
  transform: translateX(-58%) rotate(8deg);
  animation: matrixCreditShine 5.8s ease-in-out infinite;
}
.matrix-credit__mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  filter: drop-shadow(0 5px 10px rgba(36,92,255,.22));
  transition: transform 180ms ease;
  animation: matrixCreditMark 4s ease-in-out infinite;
}
.matrix-credit__text { position: relative; z-index: 1; }
.matrix-credit strong { color: var(--matrix-credit-accent); font-weight: 850; letter-spacing: -.02em; }
.matrix-credit:hover {
  color: var(--brand-dark);
  box-shadow: 0 13px 32px rgba(36,92,255,.17), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-1px);
}
.matrix-credit:hover .matrix-credit__mark { transform: rotate(-5deg) scale(1.05); }
.matrix-credit:focus-visible { outline: 3px solid var(--matrix-credit-accent); outline-offset: 3px; }
.mobile-cta { display: none; }

@property --matrix-credit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes matrixCreditSpin { to { --matrix-credit-angle: 360deg; } }
@keyframes matrixCreditShine {
  0%, 60% { opacity: 0; transform: translateX(-58%) rotate(8deg); }
  70% { opacity: .72; }
  84%, 100% { opacity: 0; transform: translateX(58%) rotate(8deg); }
}
@keyframes matrixCreditBreath {
  0%, 100% { box-shadow: 0 9px 26px rgba(36,92,255,.1), inset 0 1px 0 rgba(255,255,255,.78); }
  50% { box-shadow: 0 11px 30px rgba(36,92,255,.16), inset 0 1px 0 rgba(255,255,255,.9); }
}
@keyframes matrixCreditMark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.legal-page { min-height: 100vh; }
.legal-header { width: min(100% - 64px, 1120px); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.legal-document { width: min(100% - 64px, 860px); margin: 0 auto; padding: 86px 0 120px; }
.legal-document > h1 { max-width: 820px; }
.legal-lead { margin: 28px 0 64px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.legal-document section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-document section h2 { font-family: Manrope, Arial, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.legal-document section p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-document section a { color: var(--brand-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 40px 0 0; padding: 22px; border-radius: 14px; background: var(--galiotis); color: var(--ink); font-size: 14px; line-height: 1.6; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .phone-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 800px; padding-left: 0; }
  .hero-visual, .hero-visual > img { min-height: 520px; }
  .about-section { grid-template-columns: 1fr; }
  .about-copy { padding: 28px 34px 42px; }
  .about-visual, .about-visual img { min-height: 520px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .steps-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .reviews-section { grid-template-columns: 1fr; }
  .reviews-summary { max-width: 700px; }
  .clinic-gallery { grid-template-columns: repeat(2, 1fr); }
  .clinic-gallery .gallery-wide { grid-column: 1 / -1; }
  .appointment-shell { grid-template-columns: 1fr; }
  .appointment-aside { max-width: 720px; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-intro { position: static; max-width: 700px; }
  .contacts-section { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 480px; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; }
  .footer-bottom > span:nth-child(1),
  .footer-bottom > span:nth-child(2),
  .footer-bottom > span:nth-child(3),
  .footer-bottom details { grid-column: 1; text-align: left; }
  .matrix-credit-row { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .footer-bottom details p { margin-left: 0; }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .desktop-nav { display: flex; gap: clamp(12px, 2vw, 24px); }
  .desktop-nav a { font-size: 12px; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .site-header, .hero, .trust-row, .section, .appointment-shell, .site-footer { width: min(100% - 32px, 1400px); }
  .site-header { min-height: 76px; }
  .brand small { display: none; }
  .button-small { min-height: 40px; padding-inline: 16px; }
  .hero { min-height: auto; padding-top: 36px; }
  .rating-pill { align-items: flex-start; flex-wrap: wrap; }
  .eyebrow { margin-top: 30px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-actions { display: grid; }
  .hero-address { grid-template-columns: auto 1fr; }
  .hero-address > a { grid-column: 2; }
  .hero-visual, .hero-visual > img { min-height: 430px; }
  .hero-visual { border-radius: 120px 12px 120px 12px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row article + article { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 30px; grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { font-size: 14px; }
  h2 { font-size: clamp(38px, 12vw, 50px); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; padding: 26px; }
  .service-card h3 { margin-top: 38px; }
  .about-section { padding: 16px; }
  .about-visual, .about-visual img { min-height: 430px; }
  .about-visual { border-radius: 110px 10px 10px 10px; }
  .about-copy { padding: 22px 6px 30px; }
  .about-intro { font-size: 16px; }
  .process-heading .text-link { justify-self: start; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 220px; }
  .steps-grid article + article,
  .steps-grid article:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .reviews-section { gap: 42px; }
  .review-card { padding: 24px 22px; }
  .review-card footer { align-items: start; }
  .clinic-gallery { grid-template-columns: 1fr; }
  .clinic-gallery .gallery-wide { grid-column: auto; }
  .clinic-gallery figure, .clinic-gallery img { min-height: 380px; }
  .appointment-shell { margin-top: 0; padding: 34px 18px; gap: 34px; border-radius: 18px; }
  .appointment { padding: 24px 18px; }
  .appointment-form { grid-template-columns: 1fr; }
  .appointment-consent, .appointment-submit, .appointment-status { grid-column: 1; }
  .faq-list summary { min-height: 80px; font-size: 15px; }
  .faq-list details > p { margin-right: 0; font-size: 14px; }
  .contacts-section { width: min(100% - 32px, 1400px); }
  .contact-card { padding: 38px 22px; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 7px; }
  .contact-actions { display: grid; }
  .map-wrap, .map-wrap iframe { min-height: 400px; }
  .site-footer { margin-top: 70px; padding-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > p { text-align: left; }
  .footer-top > a { justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom > span:nth-child(1),
  .footer-bottom > span:nth-child(2),
  .footer-bottom > span:nth-child(3),
  .footer-bottom details { grid-column: auto; }
  .matrix-credit-row { grid-column: auto; grid-row: auto; justify-content: flex-start; padding-top: 4px; }
  .mobile-cta {
    position: fixed;
    z-index: 20;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: rgba(25, 52, 51, 0.94);
    box-shadow: 0 14px 40px rgba(25,52,51,.26);
    color: #fff;
    backdrop-filter: blur(14px);
  }
  .mobile-cta a { min-height: 50px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
  .mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.24); }
  .legal-header, .legal-document { width: min(100% - 32px, 860px); }
  .legal-header { min-height: 76px; }
  .legal-header .button { min-height: 40px; padding-inline: 14px; font-size: 11px; }
  .legal-document { padding: 56px 0 80px; }
  .legal-document > h1 { font-size: clamp(42px, 13vw, 58px); }
  .legal-lead { margin-bottom: 44px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .matrix-credit,
  .matrix-credit::before,
  .matrix-credit__mark { animation: none; }
}
