@media (max-width: 1023px) {
  .nav {
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .header-phone {
    padding-inline: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-photo {
    opacity: 1;
  }

  .hero-content {
    width: min(620px, 100%);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    height: 360px;
    min-height: 360px;
  }

  .about-media img {
    min-height: 360px;
  }

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

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

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 70px;
  }

  .brand strong {
    max-width: 160px;
    line-height: 1.15;
  }

  .brand span {
    display: none;
  }

  .icon-button {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 46px;
    justify-content: center;
  }

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

  .hero::before {
    background-size: 34px 34px;
  }

  .hero-photo {
    height: 100%;
    opacity: 1;
  }

  .hero-photo img {
    object-position: 76% top;
  }

  .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.88) 58%, rgba(247, 251, 255, 0.38) 100%),
      linear-gradient(180deg, rgba(247, 251, 255, 0.42) 0%, #f7fbff 82%);
  }

  .hero-content {
    padding: 72px 0 64px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-mini {
    grid-template-columns: 42px 1fr;
    align-items: center;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .about-grid {
    gap: 32px;
  }

  .about-media,
  .about-media img {
    height: auto;
    min-height: 280px;
  }


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

  .service-card,
  .patient-card {
    padding: 24px;
  }

  .payment-band {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .blik-badge {
    width: max-content;
  }

  .contact-item {
    grid-template-columns: 36px 1fr;
  }

  .hours-list li {
    display: grid;
    gap: 1px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    justify-items: center;
    text-align: center;
  }

  .footer-inner > svg {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 22px;
    height: 22px;
  }

  .footer-brand {
    display: block;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin-top: -4px;
    text-align: center;
  }

  .footer-brand strong {
    display: block;
  }

  .footer-meta {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    justify-items: center;
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand strong {
    max-width: 128px;
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }
}
