/* Local Golos Text — SIL Open Font License: assets/fonts/OFL.txt */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/golos-text-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/golos-text-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/golos-text-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/golos-text-700.ttf') format('truetype');
}

/* Design tokens */
:root {
  --white: #FCFCFB;
  --section: #FAFAF9;
  --surface: #F5F5F3;
  --accent: #0B2B20;
  --text: #0B2B20;
  --muted: #2D5C49;
  --line: #0B2B2026;
  --radius: 26px;
  --gutter: clamp(18px, 5.75vw, 96px);
  --content: 1450px;
  --heading-size: clamp(36px, 3.2vw, 48px);
  --heading-gap: 40px;
  --card-gap: 24px;
  --section-space: 80px;
  --panel-space: 40px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.65 'Golos Text', Arial, sans-serif; }
body.gallery-open { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--surface); color: var(--text); }

/* Layout: one container width, independent of panel padding. */
.container, .nav-inner, .hero-top-grid, .hero-benefits {
  width: calc(100% - var(--gutter) - var(--gutter));
  max-width: var(--content);
  margin-inline: auto;
  min-width: 0;
}
main>section { padding-block: var(--section-space); }
.promise, .services, .results, .reviews { background: var(--section); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; margin-bottom: 40px; }
.section-head>*, .hero-top-grid>*, .contact-grid>* { min-width: 0; }
.title, .contact-card h2, .services-title, .reviews-head h2 { font-size: var(--heading-size); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
h3 { font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
h4 { font-size: 20px; line-height: 1.4; font-weight: 500; }
.kicker, .eyebrow { display: block; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px; background: #F5F5F3; border-radius: 24px; }
.kicker:before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 56ch; }

/* Actions */
.btn, .header-book, .team-copy .team-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 100%; min-height: 60px; padding: 16px 24px;
  border: 1px solid transparent; border-radius: 28px;
  background: var(--accent); color: var(--white); font-size: 16px; font-weight: 500;
  line-height: 1.4; text-decoration: none;
}
.btn>span, .header-book>span>span, .team-copy .team-link>span { flex-shrink: 0; font-size: 23px; }
.btn:hover, .header-book:hover, .team-copy .team-link:hover { filter: brightness(.96); }
.btn-ghost, .hero-service-link { background: transparent; border: 1px solid var(--line); color: var(--text); }
.hero-service-link { display: inline-flex; align-items: center; gap: 20px; padding: 15px 24px; min-height: 56px; border-radius: 28px; font-size: 16px; text-decoration: none; }
.team-link, .all-reviews { display: inline-block; color: var(--text); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.circle-arrow, .service-tab-arrow, .service-reassurance { display: none; }

/* Header */
.scroll-progress { position: fixed; z-index: 110; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); }
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: 78px; background: #FCFCFBF5; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-inner { max-width: 1450px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; }
.brand-text b { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.brand-text>span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-phone { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 28px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--accent); }
.header-book { min-width: 190px; background: var(--accent); color: var(--white); }
.menu-btn { display: none; border: 0; background: none; padding: 10px; color: var(--text); }

/* Hero: proportions and surfaces from the supplied reference. */
.reference-hero { --content: 1450px; margin-top: 78px; padding: 60px 0; background: radial-gradient(ellipse at 70% 50%, #FAFAF966, transparent 70%); }
.hero-top-grid { display: grid; grid-template-columns: minmax(0,1.01fr) minmax(0,1fr) minmax(0,.745fr); gap: 28px; align-items: stretch; }
.hero-content { container-type: inline-size; padding: 28px 0 8px; }
.reference-hero .eyebrow { display: flex; width: fit-content; align-items: center; gap: 9px; padding: 8px 14px; margin: 0; background: #F5F5F3; border-radius: 24px; font-size: 12px; line-height: 20px; }
.reference-hero .eyebrow:before { content: ''; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(60px, 6.3vw, 96px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; margin: 24px 0; }
.hero-content h1 { font-size: min(85px, 17cqi); padding-right: 12px; }
h1 span { color: var(--accent); }
.hero-copy { font-size: 18px; line-height: 1.5; color: var(--muted); }
.hero-actions { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-top: 30px; }
.hero-actions>a { min-width: 0; font-size: 14px; padding: 16px 24px; gap: 20px; white-space: nowrap; }
.hero-actions .btn-primary { min-height: 60px; background: var(--accent); color: var(--white); }
.hero-actions .hero-service-link { min-height: 60px; }
.hero-visual { position: relative; width: 100%; min-width: 0; min-height: 520px; border-radius: 100px 26px 26px 100px; overflow: hidden; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-stats { display: grid; grid-template-rows: 1fr 1fr; min-width: 0; gap: 28px; }
.experience-card, .rating-card { position: relative; padding: 36px 34px; border-radius: var(--radius); }
.experience-card { background: linear-gradient(120deg, #F5F5F3, #F5F5F3); }
.experience-label { color: var(--muted); font-size: 17px; }
.experience-card strong { display: block; font-size: 50px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; margin: 14px 0 14px; }
.experience-card p { font-size: 18px; line-height: 1.45; color: var(--muted); }
.rating-card { display: block; background: var(--white); text-decoration: none; padding-top: 24px; padding-bottom: 80px; box-shadow: 0 12px 32px #0B2B2008; }
.rating-number { display: flex; align-items: center; gap: 18px; font-size: 50px; line-height: 1.2; letter-spacing: -.04em; }
.rating-number>span { font-size: 19px; letter-spacing: 1px; color: #F3DDBA; }
.rating-card h2 { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.gis-logo { position: absolute; left: 34px; bottom: 48px; display: flex; align-items: center; gap: 8px; font-size: 24px; }
.gis-logo svg { width: 30px; height: 30px; }
.hero-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.benefit-card { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: start; gap: 22px; min-height: 148px; padding: 20px 24px; background: linear-gradient(120deg, #FAFAF9, #F5F5F3); border-radius: var(--radius); text-decoration: none; }
.benefit-card h2 { font-size: 20px; line-height: 1.3; font-weight: 500; margin: 10px 0 10px; letter-spacing: -.025em; text-wrap: pretty; }
.benefit-card h2 br { display: none; }
.benefit-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.benefit-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--white); color: var(--accent); }
.benefit-icon svg { width: 34px; height: 34px; }
.rating-card>.circle-arrow { position: absolute; right: 22px; bottom: 44px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #F5F5F3; color: var(--accent); font-size: 24px; }

/* Doctor */
.promise .section-head { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; margin-bottom: 40px; }
.promise .section-head .lead { max-width: 44ch; justify-self: end; }
.promise .kicker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px; background: #F5F5F3; border-radius: 24px; }
.promise .section-head .kicker:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.team-card { position: relative; display: grid; grid-template-columns: 52% 48%; min-height: 580px; background: linear-gradient(120deg, #F5F5F3, #F5F5F3); border-radius: var(--radius); overflow: hidden; }
.team-card>img { position: absolute; inset: 0 auto 0 0; width: 52%; height: 100%; object-fit: cover; object-position: 48% top; }
.team-copy { grid-column: 2; padding: 36px clamp(32px, 3.4vw, 56px); align-self: center; min-width: 0; }
.team-copy .kicker { margin-bottom: 22px; background: #FCFCFBB3; font-size: 14px; }
.team-copy h3 { font-size: clamp(30px, 2.35vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; text-wrap: initial; margin-bottom: 18px; }
.team-copy p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.team-copy .team-specialty { color: var(--accent); font-size: 17px; margin-bottom: 28px; }
.team-credential { border-top: 1px solid var(--line); padding-top: 14px; margin: 28px 0 18px; }
.credential-badge { display: flex; align-items: center; gap: 20px; font-size: 17px; }
.credential-badge strong { font-weight: 400; }
.credential-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; background: #F3DDBA; border-radius: 50%; }
.credential-icon svg { width: 32px; height: 32px; color: var(--accent); }
.team-copy .team-link { min-height: 60px; background: var(--accent); color: var(--white); padding-inline: 28px; gap: 28px; font-size: 17px; font-weight: 400; }

/* Doctor and invitation offer */
.doctor-offer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; }
.doctor-offer-grid .team-card { grid-template-columns: 44% 56%; min-height: 500px; }
.doctor-offer-grid .team-card>img { width: 44%; }
.doctor-offer-grid .team-copy { padding: 28px; }
.doctor-offer-grid .team-copy .kicker { margin-bottom: 16px; }
.doctor-offer-grid .team-copy h3 { font-size: clamp(27px, 2vw, 34px); overflow-wrap: anywhere; }
.doctor-offer-grid .team-specialty { margin-bottom: 18px; font-size: 15px; }
.doctor-offer-grid .team-copy>p:not(.team-specialty) { font-size: 16px; }
.doctor-offer-grid .team-credential { margin-top: 20px; }
.doctor-offer-grid .credential-badge { gap: 12px; font-size: 15px; }
.doctor-offer-grid .credential-icon { width: 44px; height: 44px; }
.doctor-offer-grid .team-link { width: 100%; padding-inline: 20px; font-size: 15px; gap: 12px; }
.doctor-promotion { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); scroll-margin-top: 104px; }
.doctor-promotion .kicker { margin-bottom: 20px; background: var(--white); }
.doctor-promotion h3 { font-size: 28px; font-weight: 400; letter-spacing: -.035em; }
.offer-discount { color: var(--accent); font-size: clamp(76px, 6vw, 100px); line-height: 1.15; letter-spacing: -.06em; margin-top: 16px; }
.offer-discount span { font-size: .55em; }
.offer-service { font-size: 20px; line-height: 1.35; }
.offer-description { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 18px 0 24px; }
.doctor-promotion .btn { width: 100%; margin-top: auto; }
.doctor-promotion .promotion-terms { margin-top: 16px; }
@media (min-width: 801px) and (max-width: 1100px) {
  .doctor-offer-grid { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 18px; }
  .doctor-offer-grid .team-card { grid-template-columns: 36% 64%; }
  .doctor-offer-grid .team-card>img { width: 36%; }
  .doctor-offer-grid .team-copy { padding: 24px 20px; }
  .doctor-promotion { padding: 24px; }
}
@media (max-width: 800px) {
  .doctor-offer-grid { grid-template-columns: 1fr; }
  .doctor-offer-grid .team-card { grid-template-columns: 1fr; min-height: 0; }
  .doctor-offer-grid .team-card>img { width: 100%; }
  .doctor-promotion { padding: 28px; }
}

/* First visit */
.approach {
  --text: #FCFCFB;
  --muted: #D5E1DA;
  --accent: #F3DDBA;
  --line: #FCFCFB33;
  --surface: #163D30;
  background: #0B2B20;
  color: var(--text);
}
.approach .kicker { background: var(--surface); color: var(--muted); }
.approach .care-book { background: #F3DDBA; color: #0B2B20; }
.approach .care-photo-zoom { color: #0B2B20; }
.care-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.care-room { order: 2; min-width: 0; margin: 0; }
.photo-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); overflow: hidden; cursor: zoom-in; }
.care-room-photo img { width: 100%; height: min(68vh, 620px); object-fit: cover; }
.care-photo-zoom { position: absolute; top: 16px; right: 16px; background: var(--white); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.care-room figcaption, .result-card figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.visit-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.visit-steps li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.visit-steps li > span { color: var(--accent); font-size: 14px; font-weight: 600; line-height: 1.6; }
.visit-steps h3 { font-size: 18px; margin-bottom: 4px; }
.visit-steps p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.care-audience { margin: 8px 0 28px; padding: 20px 24px; background: var(--surface); border-radius: 18px; color: var(--text); font-size: 15px; line-height: 1.6; }
.care-book { display: inline-flex; }

/* Services */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: var(--heading-gap); }
.services-title { margin-top: 0; }
.services-head .lead { margin-top: 20px; }
.services-perks { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.services-perks li { display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 1.5; color: var(--text); }
.services-perks li>span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); }
.services-perks svg, .services-cta-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.service-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.service-card.is-featured { background: var(--text); border-color: var(--text); color: var(--white); }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.service-card-icon { width: 104px; height: 104px; border-radius: 50%; background: var(--surface); overflow: hidden; }
.service-card-icon:before { content: ''; display: block; width: 104px; height: 104px; background: url('assets/service-icons-reference.png') no-repeat; background-size: 520px auto; background-position: calc(var(--icon) * -104px) center; }
.is-featured .service-card-icon { background: #FCFCFB1F; }
.service-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 14px; }
.service-card>p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.is-featured>p, .is-featured .service-prices dt, .is-featured .service-prices dd { color: var(--white); }
.service-prices { margin: 22px 0 0; border-top: 1px solid var(--line); }
.is-featured .service-prices, .is-featured .service-prices>div { border-color: #FCFCFB33; }
.service-prices>div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.service-prices>div:last-child { border-bottom: 0; }
.service-prices dd { margin: 0; white-space: nowrap; font-weight: 500; }
.service-card-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.services-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 24px; padding: 28px 36px; background: var(--surface); border-radius: var(--radius); }
.services-cta-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--white); }
.services-cta-icon svg { width: 30px; height: 30px; }
.services-cta h3 { font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.services-cta p { color: var(--muted); font-size: 15px; }
.services-cta-actions { display: flex; gap: 12px; }

/* Offer panels: container controls width, panel controls inner spacing. */
.promotion-inner, .consultation-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding: var(--panel-space); background: var(--surface); border-radius: var(--radius); }
.promotion-copy>p, .consultation-copy>.lead { margin-top: 24px; }
.promotion-terms { margin-top: 20px; }
.promotion-terms summary { width: fit-content; list-style: none; cursor: pointer; border-bottom: 1px dashed var(--accent); font-size: 16px; }
.promotion-terms summary::-webkit-details-marker { display: none; }
.promotion-terms p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.promotion-discount { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-height: 290px; padding: 40px; background: var(--white); border-radius: 24px; }
.promotion-discount>span { color: var(--muted); font-size: 13px; }
.promotion-discount strong { font-size: 100px; font-weight: 400; line-height: 1.1; letter-spacing: -.06em; margin: 16px 0; }
.promotion-discount strong span { font-size: .5em; }
.promotion-discount p { color: var(--muted); font-size: 18px; }
.promotion-people { position: absolute; top: 30px; right: 30px; width: 64px; height: 64px; display: grid; place-items: center; color: var(--text); }
.promotion-people svg { width: 48px; height: 48px; }
/* A calm invitation to the first appointment. */
.consultation .consultation-inner { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(36px, 4.5vw, 76px); padding: clamp(40px, 4vw, 64px) clamp(36px, 5vw, 100px); background: #F5F5F3; border-radius: 24px; }
.consultation-inner:before, .consultation-inner:after { content: ''; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.consultation-inner:before { width: 780px; height: 780px; left: 55%; top: -170px; background: linear-gradient(125deg, #FCFCFB66, #FCFCFB00 65%); }
.consultation-inner:after { width: 420px; height: 420px; left: -225px; bottom: -300px; background: #F5F5F3; }
.consultation-copy .kicker { margin-bottom: 20px; }
.consultation-copy .title { font-size: var(--heading-size); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
.consultation-copy > .lead { margin-top: 28px; font-size: clamp(16px, 1.17vw, 20px); line-height: 1.55; }
.consultation-actions { min-width: 0; }
.consultation-actions > .btn { width: 100%; min-height: 72px; border-radius: 999px; justify-content: space-between; padding: 20px 30px; background: var(--accent); color: #FCFCFB; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.35; }
.consultation-actions > .btn > span { font-size: 32px; font-weight: 400; }
.consultation-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 32px -12px 0; }
.consultation-benefits li { position: relative; padding: 0 12px; text-align: center; font-size: 14px; line-height: 1.5; }
.consultation-benefits li + li:before { content: ''; position: absolute; left: 0; top: 10px; bottom: 6px; width: 1px; background: #FCFCFB; }
.consultation-benefits i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #FCFCFBE6; color: var(--accent); }
.consultation-benefits svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media(max-width:1100px) {
  .consultation .consultation-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; padding: 40px 32px; }
  .consultation-copy .offer-break { display: none; }
  .consultation-benefits li { font-size: 12px; padding-inline: 8px; }
}
@media(max-width:800px) {
  .consultation .consultation-inner { grid-template-columns: 1fr; padding: 36px 32px; gap: 30px; }
  .consultation-copy > .lead { margin-top: 20px; }
  .consultation-actions > .btn { min-height: 62px; font-size: 16px; }
  .consultation-benefits { margin-top: 24px; }
  .consultation-benefits li { font-size: 14px; }
}
@media(max-width:540px) {
  .consultation .consultation-inner { padding: 30px 22px; border-radius: 22px; }
  .consultation-copy .kicker { margin-bottom: 18px; font-size: 12px; }
  .consultation-actions > .btn { padding: 16px 20px; font-size: 14px; gap: 10px; }
  .consultation-benefits { margin-inline: -12px; }
  .consultation-benefits li { padding-inline: 6px; font-size: 11px; }
  .consultation-benefits i { width: 50px; height: 50px; margin-bottom: 10px; }
  .consultation-benefits svg { width: 25px; height: 25px; }
}
/* Photo and review carousels */
.results-controls, .review-controls { display: flex; gap: 12px; }

.results-controls button, .round-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--text); }
button:disabled { opacity: .35; cursor: default; }
.results-viewport, .review-viewport { overflow: hidden; min-width: 0; }
.results-grid, .review-track { display: flex; gap: 24px; transition: transform .3s ease; }
/* Clinic work gallery — photo-led cards from the supplied reference. */
.results { position: relative; isolation: isolate; overflow: hidden; background: var(--section); color: var(--text); padding-block: var(--section-space); }
.results .section-head { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) auto; gap: 34px; align-items: end; margin-bottom: var(--heading-gap); }
.results .kicker { margin-bottom: 20px; }
.results .title { white-space: normal; }
.results .lead { padding-bottom: 2px; }
.results-controls { gap: 18px; padding-bottom: 2px; }
.results-controls button { width: 48px; height: 48px; font-size: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.results-controls button:disabled { background: #FCFCFB; color: var(--muted); cursor: default; }
.result-card { display: flex; flex-direction: column; flex: 0 0 calc((100% - 48px) / 3); min-width: 0; padding: 15px; border-radius: 26px; background: #FCFCFB; }
.result-photo { aspect-ratio: 1.35; border-radius: 18px; background: #F5F5F3; }
.result-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.result-label { position: absolute; left: 16px; border-radius: 24px; padding: 3px 20px; color: #FCFCFB; font-size: 14px; line-height: 1.5; font-weight: 500; }
.result-label-before { top: 16px; background: #785449de; }
.result-label-after { bottom: 16px; background: var(--accent); }
.result-card figcaption { display: flex; flex: 1; flex-direction: column; gap: 0; margin: 0; padding: 14px 12px 10px; font-size: 15px; }
.result-number { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.result-card h3 { color: var(--text); font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; margin-bottom: 8px; }
.result-card figcaption p { color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.result-open { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 22px; border: 1px solid var(--accent); border-radius: 30px; color: var(--accent); background: white; font-size: 16px; font-weight: 500; white-space: nowrap; }
.result-open:hover { background: var(--surface); }
.result-actions a { flex-shrink: 0; color: var(--muted); text-decoration: none; font-size: 15px; }
@media(max-width:1200px) {
  .results .section-head { grid-template-columns: 1fr auto; }
  .results .lead { grid-column: 1; grid-row: 2; }
  .results-controls { grid-column: 2; grid-row: 1 / 3; }
  .result-card figcaption { padding: 14px 4px 8px; }
  .result-open { padding-inline: 15px; gap: 10px; font-size: 14px; }
}
@media(max-width:800px) {
  .results .section-head { gap: 20px; margin-bottom: 28px; }
  .results { padding-block: var(--section-space); }
  .results .title { font-size: 32px; white-space: normal; }
  .results .lead { font-size: 16px; }
  .results-controls { gap: 10px; }
  .results-controls button { width: 44px; height: 44px; font-size: 24px; }
  .result-card figcaption { padding-inline: 8px; }
}
@media(max-width:540px) {
  .results .section-head { grid-template-columns: minmax(0,1fr) auto; gap: 20px 12px; }
  .results .section-head>div:first-child { grid-column: 1 / -1; }
  .results .lead { grid-row: 2; }
  .results-controls { grid-row: 2; }
  .result-card { padding: 12px; }
  .result-card h3 { font-size: 22px; }
  .result-card figcaption { font-size: 15px; }
}

.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--heading-gap); }
.reviews-head .kicker { margin-bottom: 20px; }
.reviews-caption { flex-shrink: 0; padding-bottom: 30px; text-align: right; font-size: 14px; }
.reviews-caption a { text-decoration: none; font-weight: 600; }
.reviews-caption a:hover { text-decoration: underline; }
.review-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 24px; }
.review-viewport::-webkit-scrollbar { display: none; }
.review-track { gap: var(--card-gap); transition: none; }
.review-card { display: flex; flex-direction: column; flex: 0 0 calc((100% - 48px) / 3); min-width: 0; min-height: 300px; padding: 28px; background: var(--white); border-radius: var(--radius); text-decoration: none; scroll-snap-align: start; }
.stars { color: var(--accent); letter-spacing: 1px; }
.review-text { font-size: 15px; line-height: 1.6; margin: 20px 0 32px; }
.review-text::before { content: '«'; }
.review-text::after { content: '»'; }
.review-author { margin-top: auto; font-size: 13px; font-weight: 600; }
.review-source { color: var(--muted); font-size: 12px; margin-top: 6px; }
.review-card:first-child { background: var(--text); color: var(--white); }
.review-card:first-child .stars, .review-card:first-child .review-source { color: #F3DDBA; }
.reviews-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.reviews-links { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.reviews-links a { color: var(--accent); font-size: 14px; text-decoration: none; }
.reviews-links a:hover { text-decoration: underline; }
.review-controls { flex-shrink: 0; gap: 12px; }
.review-controls .round-btn { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 24px; }
@media(max-width:800px) {
  .reviews-head { gap: 24px; }
  .reviews-caption { font-size: 12px; padding-bottom: 20px; }
  .review-card { min-height: 280px; padding: 22px 18px; }
  .review-text { font-size: 14px; line-height: 1.7; }
}
@media(max-width:600px) {
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  .reviews-caption { text-align: left; padding-bottom: 0; }
  .review-card { flex-basis: 88%; }
  .reviews-footer { align-items: flex-end; gap: 12px; }
  .reviews-links { flex-direction: column; gap: 12px; }
  .reviews-links a { font-size: 12px; }
}

/* Questions and contacts */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
.faq-layout .lead { margin: 16px 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.faq-column { display: grid; gap: 12px; min-width: 0; align-content: start; }
@media (max-width: 700px) { .faq-list { grid-template-columns: 1fr; gap: 12px; } }
.faq-list details { border: 1px solid var(--line); border-radius: 24px; padding: 0 24px; }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 22px 36px 22px 0; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; position: absolute; right: 0; top: 22px; color: var(--accent); }
.faq-list details[open] summary:after { content: '−'; }
.faq-list p { font-size: 16px; color: var(--muted); padding-bottom: 24px; }
.contact-stage { position: relative; height: min(78vh, 720px); min-height: 600px; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.contact-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-card { position: absolute; top: 32px; left: 32px; bottom: 32px; width: min(460px, 42%); display: flex; flex-direction: column; justify-content: center; background: var(--white); border-radius: 22px; padding: 40px; box-shadow: 0 20px 50px #0B2B2026; }
.contact-card h2 { margin: 16px 0 28px; }
.contact-phone { font-size: 30px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.contact-address { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 0; padding: 20px 0; border-block: 1px solid var(--line); }
.contact-facts dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-facts dd { margin: 0; font-size: 15px; line-height: 1.45; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-actions .btn { font-size: 14px; padding-inline: 20px; }
.contact-route { margin-top: 18px; font-size: 14px; color: var(--accent); text-decoration: none; }
footer { padding: 32px 0 20px; background: var(--section); }
.footer-top { display: grid; grid-template-columns: 1fr 1.6fr; align-items: start; gap: 48px; margin-bottom: 24px; }
.footer-top > *, .footer-contacts > * { min-width: 0; }
.footer-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-brand { font-size: 24px; text-decoration: none; color: var(--text); }
.footer-intro p, .footer-contacts p, .footer-contacts address { font-size: 14px; line-height: 1.7; color: var(--muted); font-style: normal; margin-top: 10px; }
.footer-intro p { margin-top: 6px; margin-bottom: 16px; }
.footer-top h2 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.footer-contacts .footer-location address { margin-top: 0; color: var(--text); font-size: 16px; font-weight: 500; }
.footer-phone { font-size: 21px; color: var(--text); text-decoration: none; white-space: nowrap; }
.footer-credit a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; text-decoration: none; color: white; transition: transform .2s; }
.footer-links a:hover { transform: translateY(-3px); }
.footer-links a:focus-visible, .footer-credit a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.footer-links svg { width: 25px; height: 25px; fill: currentColor; }
.footer-links .footer-wa { background: #25a85a; }
.footer-links .footer-tg { background: #229ed9; }
.footer-links .footer-yandex { background: white; }
.footer-links .footer-yandex svg { width: 32px; height: 32px; }
.footer-links .footer-gis { background: #77bc1f; overflow: hidden; }
.footer-links .footer-gis svg { width: 44px; height: 44px; }
.footer-legal { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.7; scroll-margin-top: 100px; }
.footer-legal p { max-width: 1000px; margin-bottom: 0; }
.footer-legal .footer-warning { color: var(--text); font-size: 14px; }
.footer-legal summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal details p { margin-top: 12px; }
.footer-requisites { margin-bottom: 0; }
.footer-requisites[open] { flex-basis: 100%; }
.footer-requisites dl { display: grid; gap: 9px; margin-top: 16px; }
.footer-requisites dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.footer-requisites dt { color: var(--muted); }
.footer-requisites dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 600px) { .footer-requisites dl > div { grid-template-columns: 1fr; gap: 2px; } }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.footer-credit a { color: var(--text); text-underline-offset: 3px; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1.4fr; gap: 32px; } .footer-contacts { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { footer { padding: 28px 0 76px; } .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 20px; } .footer-bottom { flex-direction: column; } .footer-brand { font-size: 22px; } }

/* Floating tools and photo viewer */
.quick { position: fixed; z-index: 80; right: 20px; bottom: 24px; display: grid; gap: 12px; }
.quick a, .quick button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--text); text-decoration: none; font-size: 14px; }
.quick-contact { position: relative; }
.quick .quick-toggle { background: var(--text); color: var(--white); width: 52px; height: 52px; cursor: pointer; box-shadow: 0 6px 22px #0B2B2029; }
.quick-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-close { display: none; font-size: 32px; line-height: 1; }
.quick-toggle[aria-expanded="true"] .quick-chat { display: none; }
.quick-toggle[aria-expanded="true"] .quick-close { display: block; }
.quick-options { position: absolute; right: 0; bottom: calc(100% + 12px); width: 192px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 38px #0B2B2026; }
.quick-options[hidden] { display: none; }
.quick .quick-options a { display: flex; gap: 12px; width: 100%; height: auto; min-height: 48px; padding: 6px 10px; border: 0; border-radius: 12px; font-size: 14px; font-weight: 500; }
.quick-options a:hover { background: var(--section); }
.quick-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--text); color: white; font-size: 11px; font-weight: 700; }
.quick-icon svg { width: 18px; height: 18px; fill: currentColor; }
.quick-icon-wa { background: #218c50; }
.quick-icon-wa svg { width: 20px; height: 20px; }
.quick-icon-tg { background: #258bb9; }
.quick button:focus-visible, .quick a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.quick .to-top { justify-self: center; }
.to-top { visibility: hidden; }
.to-top.show { visibility: visible; }
.lightbox { display: none; position: fixed; z-index: 200; inset: 0; background: #0B2B20F5; align-items: center; justify-content: center; padding: 64px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; }
.lightbox button { position: absolute; width: 44px; height: 44px; border: 1px solid #FCFCFB60; border-radius: 50%; background: transparent; color: var(--white); font-size: 24px; }
.light-close { top: 20px; right: 20px; }
.light-prev { left: 20px; }
.light-next { right: 20px; }
.light-count { position: absolute; bottom: 20px; color: var(--white); font-size: 14px; }

/* Responsive: layout changes are grouped here, not repeated per revision. */
@media(max-width:1450px) {
  .hero-actions { flex-wrap: wrap; }
}
@media(max-width:1200px) {
  .nav-inner { gap: 16px; }
  .nav-links { display: none; position: absolute; top: 78px; left: var(--gutter); right: var(--gutter); padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .nav-phone { margin-left: auto; }
  .header-book { min-width: 150px; }
  .hero-top-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-stats { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-visual { min-height: 480px; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-head { gap: 32px; }
  .services-perks { flex-wrap: wrap; gap: 20px; }
  .services-cta { grid-template-columns: auto minmax(0, 1fr); }
  .services-cta-actions { grid-column: 1 / -1; }
  .benefit-card { padding: 24px; gap: 12px; }
  .benefit-card h2 { font-size: 18px; }
  .promotion-inner, .consultation-inner { gap: 32px; }
}
@media(max-width:800px) {
  :root { --section-space: 52px; --panel-space: 28px; --gutter: 20px; --heading-size: 32px; --heading-gap: 32px; }
  body { font-size: 16px; }
  .title, .contact-card h2 { font-size: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .lead { font-size: 16px; }
  .care-layout { grid-template-columns: 1fr; gap: 32px; }
  .care-room-photo img { height: auto; aspect-ratio: 4 / 3; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); }
  .services-cta { grid-template-columns: auto minmax(0, 1fr); padding: 28px; gap: 20px; }
  .services-cta-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .contact-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .contact-stage iframe { position: static; height: 360px; order: 2; }
  .contact-card { position: static; width: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
  .brand-text b { font-size: 13px; }
  .brand-text>span { font-size: 10px; }
  .header-book { display: none; }
  h1 { font-size: clamp(42px, 7.5vw, 60px); }
  .hero-top-grid { gap: 24px; }
  .hero-visual { min-height: 400px; border-top-left-radius: 100px; border-bottom-left-radius: 100px; }
  .hero-benefits { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; padding: 24px; gap: 18px; }
  .benefit-card h2 br { display: none; }
  .team-card { grid-template-columns: 1fr; min-height: 0; }
  .team-card>img { position: static; width: 100%; height: 480px; object-position: center top; }
  .team-copy { grid-column: 1; padding: 32px 28px; }
  .team-copy h3 { font-size: 30px; }
  .team-copy p, .team-copy .team-specialty { font-size: 16px; }
  .promise .section-head { grid-template-columns: 1fr; gap: 24px; }
  .promise .section-head .lead { justify-self: start; }
  .promotion-inner, .consultation-inner, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .promotion-discount { min-height: 250px; padding: 28px; }
  .promotion-discount strong { font-size: 84px; }
  .result-card { flex-basis: calc((100% - 24px) / 2); }
  .btn, .header-book, .team-copy .team-link, .hero-service-link { font-size: 14px; padding: 15px 20px; min-height: 54px; gap: 14px; }
  .offer-break { display: none; }
}
@media(max-width:540px) {
  :root { --gutter: 18px; --panel-space: 24px; }
  .nav { height: 72px; }
  .nav-links { top: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text b { font-size: 11px; }
  .brand-text>span { font-size: 9px; }
  .nav-phone { font-size: 0; padding: 12px; }
  .nav-phone svg { width: 18px; height: 18px; }
  .nav-inner { gap: 8px; }
  .reference-hero { margin-top: 72px; padding-top: 16px; }
  .hero-top-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 16px; }
  h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero-actions>a { width: 100%; justify-content: space-between; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 0; height: 360px; }
  .hero-stats { gap: 12px; }
  .experience-card, .rating-card { padding: 22px; }
  .experience-label { gap: 8px; font-size: 13px; }
  .rating-number { flex-wrap: wrap; gap: 4px; }
  .rating-card { padding-bottom: 74px; }
  .experience-card strong, .rating-number { font-size: 36px; }
  .rating-number>span { display: block; margin-top: 8px; font-size: 13px; }
  .experience-card p, .rating-card h2 { font-size: 13px; }
  .gis-logo { left: 22px; bottom: 22px; font-size: 18px; }
  .gis-logo svg { width: 24px; height: 24px; }
  .rating-card>.circle-arrow { display: none; }
  .benefit-card { grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 20px; }
  .benefit-icon { width: 44px; height: 44px; }
  .team-card>img { height: 400px; }
  .service-cards { grid-template-columns: 1fr; }
  .services-perks { flex-wrap: wrap; gap: 20px; }
  .services-cta { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .services-cta-actions { flex-direction: column; }
  .visit-steps { grid-template-columns: 1fr; }
  .contact-phone { font-size: clamp(23px, 6.5vw, 30px); }
  .contact-facts { grid-template-columns: 1fr; gap: 16px; }
  .result-card { flex-basis: 100%; }
  .contact-actions { flex-direction: column; }
  .quick { right: 12px; bottom: 20px; }
  .lightbox { padding: 56px 12px; }
  .lightbox img { max-width: 100%; }
  .light-prev { left: 12px; bottom: 20px; }
  .light-next { right: 12px; bottom: 20px; }
}
/* Mobile composition and floating contact controls. */
@media(min-width:801px) and (max-width:1100px) {
  .benefit-card { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .benefit-icon { width: 52px; height: 52px; }
  .benefit-icon svg { width: 28px; height: 28px; }
  .benefit-card h2 { margin-top: 0; }
  .result-card, .review-card { flex-basis: calc((100% - 24px) / 2); }
}
@media(max-width:800px) {
  html { scroll-padding-top: 90px; }
  .menu-btn { min-width: 46px; min-height: 46px; border-radius: 50%; background: var(--section); }
  .nav-links { max-height: calc(100dvh - 100px); overflow-y: auto; gap: 0; box-shadow: 0 18px 48px #0B2B201A; }
  .nav-links a { display: block; width: 100%; padding: 14px 4px; font-size: 17px; }
  .nav-links a + a { border-top: 1px solid var(--line); }
  .menu-btn[aria-expanded="true"] { background: var(--text); color: white; }
  .service-card { padding: 24px; }
  .review-card { flex-basis: 75%; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .reviews-caption { text-align: left; padding-bottom: 0; }
  footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .quick { bottom: calc(18px + env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
  .quick .to-top { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 52px; height: 52px; font-size: 24px; box-shadow: 0 6px 22px #0B2B2014; }
  .gallery-open .quick { visibility: hidden; }
  .gallery-open .to-top { visibility: hidden; }
}
@media(max-width:600px) {
  :root { --gutter: 20px; --section-space: 48px; --radius: 22px; --heading-gap: 26px; --card-gap: 16px; }
  .nav { height: 72px; }
  .nav-inner { gap: 8px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text b { font-size: 12px; }
  .brand-text>span { font-size: 10px; }
  .nav-phone { font-size: 0; width: 44px; height: 44px; padding: 12px; justify-content: center; }
  .nav-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
  .nav-links { top: 80px; padding: 12px 22px; border-radius: 22px; }
  .reference-hero { margin-top: 72px; padding: 24px 0 36px; }
  .hero-top-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-content { padding: 0; }
  .reference-hero .eyebrow { font-size: 11px; padding: 6px 12px; }
  h1 { font-size: clamp(42px, 11.6vw, 62px); line-height: 1.04; letter-spacing: -.055em; margin: 20px 0 18px; }
  .hero-copy { max-width: 34ch; font-size: 16px; line-height: 1.6; }
  .desktop-break { display: none; }
  .hero-actions { gap: 4px; margin-top: 22px; flex-direction: column; align-items: stretch; }
  .hero-actions>a { width: 100%; font-size: 14px; justify-content: space-between; }
  .hero-actions .btn-primary { min-height: 54px; }
  .hero-actions .hero-service-link { min-height: 46px; border: 0; padding: 10px 4px; justify-content: center; color: var(--muted); }
  .hero-visual { height: clamp(220px, 62vw, 320px); min-height: 0; border-radius: 72px 22px 22px 22px; }
  .hero-visual img { object-position: center 54%; }
  .hero-stats { gap: 12px; }
  .experience-card, .rating-card { padding: 18px; border-radius: 20px; }
  .experience-label { font-size: 12px; }
  .experience-card strong { font-size: 32px; margin: 8px 0; }
  .experience-card p { font-size: 12px; line-height: 1.5; }
  .rating-number { font-size: 34px; gap: 4px; flex-wrap: wrap; }
  .rating-number>span { font-size: 11px; margin-top: 0; }
  .rating-card h2 { font-size: 12px; margin-top: 8px; }
  .rating-card { padding-bottom: 54px; }
  .gis-logo { bottom: 16px; left: 18px; font-size: 16px; }
  .gis-logo svg { width: 22px; height: 22px; }
  .rating-card>.circle-arrow { display: none; }
  .hero-benefits { gap: 0; margin-top: 22px; padding: 0 18px; background: var(--section); border-radius: 22px; }
  .benefit-card { grid-template-columns: 40px minmax(0,1fr); padding: 18px 0; gap: 14px; background: none; border-radius: 0; }
  .benefit-card + .benefit-card { border-top: 1px solid var(--line); }
  .benefit-icon { width: 40px; height: 40px; }
  .benefit-icon svg { width: 24px; height: 24px; }
  .benefit-card h2 { font-size: 16px; margin: 0 0 5px; }
  .benefit-card p { font-size: 13px; line-height: 1.55; }
  .title, .services-title, .reviews-head h2, .contact-card h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .kicker { margin-bottom: 16px; font-size: 12px; }
  .section-head, .promise .section-head { gap: 18px; margin-bottom: 26px; }
  .promise .section-head > .lead { display: none; }
  .doctor-offer-grid { gap: 18px; }
  .doctor-offer-grid .team-card>img { height: auto; aspect-ratio: 1.12; object-fit: cover; object-position: center top; }
  .doctor-offer-grid .team-copy { padding: 24px; }
  .doctor-offer-grid .team-copy h3 { font-size: clamp(25px, 7vw, 32px); overflow-wrap: normal; }
  .doctor-offer-grid .team-link { font-size: 13px; padding-inline: 16px; }
  .doctor-promotion { padding: 24px; }
  .doctor-promotion .offer-discount { font-size: 76px; margin-top: 8px; }
  .doctor-promotion .offer-service { font-size: 18px; }
  .care-layout { gap: 24px; }
  .visit-steps { grid-template-columns: 1fr; margin-top: 24px; }
  .visit-steps li { padding-block: 16px; }
  .care-audience { padding: 18px; font-size: 14px; }
  .care-book { width: 100%; font-size: 13px; }
  .service-cards { grid-template-columns: 1fr; gap: 16px; }
  .service-card-icon { width: 72px; height: 72px; }
  .service-card-icon:before { transform: scale(.6923077); transform-origin: top left; }
  .service-card-top { margin-bottom: 16px; }
  .service-card h3 { font-size: 23px; }
  .service-prices>div { gap: 12px; font-size: 13px; padding-block: 14px; }
  .services-perks { width: 100%; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .services-perks li { gap: 12px; font-size: 13px; }
  .services-perks li br { display: none; }
  .services-perks li>span { width: 36px; height: 36px; flex-shrink: 0; }
  .services-cta { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .services-cta-icon { width: 48px; height: 48px; }
  .services-cta h3 { font-size: 22px; }
  .services-cta-actions { flex-direction: column; }
  .result-card { flex-basis: 100%; }
  .review-card { flex-basis: 90%; padding: 24px; }
  .review-text { font-size: 15px; line-height: 1.65; }
  .faq-list details { padding-inline: 20px; border-radius: 18px; }
  .faq-list summary { font-size: 15px; padding-block: 20px; }
  .faq-list p { font-size: 14px; }
  .contact-card { padding: 24px; }
  .contact-facts { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-facts dd { font-size: 14px; }
  .contact-stage iframe { height: 290px; }
  .contact-actions { flex-direction: column; }
  .footer-top { gap: 24px; }
}
@media(max-width:359px) {
  :root { --gutter: 16px; }
  .brand-text b { font-size: 11px; }
  .brand-text>span { font-size: 9px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand { gap: 6px; }
  .nav-inner { gap: 4px; }
  .experience-card, .rating-card { padding-inline: 14px; }
  .gis-logo { left: 14px; }
  .contact-facts { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}

.hero-actions .hero-action-mobile { display: none; }
.hero-actions .hero-action-desktop { font: inherit; }
/* Centered mobile hero, matching the approved concept with lighter typography. */
@media(max-width:600px) {
  .reference-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto auto auto auto minmax(165px,1fr) auto 94px; gap: 12px 0; width: 100%; min-height: clamp(690px,calc(100svh - 72px),900px); margin: 72px 0 0; padding: 24px 16px 16px; overflow: hidden; border-radius: 0; background: #F5F5F3; }
  .reference-hero .hero-top-grid, .reference-hero .hero-content, .reference-hero .hero-stats, .reference-hero .hero-benefits { display: contents; }
  .reference-hero .eyebrow { grid-column: 1 / -1; grid-row: 1; justify-self: center; padding: 0; background: none; font-size: 11px; line-height: 1.5; text-align: center; }
  .reference-hero .eyebrow::before { display: none; }
  .reference-hero h1 { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 0; font-size: clamp(37px,11.5vw,62px); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; text-align: center; }
  .reference-hero .hero-copy { grid-column: 1 / -1; grid-row: 3; justify-self: center; max-width: 36ch; margin: 0; font-size: clamp(14px,3.7vw,17px); line-height: 1.5; text-align: center; }
  .reference-hero .hero-visual { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; min-height: 0; margin: 0; border-radius: 0; pointer-events: none; background: #F5F5F3; }
  .reference-hero .hero-visual img { inset: auto auto 100px -20%; width: 140%; max-width: none; height: auto; object-fit: contain; mask-image: linear-gradient(180deg,transparent 0%,#000 24%); }
  .reference-hero .hero-visual::after { content: ''; display: block; position: absolute; inset: 0; background: linear-gradient(180deg,#FCFCFBB8 0%,#FCFCFB70 29%,transparent 48%,transparent 67%,#FCFCFBE6 85%,#FCFCFB 100%); }
  .reference-hero .rating-card { grid-column: 1 / -1; grid-row: 4; justify-self: center; width: 130px; position: relative; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
  .reference-hero .rating-number { position: relative; display: block; padding-top: 24px; font-size: 14px; line-height: 1.4; font-weight: 400; letter-spacing: 0; }
  .reference-hero .rating-number::after { content: ' в 2ГИС'; }
  .reference-hero .rating-number>span { position: absolute; inset: 0 0 auto; display: block; margin: 0; color: #F3DDBA; font-size: 20px; letter-spacing: 2px; line-height: 1; }
  .reference-hero .rating-card h2, .reference-hero .rating-card .gis-logo, .reference-hero .rating-card .circle-arrow { display: none; }
  .reference-hero .hero-actions { grid-column: 1 / -1; grid-row: 6; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; margin: 0; gap: 10px; }
  .reference-hero .hero-actions>a { display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-height: 48px; padding: 12px 10px; border-radius: 28px; font-size: clamp(12px,3.5vw,16px); font-weight: 400; line-height: 1.2; white-space: nowrap; }
  .reference-hero .hero-actions .hero-service-link { background: #FCFCFBCF; border: 1px solid var(--accent); color: var(--text); }
  .reference-hero .hero-actions .hero-action-desktop, .reference-hero .hero-service-arrow { display: none; }
  .reference-hero .hero-actions .hero-action-mobile { display: inline; font: inherit; }
  .reference-hero .hero-actions .btn-primary>span:last-child { font-size: 20px; font-weight: 400; }
  .reference-hero .benefit-card:first-child { grid-column: 1; grid-row: 7; }
  .reference-hero .experience-card { grid-column: 2; grid-row: 7; }
  .reference-hero .benefit-consultation { grid-column: 3; grid-row: 7; }
  .reference-hero .benefit-card:first-child, .reference-hero .experience-card, .reference-hero .benefit-consultation { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; align-self: stretch; min-height: 0; margin: 0; padding: 4px 6px 0; gap: 8px; background: none; border: 0; border-radius: 0; box-shadow: none; text-align: center; }
  .reference-hero .experience-card::after, .reference-hero .benefit-consultation::after { content: ''; position: absolute; left: 0; top: 9px; bottom: 0; width: 1px; background: var(--line); }
  .reference-hero .benefit-icon { width: 36px; height: 36px; margin: 0; background: #F5F5F3; }
  .reference-hero .benefit-icon svg { width: 22px; height: 22px; }
  .reference-hero .benefit-card h2 { margin: 0; font-size: clamp(12px,3.6vw,16px); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
  .reference-hero .benefit-card p, .reference-hero .experience-card p, .reference-hero .benefit-card:last-child { display: none; }
  .reference-hero .experience-card::before { content: ''; display: block; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #F5F5F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%230B2B20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4 6 8v7c0 6 4 10 10 13 6-3 10-7 10-13V8L16 4Z'/%3E%3Cpath d='m11 15 3 3 7-7'/%3E%3C/svg%3E") center / 23px no-repeat; }
  .reference-hero .experience-label { order: 2; margin-top: -7px; font-size: 12px; line-height: 1.3; }
  .reference-hero .experience-card strong { margin: 0; font-size: clamp(12px,3.6vw,16px); font-weight: 400; line-height: 1.3; }
}
/* Original dark-green hero palette; current layout stays unchanged. */
.reference-hero { background: #0B2B20; }
.reference-hero .hero-content { color: #FCFCFB; }
.reference-hero h1 span { color: #F3DDBA; }
.reference-hero .hero-copy { color: #FCFCFB; }
.reference-hero .eyebrow { color: #F5F5F3; background: #FCFCFB12; }
.reference-hero .eyebrow:before { background: #F3DDBA; }
.reference-hero .hero-actions .btn-primary { background: #F3DDBA; color: #0B2B20; }
.reference-hero .hero-actions .hero-service-link { color: #FCFCFB; border-color: #FCFCFB6B; background: transparent; }
@media(max-width:600px) {
  .reference-hero { color: #FCFCFB; }
  .reference-hero .eyebrow { background: none; }
  .reference-hero .hero-visual { background: #0B2B20; }
  .reference-hero .hero-visual::after { background: linear-gradient(180deg,#0B2B20F5 0%,#0B2B20C7 29%,#0B2B2014 48%,#0B2B2014 67%,#0B2B20E6 85%,#0B2B20 100%); }
  .reference-hero .experience-label { color: #F5F5F3; }
  .reference-hero .experience-card::after, .reference-hero .benefit-consultation::after { background: #FCFCFB33; }
}

/* Dark accents for the offer, appointment invitation and footer. */
.doctor-promotion,
.consultation .consultation-inner,
footer {
  --text: #FCFCFB;
  --muted: #F5F5F3;
  --accent: #F3DDBA;
  --line: #FCFCFB33;
  color: #FCFCFB;
  background: #0B2B20;
}
.doctor-promotion .kicker,
.consultation-copy .kicker { background: #FCFCFB12; color: #F5F5F3; }
.doctor-promotion .btn,
.consultation-actions > .btn { background: #F3DDBA; color: #0B2B20; }
.consultation-inner:before { background: linear-gradient(125deg, #FCFCFB0D, #FCFCFB00 65%); }
.consultation-inner:after { background: #FCFCFB06; }
.consultation-benefits li + li:before { background: #FCFCFB33; }
.consultation-benefits i { background: #F3DDBA; color: #0B2B20; }

/* Original animated facts strip, using the current typography. */
main .facts { padding-block: 70px; background: #0B2B20; color: #FCFCFB; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { text-align: center; padding: 25px; border-right: 1px solid #FCFCFB24; }
.fact:last-child { border: 0; }
.fact b { display: block; font-size: clamp(40px, 5vw, 62px); font-weight: 400; line-height: 1.2; color: #F3DDBA; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #F5F5F3; }
@media(max-width:620px) {
  main .facts { padding-block: 40px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid #FCFCFB24; }
}

/* Blend the green illustration into the hero without moving its cards. */
@media(min-width:601px) {
  .reference-hero { position: relative; isolation: isolate; overflow: hidden; }
  .reference-hero .hero-visual { position: static; border-radius: 0; overflow: visible; background: transparent; pointer-events: none; }
  .reference-hero .hero-visual img {
    z-index: -1; inset: 0 22% auto auto; width: 65%; height: 100%;
    object-fit: cover; object-position: center 55%;
    mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 50%, #000 77%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 70%, transparent 100%);
    mask-composite: intersect;
  }
}
@media(max-width:600px) {
  .reference-hero .hero-visual img {
    mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%);
  }
}

/* Hero cards: compact supporting information around the illustration. */
@media(min-width:601px) {
  .reference-hero .hero-stats { grid-template-rows: auto auto; align-content: center; gap: 18px; }
  .reference-hero .experience-card,
  .reference-hero .rating-card { padding: 26px 28px; border-radius: 24px; border: 1px solid #FCFCFB33; }
  .reference-hero .experience-card { background: #FAFAF9; color: #0B2B20; }
  .reference-hero .experience-card strong { margin: 12px 0; }
  .reference-hero .experience-card p,
  .reference-hero .experience-label { color: #2D5C49; }
  .reference-hero .rating-card { padding-bottom: 76px; background: #2D5C49EE; color: #FCFCFB; box-shadow: none; }
  .reference-hero .rating-card h2 { margin-top: 10px; color: #F5F5F3; }
  .reference-hero .rating-number>span { color: #F3DDBA; }
  .reference-hero .gis-logo { left: 28px; bottom: 24px; font-size: 21px; }
  .reference-hero .gis-logo svg { width: 26px; height: 26px; }
  .reference-hero .rating-card>.circle-arrow { right: 24px; bottom: 22px; width: 40px; height: 40px; background: #FCFCFB14; color: #F3DDBA; }
  .reference-hero .hero-benefits { gap: 20px; margin-top: 28px; }
  .reference-hero .benefit-card { grid-template-columns: 56px minmax(0,1fr); gap: 18px; min-height: 132px; padding: 22px; border: 1px solid #FCFCFB2E; border-radius: 22px; background: #0B2B20F2; color: #FCFCFB; }
  .reference-hero .benefit-card h2 { margin: 2px 0 8px; }
  .reference-hero .benefit-card p { color: #F5F5F3; }
  .reference-hero .benefit-icon { width: 56px; height: 56px; background: #F3DDBA; color: #0B2B20; }
  .reference-hero .benefit-icon svg { width: 28px; height: 28px; }
}
@media(min-width:601px) and (max-width:1000px) {
  .reference-hero .benefit-card { grid-template-columns: 40px minmax(0,1fr); padding: 18px; gap: 12px; }
  .reference-hero .benefit-icon { width: 40px; height: 40px; }
  .reference-hero .benefit-icon svg { width: 24px; height: 24px; }
}

/* Site palette: warm light surfaces and forest-green depth. */
:root {
  --white: #F5F5F3;
  --section: #FAFAF9;
  --surface: #F5F5F3;
  --accent: #0B2B20;
  --text: #0B2B20;
  --muted: #2D5C49;
  --line: #0B2B2026;
}
body { background: #FAFAF9; }
.nav { background: #FAFAF9F5; }
.btn, .header-book, .team-copy .team-link { color: #FCFCFB; }
.reference-hero .hero-actions .btn-primary,
.doctor-promotion .btn,
.consultation-actions > .btn { color: #0B2B20; background: #F3DDBA; }
.team-card { background: linear-gradient(120deg, #FAFAF9, #F5F5F3); }
.service-card.is-featured, .review-card:first-child { background: #0B2B20; color: #FCFCFB; }
.is-featured>p, .is-featured .service-prices dt, .is-featured .service-prices dd { color: #FCFCFB; }
.stars { color: #2D5C49; }
.rating-number>span { color: #2D5C49; }
@media(min-width:601px) {
  .reference-hero .experience-card { background: #F5F5F3; }
  .reference-hero .rating-card { background: #2D5C49; }
  .reference-hero .benefit-card { background: #0B2B20; }
  .reference-hero .rating-number>span { color: #F3DDBA; }
}
@media(max-width:600px) {
  .reference-hero .rating-number>span { color: #F3DDBA; }
}

/* Dental atelier: photographic scene with a fine orbit of live benefit labels. */
.atelier-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 78px; min-height: clamp(780px,calc(100svh - 78px),1020px); padding: 0; background: #0B2B20; color: #FCFCFB; }
.atelier-hero::after { content: ''; position: absolute; z-index: 3; left: -5%; right: -5%; bottom: -85px; height: 120px; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: #FAFAF9; }
.atelier-background { position: absolute; z-index: -2; inset: 0; background: url('assets/hero-dental-atelier-sage.png') center / cover no-repeat; }
.atelier-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0B2B2066,transparent 56%); }
.atelier-inner { position: relative; width: calc(100% - var(--gutter) * 2); max-width: var(--content); min-height: inherit; margin: auto; }
.atelier-hero .hero-content { position: relative; z-index: 2; width: 46%; padding: clamp(72px,6vw,110px) 0 150px; container-type: normal; }
.atelier-hero .eyebrow { display: flex; align-items: center; gap: 16px; color: #FCFCFB; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.atelier-hero .eyebrow::before { content: ''; width: 40px; height: 2px; flex-shrink: 0; background: #F3DDBA; }
.atelier-hero h1 { font: clamp(64px,6.3vw,110px)/1.06 'Prata',Georgia,serif; letter-spacing: -.035em; margin: 24px 0 30px; }
.atelier-hero h1 span { font-family: Georgia,'Times New Roman',serif; font-style: italic; font-size: 1.13em; color: #F3DDBA; }
.atelier-hero .hero-copy { max-width: 510px; font-size: clamp(17px,1.35vw,23px); line-height: 1.55; color: #FCFCFB; }
.atelier-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.atelier-hero .hero-actions>a { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 16px 24px; gap: 18px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.atelier-hero .hero-actions .btn-primary { color: #0B2B20; background: #F3DDBA; }
.atelier-hero .hero-service-link { border: 1px solid #F3DDBA99; color: #FCFCFB; background: #0B2B2026; }
.atelier-orbit { position: absolute; left: 41%; top: 17%; width: 43%; aspect-ratio: 1; border: 1px solid #F3DDBACC; border-radius: 50%; pointer-events: none; }
.atelier-badge { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 16px; padding: 22px 28px; border: 1px solid #F3DDBACC; border-radius: 60px; color: #FCFCFB; background: #0B2B20B3; backdrop-filter: blur(8px); text-decoration: none; }
.atelier-badge>svg { width: 38px; height: 38px; flex-shrink: 0; color: #F3DDBA; margin-top: 3px; }
.atelier-badge strong { display: block; font-size: 34px; font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.atelier-badge h2 { font-size: 21px; font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -.025em; }
.atelier-badge p { margin-top: 7px; font-size: 14px; line-height: 1.5; color: #FCFCFB; }
.atelier-experience { left: 59%; top: 7%; width: 310px; }

.atelier-stars { font-size: 17px; letter-spacing: 0; color: #F3DDBA; vertical-align: middle; white-space: nowrap; }
.atelier-family { right: 0; top: 30%; width: 300px; }
.atelier-consultation { right: 1%; top: 55%; width: 290px; }
.atelier-scroll { position: absolute; z-index: 4; left: 50%; bottom: 10px; translate: -50% 0; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #F3DDBA; border-radius: 50%; background: #FCFCFB; color: #0B2B20; }
@media(min-width:1800px) { .atelier-orbit { width: 45%; top: 15%; } }
@media(max-width:1350px) and (min-width:901px) {
  .atelier-hero h1 { font-size: 6.1vw; }
  .atelier-hero .hero-content { width: 47%; }
  .atelier-badge { gap: 12px; padding: 18px 20px; }
  .atelier-badge>svg { width: 30px; height: 30px; }
  .atelier-badge h2 { font-size: 18px; }
  .atelier-badge p { font-size: 12px; }
  .atelier-badge strong { font-size: 28px; }
  .atelier-experience { width: 265px; }
  .atelier-family { width: 250px; top: 33%; }
  .atelier-consultation { width: 245px; top: 56%; }

  .atelier-stars { font-size: 13px; }
  .atelier-hero .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media(max-width:900px) {
  .atelier-hero { min-height: 0; }
  .atelier-inner { min-height: 1120px; }
  .atelier-hero .hero-content { width: 100%; padding: 54px 0 0; }
  .atelier-hero h1 { font-size: clamp(58px,9vw,80px); }
  .atelier-hero .hero-copy { max-width: 480px; }
  .atelier-hero .hero-actions { margin-top: 28px; }
  .atelier-background { background-size: auto 790px; background-position: 62% bottom; }
  .atelier-shade { background: linear-gradient(180deg,#0B2B20 0%,#0B2B20F5 26%,#0B2B2000 58%); }
  .atelier-orbit { width: 68%; left: 19%; top: 47%; }
  .atelier-badge { padding: 15px 20px; gap: 12px; }
  .atelier-badge>svg { width: 28px; height: 28px; }
  .atelier-badge strong { font-size: 28px; }
  .atelier-badge h2 { font-size: 18px; }
  .atelier-badge p { font-size: 12px; }
  .atelier-experience { top: 46%; left: 48%; width: 265px; }

  .atelier-family { top: 70%; right: 0; width: 250px; }
  .atelier-consultation { top: 85%; right: 8%; width: 260px; }
  .atelier-stars { font-size: 13px; }
}
@media(max-width:600px) {
  .atelier-hero { margin-top: 72px; }
  .atelier-inner { width: calc(100% - var(--gutter) * 2); min-height: 0; padding-bottom: 100px; }
  .atelier-hero .hero-content { padding-top: 34px; text-align: center; }
  .atelier-hero .eyebrow { justify-content: center; font-size: 9px; gap: 10px; letter-spacing: .06em; }
  .atelier-hero .eyebrow::before { width: 24px; }
  .atelier-hero h1 { font-size: clamp(39px,11.5vw,62px); margin: 24px 0; }
  .atelier-hero .hero-copy { font-size: 15px; }
  .atelier-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .atelier-hero .hero-actions>a { padding: 12px 10px; min-height: 48px; font-size: 12px; gap: 8px; white-space: normal; }
  .atelier-hero .hero-action-desktop { display: none; }
  .atelier-hero .hero-action-mobile { display: inline; font: inherit; }
  .atelier-background { background-size: auto 540px; background-position: 61% 330px; }
  .atelier-shade { background: linear-gradient(180deg,#0B2B20 0%,#0B2B20E6 30%,transparent 48%,transparent 65%,#0B2B20 84%); }
  .atelier-orbit { width: 92%; left: 4%; top: 405px; }
  .atelier-badges { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 370px; }
  .atelier-badge { position: relative; inset: auto; width: auto; border-radius: 22px; padding: 15px 12px; gap: 8px; background: #0B2B20E6; }
  .atelier-badge>svg { width: 22px; height: 22px; }
  .atelier-badge strong { font-size: 23px; }
  .atelier-badge h2 { font-size: 15px; }
  .atelier-badge p { font-size: 11px; }
  .atelier-stars { display: block; font-size: 12px; margin-top: 4px; }
}

/* Inline review rating beneath the booking button. */
.atelier-rating-inline { display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 28px; color: #FAF8F4; text-decoration: none; white-space: nowrap; }
.atelier-rating-icon { width: 32px; height: 32px; flex-shrink: 0; color: #F3DDBA; }
.atelier-rating-inline>strong { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.atelier-rating-stars { font-size: 15px; letter-spacing: 1px; line-height: 1; color: #F3DDBA; }
.atelier-rating-label { margin-left: 12px; padding-left: 24px; border-left: 1px solid #F1EADD80; font-size: 14px; line-height: 28px; }
.atelier-rating-inline:hover .atelier-rating-label { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:600px) {
  .atelier-hero .hero-actions { grid-template-columns: 1fr; width: fit-content; margin-inline: auto; }
  .atelier-hero .hero-actions>a { padding-inline: 32px; }
  .atelier-rating-inline { margin: 22px auto 0; gap: 8px; }
  .atelier-rating-icon { width: 26px; height: 26px; }
  .atelier-rating-inline>strong { font-size: 26px; }
  .atelier-rating-stars { font-size: 12px; letter-spacing: 0; }
  .atelier-rating-label { margin-left: 4px; padding-left: 12px; font-size: 12px; line-height: 24px; }
}
@media(max-width:360px) {
  .atelier-rating-inline { gap: 6px; }
  .atelier-rating-icon { width: 23px; height: 23px; }
  .atelier-rating-inline>strong { font-size: 24px; }
  .atelier-rating-label { margin-left: 2px; padding-left: 8px; font-size: 11px; }
}

/* Three benefits share one column and a consistent visual scale. */
.atelier-badges { position: absolute; z-index: 2; top: 13%; right: 0; width: 290px; display: grid; grid-template-columns: 1fr; grid-auto-rows: 132px; gap: 18px; }
.atelier-badges .atelier-badge { position: relative; inset: auto; width: 100%; min-width: 0; height: 100%; align-items: center; padding: 22px 24px; gap: 16px; border-radius: 28px; }
.atelier-badges .atelier-badge>svg { width: 32px; height: 32px; margin: 0; }
.atelier-badges .atelier-badge strong { font-size: 30px; }
.atelier-badges .atelier-badge h2 { font-size: 20px; line-height: 1.3; }
.atelier-badges .atelier-badge p { font-size: 13px; line-height: 1.5; margin-top: 7px; }
@media(min-width:901px) and (max-width:1350px) {
  .atelier-badges { width: 250px; grid-auto-rows: 132px; }
  .atelier-badges .atelier-badge { padding: 20px; gap: 12px; }
  .atelier-badges .atelier-badge>svg { width: 28px; height: 28px; }
  .atelier-badges .atelier-badge h2 { font-size: 18px; }
  .atelier-badges .atelier-badge p { font-size: 12px; }
}
@media(min-width:601px) and (max-width:900px) {
  .atelier-badges { top: 53%; width: 265px; grid-auto-rows: 126px; gap: 16px; }
  .atelier-badges .atelier-badge { padding: 20px; gap: 12px; }
  .atelier-badges .atelier-badge h2 { font-size: 18px; }
  .atelier-badges .atelier-badge p { font-size: 12px; }
}
@media(max-width:600px) {
  .atelier-badges { position: relative; inset: auto; width: 100%; padding-top: 370px; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .atelier-badges .atelier-badge { min-height: 94px; padding: 18px 20px; gap: 16px; border-radius: 24px; }
  .atelier-badges .atelier-badge>svg { width: 28px; height: 28px; }
  .atelier-badges .atelier-badge strong { font-size: 26px; }
  .atelier-badges .atelier-badge h2 { font-size: 18px; }
  .atelier-badges .atelier-badge p { font-size: 12px; }
}

/* Preview offsets and the approved desktop benefit positions. */
.atelier-badges .atelier-badge { translate: var(--layout-x, 0px) var(--layout-y, 0px); }

@media(min-width:901px) {
  .atelier-badges .atelier-badge { padding: 16px 20px; }
  .atelier-badges .atelier-experience { --layout-x: -130px; --layout-y: -10px; width: 257px; height: 95px; }
  .atelier-badges .atelier-consultation { --layout-x: 34px; --layout-y: 13px; width: 250px; height: 90px; }
  .atelier-badges .atelier-family { --layout-x: 34px; --layout-y: 34px; width: 290px; height: 110px; }
}

/* More prominent booking label in the hero. */
.atelier-hero .hero-actions .btn-primary { font-size: 16px; }
@media(max-width:600px) {
  .atelier-hero .hero-actions .btn-primary { font-size: 15px; }
}

/* Keep the approved desktop positions; contain cards on narrower laptops. */
@media(min-width:901px) and (max-width:1350px) {
  .atelier-badges .atelier-consultation { --layout-x: 0px; }
  .atelier-badges .atelier-family { --layout-x: -40px; }
}
/* Limit photographic scale when the content container has reached its maximum. */
@media(min-width:2100px) {
  .atelier-background {
    background-size: 2100px auto;
    background-position: center bottom;
    mask-image: linear-gradient(90deg,transparent calc(50% - 1050px),#000 calc(50% - 850px),#000 calc(50% + 850px),transparent calc(50% + 1050px));
  }
}
@media(max-width:600px) {
  .atelier-background { mask-image: linear-gradient(180deg,transparent 330px,#000 430px,#000 810px,transparent 870px); }
}

/* On tablets, place benefits below the illustration so they do not cover the tooth. */
@media(min-width:601px) and (max-width:900px) {
  .atelier-inner { min-height: 0; padding-bottom: 100px; }
  .atelier-background { background-position: 62% 340px; mask-image: linear-gradient(180deg,transparent 340px,#000 440px,#000 1050px,transparent 1130px); }
  .atelier-orbit { top: 560px; }
  .atelier-badges { position: relative; inset: auto; width: 100%; padding-top: 470px; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: 12px; }
  .atelier-badges .atelier-badge { flex-direction: column; justify-content: center; align-items: center; min-height: 170px; padding: 16px 12px; gap: 12px; text-align: center; border-radius: 24px; }
  .atelier-badges .atelier-badge h2 { font-size: 16px; }
  .atelier-badges .atelier-badge strong { font-size: 26px; }
}

/* Restore the original compact mobile hero in the current green palette. */
.mobile-reference-hero { display: none; }
@media(max-width:600px) {
  .atelier-hero { min-height: 0; overflow: hidden; color: #0B2B20; background: #F5F5F3; }
  .atelier-hero>.atelier-inner, .atelier-hero>.atelier-background, .atelier-hero>.atelier-shade, .atelier-hero>.atelier-scroll { display: none; }
  .atelier-hero::after { display: none; }
  .mobile-reference-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto auto minmax(165px,1fr) auto 94px; gap: 12px; min-height: clamp(680px,calc(100svh - 72px),900px); padding: 24px 14px 12px; }
  .mobile-reference-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: #F5F5F3; }
  .mobile-reference-scene img { position: absolute; inset: auto auto 100px -20%; width: 140%; max-width: none; height: auto; mask-image: linear-gradient(180deg,transparent 0%,#000 24%); }
  .mobile-reference-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#FAFAF9F5 0%,#FAFAF9C7 29%,transparent 48%,transparent 67%,#FAFAF9E6 85%,#FAFAF9 100%); }
  .mobile-reference-eyebrow { grid-row: 1; text-align: center; color: #2D5C49; font-size: 11px; line-height: 1.5; }
  .atelier-hero .mobile-reference-title { grid-row: 2; margin: 0; font-family: 'Golos Text',Arial,sans-serif; font-size: clamp(37px,11.5vw,62px); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; text-align: center; }
  .atelier-hero .mobile-reference-title span { font: inherit; color: #2D5C49; }
  .mobile-reference-copy { grid-row: 3; margin: 0 auto; max-width: 36ch; color: #2D5C49; font-size: clamp(14px,3.7vw,17px); line-height: 1.5; text-align: center; }
  .mobile-reference-rating { grid-row: 4; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #0B2B20; text-decoration: none; }
  .mobile-reference-rating>span { color: #B1803D; font-size: 20px; letter-spacing: 2px; line-height: 1; }
  .mobile-reference-rating>b { font-size: 14px; font-weight: 400; line-height: 1.4; }
  .mobile-reference-actions { grid-row: 6; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 10px; }
  .mobile-reference-actions>a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 10px; border: 1px solid #0B2B20; border-radius: 28px; text-decoration: none; font-size: clamp(12px,3.5vw,16px); line-height: 1.2; white-space: nowrap; }
  .mobile-reference-book { background: #0B2B20; color: #FCFCFB; }
  .mobile-reference-book>span { font-size: 24px; }
  .mobile-reference-services { background: #FAFAF9CF; color: #0B2B20; }
  .mobile-reference-features { grid-row: 7; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mobile-reference-feature { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 4px 6px 0; color: #0B2B20; text-align: center; text-decoration: none; translate: var(--layout-x,0px) var(--layout-y,0px); }
  .mobile-reference-feature+.mobile-reference-feature::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 0; width: 1px; background: #0B2B2026; }
  .mobile-reference-feature i { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #E4EBE4; color: #2D5C49; }
  .mobile-reference-feature svg { width: 22px; height: 22px; }
  .mobile-reference-feature>span { font-size: clamp(11px,3.2vw,14px); font-weight: 400; line-height: 1.3; }
  .mobile-reference-feature small { margin-top: -7px; font-size: 12px; line-height: 1.3; color: #2D5C49; }
}

@media(max-width:600px) {
  .mobile-reference-rating>b { padding: 4px 12px; border: 1px solid #0B2B201A; border-radius: 999px; background: #FAFAF9; color: #0B2B20; font-weight: 500; }
}

@media(max-width:600px) {
  .mobile-reference-rating { gap: 10px; }
}
