/* Phone-only layout. The original desktop stylesheet remains unchanged. */
@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  body { -webkit-text-size-adjust: 100%; }
  .container { width: calc(100% - 36px); }
  .topbar .container { height: 26px; }
  .topbar { font-size: 9px; }

  /* Keep the header simple; WhatsApp is available in the floating button. */
  .nav-wrap { height: 64px; gap: 8px; }
  .brand { width: calc(100% - 60px); max-width: 200px; height: 54px; flex-shrink: 1; margin-right: auto; }
  .brand img { width: 100%; }
  .menu-toggle { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; }
  nav { top: 64px; gap: 4px; padding: 12px 18px 18px; max-height: calc(100dvh - 90px); overflow-y: auto; }
  nav > a:not(.button) { display: flex; align-items: center; min-height: 48px; padding: 10px 4px; font-size: 14px; border-bottom: 1px solid var(--line); }
  nav .button { margin-top: 8px; }
  .floating-wa { display: flex; width: 52px; height: 52px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: #25d366; border: 2px solid #fff; box-shadow: 0 4px 18px #103c3726; }
  .floating-wa > svg { width: 28px; height: 28px; }

  .section, .contact-section { padding: 42px 0; }
  .eyebrow { margin-bottom: 14px; font-size: 9px; letter-spacing: .12em; }
  .button, .hero .button, .contact-invitation .button {
    min-height: 50px; width: 100%; max-width: 100%; padding: 13px 14px; gap: 10px;
    font-size: 14px; white-space: normal; border-radius: 8px; text-align: center;
  }
  .button > svg { width: 20px; height: 20px; }
  .text-link { min-height: 44px; font-size: 13px; }

  /* Fixed dimensions prevent the HTML image height from stretching the portrait. */
  .hero { padding: 28px 0 34px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 30vw, 130px); gap: 12px 14px; min-height: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow { grid-column: 1; grid-row: 1; margin: 0; font-size: 9px; }
  .hero h1 { grid-column: 1; grid-row: 2; align-self: end; font-size: clamp(32px, 8.5vw, 40px); line-height: 1.1; margin: 0; }
  .hero-description { grid-column: 1 / -1; font-size: 14px; line-height: 1.65; max-width: none; }
  .hero-actions { grid-column: 1 / -1; align-items: stretch; gap: 6px; margin-top: 2px; }
  .hero .text-link { align-self: center; font-size: 13px; }
  .hero-address { display: none; }
  .hero-visual {
    grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; max-width: 130px;
    margin: 0; padding: 0; background: transparent;
  }
  .hero-visual::before { display: none; }
  .portrait { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 50%; border: 4px solid #e3eee5; }
  .portrait-label { display: none; }

  .treatments-heading { margin-bottom: 20px; }
  .treatments-heading h2, .about-copy h2, .contact-invitation h2 { font-size: clamp(34px, 9.6vw, 43px); line-height: 1.08; text-wrap: balance; }
  .treatments-heading > p { font-size: 14px; line-height: 1.65; margin-top: 14px; }
  .services-grid { gap: 0; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .service-item, .service-wide { display: block; min-width: 0; padding: 18px 0; scroll-margin-top: 12px; }
  .service-item h3 { font-size: 16px; margin-bottom: 8px; }
  .service-item p { font-size: 14px; line-height: 1.65; }
  .mobile-service-hint { font-size: 11px; color: var(--green); margin: 0 0 12px; }
  .service-item.mobile-service { padding: 0; }
  .mobile-service h3 { margin: 0; }
  .mobile-service-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    width: 100%; min-height: 64px; border: 0; padding: 17px 0; background: transparent;
    color: var(--ink); font: inherit; font-weight: 500; line-height: 1.4; text-align: left;
  }
  .mobile-service-toggle:focus-visible { outline-offset: -3px; border-radius: 4px; }
  .mobile-service-mark { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--green); }
  .mobile-service-mark::before, .mobile-service-mark::after { content: ''; position: absolute; width: 10px; height: 1.5px; top: 12px; left: 8px; background: currentColor; }
  .mobile-service-mark::after { transform: rotate(90deg); }
  .mobile-service-toggle[aria-expanded='true'] { color: var(--green); }
  .mobile-service-toggle[aria-expanded='true'] .mobile-service-mark::after { transform: rotate(0); }
  .mobile-service > p:not([hidden]) { padding: 0 0 20px; }
  .services-action { gap: 12px; margin-top: 22px; align-items: stretch; }
  .services-action > p { font-size: 11px; line-height: 1.6; max-width: none; text-align: center; }

  .homecare-layout { gap: 24px; }
  .homecare h2 { font-size: clamp(36px, 10vw, 46px); line-height: 1.08; }
  .homecare-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.65; margin-top: 16px; }
  .homecare-options { display: grid; gap: 14px; }
  .mobile-care-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border: 1px solid #ffffff26; border-radius: 10px; }
  .mobile-care-tabs button { min-height: 44px; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: #d0e3d7; font-size: 14px; font-weight: 500; }
  .mobile-care-tabs button[aria-selected='true'] { background: #f4f8f0; color: var(--teal); }
  .homecare-options article, .homecare-options article + article {
    display: block; padding: 20px 16px 14px; border: 1px solid #ffffff26; border-radius: 12px; background: #ffffff08;
  }
  .homecare-options h3 { font-size: 18px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; }
  .homecare-options p { font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
  .homecare-options .text-link { display: flex; justify-content: space-between; gap: 10px; min-height: 46px; padding-top: 10px; border-top: 1px solid #ffffff26; font-size: 12px; }
  .homecare-options .homecare-note { font-size: 11px; line-height: 1.6; margin: 2px 0 0; }
  .homecare-options article[hidden], .mobile-service > p[hidden] { display: none; }
  .mobile-details { margin-bottom: 12px; }
  .mobile-details > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 500; color: var(--green); }
  .mobile-details > summary::after { content: '+'; font-size: 18px; font-weight: 400; }
  .mobile-details[open] > summary::after { content: '−'; }
  .homecare-options .mobile-details > summary { color: #d0e3d7; }
  .mobile-details > p { font-size: 14px; line-height: 1.65; }

  .about-layout { gap: 22px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; margin-top: 16px; }
  .about-copy .professional-registration { margin-bottom: 12px; }
  .about-copy .text-link { font-size: 13px; }
  .clinic-photo { height: auto; aspect-ratio: 1.7; border-radius: 10px; }

  /* Two contact actions, one address, and a single compact hours row. */
  .contact-section { padding: 36px 0 44px; }
  .contact-layout { gap: 20px; }
  .contact-invitation h2 { font-size: 34px; line-height: 1.1; }
  .contact-invitation > p, .contact-invitation > .button { display: none; }
  .contact-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; border: 1px solid #d5e2d4; border-radius: 14px; }
  .contact-information > .contact-row { min-width: 0; margin: 0; padding: 0; border: 0; }
  .contact-row > div { min-width: 0; }
  .contact-row > svg { width: 20px; height: 20px; margin: 0; }
  .contact-row small { font-size: 12px; letter-spacing: 0; margin: 0; line-height: 1.4; }
  .contact-row strong { font-size: 13px; line-height: 1.5; }
  .contact-row span { font-size: 12px; line-height: 1.5; }
  .contact-information > a.contact-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-content: center; align-items: center; gap: 8px; min-height: 82px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 9px; }
  .contact-information > a.contact-row > div { display: contents; }
  .contact-information > a.contact-row > svg { grid-column: 1; grid-row: 1; }
  .contact-information > a.contact-row small { grid-column: 2; grid-row: 1; font-weight: 500; color: inherit; }
  .contact-information > a.contact-row strong { grid-column: 1 / -1; grid-row: 2; font-size: clamp(12px, 3.35vw, 14px); white-space: nowrap; }
  .contact-information > a.contact-row .contact-arrow { display: none; }
  .contact-information > a.contact-row[href^='https://wa.me'] { background: var(--teal); color: #fff; border-color: var(--teal); }
  .contact-row > .wa-icon { width: 20px; height: 20px; padding: 0; background: transparent; margin: 0; }
  .contact-information > .address-highlight { display: block; grid-column: 1 / -1; position: relative; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
  .address-highlight > svg { position: absolute; top: 18px; left: 0; width: 18px; height: 18px; }
  .address-highlight h3 { font-size: 12px; line-height: 18px; margin: 0 0 10px; padding-left: 26px; }
  .address-highlight address strong { font-size: 17px; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 5px; }
  .address-highlight address .address-suite, .address-highlight address > span:last-child { display: inline; font-size: 12px; line-height: 1.6; font-weight: 400; color: var(--muted); margin: 0; }
  .address-highlight address > span:last-child::before { content: ' · '; }
  .directions-button { width: 100%; margin-top: 12px; min-height: 44px; justify-content: space-between; padding: 11px 12px; font-size: 12px; background: transparent; color: var(--teal); border-color: #b8cec0; }
  .directions-button:hover { background: var(--mint); transform: none; }
  .contact-information > .contact-row:last-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 13px; }
  .contact-information > .contact-row:last-child > svg { width: 17px; height: 17px; }
  .contact-information > .contact-row:last-child > div { display: flex; flex-wrap: wrap; column-gap: 7px; }
  .contact-information > .contact-row:last-child small { display: none; }
  .contact-information > .contact-row:last-child strong, .contact-information > .contact-row:last-child span { font-size: 12px; line-height: 1.6; }
  footer { padding: 30px 0 calc(80px + env(safe-area-inset-bottom, 0px)); }
  .footer-main { gap: 14px; padding-bottom: 22px; }
  .footer-name { font-size: 30px; }
  .social-link { width: 44px; height: 44px; }
  .footer-bottom { font-size: 9px; line-height: 1.6; padding: 18px 0 0; gap: 8px; }
}
