@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap");

:root {
  --teal: #009aa6;
  --teal-dark: #007983;
  --teal-soft: #e8f8f8;
  --navy: #13223d;
  --ink: #263247;
  --muted: #647084;
  --line: #dfe8ee;
  --paper: #ffffff;
  --bg: #f7fbfc;
  --shadow: 0 18px 42px rgba(19, 34, 61, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis-weight: none;
  color: var(--ink);
  background: #eef5f7;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.svg-icon,
.line-icon svg,
.location-card span svg,
.trust-grid span svg {
  width: 1em;
  height: 1em;
  display: block;
}
.container { width: min(var(--container), calc(100% - 44px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--navy); color: white; padding: 10px 14px; z-index: 20; }
.skip-link:focus { left: 10px; }

.page-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  background: var(--paper);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(14, 40, 60, 0.16);
}

.top-banner {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 232, 238, 0.96);
  box-shadow: 0 8px 24px rgba(19, 34, 61, 0.07);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 102px;
}
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: 304px; height: auto; }
.primary-nav {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}
.primary-nav a {
  text-decoration: none;
}
.nav-link {
  position: relative;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.92rem;
  padding: 40px 0;
}
.nav-link:hover,
.nav-link.is-active { color: var(--teal); }
.nav-link.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 29px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
}
.nav-item {
  position: relative;
}
.nav-menu {
  position: absolute;
  top: calc(100% - 12px);
  left: 50%;
  z-index: 20;
  display: none;
  min-width: 240px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 46px rgba(19, 34, 61, 0.16);
}
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  display: block;
}
.compact-menu {
  padding: 12px;
}
.compact-menu a,
.wide-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}
.compact-menu a:hover,
.wide-menu a:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.weight-menu-item,
.surgery-menu-item {
  position: static;
}
.wide-menu {
  left: 50%;
  width: min(820px, calc(100vw - 44px));
  padding: 22px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  transform: translateX(-50%);
}
.weight-menu,
.surgery-menu {
  grid-template-columns: repeat(3, 1fr);
}
.weight-menu-item:hover .wide-menu,
.weight-menu-item:focus-within .wide-menu,
.surgery-menu-item:hover .wide-menu,
.surgery-menu-item:focus-within .wide-menu {
  display: grid;
}
.wide-menu h3 {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-family: inherit;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 900;
  color: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}
.button-primary {
  background: linear-gradient(180deg, #05aab5, var(--teal-dark));
  color: white;
  box-shadow: 0 12px 22px rgba(0, 154, 166, 0.24);
}
.button-primary:hover { background: var(--teal-dark); }
.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 555px;
  overflow: hidden;
  background: #f6fcfd;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 0 0 40%;
  background: url("assets/images/hero-room.jpg") center right / cover no-repeat;
  opacity: 0.22;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 43%;
  background-image: url("assets/images/dr-mastakov-profile.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  filter: saturate(1.14) contrast(1.14) brightness(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.995) 0%, rgba(255,255,255,0.98) 34%, rgba(255,255,255,0.86) 47%, rgba(255,255,255,0.2) 61%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(246,252,253,0) 76%, #f6fcfd 100%),
    radial-gradient(circle at 2% 28%, rgba(0, 154, 166, 0.12), transparent 30%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 555px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 96px;
  max-width: var(--container);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 950;
  font-size: 0.9rem;
}
h1, h2, h3 {
  color: var(--navy);
  margin-top: 0;
  line-height: 1.06;
}
h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 4.55vw, 4.95rem);
  font-weight: 800;
  letter-spacing: 0;
}
h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  margin-bottom: 18px;
}
.lead {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
}
.lead strong { color: var(--teal-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.feature-strip {
  position: relative;
  z-index: 3;
  margin-top: -56px;
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-strip article {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 116px;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}
.feature-strip article:last-child { border-right: 0; }
.line-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 1.72rem;
  font-weight: 900;
}
.feature-strip strong { display: block; color: var(--navy); font-weight: 900; }
.feature-strip small { display: block; color: var(--muted); margin-top: 4px; font-weight: 700; }

.section { padding: 28px 0 44px; }
.services-section {
  padding-top: 36px;
  padding-bottom: 42px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card,
.location-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(19, 34, 61, 0.08);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}
.service-card:nth-child(1) img { object-position: center; }
.service-card:nth-child(2) img { object-position: center 42%; }
.service-card:nth-child(3) img { object-position: center 38%; }
.service-card:nth-child(4) img { object-position: center; }
.card-body {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: 26px 28px 24px;
}
.card-body h2 {
  min-height: 56px;
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1.08;
}
.card-body p {
  min-height: 86px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.55;
}
.card-body a,
.location-card a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 950;
}
.card-body a {
  margin-top: auto;
  font-size: 1rem;
}

.about-section {
  padding-top: 22px;
  padding-bottom: 26px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: center;
}
.about-copy h2 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
  line-height: 1.04;
}
.about-copy p {
  color: var(--ink);
  max-width: 570px;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.65;
}
.about-copy .button {
  margin-top: 14px;
  min-height: 48px;
  padding-inline: 22px;
  font-size: 0.92rem;
}
.about-image {
  justify-self: stretch;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%;
  aspect-ratio: 1.85 / 1;
  object-fit: cover;
}

.locations-section { padding-top: 0; padding-bottom: 28px; }
.section-heading { margin-bottom: 10px; }
.centered { text-align: center; }
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.location-card {
  padding: 24px 22px 22px;
  text-align: center;
}
.location-card span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 58px;
  margin: 0 auto 8px;
  color: var(--teal);
  font-size: 3rem;
}
.location-card h2 {
  margin: 0;
  font-size: 1.45rem;
}
.location-card p {
  margin: 2px 0 8px;
  color: var(--navy);
  font-weight: 900;
}
.location-card small {
  display: block;
  min-height: 70px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.trust-band {
  background: linear-gradient(90deg, #e4f6f7, #f3fbfb);
  padding: 38px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.trust-grid article {
  padding: 18px 28px;
  border-right: 1px solid rgba(0, 154, 166, 0.16);
}
.trust-grid article:last-child { border-right: 0; }
.trust-grid span {
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 2.85rem;
  margin-bottom: 8px;
}
.trust-grid strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
}
.trust-grid small {
  display: block;
  max-width: 260px;
  margin: 8px auto 0;
  color: var(--muted);
  font-weight: 700;
}
.trust-message {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 8px;
  text-align: left;
  align-items: center;
}
.trust-message span {
  grid-row: span 2;
  font-size: 6.8rem;
  line-height: 0.8;
}
.trust-message strong {
  max-width: 360px;
  font-size: 1.35rem;
}
.trust-message small {
  max-width: 370px;
  margin: 8px 0 0;
}

.site-footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 30px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.2fr;
  gap: 34px;
}
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo img { width: 236px; }
.site-footer h2 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 0.96rem;
}
.site-footer a {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--teal); }
.subscribe-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.subscribe-form div {
  display: grid;
  grid-template-columns: 1fr auto;
}
.subscribe-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 12px 13px;
  font: inherit;
}
.subscribe-form button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--teal);
  color: white;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.footer-bottom div {
  display: flex;
  gap: 24px;
}
.footer-bottom a {
  margin: 0;
  font-size: 0.88rem;
}

.seo-shell {
  min-height: 100vh;
}
.seo-hero {
  padding: 78px 0 64px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.84)),
    radial-gradient(circle at 9% 22%, rgba(0,154,166,0.13), transparent 34%),
    url("/assets/images/hero-room.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
}
.seo-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.3vw, 4.2rem);
}
.seo-hero .lead {
  max-width: 780px;
}
.seo-content-section {
  padding: 56px 0 68px;
}
.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.seo-content {
  max-width: 780px;
}
.seo-content p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.75;
}
.seo-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}
.seo-content h2:first-child {
  margin-top: 0;
}
.seo-content h3 {
  margin: 26px 0 10px;
  font-size: 1.25rem;
}
.seo-content ul,
.seo-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.seo-content li {
  margin: 8px 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.65;
}
.seo-feature-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.seo-feature-image img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.seo-aside {
  position: sticky;
  top: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.08);
}
.seo-aside h2 {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 1rem;
}
.seo-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
}
.seo-card:hover {
  color: var(--teal);
}
.listing-section {
  padding: 56px 0 72px;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.listing-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 26px rgba(19, 34, 61, 0.08);
}
.listing-card > img {
  width: calc(100% + 48px);
  max-width: none;
  margin: -24px -24px 18px;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.listing-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.listing-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}
.listing-card p {
  color: var(--ink);
  font-weight: 650;
}
.listing-card a {
  margin-top: auto;
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 950;
}

@media (max-width: 1100px) {
  .brand img { width: 220px; }
  .primary-nav { gap: 12px; }
  .nav-link { font-size: 0.8rem; }
  .header-cta { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 22px;
    right: 22px;
    top: 88px;
    margin-left: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .primary-nav.is-open { display: flex; }
  .nav-link { width: 100%; padding: 12px 8px; }
  .nav-link.is-active:after { display: none; }
  .nav-item { width: 100%; }
  .nav-menu,
  .wide-menu {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    background: transparent;
  }
  .wide-menu { grid-template-columns: 1fr; }
  .compact-menu a,
  .wide-menu a {
    padding: 7px 8px;
    color: var(--muted);
    font-size: 0.84rem;
  }
  .hero { min-height: auto; }
  .hero-media { inset: 40% 0 0 0; background-position: center 28%; opacity: 0.54; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 52%, rgba(255,255,255,0.42) 100%);
  }
  .hero-content {
    min-height: 640px;
    justify-content: flex-start;
    padding-top: 54px;
    padding-bottom: 0;
  }
  .feature-strip { margin-top: -40px; }
  .feature-strip-inner,
  .cards-grid,
  .location-grid,
  .trust-grid,
  .footer-grid,
  .seo-layout { grid-template-columns: repeat(2, 1fr); }
  .seo-hero-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-section { padding-top: 72px; padding-bottom: 88px; }
  .about-copy h2 { font-size: 4.2rem; }
  .about-copy p { font-size: 1.16rem; }
  .service-card { min-height: 0; }
  .card-body { min-height: 360px; }
  .card-body p { font-size: 1.2rem; }
  .trust-message { grid-column: 1 / -1; }
  .seo-aside { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .top-banner { font-size: 0.82rem; }
  .header-inner { min-height: 76px; }
  .brand img { width: 210px; }
  .primary-nav { top: 76px; }
  h1 { font-size: 2.55rem; }
  .hero-content { min-height: 620px; }
  .hero-actions,
  .button { width: 100%; }
  .feature-strip-inner,
  .cards-grid,
  .location-grid,
  .trust-grid,
  .footer-grid,
  .seo-layout { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .feature-strip article,
  .trust-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-strip article:last-child,
  .trust-grid article:last-child { border-bottom: 0; }
  .card-body h2,
  .card-body p,
  .location-card small { min-height: 0; }
  .card-body {
    padding: 24px;
    min-height: 0;
  }
  .card-body p {
    font-size: 1.05rem;
  }
  .about-copy h2 {
    font-size: 2.55rem;
  }
  .about-copy p {
    font-size: 1.05rem;
  }
  .footer-bottom { display: block; }
  .footer-bottom div { margin-top: 12px; }
}
