/* Shared density limits keep the entire page comfortable on large displays. */
.mobile-hero-image { display: none; }
@media (min-width: 701px) {
  .hero { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 2 / 1; margin: 0; }
  .hero-art { width: 100%; background-image: url('assets/hero-wide-v1.webp'); background-size: contain; background-position: center top; mask-image: none; }
  .hero-motto { bottom: 0; min-height: 10%; display: flex; align-items: center; justify-content: center; padding: 6px 16px; }
}
@media (min-width: 1001px) {
  body { font-size: 16px; }
  .container { width: min(1160px, 90%); }

  .hero {
    background: #f8f3ec;
  }
  .hero-art {
    width: 100%;
    background-size: contain;
    background-position: center top;
    mask-image: none;
  }
  .header { width: min(1660px, 100%); margin-inline: auto; padding-inline: clamp(30px, 3.7vw, 60px); gap: 18px; }
  .hero-main { width: 100%; }
  .brand { gap: 14px; }
  .brand-symbol { width: 100px; height: 78px; }
  .brand-symbol img { width: 145px; left: -21px; top: -13px; }
  .brand-type strong { font-size: 22px; letter-spacing: .8px; }
  .brand-type > span { font-size: 10px; letter-spacing: 4.7px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 18px; }
  .header-phone { gap: 10px; padding-left: 24px; }
  .header-phone strong { font-size: 21px; }
  .header-phone small { font-size: 13px; }
  .phone-icon { width: 22px; height: 22px; }
  .hero h1 { font-size: clamp(38px, 3.9vw, 68px); letter-spacing: -1.5px; }
  .hero-subtitle { font-size: clamp(16px, 1.6vw, 22px); }
  .hero-meta { font-size: clamp(11px, 1.05vw, 14px); gap: 24px; margin-top: 7%; }
  .hero-meta p + p { padding-left: 24px; }
  .hero-motto { font-size: clamp(22px, 1.94vw, 28px); letter-spacing: -.7px; }

  .gold-button { min-height: 54px; font-size: 16px; gap: 20px; padding: 7px 10px 7px 23px; }
  .button-arrow { width: 38px; height: 38px; }
  .button-arrow svg { width: 23px; height: 23px; }
  .hero-cta { width: min(500px, 70%); min-height: 54px; font-size: clamp(14px, 1.4vw, 20px); padding: 7px 10px 7px 23px; }
  .hero-cta .button-arrow { width: 42px; height: 42px; }
  .hero-cta .button-arrow svg { width: 23px; height: 23px; }

  .services-section { padding: 56px 0 72px; }
  .about-intro { gap: 45px; margin-bottom: 48px; }
  .about-intro h2 { font-size: 32px; }
  .about-intro > div { padding-left: 36px; }
  .about-intro .doctor-name { font-size: 22px; }
  .about-intro p { font-size: 17px; }
  .about-intro .text-link { font-size: 13px; }
  .section-heading { gap: 34px; margin-bottom: 28px; }
  .section-heading h2 { font-size: 42px; letter-spacing: -1px; }
  .section-heading > p { font-size: 17px; }
  .price-tabs { gap: 14px; margin-bottom: 28px; }
  .price-tabs button { font-size: 17px; padding: 12px 5px 14px; }
  .price-grid { gap: 32px; }
  .price-group summary { min-height: 64px; padding: 16px 7px; gap: 12px; }
  .price-group h3 { font-size: 20px; letter-spacing: -.4px; }
  .price-from { font-size: 16px; }
  .price-rows { padding: 0 7px 8px; }
  .price-row { font-size: 16px; padding: 10px 2px; gap: 14px; }
  .price-row small { font-size: 12px; margin-top: 2px; }
  .price-note { font-size: 13px; margin: 24px 0 22px; }
  .disclosure-icon { transform: scale(.85); }

  .works-section { padding: 56px 0 76px; }
  .gallery-heading { padding-bottom: 26px; margin-bottom: 32px; }
  .gallery-heading > p { font-size: 16px; padding-left: 26px; }
  .works-grid { gap: 26px 22px; }
  .work-caption { font-size: 18px; margin-top: 16px; }
  .work-caption svg { width: 21px; height: 21px; }
  .gallery-actions { gap: 28px; margin-top: 32px; }
  .outline-button { font-size: 16px; padding: 13px 21px; }
  .gallery-actions p { font-size: 14px; padding-left: 26px; }
  .services-section::after, .works-section::after { width: 50%; height: 140px; }

  .education-section { padding: 56px 0 34px; }
  .education-section .section-heading h2 { font-size: 36px; }
  .education-section .section-heading > p { font-size: 16px; padding-left: 24px; }
  .documents-grid { gap: 26px 22px; }
  .document-frame { padding: 5px; border-radius: 11px; }
  .document-title { font-size: 17px; margin-top: 10px; }
  .document-action { font-size: 14px; }
  .all-documents { font-size: 16px; margin-top: 22px; }

  .contacts-section { padding: 44px 0 80px; }
  .contacts-grid { gap: 50px; }
  .contacts-grid h2 { font-size: 36px; letter-spacing: -1px; }
  .contact-intro { font-size: 18px; margin: 15px 0 20px; }
  .contact-details { padding-left: 42px; }
  .contact-phone { font-size: 32px; letter-spacing: -1px; }
  .contact-details address { font-size: 20px; margin: 14px 0; }
  .route-link { font-size: 17px; }
  .footer { padding: 14px 0; }
  .footer-inner { font-size: 12px; gap: 24px; }
  .footer-brand { font-size: 17px; }
  .footer-brand img { width: 68px; height: 48px; }
}

@media (min-width: 1001px) and (max-width: 1190px) {
  .brand { gap: 8px; width: 28%; }
  .brand-symbol { width: 85px; }
  .brand-symbol img { width: 125px; left: -18px; top: -5px; }
  .brand-type strong { font-size: 18px; }
  .brand-type > span { font-size: 8px; letter-spacing: 3.8px; }
  .desktop-nav { gap: 16px; margin-left: 0; }
  .desktop-nav a { font-size: 16px; }
  .header-phone { padding-left: 16px; margin-left: 8px; }
  .header-phone strong { font-size: 18px; }
  .hero-meta { font-size: 12px; gap: 18px; }
  .hero-meta p + p { padding-left: 18px; }
  .section-heading h2 { font-size: 36px; }
  .education-section .section-heading h2 { font-size: 32px; }
  .price-tabs button { font-size: 15px; }
  .price-group h3 { font-size: 18px; }
  .price-from { font-size: 14px; }
  .contacts-grid h2 { font-size: 31px; }
  .contact-phone { font-size: 28px; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .hero-meta { margin-top: 3%; }
  .hero-motto { font-size: 2.2vw; }
  .services-section, .works-section { padding: 48px 0 64px; }
  .about-intro { margin-bottom: 44px; }
  .about-intro h2 { font-size: 28px; }
  .section-heading h2 { font-size: 32px; }
  .gallery-heading { margin-bottom: 32px; padding-bottom: 26px; }
  .gallery-actions { margin-top: 30px; }
  .education-section { padding: 48px 0 30px; }
  .education-section .section-heading h2 { font-size: 29px; }
  .contacts-section { padding: 42px 0 76px; }
}

@media (max-width: 700px) {
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; aspect-ratio: auto; }
  .hero .header { order: 0; flex-shrink: 0; }
  .hero-main { order: 1; position: relative; inset: auto; }
  .hero-copy { position: static; padding: 16px 18px 0; }
  .hero-art { order: 2; position: relative; inset: auto; z-index: 0; height: auto; margin-top: 16px; background: none; -webkit-mask-image: none; mask-image: none; }
  .hero-art::after { content: ""; display: block; position: absolute; inset: 0 0 auto; width: 100%; height: 4%; background: linear-gradient(to bottom, #faf6f0, #faf6f080 45%, #faf6f000); pointer-events: none; }
  .mobile-hero-image { display: block; width: 100%; height: auto; }
  .hero-motto { order: 3; position: static; padding: 15px 10px; background: #f3e7d5; }
  .services-section { padding: 36px 0 52px; }
  .about-intro { gap: 20px; margin-bottom: 36px; }
  .about-intro h2 { font-size: 27px; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: 28px; }
  .price-group summary { min-height: 64px; padding-block: 15px; }
  .price-row { padding-block: 11px; }
  .works-section { padding: 36px 0 54px; }
  .gallery-heading { padding-bottom: 20px; margin-bottom: 22px; }
  .works-grid { gap: 24px; }
  .work, .document { width: 100%; max-width: 310px; margin-inline: auto; }
  .work-caption { font-size: 16px; margin-top: 11px; }
  .gallery-actions { margin-top: 24px; gap: 15px; }
  .education-section { padding: 36px 0 26px; }
  .education-section .section-heading h2 { font-size: 27px; }
  .documents-grid { gap: 22px; }
  .document-title { font-size: 16px; }
  .contacts-section { padding: 34px 0 64px; }
  .contacts-grid { gap: 26px; }
  .contacts-grid h2 { font-size: 28px; }
  .contact-intro { font-size: 17px; }
}

