/* ========================================================================== 
   MEGA DENTAL — static integration-ready stylesheet
   Order: fonts → tokens → base → components → sections → responsive.
   Component classes follow BEM. JS uses data-* hooks, never styling classes.
   ========================================================================== */
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* 1. Design tokens: integration-wide changes belong here. */
:root {
  --color-ink: #102443;
  --color-muted: #6a819c;
  --color-cyan: #00bcd2;
  --color-blue: #1485f8;
  --color-lilac: #8b79ff;
  --color-line: #dbeaf8;
  --color-panel: #eaf8ff;
  --color-white: #fff;
  --gradient-action: linear-gradient(
    105deg,
    #00bdd0 0%,
    #169ff0 48%,
    #9180ff 100%
  );
  --gradient-panel: linear-gradient(
    115deg,
    #e8faff 0%,
    #edf6ff 55%,
    #e0f5ff 100%
  );
  --font-body: Manrope, Arial, sans-serif;
  --container-width: 1280px;
  --page-gutter: clamp(24px, 5.4vw, 80px);
  --panel-gutter: clamp(20px, 2.2vw, 32px);
  --radius-card: 24px;
  --radius-panel: 44px;
  --radius-pill: 100px;
  --transition: 180ms ease;
}

/* 2. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-menu-open {
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  border: 0;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 38px;
  font-weight: 600;
}
h3 {
  font-weight: 600;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #7c68ec;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.container {
  width: calc(100% - var(--page-gutter) * 2);
  max-width: var(--container-width);
  margin-inline: auto;
}
.section-panel {
  width: calc(100% - var(--panel-gutter) * 2);
  max-width: 1376px;
  margin-inline: auto;
  border-radius: var(--radius-panel);
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--small {
  width: 18px;
  height: 18px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 15px;
  border-radius: 10px;
  color: var(--color-ink);
}
.skip-link:focus {
  top: 12px;
}
.gradient-text {
  background: var(--gradient-action);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* 3. Shared UI */
.button {
  min-height: 58px;
  padding: 8px 13px 8px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--gradient-action);
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.button:hover {
  box-shadow: 0 8px 20px #429bdf2b;
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button__arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  color: #278fd6;
  box-shadow: 0 2px 8px #167fcd0d;
}
.button__arrow .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.button--outline {
  border-color: #53bbee;
  color: var(--color-ink);
  background: #ffffffa8;
}
.button--outline .button__arrow {
  width: 30px;
  height: 30px;
  background: #edf7ff;
  border: 1px solid #d4e9ff;
}
.button--compact {
  min-height: 52px;
  padding-left: 28px;
  font-size: 15px;
  gap: 20px;
}
.button--small {
  min-height: 49px;
  padding-left: 23px;
  font-size: 14px;
  gap: 17px;
}
.round-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  color: #00a7d0;
  box-shadow: 0 4px 11px #187ba910;
  flex-shrink: 0;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.round-arrow .icon {
  width: 25px;
  height: 25px;
  stroke-width: 2.5;
}
.round-arrow:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 13px #187ba922;
}

/* 4. Header */
.site-header {
  height: 88px;
  background: #fff;
  position: relative;
  z-index: 10;
}
.site-header__inner {
  max-width: 1280px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__mark {
  width: 45px;
  height: 53px;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.4px;
}
.brand__caption {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: -0.15px;
  color: #54657a;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-inline: auto;
  font-size: 13px;
  font-weight: 500;
}
.main-nav a,
.footer-nav a {
  transition: color var(--transition);
}
.main-nav a:hover,
.footer-nav a:hover {
  color: var(--color-cyan);
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}
.header-contact__phone {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
}
.header-contact > span {
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 2px;
}
.menu-toggle {
  display: none;
}

/* 5. Hero */
.hero {
  position: relative;
  height: 600px;
  isolation: isolate;
  background: #edf9ff;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #effbfff2 0%,
    #edfaffed 25%,
    #e8f9ff9c 42%,
    transparent 59%
  );
  z-index: -1;
}
.hero__inner {
  height: 100%;
  position: relative;
}
.hero__content {
  padding-top: 45px;
  width: 710px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero__content a,
.hero__content button {
  pointer-events: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 21px 6px 9px;
  border-radius: 40px;
  background: linear-gradient(105deg, #d6f6fc, #d7e2ff);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.5;
}
.eyebrow .icon {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  color: #13abd1;
}
.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -3.9px;
  margin-top: 17px;
}
.hero h1 .gradient-text {
  font-weight: 500;
}
.hero__description {
  font-size: 22px;
  line-height: 1.45;
  color: #5c7793;
  letter-spacing: -0.55px;
  margin-top: 20px;
}
.hero__actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  align-items: center;
}
.hero-stats {
  display: flex;
  margin-top: 32px;
  gap: 0;
  max-width: 565px;
}
.hero-stats > div {
  padding-right: 33px;
  flex: 1;
}
.hero-stats > div + div {
  border-left: 1px solid #bfdeef;
  padding-left: 25px;
}
.hero-stats dt {
  font-size: 33px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1px;
  color: #00a9d2;
}
.hero-stats dd {
  font-size: 15px;
  line-height: 1.5;
  color: #627c98;
  margin-top: 5px;
}
.hero__decoration {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffdb;
  box-shadow: 0 0 0 10px #ffffff26;
  z-index: 1;
}
.hero__decoration--tooth {
  width: 80px;
  height: 80px;
  left: 49%;
  top: 70px;
  color: #06a8d6;
}
.hero__decoration--tooth .icon {
  width: 40px;
  height: 44px;
  stroke-width: 1.2;
}
.hero__decoration--sparkle {
  right: 0;
  top: 130px;
  width: 82px;
  height: 82px;
  color: #8e7bff;
}
.hero__decoration--sparkle .icon {
  width: 45px;
  height: 45px;
  fill: currentColor;
  stroke: none;
}
.consultation-card {
  position: absolute;
  right: -20px;
  bottom: 64px;
  display: grid;
  grid-template-columns: 34px 1fr 38px;
  column-gap: 17px;
  align-items: center;
  padding: 25px 22px;
  min-width: 320px;
  max-width: 350px;
  text-align: left;
  border-radius: 23px;
  background: #ffffffd9;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px #365d7c11;
  z-index: 3;
  transition: transform var(--transition);
}
.consultation-card:hover {
  transform: translateY(-4px);
}
.consultation-card__icon {
  color: #00a8d1;
  width: 34px;
  height: 38px;
  align-self: start;
  margin-top: 3px;
  stroke-width: 1.8;
}
.consultation-card__copy strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.45px;
}
.consultation-card__copy > span {
  display: block;
  font-size: 12px;
  color: #6a7e97;
  line-height: 1.5;
  margin-top: 12px;
  white-space: nowrap;
}
.consultation-card .round-arrow {
  width: 38px;
  height: 38px;
}

/* 6. Benefits */
.benefits {
  background: var(--gradient-panel);
  margin-top: 20px;
  min-height: 450px;
  padding: 37px 38px;
  position: relative;
  isolation: isolate;
}
.benefits__grid {
  height: 100%;
  min-height: 376px;
  display: grid;
  grid-template-columns: 1fr 390px 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.benefits__column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.benefit {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 85px;
}
.benefit__copy h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 700;
  line-height: 1.3;
}
.benefit__copy p {
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #59748f;
  line-height: 1.5;
  margin-top: 7px;
}
.benefit__icon {
  width: 54px;
  height: 54px;
  stroke: #2a6c89;
  stroke-width: 1.25;
  flex-shrink: 0;
}
.benefits__column--left {
  padding-left: 12px;
}
.benefits__column--left .benefit {
  justify-content: flex-end;
}
.benefits__column--left .benefit__copy {
  min-width: 260px;
}
.benefits__column--right {
  padding-right: 0;
}
.benefits__column--right .benefit {
  gap: 20px;
}
.tooth-orbit {
  width: 375px;
  height: 375px;
  position: relative;
  border: 1px solid #c7e6f6;
  border-radius: 50%;
  justify-self: center;
  display: grid;
  place-items: center;
}
.tooth-orbit__disc {
  width: 338px;
  height: 338px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 50px #ffffff55;
}
.tooth-orbit__disc img {
  width: 230px;
  height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #079fcb;
  border-radius: 50%;
}
.orbit-dot--1 {
  left: 16%;
  top: 10%;
}
.orbit-dot--2 {
  left: -4px;
  top: 48%;
}
.orbit-dot--3 {
  left: 16%;
  bottom: 10%;
}
.orbit-dot--4 {
  right: 16%;
  top: 10%;
}
.orbit-dot--5 {
  right: -4px;
  top: 48%;
}
.orbit-dot--6 {
  right: 16%;
  bottom: 10%;
}
.benefits__decor {
  position: absolute;
  width: 72px;
  height: 72px;
  fill: #a2d9f544;
  stroke: none;
  z-index: 0;
}
.benefits__decor--sparkle {
  left: 14px;
  top: 68px;
  width: 48px;
  height: 48px;
  fill: #b2d9ff77;
}
.benefits__decor--tooth {
  right: 13px;
  top: 8px;
  width: 80px;
  height: 100px;
  fill: #b2e2fb44;
}
.benefits__plus {
  position: absolute;
  bottom: -36px;
  left: 69%;
  font-size: 85px;
  font-weight: 300;
  line-height: 1;
  color: #c4e7f977;
  z-index: 2;
}

/* 7. Services */
.services {
  padding-top: 35px;
  padding-bottom: 35px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.section-heading p {
  font-size: 18px;
  line-height: 1.5;
  color: #6d84a1;
  margin-top: 3px;
  letter-spacing: -0.4px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  border-radius: 24px;
  padding: 15px;
  background: linear-gradient(135deg, #eaf8fe, #e6f5fd);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #6fa5cb18;
}
.service-card__image {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: 17px;
}
.service-card__body {
  padding: 14px 5px 12px;
  position: relative;
  min-height: 100px;
}
.service-card h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  padding-right: 8px;
}
.service-card p {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.25px;
  color: #6a8198;
  margin-top: 6px;
  padding-right: 44px;
}
.service-card__link {
  position: absolute;
  right: 1px;
  bottom: 14px;
  width: 46px;
  height: 46px;
}
.service-card--featured {
  background: linear-gradient(135deg, #1f79eb, #278dfb);
  color: #fff;
}
.service-card--featured p {
  color: #eef7ff;
}

/* 8. Technology and offers */
.technology {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 1.15fr;
  gap: 18px;
  align-items: stretch;
  padding-top: 7px;
  padding-bottom: 25px;
  min-height: 333px;
}
.technology__intro {
  align-self: center;
  padding-block: 12px;
}
.technology__intro h2 {
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: -1.35px;
  font-weight: 600;
}
.technology__intro > p {
  font-size: 18px;
  line-height: 1.5;
  color: #6c829e;
  letter-spacing: -0.35px;
  margin-top: 14px;
}
.technology__intro .button {
  margin-top: 25px;
}
.technology__image {
  width: 100%;
  height: 100%;
  min-height: 299px;
  max-height: 330px;
  object-fit: cover;
  border-radius: 28px;
}
.offers {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.offer-card {
  border: 1px solid #dfebfb;
  border-radius: 24px;
  padding: 17px 15px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
}
.offer-card__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: linear-gradient(135deg, #dff8ff, #eaf3ff);
  color: #01a9d5;
  flex-shrink: 0;
}
.offer-card__icon .icon {
  width: 44px;
  height: 47px;
  stroke-width: 1.1;
}
.offer-card__body {
  flex: 1;
  min-width: 0;
}
.offer-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.offer-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #72849a;
  margin-top: 4px;
}
.offer-card__prices {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
  white-space: nowrap;
}
.offer-card__prices > span {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #2581f8;
}
.offer-card del {
  color: #a5b6c9;
  font-size: 14px;
  text-decoration-thickness: 1px;
}
.offer-card__discount {
  position: absolute;
  right: 15px;
  bottom: 17px;
  border-radius: 40px;
  padding: 10px 13px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(115deg, #1481f4, #8b7aff);
  color: #fff;
  transition: transform var(--transition);
}
.offer-card__discount:hover {
  transform: scale(1.05);
}

/* 9. Contact */
.contact {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  background: linear-gradient(110deg, #e3f9ff, #e9f6ff 56%, #def4ff);
  padding: 45px 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 25px;
  align-items: center;
}
.contact__intro {
  position: relative;
  z-index: 1;
}
.contact h2 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.contact__intro > p {
  font-size: 18px;
  color: #6a839e;
  line-height: 1.5;
  margin-top: 10px;
  letter-spacing: -0.4px;
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 28px;
}
.contact-phone__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c3effa;
  color: #00a3cf;
  flex-shrink: 0;
}
.contact-phone__icon .icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke-width: 1;
}
.contact-phone a {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.75px;
  white-space: nowrap;
}
.contact-phone div > span {
  display: block;
  color: #728aa5;
  font-size: 14px;
  margin-top: 2px;
}
.consultation-form {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 18px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 4px 15px #87b7db08;
}
.form-field {
  display: flex;
  align-items: center;
  border: 1px solid #deebfb;
  border-radius: 40px;
  min-height: 46px;
  padding-inline: 16px;
  gap: 12px;
}
.form-field:focus-within {
  border-color: #62bdf0;
  box-shadow: 0 0 0 3px #0abfe014;
}
.form-field .icon {
  width: 18px;
  height: 18px;
  color: #6bafcf;
  stroke-width: 1.4;
}
.form-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--color-ink);
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 0;
}
.form-field input::placeholder {
  color: #8a9eb5;
  opacity: 1;
}
.form-field input:focus-visible {
  outline: none;
}
.consultation-form .button {
  padding-left: 15px;
  min-height: 56px;
  font-size: 14px;
  gap: 10px;
  justify-content: space-between;
}
.consultation-form .button__arrow {
  width: 33px;
  height: 33px;
}
.form-status {
  font-size: 12px;
  line-height: 1.6;
  color: #3b6f8f;
  padding: 5px 3px 0;
}
.form-status[data-state="error"] {
  color: #b64f62;
}
.contact-art {
  align-self: stretch;
  position: relative;
  min-width: 0;
  isolation: isolate;
}
.contact-art__quote {
  position: absolute;
  right: 12px;
  top: 27px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ffffffbf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
  font-size: 23px;
  line-height: 1.35;
  text-align: center;
  color: #6d9db7;
  z-index: 3;
  box-shadow: 0 0 35px #ffffff40;
}
.contact-art__quote span {
  color: #22b6d7;
  font-size: 26px;
  line-height: 1;
}
.contact-art__leaf {
  position: absolute;
  width: 155px;
  height: 195px;
  fill: #b4e3f343;
  stroke: #97d7eb69;
  stroke-width: 1.3;
  z-index: 1;
}
.contact-art__leaf--1 {
  right: -26px;
  top: -38px;
  transform: rotate(45deg);
}
.contact-art__leaf--2 {
  left: 0;
  bottom: -68px;
  transform: rotate(-65deg);
  width: 210px;
  height: 250px;
}
.contact-art__tooth {
  position: absolute;
  width: 140px;
  height: 165px;
  left: -5px;
  top: -20px;
  fill: #c4f1ff77;
  stroke: #ffffffa0;
  stroke-width: 0.5;
  transform: rotate(-12deg);
  z-index: 1;
}

/* 10. Footer */
.site-footer {
  padding: 40px 0 30px;
}
.site-footer__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
}
.site-footer .brand__mark {
  width: 41px;
  height: 49px;
}
.site-footer .brand__name {
  font-size: 29px;
}
.site-footer .brand__caption {
  font-size: 9px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #5b7390;
}
.site-footer__right {
  text-align: right;
  align-self: center;
}
.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-bottom: 15px;
}
.social-links button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #e3f5fd;
  border-radius: 50%;
  color: #5fa5ca;
  transition:
    background var(--transition),
    transform var(--transition);
}
.social-links button:hover {
  background: #cdeffd;
  transform: translateY(-3px);
}
.social-links .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}
.social-links button:first-child .icon {
  fill: currentColor;
  stroke: none;
}
.site-footer__right > p {
  font-size: 12px;
  color: #768ba4;
  white-space: nowrap;
}

/* 11. Modal */
.modal {
  max-width: 530px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 40px);
  padding: 37px;
  border: 1px solid #deedfb;
  border-radius: 30px;
  color: var(--color-ink);
  background: linear-gradient(145deg, #fff, #edfaff);
  overflow: auto;
  box-shadow: 0 25px 90px #163f6a26;
}
.modal::backdrop {
  background: #15345177;
  backdrop-filter: blur(7px);
}
.modal__close {
  position: absolute;
  right: 19px;
  top: 10px;
  background: none;
  font-size: 32px;
  font-weight: 300;
  color: #6a829e;
  width: 38px;
  height: 38px;
}
.modal__eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #368db6;
  margin-bottom: 18px;
  padding-right: 20px;
}
.modal h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  padding-right: 10px;
}
.modal__description,
.modal__text {
  font-size: 14px;
  line-height: 1.8;
  color: #66819a;
  margin-top: 15px;
}
.modal .consultation-form--modal {
  padding: 0;
  margin-top: 20px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.modal .form-field {
  background: #fff;
}
.modal .button {
  margin-top: 5px;
}
.form-demo-note {
  font-size: 11px;
  line-height: 1.6;
  color: #76899b;
}
.modal-service-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.modal-service-list button {
  background: white;
  border: 1px solid #deebfb;
  border-radius: 15px;
  padding: 15px;
  color: var(--color-ink);
  text-align: left;
}

/* 12. Responsive. No fixed horizontal positions for content. */
@media (min-width: 1600px) {
  .hero__image {
    object-position: center 40%;
  }
}
@media (max-width: 1250px) {
  .main-nav {
    gap: 16px;
    font-size: 12px;
  }
  .site-header__inner {
    gap: 18px;
  }
  .header-contact__phone {
    font-size: 13px;
  }
  .button--compact {
    padding-left: 20px;
    gap: 10px;
  }
  .brand__name {
    font-size: 29px;
  }
  .brand__caption {
    font-size: 9px;
  }
  .hero {
    height: 560px;
  }
  .hero h1 {
    font-size: 61px;
    letter-spacing: -3.3px;
  }
  .hero__content {
    width: 610px;
    padding-top: 40px;
  }
  .hero__description {
    font-size: 20px;
  }
  .hero__actions {
    gap: 13px;
  }
  .hero__actions .button {
    font-size: 14px;
    padding-left: 22px;
    gap: 15px;
  }
  .hero-stats {
    max-width: 500px;
  }
  .hero-stats dt {
    font-size: 29px;
  }
  .hero-stats dd {
    font-size: 14px;
  }
  .consultation-card {
    min-width: 290px;
    max-width: 310px;
    padding: 22px 17px;
    right: -13px;
    gap: 12px;
  }
  .consultation-card__copy strong {
    font-size: 15px;
  }
  .consultation-card__copy > span {
    font-size: 11px;
  }
  .hero__decoration--sparkle {
    right: -15px;
    top: 100px;
  }
  .benefits {
    min-height: 400px;
    padding: 30px;
  }
  .benefits__grid {
    grid-template-columns: 1fr 310px 1fr;
    min-height: 340px;
  }
  .benefit {
    gap: 15px;
  }
  .benefit__copy h2 {
    font-size: 17px;
  }
  .benefit__copy p {
    font-size: 14px;
  }
  .benefit__icon {
    width: 44px;
    height: 44px;
  }
  .benefits__column--left {
    padding-left: 0;
  }
  .benefits__column--left .benefit__copy {
    min-width: 210px;
  }
  .tooth-orbit {
    width: 300px;
    height: 300px;
  }
  .tooth-orbit__disc {
    width: 270px;
    height: 270px;
  }
  .tooth-orbit__disc img {
    width: 185px;
    height: 225px;
  }
  .benefits__column {
    gap: 20px;
  }
  .benefits__column--right .benefit {
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .service-card {
    padding: 12px;
  }
  .service-card__image {
    height: 167px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .service-card p {
    font-size: 15px;
  }
  .service-card__body {
    min-height: 95px;
  }
  .service-card__link {
    width: 40px;
    height: 40px;
  }
  .technology {
    gap: 16px;
    grid-template-columns: 1.25fr 0.85fr 1.15fr;
    min-height: 305px;
  }
  .technology__intro h2 {
    font-size: 28px;
  }
  .technology__intro > p {
    font-size: 16px;
  }
  .technology__intro .button {
    font-size: 14px;
    gap: 15px;
    min-height: 52px;
  }
  .technology__image {
    min-height: 275px;
  }
  .offer-card {
    padding: 15px 12px;
    gap: 10px;
  }
  .offer-card__icon {
    width: 53px;
    height: 61px;
    border-radius: 17px;
  }
  .offer-card__icon .icon {
    width: 34px;
    height: 40px;
  }
  .offer-card h3 {
    font-size: 13px;
  }
  .offer-card p {
    font-size: 11px;
  }
  .offer-card__prices > span {
    font-size: 21px;
  }
  .offer-card del {
    font-size: 12px;
  }
  .offer-card__discount {
    font-size: 13px;
    padding: 9px 11px;
    right: 12px;
    bottom: 15px;
  }
  .contact {
    padding: 35px;
    gap: 18px;
    min-height: 290px;
    grid-template-columns: 1.1fr 1fr 0.85fr;
  }
  .contact h2 {
    font-size: 31px;
  }
  .contact__intro > p {
    font-size: 15px;
  }
  .contact-phone a {
    font-size: 22px;
  }
  .contact-phone {
    gap: 13px;
    margin-top: 25px;
  }
  .contact-phone__icon {
    width: 50px;
    height: 50px;
  }
  .contact-phone div > span {
    font-size: 12px;
  }
  .consultation-form {
    padding: 15px;
    gap: 10px;
  }
  .consultation-form .button {
    font-size: 12px;
    padding-left: 12px;
    gap: 8px;
  }
  .contact-art__quote {
    width: 150px;
    height: 150px;
    font-size: 20px;
    right: 0;
    top: 30px;
  }
  .footer-nav {
    gap: 16px;
    font-size: 11px;
  }
  .site-footer__inner {
    gap: 20px;
  }
}
@media (max-width: 1020px) {
  .header-contact {
    display: none;
  }
  .main-nav {
    font-size: 13px;
  }
  .hero {
    height: 530px;
  }
  .hero h1 {
    font-size: 55px;
    letter-spacing: -2.9px;
  }
  .hero__description {
    font-size: 18px;
  }
  .hero__content {
    width: 550px;
  }
  .hero__decoration--tooth {
    left: 52%;
    width: 64px;
    height: 64px;
    top: 55px;
  }
  .hero__decoration--sparkle {
    width: 62px;
    height: 62px;
  }
  .hero__decoration--sparkle .icon {
    width: 33px;
    height: 33px;
  }
  .hero-stats {
    max-width: 460px;
  }
  .hero-stats > div {
    padding-right: 23px;
  }
  .hero-stats > div + div {
    padding-left: 20px;
  }
  .hero-stats dd {
    font-size: 13px;
  }
  .consultation-card {
    min-width: 270px;
    max-width: 290px;
    bottom: 50px;
    right: -24px;
  }
  .consultation-card__copy > span {
    font-size: 10px;
  }
  .consultation-card__icon {
    width: 28px;
    height: 32px;
  }
  .consultation-card {
    grid-template-columns: 28px 1fr 34px;
  }
  .consultation-card .round-arrow {
    width: 34px;
    height: 34px;
  }
  .benefits {
    padding: 32px 22px;
    min-height: 350px;
  }
  .benefits__grid {
    grid-template-columns: 1fr 235px 1fr;
    min-height: 290px;
  }
  .benefit {
    gap: 12px;
    min-height: 75px;
  }
  .benefit__copy h2 {
    font-size: 15px;
    letter-spacing: -0.5px;
  }
  .benefit__copy p {
    font-size: 12px;
  }
  .benefits__column--left .benefit__copy {
    min-width: 174px;
  }
  .benefit__icon {
    width: 36px;
    height: 36px;
  }
  .tooth-orbit {
    width: 225px;
    height: 225px;
  }
  .tooth-orbit__disc {
    width: 202px;
    height: 202px;
  }
  .tooth-orbit__disc img {
    width: 145px;
    height: 175px;
  }
  .benefits__column {
    gap: 15px;
  }
  .benefits__column--right .benefit {
    gap: 12px;
  }
  .technology {
    grid-template-columns: 1.2fr 0.85fr 1.15fr;
    gap: 14px;
  }
  .technology__intro h2 {
    font-size: 25px;
  }
  .technology__intro > p {
    font-size: 14px;
  }
  .offer-card__icon {
    width: 47px;
    height: 55px;
  }
  .offer-card__icon .icon {
    width: 30px;
    height: 35px;
  }
  .offer-card h3 {
    font-size: 12px;
  }
  .offer-card__discount {
    right: 10px;
    padding: 8px;
    font-size: 12px;
  }
  .offer-card del {
    font-size: 10px;
  }
  .offer-card__prices {
    gap: 7px;
  }
  .offer-card__prices > span {
    font-size: 19px;
  }
  .technology__image {
    min-height: 250px;
  }
  .technology {
    min-height: 280px;
  }
  .technology__intro .button {
    font-size: 13px;
    padding-left: 18px;
    gap: 12px;
  }
  .service-card h3 {
    font-size: 16px;
  }
  .service-card p {
    font-size: 13px;
  }
  .service-card__image {
    height: 145px;
  }
  .service-card__body {
    min-height: 90px;
  }
  .service-card__link {
    width: 35px;
    height: 35px;
  }
  .service-card__link .icon {
    width: 22px;
    height: 22px;
  }
  .contact {
    padding: 30px;
    grid-template-columns: 1.1fr 1fr 0.65fr;
    gap: 16px;
    min-height: 270px;
  }
  .contact h2 {
    font-size: 27px;
  }
  .contact__intro > p {
    font-size: 13px;
  }
  .contact-phone a {
    font-size: 19px;
  }
  .contact-phone__icon {
    width: 45px;
    height: 45px;
  }
  .contact-phone div > span {
    font-size: 11px;
  }
  .consultation-form .button {
    font-size: 11px;
  }
  .consultation-form .button__arrow {
    width: 27px;
    height: 27px;
  }
  .contact-art__quote {
    width: 125px;
    height: 125px;
    font-size: 17px;
    top: 38px;
  }
  .contact-art__leaf {
    width: 120px;
  }
  .site-footer .brand__caption {
    font-size: 8px;
  }
  .site-footer__right > p {
    font-size: 10px;
  }
  .social-links button {
    width: 35px;
    height: 35px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  :root {
    --page-gutter: 22px;
    --panel-gutter: 14px;
    --radius-panel: 28px;
    --radius-card: 20px;
  }
  h2 {
    font-size: 29px;
  }
  .site-header {
    height: 76px;
  }
  .site-header__inner {
    gap: 12px;
  }
  .brand__mark {
    width: 35px;
    height: 43px;
  }
  .brand__name {
    font-size: 27px;
  }
  .brand__caption {
    font-size: 8px;
  }
  .brand {
    gap: 7px;
  }
  .header-booking {
    margin-left: auto;
    font-size: 12px;
    min-height: 42px;
    padding: 6px 8px 6px 15px;
    gap: 12px;
  }
  .header-booking .button__arrow {
    width: 29px;
    height: 29px;
  }
  .header-booking .icon {
    width: 18px;
    height: 18px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: 1px solid #d9eafa;
    background: white;
    border-radius: 50%;
    padding: 10px;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 16px;
    background: var(--color-ink);
    transition: transform var(--transition);
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #f6fcff;
    min-height: 260px;
    padding: 30px var(--page-gutter);
    box-shadow: 0 20px 25px #225c7d12;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 17px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #e0edf5;
  }
  .hero {
    height: auto;
    min-height: 825px;
  }
  .hero__inner {
    min-height: 825px;
  }
  .hero__image {
    height: 430px;
    top: auto;
    bottom: 0;
    object-fit: cover;
    object-position: 65% center;
  }
  .hero::after {
    background: linear-gradient(
      180deg,
      #eefaff 0%,
      #eefaff 44%,
      #eefaffd9 49%,
      transparent 63%
    );
  }
  .hero__content {
    width: 100%;
    padding-top: 27px;
  }
  .eyebrow {
    font-size: 9px;
    gap: 8px;
    padding-right: 14px;
  }
  .eyebrow .icon {
    width: 24px;
    height: 24px;
  }
  .hero h1 {
    font-size: clamp(36px, 7.6vw, 55px);
    letter-spacing: -2px;
    margin-top: 19px;
    line-height: 1.12;
  }
  .hero__description {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 17px;
    letter-spacing: -0.25px;
  }
  .hero__actions {
    gap: 10px;
    margin-top: 22px;
  }
  .hero__actions .button {
    font-size: 11px;
    gap: 12px;
    min-height: 48px;
    padding-left: 15px;
    padding-right: 8px;
  }
  .hero__actions .button__arrow {
    width: 28px;
    height: 28px;
  }
  .hero__actions .button__arrow .icon {
    width: 19px;
    height: 19px;
  }
  .hero__actions .button--outline {
    padding-left: 15px;
    gap: 10px;
  }
  .hero-stats {
    max-width: 440px;
    margin-top: 24px;
  }
  .hero-stats dt {
    font-size: 25px;
  }
  .hero-stats dd {
    font-size: 11px;
  }
  .hero-stats > div {
    padding-right: 14px;
  }
  .hero-stats > div + div {
    padding-left: 15px;
  }
  .hero__decoration--tooth {
    top: auto;
    bottom: 270px;
    left: 8%;
    width: 53px;
    height: 53px;
  }
  .hero__decoration--tooth .icon {
    width: 27px;
    height: 32px;
  }
  .hero__decoration--sparkle {
    top: auto;
    bottom: 220px;
    right: 1%;
    width: 51px;
    height: 51px;
  }
  .hero__decoration--sparkle .icon {
    width: 30px;
    height: 30px;
  }
  .consultation-card {
    right: 0;
    bottom: 23px;
    max-width: 270px;
    min-width: 260px;
    padding: 17px;
    gap: 11px;
    border-radius: 19px;
  }
  .consultation-card__copy strong {
    font-size: 14px;
  }
  .consultation-card__copy > span {
    font-size: 10px;
    margin-top: 7px;
  }
  .benefits {
    padding: 24px 23px 29px;
    min-height: 0;
    margin-top: 16px;
  }
  .benefits__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 0;
  }
  .tooth-orbit {
    grid-row: 1;
    grid-column: 1/-1;
    width: 230px;
    height: 230px;
    margin-bottom: 5px;
  }
  .tooth-orbit__disc {
    width: 206px;
    height: 206px;
  }
  .tooth-orbit__disc img {
    width: 145px;
    height: 180px;
  }
  .benefits__column {
    gap: 24px;
    height: 100%;
    justify-content: space-between;
  }
  .benefits__column--left,
  .benefits__column--right {
    padding: 0;
  }
  .benefits__column--left .benefit,
  .benefits__column--right .benefit {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
    min-height: 135px;
  }
  .benefits__column--left .benefit__copy {
    min-width: 0;
  }
  .benefits__column--left .benefit__icon {
    order: -1;
  }
  .benefit__copy h2 {
    font-size: 14px;
    line-height: 1.35;
  }
  .benefit__copy p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .benefit__copy p br {
    display: none;
  }
  .benefit__icon {
    width: 35px;
    height: 35px;
  }
  .benefits__decor--sparkle {
    top: 100px;
    left: 5px;
    width: 30px;
    height: 30px;
  }
  .benefits__decor--tooth {
    width: 50px;
    height: 60px;
  }
  .benefits__plus {
    font-size: 60px;
    bottom: -22px;
    left: 75%;
  }
  .services {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 7px;
    max-width: 210px;
  }
  .section-heading .button {
    min-height: 39px;
    font-size: 10px;
    padding-left: 12px;
    padding-right: 6px;
    gap: 8px;
    margin-top: 2px;
  }
  .section-heading .button__arrow {
    width: 24px;
    height: 24px;
  }
  .section-heading .button__arrow .icon {
    width: 17px;
    height: 17px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    padding: 12px;
    border-radius: 22px;
  }
  .service-card__image {
    height: auto;
    aspect-ratio: 2.05;
    object-fit: cover;
    border-radius: 14px;
  }
  .service-card__body {
    padding: 15px 7px 10px;
    min-height: 97px;
  }
  .service-card h3 {
    font-size: 20px;
  }
  .service-card p {
    font-size: 15px;
    line-height: 1.5;
  }
  .service-card__link {
    width: 43px;
    height: 43px;
    right: 7px;
    bottom: 15px;
  }
  .technology {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    padding-top: 5px;
    padding-bottom: 26px;
  }
  .technology__intro {
    grid-column: 1/-1;
    padding: 0;
  }
  .technology__intro h2 {
    font-size: 29px;
    line-height: 1.25;
  }
  .technology__intro > p {
    font-size: 15px;
    margin-top: 10px;
  }
  .technology__intro .button {
    min-height: 48px;
    margin-top: 18px;
    font-size: 13px;
  }
  .technology__image {
    grid-column: 1/-1;
    min-height: 0;
    max-height: 330px;
    height: 300px;
    object-position: center 35%;
    border-radius: 23px;
  }
  .offers {
    grid-column: 1/-1;
    gap: 12px;
  }
  .offer-card {
    min-height: 140px;
    padding: 18px;
    gap: 16px;
    border-radius: 22px;
  }
  .offer-card__icon {
    width: 64px;
    height: 70px;
  }
  .offer-card__icon .icon {
    width: 40px;
    height: 44px;
  }
  .offer-card h3 {
    font-size: 16px;
  }
  .offer-card p {
    font-size: 13px;
  }
  .offer-card__prices > span {
    font-size: 25px;
  }
  .offer-card del {
    font-size: 14px;
  }
  .offer-card__discount {
    font-size: 15px;
    right: 18px;
    bottom: 18px;
    padding: 10px 13px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 28px 23px;
    gap: 24px;
    min-height: 0;
  }
  .contact h2 {
    font-size: 29px;
  }
  .contact__intro > p {
    font-size: 14px;
  }
  .contact-phone {
    margin-top: 22px;
    gap: 14px;
  }
  .contact-phone a {
    font-size: 23px;
  }
  .contact-phone__icon {
    width: 51px;
    height: 51px;
  }
  .contact-phone div > span {
    font-size: 12px;
  }
  .consultation-form {
    padding: 17px;
    gap: 12px;
    border-radius: 23px;
  }
  .form-field {
    min-height: 48px;
  }
  .form-field input {
    font-size: 14px;
  }
  .consultation-form .button {
    font-size: 13px;
    min-height: 54px;
    padding-left: 15px;
    gap: 13px;
  }
  .consultation-form .button__arrow {
    width: 33px;
    height: 33px;
  }
  .contact-art {
    display: none;
  }
  .site-footer {
    padding: 28px 0 25px;
  }
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px 15px;
    align-items: start;
  }
  .site-footer .brand__mark {
    width: 35px;
    height: 43px;
  }
  .site-footer .brand__name {
    font-size: 27px;
  }
  .site-footer .brand__caption {
    font-size: 8px;
  }
  .footer-nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 13px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .site-footer__right {
    text-align: right;
    max-width: 185px;
  }
  .social-links {
    gap: 6px;
    margin-bottom: 10px;
  }
  .social-links button {
    width: 30px;
    height: 30px;
  }
  .social-links .icon {
    width: 17px;
    height: 17px;
  }
  .site-footer__right > p {
    font-size: 9px;
    white-space: normal;
    max-width: 150px;
    margin-left: auto;
  }
  .modal {
    padding: 30px 24px;
  }
  .modal h2 {
    font-size: 25px;
  }
}
@media (max-width: 370px) {
  .brand__caption {
    font-size: 7px;
  }
  .header-booking {
    font-size: 11px;
    gap: 7px;
    padding-left: 12px;
  }
  .site-header__inner {
    gap: 9px;
  }
  .hero__actions .button {
    font-size: 10px;
    gap: 8px;
    padding-left: 12px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .benefits {
    padding-inline: 18px;
  }
  .offer-card {
    gap: 12px;
    padding: 15px;
  }
  .offer-card__icon {
    width: 49px;
    height: 59px;
  }
  .offer-card h3 {
    font-size: 14px;
  }
  .offer-card__discount {
    font-size: 12px;
    right: 12px;
  }
  .offer-card__prices > span {
    font-size: 23px;
  }
  .offer-card del {
    font-size: 12px;
  }
  .contact-phone a {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Final mobile refinements after browser QA. */
.skip-link:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
}
@media (max-width: 760px) {
  .hero__image {
    object-position: 85% center;
  }
  .hero__decoration--sparkle {
    bottom: 340px;
    right: 2%;
  }
}
@media (max-width: 370px) {
  .hero__actions .button--outline .button__arrow {
    display: none;
  }
  .hero__actions .button {
    gap: 8px;
  }
  .hero__actions .button__arrow {
    width: 25px;
    height: 25px;
  }
  .contact-phone {
    gap: 10px;
  }
  .contact-phone a {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefits__column,
  .benefit__copy,
  .contact__intro,
  .consultation-form {
    min-width: 0;
  }
  .benefit__copy {
    overflow-wrap: anywhere;
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 370px) {
  .site-header__inner {
    gap: 8px;
  }
  .site-header .brand__mark {
    width: 30px;
    height: 37px;
  }
  .site-header .brand__name {
    font-size: 24px;
  }
  .site-header .brand__caption {
    font-size: 6.5px;
  }
  .header-booking {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 11px;
  }
  .header-booking .button__arrow {
    display: none;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 8px;
  }
  .contact {
    padding-inline: 20px;
  }
  .consultation-form {
    padding: 13px;
  }
  .consultation-form .button {
    font-size: 11px;
    padding-inline: 12px;
    justify-content: center;
  }
  .consultation-form .button__arrow {
    display: none;
  }
  .benefit__copy h2 {
    font-size: 12px;
  }
  .benefit__copy p {
    font-size: 11px;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .site-header__inner {
    gap: 12px;
  }
  .site-header .brand__mark {
    width: 35px;
    height: 44px;
  }
  .site-header .brand__name {
    font-size: 25px;
  }
  .site-header .brand__caption {
    font-size: 8px;
  }
  .main-nav {
    font-size: 11px;
    gap: 14px;
    white-space: nowrap;
  }
  .header-booking {
    font-size: 13px;
    padding-left: 16px;
    gap: 10px;
    min-height: 47px;
  }
  .header-booking .button__arrow {
    width: 29px;
    height: 29px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }
  .hero__description {
    font-size: 17px;
  }
  .hero__content {
    width: 470px;
  }
}

/* Full site navigation: shared nine-item menu in header and footer. */
@media (min-width: 1201px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
  }
  .header-contact {
    display: none;
  }
  .main-nav {
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
  }
  .site-header .brand__caption {
    font-size: 9px;
  }
  .site-header .brand__name {
    font-size: 29px;
  }
  .header-booking {
    font-size: 13px;
    padding-left: 19px;
    gap: 12px;
  }
  .header-booking .button__arrow {
    width: 30px;
    height: 30px;
  }
}
.footer-nav {
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  max-width: 650px;
  line-height: 1.6;
}
@media (min-width: 761px) and (max-width: 1200px) {
  .site-header__inner {
    display: flex;
  }
  .header-contact {
    display: none;
  }
  .header-booking {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid #d9eafa;
    background: white;
    border-radius: 50%;
    padding: 11px;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 16px;
    background: var(--color-ink);
    transition: transform var(--transition);
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: #f6fcff;
    padding: 24px var(--page-gutter);
    box-shadow: 0 20px 25px #225c7d12;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 25px;
    font-size: 14px;
    white-space: normal;
  }
  .main-nav.is-open {
    display: grid;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #e0edf5;
  }
}
@media (max-width: 760px) {
  .main-nav {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .footer-nav {
    justify-content: flex-start;
    max-width: none;
    gap: 12px 18px;
  }
}

/* Accented navigation. */
.main-nav {
  font-weight: 700;
  color: #153251;
}
.main-nav a {
  position: relative;
  letter-spacing: -0.12px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-action);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}
/* Native carousel: retain original card proportions and three visible cards. */
.service-carousel {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  align-items: stretch;
}
.service-carousel::-webkit-scrollbar {
  display: none;
}
.service-carousel .service-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}
.service-carousel .service-card:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px #b9ddf6;
}
.carousel-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
}
.carousel-status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #768ba3;
  font-variant-numeric: tabular-nums;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dots button {
  width: 24px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
}
.carousel-dots button::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #d4e4f1;
  border-radius: 10px;
  transition:
    width var(--transition),
    background var(--transition);
}
.carousel-dots button[aria-current="true"]::after {
  background: var(--gradient-action);
  width: 24px;
}
.carousel-buttons {
  justify-self: end;
  display: flex;
  gap: 10px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #178ed5;
  background: #eff9ff;
  border: 1px solid #d6eaf9;
  transition:
    background var(--transition),
    opacity var(--transition);
}
.carousel-arrow .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.carousel-arrow--prev .icon {
  transform: rotate(180deg);
}
.carousel-arrow:hover:not(:disabled) {
  background: #ddf3ff;
}
.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
/* Expanded footer. */
.site-footer {
  margin-top: 36px;
  padding: 48px 0 22px;
  background:
    linear-gradient(115deg, #edfaffed, #f2f6ffed),
    url("../images/dental-pattern.svg");
  border-top: 1px solid #e0edf8;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 350px;
  height: 350px;
  border: 1px solid #d9e7fc88;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #e7f1ff44,
    0 0 0 90px #e7f1ff22;
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
  min-height: 0;
  padding-bottom: 32px;
}
.footer-company__description {
  color: #7690a8;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 18px;
}
.footer-contacts {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
  font-size: 13px;
  color: #56738f;
  line-height: 1.7;
}
.footer-contacts__phone {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #203e5e;
}
.footer-contacts__phone .icon {
  width: 20px;
  height: 20px;
  color: #12a8cb;
}
.footer-contacts__hours {
  font-size: 12px;
  color: #7c90a7;
}
.footer-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 6px 0 21px;
  color: #244360;
}
.footer-navigation .footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: none;
  justify-content: start;
  font-size: 13px;
  line-height: 1.65;
  color: #607d98;
}
.footer-navigation .footer-nav a {
  width: fit-content;
}
.footer-connect > p {
  font-size: 13px;
  line-height: 1.7;
  color: #7b90a7;
  margin-bottom: 17px;
}
.footer-connect .button {
  font-size: 13px;
  gap: 14px;
  padding-left: 19px;
  min-height: 48px;
}
.footer-connect .button__arrow {
  width: 30px;
  height: 30px;
}
.site-footer .social-links {
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 0;
  gap: 10px;
}
.site-footer .social-links button {
  width: 35px;
  height: 35px;
  background: #fff9;
  border: 1px solid #d8e9f9;
}
.site-footer .social-links .icon {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #dbe8f3;
  font-size: 11px;
  color: #8092a9;
  line-height: 1.7;
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  text-decoration: underline;
  text-decoration-color: #bfcede;
  text-underline-offset: 4px;
}
.footer-legal a:hover {
  color: #2787be;
}
.footer-credit {
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}
.footer-credit span {
  color: #8f83da;
  font-size: 18px;
  line-height: 1;
}
.footer-credit strong {
  font-weight: 700;
  color: #617c9c;
  letter-spacing: 0.25px;
}
@media (max-width: 1200px) {
  .main-nav a::after {
    bottom: 8px;
  }
  .site-footer__inner {
    gap: 30px;
  }
  .footer-contacts__phone {
    font-size: 19px;
  }
  .footer-navigation .footer-nav {
    gap: 10px 18px;
    font-size: 12px;
  }
  .footer-connect .button {
    font-size: 12px;
    gap: 10px;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 15px;
  }
  .footer-legal {
    gap: 15px;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-connect {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 25px;
  }
  .footer-connect .footer-title {
    grid-column: 1;
    margin: 0;
  }
  .footer-connect > p {
    grid-column: 1;
    margin: 0;
  }
  .footer-connect .button {
    grid-column: 2;
    grid-row: 1/3;
  }
  .site-footer .social-links {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-legal {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .service-carousel {
    grid-auto-columns: 100%;
    gap: 15px;
  }
  .carousel-navigation {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-top: 14px;
  }
  .carousel-status {
    font-size: 10px;
    letter-spacing: 0.4px;
  }
  .carousel-dots {
    gap: 0;
    justify-content: center;
  }
  .carousel-dots button {
    width: 19px;
  }
  .carousel-dots button[aria-current="true"]::after {
    width: 17px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .carousel-buttons {
    gap: 7px;
  }
  .site-footer {
    margin-top: 28px;
    padding-top: 32px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-bottom: 26px;
  }
  .footer-company {
    grid-column: 1/-1;
  }
  .footer-company__description {
    margin-top: 13px;
  }
  .footer-contacts {
    margin-top: 15px;
  }
  .footer-contacts__phone {
    font-size: 22px;
  }
  .footer-contacts__hours {
    font-size: 12px;
  }
  .footer-title {
    font-size: 13px;
    margin: 0 0 15px;
  }
  .footer-navigation {
    grid-column: 1;
  }
  .footer-navigation .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 12px;
    max-width: none;
  }
  .footer-connect {
    grid-column: 2;
    min-width: 0;
  }
  .footer-connect > p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .footer-connect .button {
    font-size: 10px;
    padding: 9px 11px;
    gap: 8px;
    min-height: 40px;
    white-space: normal;
    text-align: left;
  }
  .footer-connect .button__arrow {
    width: 24px;
    height: 24px;
  }
  .footer-connect .button__arrow .icon {
    width: 17px;
    height: 17px;
  }
  .site-footer .social-links {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
  }
  .site-footer .social-links button {
    width: 30px;
    height: 30px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    font-size: 10px;
  }
  .footer-legal {
    flex-direction: column;
    gap: 7px;
  }
  .footer-credit {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .carousel-status {
    font-size: 9px;
  }
  .carousel-dots button {
    width: 15px;
  }
  .carousel-dots button::after {
    width: 5px;
    height: 5px;
  }
  .carousel-dots button[aria-current="true"]::after {
    width: 13px;
  }
  .carousel-arrow {
    width: 31px;
    height: 31px;
  }
  .carousel-buttons {
    gap: 6px;
  }
  .carousel-navigation {
    gap: 8px;
  }
  .footer-connect .button__arrow {
    display: none;
  }
  .site-footer__inner {
    gap: 28px 15px;
  }
  .footer-contacts__phone {
    font-size: 21px;
  }
}

/* Shared sticky navigation: translucent liquid-glass surface on scroll. */
html { scroll-padding-top: 108px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(248, 252, 255, 0.93);
  border-bottom-color: rgba(185, 216, 237, 0.5);
  box-shadow: 0 8px 30px rgba(33, 76, 113, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: linear-gradient(115deg, rgba(255,255,255,.73), rgba(235,249,255,.62) 55%, rgba(241,237,255,.65));
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
  }
}
@media (max-width: 760px) { html { scroll-padding-top: 94px; } }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
