/* R74 — mobile composition pass: compact header/hero, clearer language control, rebuilt footer. */
.r74-mobile-language{display:none}

@media(max-width:760px){
  /* -------- Header: smaller, calmer, and more coherent. -------- */
  .home .r66-site-header,
  .r66-site-header,
  .home .r67-site-header,
  .r67-site-header{
    min-height:60px!important;
  }
  .home .r67-header-inner,
  .r67-header-inner{
    width:calc(100% - 20px)!important;
    min-height:60px!important;
    padding:4px 0!important;
    gap:6px!important;
  }
  .home .r67-brand,
  .r67-brand{
    gap:7px!important;
    max-width:none!important;
    min-width:0!important;
  }
  .home .r67-brand .r67-brand-mark,
  .r67-brand .r67-brand-mark{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }
  .home .r67-brand .approved-brand-raster,
  .r67-brand .approved-brand-raster{
    inset:4px!important;
    width:32px!important;
    height:32px!important;
  }
  .home .r67-brand .r67-brand-copy,
  .r67-brand .r67-brand-copy{
    max-width:172px!important;
  }
  .r67-brand-name{
    font-size:11.8px!important;
    line-height:1.04!important;
  }
  .r67-brand-name>span{font-size:.70em!important}
  .r67-brand-practice{margin-top:1px!important}
  .r67-brand-practice b{
    font-size:5.8px!important;
    line-height:1.05!important;
    letter-spacing:.12em!important;
  }
  .r67-brand-location{
    margin-top:1px!important;
    font-size:5.2px!important;
    line-height:1.05!important;
    letter-spacing:.15em!important;
  }
  .home .r67-header-actions,
  .r67-header-actions{
    gap:5px!important;
  }
  .home .r66-site-header .r66-menu-toggle,
  .r66-site-header .r66-menu-toggle{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    padding:8px!important;
    border-radius:12px!important;
  }

  /* -------- Language: active flag + code instead of the abstract globe button. -------- */
  .r73-mobile-language{display:none!important}
  .r74-mobile-language{
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .r74-mobile-language>summary{
    list-style:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    width:auto!important;
    min-width:58px!important;
    height:38px!important;
    padding:0 8px!important;
    border:1px solid rgba(255,255,255,.15)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
    cursor:pointer!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
  .r74-mobile-language>summary::-webkit-details-marker{display:none!important}
  .r74-current-flag{
    display:block!important;
    width:20px!important;
    height:14px!important;
    border-radius:2px!important;
    object-fit:cover!important;
    box-shadow:0 0 0 1px rgba(255,255,255,.15)!important;
  }
  .r74-current-code{
    font:800 8px/1 var(--sans,Arial,sans-serif)!important;
    letter-spacing:.08em!important;
  }
  .r74-language-chevron{
    color:#e7b95e!important;
    font:700 11px/1 Arial,sans-serif!important;
    transform:translateY(-1px)!important;
    transition:transform .2s ease!important;
  }
  .r74-mobile-language[open] .r74-language-chevron{transform:rotate(180deg) translateY(1px)!important}
  .r74-language-panel{
    position:absolute!important;
    z-index:140!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
    width:178px!important;
    padding:6px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:14px!important;
    background:rgba(3,26,49,.985)!important;
    box-shadow:0 18px 38px rgba(0,10,24,.38)!important;
    backdrop-filter:blur(16px)!important;
  }
  .r74-language-panel button{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr) 18px!important;
    align-items:center!important;
    gap:8px!important;
    min-height:42px!important;
    padding:6px 9px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#fff!important;
    text-align:left!important;
    cursor:pointer!important;
  }
  .r74-language-panel button:hover,
  .r74-language-panel button.is-active{background:rgba(255,255,255,.09)!important}
  .r74-language-panel .language-flag{
    width:23px!important;
    height:16px!important;
    border-radius:2px!important;
    object-fit:cover!important;
  }
  .r74-language-panel button>span{display:grid!important;gap:2px!important}
  .r74-language-panel button b{font-size:10px!important;line-height:1.05!important;color:#fff!important}
  .r74-language-panel button small{font-size:7px!important;line-height:1!important;color:#9fb4c4!important;letter-spacing:.08em!important}
  .r74-language-panel button i{font-style:normal!important;color:#e3b45a!important;font-size:10px!important;opacity:0!important}
  .r74-language-panel button.is-active i{opacity:1!important}

  /* -------- Hero: reduce the combined header + copy + slider footprint. -------- */
  body.home .r66-hero-layout,
  html[dir="rtl"] body.home .r66-hero-layout{
    width:calc(100% - 24px)!important;
    padding:17px 0 22px!important;
    gap:12px!important;
  }
  body.home .r66-hero-eyebrow{
    margin-bottom:7px!important;
    font-size:7.5px!important;
    letter-spacing:.16em!important;
  }
  body.home .r66-hero-eyebrow::before{width:22px!important}
  body.home .r66-hero-copy h1{
    font-size:36px!important;
    line-height:.95!important;
    letter-spacing:-.025em!important;
  }
  body.home .r66-hero-copy .hero-intro{
    margin-top:12px!important;
    max-width:100%!important;
    font-size:11.7px!important;
    line-height:1.55!important;
  }
  body.home .r66-hero-actions{
    grid-template-columns:minmax(0,1fr) 130px!important;
    gap:8px!important;
    margin-top:13px!important;
  }
  body.home .r67-primary-call{
    min-height:42px!important;
    padding:0 12px!important;
    font-size:11px!important;
    border-radius:10px!important;
  }
  body.home .r67-primary-call svg{width:16px!important;height:16px!important}
  body.home .r66-secondary-link{
    min-height:42px!important;
    padding:0 4px!important;
    font-size:7.8px!important;
  }
  body.home .r66-hero-trust{
    margin-top:10px!important;
    padding-top:9px!important;
    gap:5px 9px!important;
    font-size:7px!important;
  }
  body.home .r66-hero-trust b{font-size:8px!important}
  body.home .r66-hero-media,
  html[dir="rtl"] body.home .r66-hero-media{
    padding:5px 5px 0!important;
    border-radius:18px 38px 18px 18px!important;
  }
  html[dir="rtl"] body.home .r66-hero-media{border-radius:38px 18px 18px 18px!important}
  body.home .r66-hero-stage.r67-hero-stage{
    aspect-ratio:1.82/1!important;
    border-radius:14px 32px 14px 14px!important;
  }
  html[dir="rtl"] body.home .r66-hero-stage.r67-hero-stage{border-radius:32px 14px 14px 14px!important}
  body.home .r66-hero-stage .r67-doctor-slide.is-active > img.r67-doctor-photo{
    object-position:40% 23%!important;
    transform:scale(1.045)!important;
  }
  body.home .r66-hero-rail{
    min-height:42px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:3px 1px 4px 3px!important;
    gap:6px!important;
  }
  body.home .r66-slide-text{display:none!important}
  body.home .r66-slide-index{font-size:9px!important}
  body.home .r66-slide-progress{display:none!important}
  body.home .r66-hero-controls{gap:5px!important}
  body.home .r66-hero-controls button{
    width:29px!important;
    height:29px!important;
    font-size:11px!important;
  }

  /* -------- Footer: rebuild the mobile composition as one coherent identity block. -------- */
  .home .site-footer .footer-main{
    padding:22px 0 0!important;
  }
  .home .site-footer .footer-grid{
    width:calc(100% - 32px)!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0!important;
  }
  .home .site-footer .footer-grid>div:nth-child(2),
  .home .site-footer .footer-grid>div:nth-child(3){display:none!important}
  .home .site-footer .footer-brand{
    width:100%!important;
    display:block!important;
    margin:0!important;
    padding:0 0 18px!important;
    border-bottom:1px solid rgba(255,255,255,.11)!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand{
    width:100%!important;
    max-width:360px!important;
    min-width:0!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:start!important;
    gap:12px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r69-footer-brand-mark{
    width:56px!important;
    height:56px!important;
    flex:none!important;
    margin:0!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .approved-brand-raster{
    inset:5px!important;
    width:46px!important;
    height:46px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand-copy{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    text-align:left!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-localized{
    display:grid!important;
    gap:2px!important;
    justify-items:start!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name{
    width:100%!important;
    font-size:14.2px!important;
    line-height:1.05!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name>span{
    display:inline!important;
    font-size:.68em!important;
    color:#e1b35a!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice{
    display:block!important;
    width:100%!important;
    margin-top:3px!important;
    text-align:left!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice i{display:none!important}
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice b{
    display:block!important;
    font-size:6.4px!important;
    line-height:1.05!important;
    letter-spacing:.14em!important;
    text-align:left!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-location{
    width:100%!important;
    margin-top:1px!important;
    font-size:5.8px!important;
    line-height:1.05!important;
    letter-spacing:.17em!important;
    text-align:left!important;
    justify-self:start!important;
  }
  .home .site-footer .footer-motto{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "smile label"
      "motive social"!important;
    align-items:center!important;
    gap:5px 14px!important;
    margin:0!important;
    padding:17px 0 18px!important;
    border-bottom:1px solid rgba(255,255,255,.11)!important;
  }
  .home .site-footer .footer-motto>strong{
    grid-area:label!important;
    margin:0!important;
    color:#e4b45b!important;
    font-size:7.5px!important;
    letter-spacing:.12em!important;
    text-align:right!important;
  }
  .home .site-footer .footer-motto .social-links{
    grid-area:social!important;
    display:flex!important;
    justify-content:flex-end!important;
    gap:7px!important;
    margin:0!important;
  }
  .home .site-footer .footer-motto .social-links a,
  .home .site-footer .footer-motto .social-links span{
    width:32px!important;
    height:32px!important;
  }
  .home .site-footer .footer-motto>span{
    grid-area:smile!important;
    margin:0!important;
    font-size:17px!important;
    line-height:1.05!important;
  }
  .home .site-footer .footer-motto>em{
    grid-area:motive!important;
    margin:0!important;
    color:#e4b45b!important;
    font-size:14px!important;
    line-height:1.1!important;
  }
  .home .site-footer .footer-bottom,
  .home .site-footer .footer-bottom-r64{
    width:calc(100% - 32px)!important;
    margin:0 auto!important;
    padding:13px 0 16px!important;
    display:grid!important;
    gap:8px!important;
    justify-items:center!important;
    border-top:0!important;
    text-align:center!important;
  }
  .home .site-footer .footer-copyright{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px 5px!important;
    font-size:7.8px!important;
    line-height:1.45!important;
  }
  .home .site-footer .footer-legal-nav{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:6px 12px!important;
    font-size:8.5px!important;
    line-height:1.3!important;
  }

  html[dir="rtl"] .r74-language-panel{right:auto!important;left:0!important}
  html[dir="rtl"] .r74-language-panel button{text-align:right!important;direction:rtl!important}
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand{
    grid-template-columns:minmax(0,1fr) 56px!important;
    direction:rtl!important;
  }
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand-mark{grid-column:2!important}
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand-copy{grid-column:1!important;grid-row:1!important}
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand-copy,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-localized,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice b,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-location{
    text-align:right!important;
    justify-items:end!important;
    justify-self:end!important;
    direction:rtl!important;
  }
  html[dir="rtl"] .home .site-footer .footer-motto{
    grid-template-areas:"label smile" "social motive"!important;
  }
  html[dir="rtl"] .home .site-footer .footer-motto>strong{text-align:left!important}
  html[dir="rtl"] .home .site-footer .footer-motto .social-links{justify-content:flex-start!important}
}

@media(max-width:390px){
  .home .r67-brand .r67-brand-copy,.r67-brand .r67-brand-copy{max-width:145px!important}
  .r67-brand-name{font-size:10.8px!important}
  .r67-brand-practice b{font-size:5.3px!important}
  .r67-brand-location{font-size:4.9px!important}
  .r74-mobile-language>summary{min-width:54px!important;padding-inline:7px!important}
  body.home .r66-hero-copy h1{font-size:33px!important}
  body.home .r66-hero-copy .hero-intro{font-size:11.2px!important}
  body.home .r66-hero-actions{grid-template-columns:minmax(0,1fr) 112px!important}
  body.home .r66-secondary-link{font-size:7.2px!important}
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name{font-size:13px!important}
}
