:root {
  --bg: #f3f8fb;
  --surface: #ffffff;
  --surface-soft: #edf7f4;
  --text: #123044;
  --muted: #667b8b;
  --line: rgba(28, 78, 110, .14);
  --accent: #26c98d;
  --accent-dark: #15976a;
  --blue: #2876ee;
  --shadow: 0 24px 70px rgba(21, 58, 82, .12);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(40, 118, 238, .12), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(38, 201, 141, .16), transparent 28%),
    linear-gradient(180deg, #f8fcff 0%, var(--bg) 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(circle, rgba(38, 201, 141, .26) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(40, 118, 238, .18) 0 1px, transparent 2px);
  background-size: 160px 160px, 240px 240px;
  background-position: 24px 42px, 120px 86px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px;
}

.header {
  position: sticky;
  top: 16px;
  z-index: 10;
  min-height: 82px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 50px rgba(21,58,82,.08);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.03em;
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: .18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(38,201,141,.12);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #43d69f);
  color: #fff;
  box-shadow: 0 16px 32px rgba(38,201,141,.22);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100vh - 130px);
  padding: clamp(56px, 8vw, 110px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}

.eyebrow span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(38,201,141,.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.1vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 18px;
}

.hero__lead {
  max-width: 650px;
  font-size: clamp(18px, 1.7vw, 22px);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero__facts div {
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(21,58,82,.07);
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--text);
}

.hero__facts span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #dceaf1;
  box-shadow: var(--shadow);
  min-height: 520px;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(.86) contrast(.96);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,48,68,.05), rgba(18,48,68,.32));
}

.hero-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(16px);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-bottom: 6px;
  font-size: 22px;
  color: var(--text);
}

.hero-card span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(62px, 8vw, 110px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 690px;
}

.grid {
  display: grid;
  gap: 22px;
}

.trust-grid,
.doctors-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.doctor-card,
.service-card,
.appointment,
.footer {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.doctor-card {
  padding: 28px;
}

.icon,
.avatar {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(38,201,141,.12);
  color: var(--accent-dark);
  font-weight: 900;
}

.services-list {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 24px;
  background: #e6eef3;
}

.service-card a,
.doctor-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.avatar {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(40,118,238,.12), rgba(38,201,141,.16));
  color: var(--text);
}

.appointment {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  padding: clamp(28px, 5vw, 54px);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: flex;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(237,247,244,.72);
  color: var(--text);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.form input:focus {
  border-color: rgba(40,118,238,.42);
  box-shadow: 0 0 0 5px rgba(40,118,238,.1);
}

.form-submit {
  margin-top: 4px;
}

.footer {
  margin-top: 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  background: #102d40;
  color: #d9edf6;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(217,237,246,.72);
}

.footer-logo {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer nav a,
.footer-contact a,
.footer-contact span {
  color: rgba(217,237,246,.78);
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 8px;
  text-align: right;
}

@media (max-width: 1024px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .appointment {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 420px;
  }

  .hero__visual img {
    min-height: 420px;
  }

  .trust-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 12px;
  }

  .header {
    top: 8px;
    padding: 12px;
    border-radius: 22px;
  }

  .logo span {
    font-size: 22px;
  }

  .logo img {
    width: 46px;
    height: 46px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    gap: 6px;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 340px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .service-card,
  .card,
  .doctor-card,
  .appointment {
    border-radius: 24px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card img {
    height: 190px;
  }
}

/* Mobile header fix */
@media (max-width: 640px) {
  .header {
    display: block;
  }

  .logo {
    margin-bottom: 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 6px;
  }

  .nav a {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



/* vp-mobile-rescue */
body {
  overflow-x: clip;
}

.logo img {
  width: auto !important;
  max-width: 210px !important;
  height: auto !important;
}

.section {
  padding-top: clamp(38px, 5vw, 72px) !important;
  padding-bottom: clamp(38px, 5vw, 72px) !important;
}

.compact-hero,
.page-hero {
  padding-bottom: clamp(22px, 4vw, 42px) !important;
}

.footer {
  margin-top: clamp(32px, 5vw, 58px) !important;
  margin-bottom: 0 !important;
}

.service-overview {
  padding-top: 18px !important;
}

.service-main {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  align-items: center;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-side {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(237,247,244,.75);
}

.service-side strong {
  font-size: 24px;
  color: var(--text);
}

.service-side span {
  color: var(--muted);
  font-weight: 800;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 850;
}

.service-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-item {
  padding: 26px;
}

.service-icon,
.icon,
.doctor-avatar,
.profile-avatar,
.avatar {
  margin-left: auto;
  margin-right: auto;
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(38,201,141,.12);
  color: var(--accent-dark);
  font-weight: 950;
  font-size: 22px;
}

.service-item a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 950;
}

.service-detail,
.mini-price,
.about-intro {
  padding: clamp(28px, 5vw, 48px);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.clean-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.clean-list li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 800;
}

.mini-price {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.price-lines {
  display: grid;
  gap: 12px;
}

.price-lines div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(237,247,244,.75);
}

.price-lines span {
  color: var(--muted);
  font-weight: 800;
}

.price-lines strong {
  color: var(--text);
  white-space: nowrap;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  gap: 30px;
}

.about-stats {
  display: grid;
  gap: 12px;
}

.about-stats div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(237,247,244,.76);
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 20px;
}

.about-stats span {
  color: var(--muted);
  font-weight: 800;
}

.price-card {
  text-align: center;
}

.price-card small {
  margin-left: auto;
  margin-right: auto;
}

.price-card .btn,
.form-submit,
.form .btn {
  width: 100%;
}

.profile-info h1 {
  max-width: 760px;
}

@media (max-width: 1024px) {
  .service-main,
  .service-detail,
  .mini-price,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .service-catalog {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100% !important;
    padding: 12px !important;
  }

  .header {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    padding: 14px !important;
    margin-bottom: 26px !important;
    text-align: center !important;
    border-radius: 24px !important;
  }

  .logo {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
  }

  .logo img {
    max-width: 190px !important;
  }

  .nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: center !important;
    overflow: visible !important;
    gap: 8px !important;
  }

  .nav a {
    min-width: 0 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 9px 7px !important;
  }

  .header-cta {
    display: none !important;
  }

  .hero {
    padding-top: 22px !important;
    gap: 22px !important;
  }

  .hero__content,
  .section-head,
  .page-hero,
  .card,
  .service-item,
  .price-card,
  .doctor-card,
  .doctor-card-large,
  .profile-info,
  .appointment__info {
    text-align: center !important;
  }

  .hero__actions,
  .service-actions,
  .doctor-actions,
  .profile-actions {
    justify-content: center !important;
  }

  .hero__facts {
    grid-template-columns: 1fr !important;
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px) !important;
    line-height: 1.03 !important;
  }

  h2 {
    font-size: clamp(28px, 8.5vw, 38px) !important;
  }

  .section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .service-catalog {
    grid-template-columns: 1fr;
  }

  .service-main,
  .service-detail,
  .mini-price,
  .about-intro,
  .appointment,
  .profile-hero {
    border-radius: 24px !important;
    padding: 24px !important;
  }

  .price-lines div {
    display: grid;
    text-align: center;
  }

  .btn,
  .service-actions .btn,
  .profile-actions .btn,
  .doctor-actions .btn {
    width: 100% !important;
  }

  .profile-hero {
    margin-top: 24px !important;
    text-align: center !important;
  }

  .profile-avatar {
    width: 112px !important;
    height: 112px !important;
    font-size: 36px !important;
    margin: 0 auto 8px !important;
  }

  .profile-info h1 {
    text-align: center !important;
  }

  .footer {
    display: block !important;
    text-align: center !important;
    padding: 28px 22px !important;
    border-radius: 26px !important;
    margin-top: 32px !important;
  }

  .footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 22px 0 !important;
    justify-content: center !important;
  }

  .footer nav a {
    text-align: center !important;
  }

  .footer-contact {
    text-align: center !important;
  }
}



/* vp-final-polish */
:root {
  --shell-max: 1360px;
}

.site-shell {
  width: min(100%, var(--shell-max)) !important;
  padding-left: clamp(14px, 3vw, 32px) !important;
  padding-right: clamp(14px, 3vw, 32px) !important;
}

main {
  padding-bottom: 0 !important;
}

.logo {
  flex-shrink: 0 !important;
}

.logo span {
  display: none !important;
}

.logo img {
  max-width: 210px !important;
  height: auto !important;
}

.header {
  max-width: 100% !important;
}

.page-hero {
  padding-top: clamp(42px, 6vw, 82px) !important;
  padding-bottom: clamp(18px, 2.5vw, 34px) !important;
}

.section {
  padding-top: clamp(28px, 4vw, 56px) !important;
  padding-bottom: clamp(28px, 4vw, 56px) !important;
}

main > .section:last-child {
  padding-bottom: clamp(14px, 2vw, 30px) !important;
}

.contact-main + .section {
  padding-top: 14px !important;
  padding-bottom: 22px !important;
}

.gallery {
  margin-top: 0 !important;
}

.gallery img {
  height: clamp(220px, 22vw, 300px) !important;
}

.footer {
  margin-top: clamp(22px, 3vw, 38px) !important;
}

.footer p {
  max-width: 420px;
}

.price-note {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

.appointment-strip {
  margin-top: 0 !important;
}

.trust-grid .card,
.service-item {
  text-align: left !important;
}

.trust-grid .card .icon,
.service-item .service-icon {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.price-card,
.contacts-grid .contact-card {
  text-align: center !important;
}

.price-card small,
.contacts-grid .contact-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}

.profile-hero {
  overflow: hidden !important;
}

.profile-info h1 {
  max-width: 820px !important;
}

.card,
.footer,
.header {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .site-shell {
    --shell-max: 1180px;
  }

  .section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100% !important;
    padding: 10px !important;
  }

  .header {
    position: relative !important;
    top: 0 !important;
    display: block !important;
    padding: 14px !important;
    margin-bottom: 22px !important;
    text-align: center !important;
    border-radius: 24px !important;
  }

  .logo {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
  }

  .logo img {
    max-width: 188px !important;
    margin: 0 auto !important;
  }

  .nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    justify-content: center !important;
  }

  .nav a {
    min-width: 0 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 9px 8px !important;
    font-size: 13px !important;
  }

  .nav a:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 180px);
  }

  .header-cta {
    display: none !important;
  }

  .page-hero {
    padding-top: 26px !important;
    padding-bottom: 18px !important;
    text-align: center !important;
  }

  .section {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  main > .section:last-child {
    padding-bottom: 16px !important;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.04 !important;
  }

  h2 {
    font-size: clamp(27px, 8vw, 38px) !important;
  }

  .hero__content,
  .section-head,
  .service-item,
  .trust-grid .card,
  .doctor-card,
  .doctor-card-large,
  .profile-info,
  .price-card,
  .contact-card {
    text-align: center !important;
  }

  .eyebrow,
  .hero__actions,
  .service-actions,
  .doctor-actions,
  .profile-actions {
    justify-content: center !important;
  }

  .icon,
  .service-icon,
  .doctor-avatar,
  .profile-avatar,
  .avatar,
  .contact-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-main,
  .service-detail,
  .mini-price,
  .about-intro,
  .appointment,
  .appointment-strip,
  .profile-hero,
  .card {
    border-radius: 24px !important;
  }

  .profile-hero {
    margin-top: 18px !important;
    padding: 24px !important;
    text-align: center !important;
  }

  .profile-avatar {
    width: 112px !important;
    height: 112px !important;
    margin: 0 auto 8px !important;
  }

  .profile-info h1 {
    text-align: center !important;
  }

  .contact-main + .section {
    padding-top: 8px !important;
    padding-bottom: 14px !important;
  }

  .gallery {
    gap: 12px !important;
  }

  .footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 18px !important;
    padding: 28px 22px !important;
    border-radius: 26px !important;
    margin-top: 24px !important;
  }

  .footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }

  .footer-contact {
    text-align: center !important;
  }
}



/* vp-mobile-final */
html, body {
  overflow-x: hidden !important;
}

body {
  min-height: 100%;
}

/* все основные блоки поверх декора */
main, header, footer, .header, .footer, .section, .page-hero, .card, .service-item, .doctor-card,
.doctor-card-large, .price-card, .contact-card, .appointment, .appointment-strip, .profile-hero,
.service-detail, .service-main, .about-intro {
  position: relative;
  z-index: 1;
}

/* мягкий мед-фон */
.vp-ornaments {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.vp-orb {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(24, 162, 112, 0.08);
  border: 1px solid rgba(24, 162, 112, 0.09);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(15, 45, 70, 0.05);
  backdrop-filter: blur(2px);
  border-radius: 999px;
  animation: vpFloat 15s ease-in-out infinite;
  user-select: none;
}

.vp-orb--a { width: 42px; height: 42px; left: 4%; top: 18%; font-size: 20px; animation-delay: 0s; }
.vp-orb--b { width: 56px; height: 56px; right: 6%; top: 34%; font-size: 24px; animation-delay: 2s; }
.vp-orb--c { width: 48px; height: 48px; left: 8%; bottom: 18%; font-size: 22px; animation-delay: 1s; }
.vp-orb--d { width: 36px; height: 36px; right: 14%; bottom: 24%; font-size: 18px; animation-delay: 4s; }
.vp-orb--e { width: 40px; height: 40px; left: 48%; top: 58%; font-size: 18px; animation-delay: 3s; }

@keyframes vpFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(4deg); }
}

/* немного аккуратнее текст */
.section h1, .section h2, .page-hero h1, .section-head h2 {
  text-wrap: balance;
}

.section p, .page-hero p, .section-head p, .card p, .service-item p, .doctor-card p, .price-card p {
  text-wrap: pretty;
}

/* страховка по растягиванию карточек */
.trust-grid, .services-grid, .doctors-grid, .prices-grid, .contacts-grid {
  align-items: stretch;
}

.trust-grid .card, .service-item, .doctor-card, .doctor-card-large, .price-card, .contact-card {
  height: 100%;
}

/* мобилка: финальный UX-полиш */
@media (max-width: 720px) {
  .vp-ornaments {
    opacity: 0.45;
  }

  .vp-orb--a { left: -4px; top: 180px; width: 32px; height: 32px; font-size: 16px; }
  .vp-orb--b { right: -6px; top: 390px; width: 38px; height: 38px; font-size: 18px; }
  .vp-orb--c { left: -6px; bottom: 160px; width: 34px; height: 34px; font-size: 16px; }
  .vp-orb--d { right: 8px; bottom: 240px; width: 28px; height: 28px; font-size: 14px; }
  .vp-orb--e { display: none; }

  .site-shell {
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .header {
    display: block !important;
    text-align: center !important;
    padding: 14px 12px !important;
    border-radius: 24px !important;
    margin-bottom: 18px !important;
  }

  .logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .logo img {
    max-width: 170px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .logo span {
    display: none !important;
  }

  .nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .nav a {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  .nav a:last-child {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: min(100%, 180px) !important;
  }

  .header-cta {
    display: none !important;
  }

  .page-hero,
  .section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  h1 {
    font-size: clamp(36px, 10.8vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    text-align: center !important;
  }

  h2 {
    font-size: clamp(28px, 8.2vw, 38px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .hero__content,
  .section-head,
  .appointment,
  .appointment-strip,
  .profile-hero,
  .doctor-card,
  .doctor-card-large,
  .service-item,
  .price-card,
  .contact-card,
  .trust-grid .card,
  .about-intro,
  .service-main,
  .service-detail {
    text-align: center !important;
  }

  .eyebrow,
  .hero__actions,
  .service-actions,
  .doctor-actions,
  .profile-actions {
    justify-content: center !important;
  }

  .card,
  .service-item,
  .doctor-card,
  .doctor-card-large,
  .price-card,
  .contact-card,
  .appointment,
  .appointment-strip,
  .profile-hero,
  .service-main,
  .service-detail,
  .about-intro {
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }

  .trust-grid,
  .services-grid,
  .doctors-grid,
  .prices-grid,
  .contacts-grid {
    gap: 16px !important;
  }

  .card .icon,
  .service-icon,
  .doctor-avatar,
  .profile-avatar,
  .contact-icon,
  .price-chip,
  .step-number,
  .count,
  .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section h2,
  .section-head h2,
  .page-hero h1 {
    max-width: 12ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section p,
  .hero__content p,
  .section-head p,
  .card p,
  .service-item p,
  .doctor-card p,
  .price-card p,
  .contact-card p {
    max-width: 28ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero__stats,
  .hero-meta,
  .mini-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
    gap: 18px !important;
    padding: 24px 18px !important;
    border-radius: 24px !important;
  }

  .footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }

  .footer p,
  .footer-contact {
    text-align: center !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 420px) {
  .section h2,
  .section-head h2 {
    max-width: 11ch !important;
  }

  .section p,
  .hero__content p,
  .section-head p,
  .card p,
  .service-item p,
  .doctor-card p {
    max-width: 25ch !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-orb {
    animation: none !important;
  }
}
