/* Brand layer and shared page components */
:root {
  --green: #145d43;
  --green-dark: #0d4634;
  --green-deep: #08372c;
  --mint: #eaf4ed;
  --lime: #bfd875;
  --ink: #17372d;
  --muted: #5d7167;
  --line: #dfe9e2;
  --paper: #f5f8f6;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(14, 57, 40, .10);
  --font: 'Noto Sans', Arial, sans-serif;
}

body {
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
}

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

/* Contact bar */
.topline {
  height: auto;
  min-height: 76px;
  background: linear-gradient(105deg, #0b4634, #176548 63%, #21744d);
  color: #fff;
  font-size: 13px;
}

.topline-inner {
  width: min(1420px, 100%);
  min-height: 76px;
  margin: auto;
  padding: 10px 30px;
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(200px, .9fr) minmax(215px, .9fr) auto;
  gap: 18px;
  align-items: center;
}

.address-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 13px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.address-chip img { width: 21px; height: 21px; flex: 0 0 auto; }
.address-chip:hover { background: rgba(255, 255, 255, .16); }

.top-contact-list { display: grid; gap: 5px; }
.top-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.top-contact img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.top-contact:hover { color: #d7e9b0; }

.top-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-content: center;
  font-size: 12px;
  line-height: 1.4;
  color: #edf6ef;
}
.top-hours b { grid-row: span 3; align-self: center; color: #d1e79b; font-size: 13px; }
.top-hours span { white-space: nowrap; }

.topline-social, .footer-social { display: flex; align-items: center; gap: 14px; }
.topline-social a, .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 750;
  transition: color .2s, transform .2s;
}
.topline-social img, .footer-social img { width: 21px; height: 21px; }
.topline-social img { filter: brightness(0) invert(1); }
.topline-social a:hover, .footer-social a:hover { color: #c9e69b; transform: translateY(-1px); }

/* Header and classic social icons */
.header {
  min-height: 86px;
  height: auto;
  padding: 13px max(calc((100vw - 1360px) / 2), 25px);
  gap: 18px;
  border-bottom-color: #e4ece6;
}
.brand { gap: 10px; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-type { color: var(--green-dark); font-size: 16px; letter-spacing: .09em; font-weight: 850; }
.brand-type span { font-size: 8px; letter-spacing: .33em; }
.nav { gap: clamp(12px, 1.3vw, 21px); }
.nav a, .footer-nav a { font-size: 12px; font-weight: 800; }
.head-actions { gap: 12px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-color: #dce8df;
  background: #fff;
}
.social-icon img { width: 19px; height: 19px; }
.whats-icon img { width: 20px; height: 20px; }
.button, .button-head {
  border-radius: 13px;
  font-size: 13px;
  font-weight: 850;
  background: linear-gradient(112deg, #125b40, #218254);
  box-shadow: 0 9px 20px rgba(16, 88, 61, .16);
  transition: transform .22s ease, box-shadow .22s ease, background-position .35s ease;
}
.button { min-height: 49px; padding: 0 21px; }
.button-head { min-height: 43px; padding: 0 17px; }
.button:hover, .button-head:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(16, 88, 61, .22); }
.button-light { background: #fff; border-color: #c7dbcd; color: var(--green-dark); box-shadow: none; }
.button-light:hover { background: #f1f8f3; box-shadow: 0 8px 20px rgba(16, 88, 61, .09); }
.button-white { border-radius: 13px; }
.button b { display: none; }

/* Main typography and card surfaces */
.hero { padding-top: 45px; grid-template-columns: .84fr 1.16fr; gap: 32px; }
.hero h1 { font-size: clamp(43px, 4.5vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -.045em; }
.hero h1 strong { font-weight: 850; }
.hero-content > p { max-width: 540px; font-size: 16px; line-height: 1.72; }
.hero-photo { min-height: 430px; border-radius: 24px 48px 24px 24px; background: linear-gradient(140deg, #edf4ee, #d9e9df); box-shadow: 0 24px 54px rgba(20, 65, 44, .13); }
.hero-photo img { object-fit: contain; object-position: center bottom; padding: 18px 10px 0; }
.hero-photo-shade { background: linear-gradient(180deg, rgba(8, 56, 40, 0) 55%, rgba(8, 56, 40, .27)); }
.hero-trust { font-size: 12px; }
.trust-strip { margin-bottom: 25px; border-radius: 17px; padding: 15px 20px; }
.trust-item { font-size: 13px; min-height: 48px; }
.section { padding-top: 76px; padding-bottom: 78px; }
.section h2, .contact-section h2 { font-weight: 850; }
.section-title-row { margin-bottom: 33px; }
.section-title-row > p { font-size: 15px; line-height: 1.7; }
.why-card, .price-card, .doctor-card, .review-card, .mission-grid article {
  border-radius: 19px;
  box-shadow: 0 6px 22px rgba(15, 58, 40, .045);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.why-card { min-height: 220px; padding: 24px 22px 20px; }
.why-card:hover, .price-card:hover, .doctor-card:hover, .review-card:hover, .mission-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(14, 67, 45, .12);
  border-color: #a7cbb1;
}
.why-card h3, .doctor-details h3, .price-card h3, .news-content h3 { font-size: 17px; font-weight: 850; }
.why-card p, .doctor-details p, .price-card p, .news-content p, .mission-grid p { font-size: 14px; line-height: 1.7; }
.why-card > a, .doctor-appointment, .news-content > a, .price-card > a { font-size: 12px; font-weight: 850; }
.direction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.direction-card { height: 260px; border-radius: 19px; isolation: isolate; }
.direction-card img { transition: transform .6s ease, filter .45s ease; }
.direction-overlay {
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 55, 39, .08) 15%, rgba(5, 54, 38, .78) 100%);
  transition: background .35s ease, opacity .35s ease;
}
.direction-card:hover .direction-overlay, .direction-card:focus-visible .direction-overlay {
  background: linear-gradient(180deg, rgba(8, 80, 48, .35), rgba(6, 79, 48, .91));
}
.direction-card:hover img, .direction-card:focus-visible img { transform: scale(1.055); filter: saturate(1.12); }
.direction-name { z-index: 2; font-size: 18px; line-height: 1.28; }
.direction-number { z-index: 2; font-size: 10px; border-radius: 8px; }
.direction-link { z-index: 2; }
.price-card { min-height: 205px; border-radius: 18px; padding: 22px; }
.price-card h3 { font-size: 17px; }
.price-card p { font-size: 13px; }
.news-card { border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px rgba(15, 58, 40, .06); }
.news-content { padding: 20px; }
.news-content h3 { font-size: 16px; line-height: 1.45; }
.news-content p { font-size: 13px; }
.review-card { padding: 22px; border-radius: 18px; }
.review-card > p { font-size: 14px; line-height: 1.75; }
.footer { padding-top: 34px; padding-bottom: 34px; }
.footer-nav { gap: 13px 20px; }
.footer-nav a { font-size: 12px; }
.footer > small { font-size: 10px; }

/* Direction, pricing, doctor and profile pages */
.page-hero { padding-top: 52px; padding-bottom: 38px; }
.page-hero h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 850; }
.page-lead { font-size: 16px; line-height: 1.72; }
.page-hero-media { border-radius: 22px 42px 22px 22px; }
.page-hero-media img { object-fit: cover; }
.page-wrap { padding-top: 36px; padding-bottom: 74px; }
.page-intro p { font-size: 15px; line-height: 1.78; }
.page-intro h2, .page-wrap h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 850; }
.page-cards { gap: 17px; }
.page-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border-radius: 19px;
  border: 1px solid #e3ece5;
  background: linear-gradient(150deg, #fff, #f8fbf9);
  box-shadow: 0 8px 24px rgba(18, 59, 42, .045);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.page-card:hover, .page-card.is-clickable:hover, .page-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(14, 67, 45, .12);
  border-color: #a7cbb1;
}
.page-card .card-index { font-size: 11px; }
.page-card h3 { font-size: 20px; font-weight: 850; margin: 18px 0 10px; }
.page-card p { font-size: 14px; line-height: 1.72; }
.page-card > a:last-child { margin-top: auto; font-size: 12px; }
.page-card .card-link-label { margin-top: auto; color: #216e4c; font-size: 12px; font-weight: 850; }
.page-band { border-radius: 18px; padding: 30px; }
.page-band h2 { font-size: 27px; font-weight: 850; }
.page-band p { font-size: 14px; }
.page-note { font-size: 12px; }

.site-map {
  max-width: 1320px;
  margin: 0 auto 48px;
  padding: 0;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  min-height: 325px;
  overflow: hidden;
  border: 1px solid #e1ebe4;
  border-radius: 22px;
  background: linear-gradient(130deg, #f0f7f2, #fff);
  box-shadow: 0 10px 30px rgba(18, 60, 42, .06);
}
.site-map-copy { padding: 33px; display: flex; flex-direction: column; justify-content: center; }
.site-map-copy h2 { margin: 0 0 10px; color: var(--green-dark); font-size: 29px; font-weight: 850; letter-spacing: -.035em; }
.site-map-copy p { margin: 0 0 20px; color: #66766e; font-size: 14px; line-height: 1.7; }
.site-map-copy .address-line { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--green-dark); font-size: 14px; }
.site-map-copy .address-line img { width: 22px; height: 22px; }
.site-map-frame { min-height: 325px; border: 0; width: 100%; height: 100%; filter: saturate(.75); }

.doctor-filters, .price-filters, 
.filter-field { display: grid; gap: 7px; min-width: 185px; flex: 1 1 185px; }
.filter-field label { color: #4b6657; font-size: 12px; font-weight: 850; }
.filter-field input, .filter-field select, .form-control {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d7e4da;
  border-radius: 12px;
  background: #fff;
  color: #294637;
  font: inherit;
  font-size: 14px;
}
.filter-field input:focus, .filter-field select:focus, .form-control:focus { outline: 3px solid rgba(35, 119, 75, .14); border-color: #76a987; }
.filter-count { flex: 0 0 100%; color: #708178; font-size: 12px; padding: 0 2px; }
.doctors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.doctor-card-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2ebe4;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(17, 61, 42, .06);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.doctor-card-link:hover, .doctor-card-link:focus-visible { transform: translateY(-5px); border-color: #a9ccb2; box-shadow: 0 19px 42px rgba(14, 67, 45, .13); }
.doctor-card-image { position: relative; height: 290px; overflow: hidden; background: #e9f0eb; }
.doctor-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.doctor-card-link:hover .doctor-card-image img { transform: scale(1.04); }
.doctor-card-copy { padding: 20px; display: grid; gap: 8px; }
.doctor-card-copy h2 { color: #1e4635; font-size: 19px; line-height: 1.32; font-weight: 850; margin: 0; }
.doctor-card-copy .doctor-role { color: #2d7752; font-size: 12px; font-weight: 850; }
.doctor-card-copy .doctor-meta { color: #78867f; font-size: 12px; }
.doctor-card-copy .doctor-price { color: #174b35; font-size: 15px; font-weight: 850; margin-top: 4px; }
.doctor-card-copy .doctor-action { margin-top: 4px; color: #24734f; font-size: 12px; font-weight: 850; }
.no-results { display: none; padding: 28px; border-radius: 15px; background: #f4f8f5; color: #5e7165; text-align: center; font-size: 14px; }
.doctor-profile-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; max-width: 1320px; margin: auto; padding: 45px 30px 42px; }
.doctor-profile-photo { height: 520px; border-radius: 24px 44px 24px 24px; overflow: hidden; background: #e8f0ea; }
.doctor-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile-copy h1 { margin: 10px 0 12px; color: #173d34; font-size: clamp(37px, 4.4vw, 58px); line-height: 1.07; font-weight: 850; letter-spacing: -.045em; }
.doctor-profile-copy .doctor-role { color: #26774f; font-size: 14px; font-weight: 850; }
.doctor-profile-copy .doctor-bio { margin: 20px 0 22px; max-width: 670px; color: #62746a; font-size: 16px; line-height: 1.8; }
.doctor-profile-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.doctor-profile-meta span { padding: 10px 13px; border: 1px solid #dbe9df; border-radius: 12px; background: #f7faf8; color: #325644; font-size: 12px; font-weight: 800; }
.doctor-profile-details { max-width: 1320px; margin: auto; padding: 20px 30px 76px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doctor-detail-card { padding: 24px; border: 1px solid #e2ebe4; border-radius: 17px; background: #fff; }
.doctor-detail-card h2 { margin: 0 0 14px; color: #1a4634; font-size: 21px; font-weight: 850; }
.doctor-detail-card p, .doctor-detail-card li { color: #62746a; font-size: 14px; line-height: 1.7; }
.doctor-schedule { display: grid; gap: 10px; }
.doctor-schedule-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e7eee8; color: #496356; font-size: 13px; }
.price-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-group { border: 1px solid #e1ebe4; border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 6px 23px rgba(17, 61, 42, .045); }
.price-group-header { padding: 22px 22px 15px; background: linear-gradient(120deg, #f0f7f2, #fbfdfb); }
.price-group-header h2 { margin: 0 0 6px; color: #1c4a35; font-size: 19px; font-weight: 850; }
.price-group-header p { margin: 0; color: #718078; font-size: 12px; }
.price-group-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 20px; border-top: 1px solid #edf1ee; align-items: center; }
.price-group-row span { color: #425e4f; font-size: 13px; line-height: 1.5; }
.price-group-row strong { color: #174b35; font-size: 14px; font-weight: 850; white-space: nowrap; }
.price-group-footer { padding: 14px 20px 18px; }
.price-group-footer a { color: #23744f; font-size: 12px; font-weight: 850; }
.demo-price-note { margin: 18px 0 0; color: #75847c; font-size: 11px; line-height: 1.6; }


/* Shared map and safe motion */
.page-title-note { color: #77867e; font-size: 12px; }
.is-clickable { cursor: pointer; }
[hidden] { display: none !important; }

@media (max-width: 1160px) {
  .topline-inner { grid-template-columns: 1.1fr .9fr 1fr; }
  .topline-social { grid-column: 3; justify-content: flex-end; }
  .top-hours { grid-column: 2; grid-row: 1; }
  .top-contact-list { grid-column: 3; grid-row: 1; }
  .address-chip { grid-column: 1; grid-row: 1; }
  .header .nav { gap: 12px; }
  .nav a { font-size: 11px; }
  .header .brand-type { font-size: 14px; }
  .doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .topline-inner { grid-template-columns: 1fr 1fr; gap: 9px 15px; }
  .address-chip { grid-column: 1; grid-row: 1; }
  .top-contact-list { grid-column: 2; grid-row: 1; justify-self: end; }
  .top-hours { grid-column: 1; grid-row: 2; }
  .topline-social { grid-column: 2; grid-row: 2; }
  .header { flex-wrap: wrap; }
  .header .nav { order: 3; flex-basis: 100%; justify-content: center; flex-wrap: wrap; }
  .site-map { margin-left: 22px; margin-right: 22px; }
}

@media (max-width: 680px) {
  .topline-inner { padding: 9px 14px; grid-template-columns: 1fr auto; }
  .address-chip { grid-column: 1 / -1; grid-row: 1; min-height: 42px; font-size: 13px; }
  .top-contact-list { grid-column: 1; grid-row: 2; justify-self: start; gap: 4px; }
  .top-contact { font-size: 12px; }
  .top-hours { grid-column: 2; grid-row: 2; justify-self: end; grid-template-columns: 1fr; font-size: 10px; gap: 0; }
  .top-hours b { grid-row: auto; font-size: 10px; }
  .topline-social { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; padding: 2px 0; }
  .topline-social a { font-size: 11px; }
  .header { min-height: 68px; padding: 9px 14px; flex-wrap: nowrap; gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-type { font-size: 13px; }
  .head-actions { gap: 6px; }
  .header .nav { display: none; }
  .header .nav.open { position: absolute; display: grid; top: 100%; left: 0; right: 0; padding: 16px; background: #fff; border-bottom: 1px solid #e5ece7; box-shadow: 0 16px 28px rgba(15, 57, 39, .12); gap: 0; justify-content: stretch; z-index: 40; }
  .header .nav.open a { padding: 12px 8px; border-bottom: 1px solid #edf2ee; font-size: 14px; }
  .nav a[aria-current="page"]::after { display: none; }
  .social-icon { width: 33px; height: 33px; }
  .button-head { display: none; }
  .hero { padding: 27px 15px 22px; grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: 40px; }
  .hero-content > p { font-size: 15px; }
  .hero-photo { min-height: 270px; border-radius: 17px 31px 17px 17px; }
  .trust-strip { margin: 0 13px 16px; grid-template-columns: repeat(2, 1fr); padding: 9px; }
  .trust-item { font-size: 11px; padding: 6px; min-height: 38px; border: 0; }
  .patient-route-promo { margin-left: 14px; margin-right: 14px; }
  .section { padding: 50px 15px; }
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .direction-card { height: 185px; border-radius: 13px; }
  .direction-name { left: 10px; bottom: 11px; font-size: 13px; }
  .page-hero { padding: 29px 15px 23px; grid-template-columns: 1fr; gap: 18px; }
  .page-hero h1 { font-size: 37px; }
  .page-lead { font-size: 14px; }
  .page-hero-media { height: 235px; border-radius: 14px 28px 14px 14px; }
  .page-wrap { padding: 27px 15px 48px; }
  .page-cards { grid-template-columns: 1fr; gap: 10px; }
  .page-card { min-height: 0; padding: 18px; }
  .page-card h3 { font-size: 18px; margin: 11px 0 7px; }
  .page-card p { font-size: 13px; }
  .page-band { padding: 20px; }
  .site-map { grid-template-columns: 1fr; margin: 0 13px 38px; border-radius: 16px; }
  .site-map-copy { padding: 20px; }
  .site-map-copy h2 { font-size: 24px; }
  .site-map-frame { min-height: 230px; height: 230px; }
  .doctors-grid, .price-page-grid, 
  .doctor-card-image { height: 250px; }
  .doctor-profile-hero { grid-template-columns: 1fr; gap: 21px; padding: 26px 15px; }
  .doctor-profile-photo { height: 340px; border-radius: 15px 27px 15px 15px; }
  .doctor-profile-copy h1 { font-size: 36px; }
  .doctor-profile-copy .doctor-bio { font-size: 14px; }
  .doctor-profile-details { grid-template-columns: 1fr; padding: 12px 15px 45px; }
  .doctor-filters, .price-filters, 
  .filter-field { min-width: 100%; }
  .price-group-row { padding: 12px 15px; }
  .page-mobile { display: grid !important; }
  .mobile-actions a { min-height: 43px; height: auto; font-size: 10px; border-radius: 11px; }
  .footer { padding-bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Final interaction and hierarchy refinements */
.topline-inner { grid-template-columns: minmax(250px,1.3fr) minmax(220px,1fr) minmax(210px,.9fr) auto; gap: 18px; }
.address-chip { min-height: 48px; padding: 10px 16px; border: 1px solid rgba(18,71,56,.18); border-radius: 15px; font-size: 15px; font-weight: 800; }
.top-contact { font-size: 15px; font-weight: 800; }
.top-hours { font-size: 14px; font-weight: 700; line-height: 1.55; }
.top-hours b { font-size: 15px; }
.hero-photo img { object-fit: contain; object-position: center bottom; }
.direction-card { cursor: pointer; }
.direction-card .direction-overlay { background: linear-gradient(0deg, rgba(12,75,50,.94), rgba(12,75,50,.18)); transition: opacity .35s ease, background .35s ease; }
.direction-card:hover .direction-overlay, .direction-card:focus-visible .direction-overlay { opacity: 1; background: linear-gradient(0deg, rgba(7,61,40,.98), rgba(17,116,76,.58)); }
.page-card, .why-card, .price-card, .news-card, .review-card, .doctor-card { cursor: pointer; }
.is-clickable { cursor: pointer; }
.page-card h3, .doctor-card h2, .price-group h2, .news-card h3 { font-weight: 800; letter-spacing: -.025em; }
.doctor-card-link { color: inherit; text-decoration: none; }
.doctor-card { overflow: hidden; border-radius: 22px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.doctor-card-link:hover .doctor-card, .doctor-card-link:focus-visible .doctor-card { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(13,52,40,.16); }
.doctor-card-photo img { width: 100%; height: 250px; object-fit: cover; }
.doctor-card-body { padding: 24px; }
.doctor-card-body h2 { font-size: clamp(21px,2vw,27px); }
.doctor-card-meta { display:flex; justify-content:space-between; gap:12px; font-size:15px; font-weight:700; }
.doctor-card-cta { display:inline-flex; margin-top:18px; color:var(--green-700,#145b45); font-weight:800; }
.doctor-card-link:hover .doctor-card-cta { text-decoration: underline; text-underline-offset:4px; }


@media(max-width:900px) { .topline-inner { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .topline-inner { grid-template-columns:1fr; gap:10px; } .topline-social { display:none; } .top-contact-list { flex-wrap:wrap; } .address-chip { font-size:14px; } .top-hours { display:grid; grid-template-columns:1fr 1fr; } .top-hours b { grid-column:1/-1; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }


/* Final premium UI pass: contrast, native controls, footer and responsive carousel. */
:root { --miras-deep:#0c483a; --miras-green:#16744e; --miras-mint:#d4e9ae; --miras-white:#fff; }
.social-icon { opacity:1; transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease; }
.social-icon:hover, .social-icon:focus-visible { opacity:1; color:#0e6948; background:linear-gradient(140deg,#f5faef,#e8f3d9); border-color:#9fc59f; transform:translateY(-2px); }
.lang-switch { display:flex; align-items:center; gap:4px; padding:4px; border:1px solid #d5e4d9; border-radius:999px; background:#f4f8f5; box-shadow:0 5px 18px rgba(16,66,47,.08); }
.lang { min-width:42px; min-height:34px; border:0; border-radius:999px; padding:0 12px; background:transparent; color:#527065; font:800 12px/1 Noto Sans,Arial,sans-serif; cursor:pointer; transition:background .2s ease,color .2s ease,box-shadow .2s ease; }
.lang:hover { color:#0b533d; background:#e6f0e7; }
.lang.active { color:#fff; background:linear-gradient(120deg,#0d6045,#23865b); box-shadow:0 4px 12px rgba(19,99,68,.22); }
.lang:focus-visible:focus-visible, select:focus-visible, .carousel-control:focus-visible { outline:3px solid rgba(122,176,105,.5); outline-offset:3px; }
select, .filter-field select, .booking-form select { appearance:none; min-height:48px; border:1px solid #cbded0; border-radius:12px; padding:0 44px 0 15px; background-color:#fbfdfb; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23145d43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 15px center; color:#183d31; font:600 15px/1.4 Noto Sans,Arial,sans-serif; box-shadow:0 3px 10px rgba(20,70,48,.035); }
select:hover { border-color:#7eaf8a; background-color:#fff; }
option { padding:10px; color:#193e32; font:500 14px Noto Sans,Arial,sans-serif; }


.page-card { position:relative; isolation:isolate; overflow:hidden; cursor:pointer; }
.page-card::before { content:""; position:absolute; z-index:-1; inset:0; opacity:0; background:linear-gradient(145deg,#0b4838,#176d4c 70%,#2a875b); transition:opacity .28s ease; }
.page-card > * { position:relative; }
.page-card:hover, .page-card:focus-within { color:#fff; border-color:#176b4c; transform:translateY(-4px); box-shadow:0 18px 40px rgba(11,72,56,.17); }
.page-card:hover::before, .page-card:focus-within::before { opacity:1; }
.page-card:hover .card-index, .page-card:focus-within .card-index, .page-card:hover h3, .page-card:focus-within h3, .page-card:hover p, .page-card:focus-within p { color:#fff; }
.page-card:hover > a:last-child, .page-card:focus-within > a:last-child, .page-card:hover .card-link-label { color:#d6ecae; }
.why-card, .price-card, .news-card, .review-card, .mission-grid article, .space-card { transition:transform .28s ease,box-shadow .28s ease,background-color .28s ease,color .28s ease; }
.why-card:hover, .price-card:hover, .news-card:hover, .review-card:hover, .mission-grid article:hover, .space-card:hover { transform:translateY(-4px); box-shadow:0 18px 42px rgba(11,72,56,.14); }
.mission-grid article:hover, .space-card:hover { background:linear-gradient(145deg,#0c483a,#176d4c); color:#fff; }
.mission-grid article:hover :is(h3,p,span), .space-card:hover :is(h3,p,span) { color:#fff; }
/* Keep a strong visual contrast on green surfaces. */
.contact-section .button, .contact-left .button, .feature-section .button, .page-band .button, .route-panel .button, .osms-card .button { color:#123d2d; background:linear-gradient(120deg,#d4e9ae,#eff5d7); border:1px solid rgba(255,255,255,.55); box-shadow:0 8px 22px rgba(0,30,20,.18); }
.contact-section .button:hover, .contact-left .button:hover, .feature-section .button:hover, .page-band .button:hover, .route-panel .button:hover, .osms-card .button:hover { color:#0d3a2a; background:linear-gradient(120deg,#eff7d8,#cbe39e); transform:translateY(-2px); }
.footer { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px 34px; max-width:none; padding:42px max(5vw,calc((100vw - 1320px)/2)) 24px; background:linear-gradient(112deg,#0c483a 0%,#126447 56%,#18764f 100%); color:#f4f8f2; border-top:1px solid rgba(213,236,186,.45); }
.footer .brand-type, .footer .footer-motto, .footer-nav a, .footer > small { color:#f4f8f2; }
.footer .brand-logo { border-color:rgba(225,242,213,.55); }
.footer-motto { font-size:15px; font-weight:700; }
.footer-nav { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px 22px; padding-top:17px; border-top:1px solid rgba(229,244,223,.2); }
.footer-nav a { font-size:13px; opacity:.86; transition:opacity .2s ease,color .2s ease; }
.footer-nav a:hover { opacity:1; color:#d3e9a8; }
.footer-social { justify-content:flex-end; gap:10px; }
.footer-social-link { display:grid; place-items:center; width:42px; height:42px; border:1px solid rgba(237,246,230,.45); border-radius:50%; background:rgba(255,255,255,.1); transition:transform .22s ease,background .22s ease,border-color .22s ease; }
.footer-social-link:hover { transform:translateY(-3px); border-color:#d5e9b6; background:rgba(255,255,255,.2); }
.footer-social-link img { width:20px; height:20px; filter:brightness(0) invert(1); }
.footer > small { grid-column:1/-1; font-size:11px; opacity:.72; }
.to-top { display:grid; place-items:center; }
.to-top.visible { animation:to-top-rise 1.65s ease-in-out infinite; }
@keyframes to-top-rise { 0%,100% { transform:translateY(0); } 45% { transform:translateY(-5px); } 65% { transform:translateY(-2px); } }
.doctor-carousel { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; }
.doctor-carousel-track { display:grid; grid-auto-columns:minmax(250px,calc((100% - 40px)/3)); grid-auto-flow:column; gap:20px; overflow-x:auto; padding:7px 2px 20px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#8eb49a transparent; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; }
.doctor-carousel-track .carousel-doctor-card { min-width:0; scroll-snap-align:start; }
.carousel-control { min-width:88px; min-height:44px; border:1px solid #cddfd2; border-radius:999px; color:#15583f; background:#f5faf5; font:700 13px Noto Sans,Arial,sans-serif; cursor:pointer; transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease; }
.carousel-control:hover { color:#fff; background:linear-gradient(120deg,#0d6045,#23865b); border-color:#23865b; transform:translateY(-2px); }
.consent-check { display:flex; align-items:flex-start; gap:11px; margin:14px 0 18px; color:#43584f; font-size:12px; line-height:1.55; cursor:pointer; }
.consent-check input { position:absolute; width:1px; height:1px; opacity:0; }
.consent-box { flex:0 0 20px; width:20px; height:20px; border:1.5px solid #9ab6a2; border-radius:6px; background:#fff; transition:background .2s ease,border-color .2s ease,box-shadow .2s ease; }
.consent-check input:checked + .consent-box { border-color:#176d4c; background:#176d4c; box-shadow:inset 0 0 0 4px #fff; }
.consent-check input:focus-visible + .consent-box { outline:3px solid rgba(122,176,105,.45); outline-offset:2px; }
@media (max-width:900px) { .footer { grid-template-columns:1fr auto; } .footer-motto { grid-column:1/-1; grid-row:2; } .doctor-carousel-track { grid-auto-columns:minmax(240px,calc((100% - 20px)/2)); } }
@media (max-width:600px) { .lang { min-width:40px; min-height:34px; } .lang-switch { padding:3px; }   .doctor-carousel { grid-template-columns:1fr; gap:8px; } .doctor-carousel-track { grid-row:1; grid-auto-columns:minmax(76vw,1fr); gap:14px; padding-bottom:14px; } .carousel-control { min-height:40px; } .carousel-prev { grid-row:2; justify-self:start; } .carousel-next { grid-row:2; justify-self:end; } .footer { grid-template-columns:1fr auto; padding:30px 20px 88px; gap:17px; } .footer-nav { gap:12px 17px; } .footer-nav a { font-size:12px; } .footer-social-link { width:39px; height:39px; } .consent-check { font-size:11px; } }
@media (prefers-reduced-motion:reduce) { .to-top.visible { animation:none; } }

option { background:#fff; color:#183d31; }
.osms-section .button, .patient-route-promo .button, .hero .button-light { color:#123d2d; background:linear-gradient(120deg,#d4e9ae,#eff5d7); border-color:rgba(255,255,255,.6); }
.why-card:hover, .price-card:hover, .news-card:hover, .review-card:hover { background:linear-gradient(140deg,#0c483a,#176d4c); color:#fff; }
.why-card:hover :is(h3,p,span), .price-card:hover :is(h3,p,span), .news-card:hover :is(h3,p,span), .review-card:hover :is(h3,p,span) { color:#fff; }

/* Unified visual system: type, soft green card hovers, maps, controls and footer. */
:root {
  --font: 'Noto Sans', sans-serif;
  --ink: #17372d;
  --muted: #5d7167;
  --line: #dce9df;
  --green: #176b4b;
  --green-dark: #104c38;
  --green-hover-a: rgba(224, 242, 205, .96);
  --green-hover-b: rgba(179, 224, 177, .9);
  --type-body: 15px;
  --type-small: 12px;
  --type-card: 19px;
}
html, body { width:100%; max-width:100%; overflow-x:clip; }
body, button, input, select, textarea, option { font-family:var(--font) !important; }
body { font-size:16px; line-height:1.55; }
button, input, select, textarea { font-size:15px; }
:where(p,li,.doctor-details,.doctor-card-body,.page-lead,.page-intro p,.site-map-copy p) { font-size:var(--type-body); line-height:1.65; }
:where(h1,h2,h3,h4,.brand-type,.nav a,.button,.button-head,.text-button,.footer-nav a) { font-family:var(--font) !important; }
:where(.page-card h3,.why-card h3,.news-card h3,.review-card h3,.price-card h3,.doctor-card h3,.doctor-card h2,.space-card span) { font-size:var(--type-card); line-height:1.3; font-weight:750; letter-spacing:-.025em; }
:where(.section-label,.card-index,.page-eyebrow,.doctor-specialty,.filter-field label) { font-family:var(--font) !important; font-weight:750; }

/* Light, readable green wash on hover and keyboard focus. */
.direction-card .direction-overlay { opacity:0; background:linear-gradient(135deg,rgba(222,242,199,.9),rgba(128,198,139,.76)); transition:opacity .28s ease,background .28s ease; }
.direction-card:hover .direction-overlay,.direction-card:focus-visible .direction-overlay { opacity:1; background:linear-gradient(135deg,rgba(221,242,198,.93),rgba(128,199,142,.82)); }
.direction-card:hover .direction-name,.direction-card:focus-visible .direction-name,.direction-card:hover .direction-number,.direction-card:focus-visible .direction-number { color:#123e2d; text-shadow:none; }
.page-card::before { background:linear-gradient(135deg,var(--green-hover-a),var(--green-hover-b)); }
.page-card:hover,.page-card:focus-within { color:#123e2d; border-color:#97c89d; box-shadow:0 18px 40px rgba(26,98,62,.12); }
.page-card:hover :is(.card-index,h3,p),.page-card:focus-within :is(.card-index,h3,p),.page-card:hover>a:last-child,.page-card:focus-within>a:last-child,.page-card:hover .card-link-label { color:#164b35; }
.why-card,.price-card,.news-card,.review-card,.mission-grid article,.doctor-card,.space-card { color:#17372d; transition:transform .26s ease,box-shadow .26s ease,background .26s ease,border-color .26s ease; }
:where(.why-card,.price-card,.news-card,.review-card,.mission-grid article,.doctor-card):hover { background:linear-gradient(135deg,var(--green-hover-a),var(--green-hover-b)); border-color:#9dc9a0; color:#17372d; box-shadow:0 18px 38px rgba(24,94,60,.12); transform:translateY(-3px); }
:where(.why-card,.price-card,.news-card,.review-card,.mission-grid article,.doctor-card):hover :is(h2,h3,h4,p,span,strong,a) { color:#17372d; }
.space-card { isolation:isolate; }
.space-card::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:0; background:linear-gradient(135deg,rgba(224,242,207,.85),rgba(143,205,148,.72)); transition:opacity .26s ease; }
.space-card:hover::after,.space-card:focus-within::after { opacity:1; }
.space-card > span { z-index:2; color:#153e2e; text-shadow:none; }
:where(.page-card,.why-card,.price-card,.news-card,.review-card,.doctor-card,.mission-grid article,.space-card):focus-within { outline:2px solid rgba(85,158,101,.55); outline-offset:2px; }

/* Yandex map with clear links to both map services. */
.site-map { grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr); min-height:500px; }
.site-map-copy { min-width:0; padding:clamp(24px,3vw,40px); }
.site-map-copy .address-line { margin:3px 0 18px; overflow-wrap:anywhere; }
.site-map-frame { display:block; min-width:0; min-height:500px; height:100%; filter:none; }
.map-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:4px; }
.map-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 17px; border:1px solid #b8d6bf; border-radius:12px; font-size:13px; font-weight:750; transition:transform .2s ease,background .2s ease,box-shadow .2s ease,border-color .2s ease; }
.map-action-yandex { color:#fff; border-color:transparent; background:linear-gradient(115deg,#14704d,#3b965d); box-shadow:0 7px 18px rgba(19,101,66,.15); }
.map-action-2gis { color:#17533b; background:#fff; }
.map-action:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(20,81,51,.14); }
.map-action-yandex:hover { background:linear-gradient(115deg,#1b8056,#58a76c); }
.map-action-2gis:hover { background:linear-gradient(115deg,#edf6e8,#dcefd8); border-color:#8cbd94; }

/* Brand social marks stay recognizable on light and green surfaces. */
.social-icon { background:#fff; }
.social-icon img,.topline-social img,.footer-social-link img { filter:none !important; }
.topline-social a { gap:8px; }
.topline-social img { width:24px; height:24px; padding:3px; border-radius:50%; background:#fff; }
.footer { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand social" "motto social" "nav nav" "copy copy"; align-items:center; gap:12px 28px; width:100%; max-width:none; margin:0; padding:38px max(5vw,calc((100vw - 1320px)/2)) 23px; overflow:hidden; background:linear-gradient(112deg,#0d503d,#16714d 55%,#23845a); }
.footer > .brand { grid-area:brand; justify-self:start; min-width:0; }
.footer-motto { grid-area:motto; margin:0; color:#e1efdf; font-size:14px; }
.footer-nav { grid-area:nav; width:100%; display:flex; flex-wrap:wrap; align-items:center; gap:10px clamp(14px,2vw,25px); padding:17px 0 7px; border-top:1px solid rgba(235,246,230,.26); }
.footer-nav a { color:#f4f8f2; font-size:13px; line-height:1.5; }
.footer-social { grid-area:social; display:flex; flex-direction:row; align-items:center; justify-content:flex-end; gap:10px; }
.footer-social-link { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; padding:8px; border:1px solid rgba(255,255,255,.76); border-radius:50%; background:#fff; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.footer-social-link:hover,.footer-social-link:focus-visible { transform:translateY(-2px); border-color:#e4f1d4; box-shadow:0 7px 18px rgba(0,28,18,.2); }
.footer-social-link img { display:block; width:100%; height:100%; object-fit:contain; }
.footer > small { grid-area:copy; margin:0; color:rgba(244,248,242,.78); font-size:11px; }

/* Custom dropdown component; native select remains the submitted form value. */
.select-ui { position:relative; display:block; width:100%; min-width:0; }
.select-ui-native { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; opacity:0 !important; pointer-events:none !important; }
.select-ui-trigger { position:relative; display:flex; align-items:center; width:100%; min-width:0; min-height:49px; padding:10px 46px 10px 15px; overflow:hidden; border:1px solid #cadfcf; border-radius:13px; background:linear-gradient(180deg,#fff,#f8fbf8); color:#26483a; text-align:left; text-overflow:ellipsis; white-space:nowrap; font:600 15px/1.35 var(--font); cursor:pointer; box-shadow:0 4px 12px rgba(21,74,49,.045); transition:border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.select-ui-trigger::after { content:""; position:absolute; top:50%; right:17px; width:9px; height:9px; border-right:2px solid #32724e; border-bottom:2px solid #32724e; transform:translateY(-70%) rotate(45deg); transition:transform .2s ease; }
.select-ui-trigger[aria-expanded="true"] { border-color:#72aa7e; background:#fff; box-shadow:0 0 0 4px rgba(92,158,104,.12); }
.select-ui-trigger[aria-expanded="true"]::after { transform:translateY(-25%) rotate(225deg); }
.select-ui-trigger:focus-visible { outline:3px solid rgba(92,158,104,.2); outline-offset:2px; }
.select-ui-list { position:absolute; z-index:80; inset:auto 0 auto; top:calc(100% + 7px); display:grid; gap:3px; max-height:min(280px,45vh); overflow-y:auto; padding:7px; border:1px solid #d7e7da; border-radius:15px; background:rgba(255,255,255,.98); box-shadow:0 18px 42px rgba(18,63,42,.18); backdrop-filter:blur(16px); }
.select-ui-list[hidden] { display:none !important; }
.select-ui-option { display:flex; align-items:center; width:100%; min-height:42px; padding:9px 12px; border:0; border-radius:9px; background:transparent; color:#26483a; text-align:left; font:600 14px/1.4 var(--font); cursor:pointer; transition:background .16s ease,color .16s ease; }
.select-ui-option:hover,.select-ui-option:focus-visible { outline:none; background:linear-gradient(110deg,#e6f3df,#d3ebd2); color:#123d2c; }
.select-ui-option[aria-selected="true"] { background:#edf6e8; color:#145b3e; font-weight:800; }
.select-ui-option:disabled { opacity:.55; cursor:not-allowed; }
.select-ui-empty { padding:14px 12px; color:#6c8075; font-size:14px; }

/* Mobile and tablet fit: no layout-induced page-wide sideways scrolling. */
@media (max-width:1040px) {
  .header { display:grid; grid-template-columns:minmax(0,1fr) auto; min-height:72px; padding:10px clamp(14px,3vw,28px); gap:12px; }
  .header .nav { display:none; }
  .header .nav.open { position:absolute; display:grid; grid-template-columns:1fr; top:100%; left:0; right:0; order:initial; width:100%; max-height:calc(100vh - 90px); overflow-y:auto; }
  .header .menu-button { display:flex; }
  .head-actions { display:flex; align-items:center; gap:8px; }
  .button-head { display:none; }
  .brand { min-width:0; }
  .head-actions .lang-switch { flex:0 0 auto; }
}
@media (max-width:760px) {
  .site-map { grid-template-columns:minmax(0,1fr); min-height:0; margin:0 14px 32px; }
  .site-map-copy { padding:23px 20px; }
  .site-map-frame { min-height:500px; height:500px; }
  .map-actions { gap:8px; }
  .map-action { flex:1 1 150px; }
}
@media (max-width:680px) {
  html,body { overflow-x:clip; }
  .topline-inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px 12px; padding:10px 14px; }
  .address-chip { grid-column:1/-1; width:100%; min-width:0; overflow-wrap:anywhere; }
  .top-contact-list { grid-column:1; grid-row:2; min-width:0; gap:4px; }
  .top-contact { font-size:clamp(11px,3vw,13px); white-space:normal; overflow-wrap:anywhere; }
  .top-hours { grid-column:2; grid-row:2; justify-self:end; min-width:0; font-size:10px; }
  .top-hours span { white-space:normal; }
  .topline-social { display:none; }
  .header { grid-template-columns:minmax(0,1fr) auto; width:100%; padding:9px 12px; }
  .brand-type { font-size:14px; }
  .head-actions { gap:6px; }
  .social-icon { display:none; }
  .button-head { display:none; }
  .lang-switch { gap:2px; }
  .lang { min-width:36px; padding:0 8px; }
  .hero,.page-hero,.page-wrap,.section { min-width:0; }
  .hero { padding:28px 14px 20px; }
  .hero h1 { font-size:clamp(34px,9vw,44px); overflow-wrap:anywhere; }
  .hero-photo { min-height:clamp(235px,68vw,340px); }
  .section { padding:45px 14px; }
  .direction-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .direction-card { min-width:0; height:clamp(145px,44vw,190px); }
  .direction-name { right:8px; left:9px; font-size:clamp(11px,3.3vw,14px); line-height:1.25; overflow-wrap:anywhere; }
  .section-title-row,.page-cards,.page-card,.page-band,.doctor-carousel,.doctor-carousel-track,.price-page-grid,.doctors-grid { min-width:0; max-width:100%; }
  .doctor-filters,.price-filters { display:grid; grid-template-columns:minmax(0,1fr); width:100%; min-width:0; padding:14px; }
  .filter-field { width:100%; min-width:0; max-width:100%; }
  .filter-field input,.filter-field select,.select-ui-trigger { width:100%; min-width:0; }
  
 
  .doctor-carousel { grid-template-columns:minmax(0,1fr); gap:8px; }
  .doctor-carousel-track { grid-row:1; grid-auto-columns:minmax(78vw,1fr); }
  .footer { grid-template-columns:minmax(0,1fr); grid-template-areas:"brand" "motto" "social" "nav" "copy"; gap:12px; padding:28px 18px calc(104px + env(safe-area-inset-bottom)); }
  .footer > .brand { justify-self:start; }
  .footer-motto { grid-column:auto; grid-row:auto; }
  .footer-social { justify-content:flex-start; }
  .footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); display:grid; gap:10px 14px; }
  .footer-nav a { min-width:0; overflow-wrap:anywhere; font-size:13px; }
  .footer > small { grid-column:auto; }
  .mobile-actions { padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
  .mobile-actions a { min-width:0; font-size:clamp(10px,2.8vw,12px); }
  .to-top { right:12px; bottom:calc(68px + env(safe-area-inset-bottom)); }
  .page-mobile { padding-bottom:env(safe-area-inset-bottom); }
  .site-map-frame { min-height:500px; height:500px; }
}
@media (max-width:380px) {
  .topline-inner { padding-inline:10px; gap:8px; }
  .address-chip { padding:8px 10px; font-size:12px; }
  .top-contact img { flex:0 0 15px; width:15px; height:15px; }
  .top-hours { font-size:11px; }
  .brand-logo { width:36px; height:36px; }
  .brand-type { font-size:12px; }
  .lang { min-width:32px; min-height:31px; padding-inline:6px; }
  .direction-name { font-size:11px; }
  .mobile-actions { gap:4px; padding-inline:7px; }
  .footer-nav { gap:9px 10px; }
}
@media (hover:none) {
  .page-card:active,.why-card:active,.price-card:active,.news-card:active,.review-card:active,.doctor-card:active,.space-card:active,.direction-card:active { transform:scale(.99); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Ensure every card keeps dark, readable text over the translucent hover gradient. */
.why-card:hover,.price-card:hover,.news-card:hover,.review-card:hover,.mission-grid article:hover,.doctor-card:hover {
  color:#17372d !important;
  background:linear-gradient(135deg,rgba(224,242,205,.96),rgba(179,224,177,.9)) !important;
  border-color:#9dc99f;
  box-shadow:0 16px 34px rgba(24,94,60,.12);
  transform:translateY(-3px);
}
.why-card:hover :is(h2,h3,h4,p,span,strong,a),.price-card:hover :is(h2,h3,h4,p,span,strong,a),.news-card:hover :is(h2,h3,h4,p,span,strong,a),.review-card:hover :is(h2,h3,h4,p,span,strong,a),.mission-grid article:hover :is(h2,h3,h4,p,span,strong,a),.doctor-card:hover :is(h2,h3,h4,p,span,strong,a) { color:#17372d !important; }
.doctor-card-link:hover .doctor-card,.doctor-card-link:focus-visible .doctor-card { transform:translateY(-3px); box-shadow:0 16px 34px rgba(24,94,60,.12); }
.space-card:hover>span,.space-card:focus-visible>span { color:#153e2e !important; text-shadow:none; }
.direction-card .direction-overlay { opacity:.28; background:linear-gradient(0deg,rgba(10,63,42,.46),rgba(11,72,48,.04)); }
.direction-card:hover .direction-overlay,.direction-card:focus-visible .direction-overlay { opacity:1; background:linear-gradient(135deg,rgba(221,242,198,.93),rgba(128,199,142,.82)); }
@media (max-width:680px) {
  .footer { display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"brand" "motto" "social" "nav" "copy"; }
  .footer-social { grid-column:auto; grid-row:auto; }
}
@media (max-width:380px) {
  .footer-social-link { width:39px; height:39px; flex-basis:39px; }
}

/* Patient resources sit under one clear header menu. */
.nav-dropdown { position:relative; flex:0 0 auto; }
.nav-dropdown > summary { display:flex; align-items:center; gap:7px; min-height:38px; list-style:none; color:#42534c; font:inherit; font-size:14px !important; font-weight:800 !important; line-height:1.3; cursor:pointer; transition:color .18s ease; }
.nav-dropdown > summary::-webkit-details-marker { display:none; }
.nav-dropdown > summary::after { content:""; width:7px; height:7px; margin-top:-4px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .18s ease; }
.nav-dropdown:hover > summary,.nav-dropdown:focus-within > summary,.nav-dropdown[open] > summary { color:#14714f; }
.nav-dropdown[open] > summary::after { transform:rotate(225deg); margin-top:4px; }
.nav-dropdown-menu { position:absolute; z-index:70; top:calc(100% + 8px); right:0; display:grid; gap:3px; min-width:220px; padding:8px; border:1px solid #dbe9df; border-radius:15px; background:rgba(255,255,255,.98); box-shadow:0 16px 38px rgba(13,60,40,.15); backdrop-filter:blur(15px); }
.nav-dropdown-menu a { display:flex; align-items:center; min-height:42px; padding:9px 11px; border-radius:9px; color:#34584a; font-size:13px; font-weight:700; line-height:1.35; }
.nav-dropdown-menu a:hover,.nav-dropdown-menu a:focus-visible { color:#124a35; background:linear-gradient(120deg,#edf6e8,#e1f0df); outline:none; }
.nav-dropdown-menu a[aria-current="page"] { color:#0e6243; background:#eff7ed; }

/* Section 06 is an image gallery with a shared white caption panel. */
.spaces-section { overflow:hidden; }
.space-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.space-card,.space-card.space-wide { display:flex; flex-direction:column; min-width:0; height:auto; grid-column:auto; position:relative; overflow:hidden; border:1px solid #e0e9e3; border-radius:20px; background:#fff !important; color:#17372d !important; box-shadow:0 8px 24px rgba(23,67,46,.055); isolation:auto; transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease; }
.space-card::before,.space-card::after { content:none !important; display:none !important; }
.space-card img { display:block; width:100%; height:auto; aspect-ratio:1.55/1; flex:0 0 auto; object-fit:cover; transform:scale(1); transition:transform .55s cubic-bezier(.2,.7,.2,1); }
.space-card-caption { display:grid; align-content:start; gap:7px; min-height:104px; padding:17px 18px 19px; background:#fff; }
.space-card-caption h3 { margin:0; color:#173f30; font-size:17px; font-weight:750; line-height:1.35; letter-spacing:-.02em; }
.space-card-caption p { margin:0; color:#667970; font-size:13px; line-height:1.55; }
.space-card:hover,.space-card:focus-within { transform:translateY(-4px); background:#fff !important; color:#17372d !important; border-color:#c9dfce; box-shadow:0 18px 36px rgba(23,67,46,.11); }
.space-card:hover::before,.space-card:hover::after,.space-card:focus-within::before,.space-card:focus-within::after { opacity:0 !important; }
.space-card:hover img,.space-card:focus-within img { transform:scale(1.035); }
.space-card:hover .space-card-caption,.space-card:focus-within .space-card-caption { background:#fff !important; }
.space-card:hover .space-card-caption :is(h3,p),.space-card:focus-within .space-card-caption :is(h3,p) { color:inherit !important; text-shadow:none !important; }

/* Noto Sans covers Kazakh Cyrillic Extended so every glyph keeps the same metrics. */
:root { --font:"Noto Sans",Arial,sans-serif; }
html,body,body :is(h1,h2,h3,h4,p,li,a,button,input,select,textarea,option,label,summary,small,strong,span) { font-family:"Noto Sans",Arial,sans-serif !important; font-synthesis:none; }
body { font-synthesis:none; }

@media (max-width:1340px) {
  .header { display:grid; grid-template-columns:minmax(0,1fr) auto; min-height:72px; padding:10px clamp(14px,3vw,28px); gap:12px; position:sticky; }
  .header .nav { display:none; }
  .header .nav.open { position:absolute; display:grid; grid-template-columns:minmax(0,1fr); top:100%; left:0; right:0; order:initial; width:100%; max-height:calc(100vh - 90px); overflow-y:auto; padding:12px 16px; background:rgba(255,255,255,.98); border-bottom:1px solid #e5ece7; box-shadow:0 16px 28px rgba(15,57,39,.12); z-index:70; }
  .header .menu-button { display:flex; }
  .header .nav.open > a { min-height:44px; padding:12px 8px; border-bottom:1px solid #edf2ee; font-size:14px; }
  .header .nav.open > .nav-dropdown { width:100%; border-bottom:1px solid #edf2ee; }
  .header .nav.open > .nav-dropdown > summary { min-height:44px; padding:12px 8px; font-size:14px; font-weight:700; }
  .header .nav.open > .nav-dropdown > summary::after { margin-left:auto; }
  .header .nav.open .nav-dropdown-menu { position:static; min-width:0; padding:4px 8px 10px; border:0; border-radius:0; background:#f6faf6; box-shadow:none; backdrop-filter:none; }
  .header .nav.open .nav-dropdown-menu a { min-height:42px; padding:10px 12px; border:0; font-size:13px; }
  .head-actions { display:flex; align-items:center; gap:8px; }
  .button-head { display:none; }
  .brand { min-width:0; }
}
@media (min-width:1041px) and (max-width:1340px) { .button-head { display:inline-flex; } }
@media (max-width:760px) {
  .space-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .space-card-caption { min-height:112px; padding:14px 14px 16px; }
  .space-card-caption h3 { font-size:15px; }
  .space-card-caption p { font-size:12px; }
}
@media (max-width:480px) {
  .space-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .space-card img { aspect-ratio:1.6/1; }
  .space-card-caption { min-height:0; padding:15px 16px 17px; }
  .space-card-caption h3 { font-size:16px; }
  .space-card-caption p { font-size:13px; }
}
@media (max-width:680px) {
  .mobile-actions { position:fixed; z-index:90; inset:auto 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:9px 12px calc(9px + env(safe-area-inset-bottom)); border:0; border-top:1px solid rgba(207,225,211,.82); border-radius:18px 18px 0 0; background:rgba(255,255,255,.96); box-shadow:0 -9px 28px rgba(19,66,43,.12); backdrop-filter:blur(18px); }
  .mobile-actions a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; min-height:58px; height:auto; padding:7px 4px; border:1px solid transparent; border-radius:14px; font-size:clamp(9px,2.8vw,11px); font-weight:750; line-height:1.1; white-space:nowrap; text-align:center; transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease; }
  .mobile-actions a img { display:block; width:18px; height:18px; object-fit:contain; }
  .mobile-actions a:active { transform:scale(.97); }
  .mobile-book { color:#fff; background:linear-gradient(115deg,#0e6145,#258759); box-shadow:0 6px 15px rgba(16,94,63,.2); }
  .mobile-book img { filter:brightness(0) invert(1); }
  .mobile-call { color:#155a40; background:#fff; border-color:#cfe2d3 !important; }
  .mobile-call img { width:18px !important; height:18px !important; }
  .mobile-actions a:hover { transform:translateY(-2px); box-shadow:0 7px 16px rgba(16,82,54,.12); }
  .mobile-book:hover { background:linear-gradient(115deg,#157351,#369764); }
  .mobile-call:hover { background:#f2f8f2; }
  .to-top { z-index:89; bottom:calc(87px + env(safe-area-inset-bottom)); }
}
@media (max-width:360px) {
  .mobile-actions { gap:5px; padding-inline:8px; }
  .mobile-actions a { border-radius:12px; font-size:9px; }
}
@media (prefers-reduced-motion:reduce) {
  .space-card,.space-card img,.mobile-actions a { transition:none !important; }
}

.address-chip img { filter: brightness(0) invert(1) !important; opacity:1 !important; }
