@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
   --ink: #242e2b;
   --muted: #63716a;
   --sage: #dfe9e0;
   --cream: #f7f4ed;
   --warm: #eee6da;
   --forest: #203e34;
   --gold: #a87c4e;
   --border: #dedfd8
}

* {
   box-sizing: border-box
}

html {
   scroll-behavior: smooth
}

body {
   margin: 0;
   color: var(--ink);
   font: 16px/1.7 'DM Sans', sans-serif;
   background: #fff;
   overflow-x: hidden
}

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

h1,
h2,
h3 {
   font-family: Manrope, sans-serif;
   line-height: 1.12;
   letter-spacing: -.055em
}

h1 {
   font-size: clamp(3.3rem, 7.4vw, 8rem);
   margin: 22px 0
}

h2 {
   font-size: clamp(2.6rem, 5vw, 5.4rem);
   margin: 20px 0 26px
}

h3 {
   font-size: 1.3rem
}

h1 em,
h2 em {
   font-style: normal;
   font-weight: 500;
   color: var(--gold)
}

p {
   color: var(--muted)
}

.shell {
   width: min(1380px, 100% - 88px);
   margin: auto
}

.site-header {
   height: 88px;
   position: sticky;
   top: 0;
   z-index: 100;
   background: #fafaf8f5;
   border-bottom: 1px solid #dfe2db;
   backdrop-filter: blur(16px)
}

.nav {
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 100%;
   gap: 20px
}

.identity {
   display: flex;
   align-items: center;
   gap: 12px;
   font: 800 13px/1.25 Manrope, sans-serif;
   letter-spacing: -.03em;
   white-space: nowrap
}

.identity img {
   width: 61px;
   height: 61px;
   object-fit: contain
}

.identity small {
   display: block;
   font-size: 9px;
   letter-spacing: .03em
}

.navlinks {
   display: flex;
   align-items: center;
   gap: 23px
}

.navlinks a {
   font-size: 12px;
   font-weight: 700;
   transition: color .2s
}

.navlinks a:hover,
.navlinks .active {
   color: var(--gold)
}

.menu-toggle {
   display: none
}

.overline {
   font-size: 18px;
   letter-spacing: .19em;
   font-weight: 800;
   color: var(--gold)
}

.lead {
   font-size: clamp(17px, 1.5vw, 21px);
   max-width: 700px
}

.large {
   font-size: clamp(22px, 1.8vw, 23px);
   line-height: 1.65
}

.narrow {
   max-width: 760px
}

.button {
   border: 0;
   border-radius: 100px;
   background: var(--forest);
   color: #fff;
   display: inline-flex;
   gap: 24px;
   align-items: center;
   padding: 17px 27px;
   font: 700 13px Manrope, sans-serif;
   cursor: pointer;
   transition: transform .3s, background .3s
}

.button:hover {
   transform: translateY(-3px);
   background: #315b4b
}

.button.light {
   background: #fff;
   color: var(--forest)
}

.text-link,
.subtle-link {
   font-weight: 700;
   border-bottom: 1px solid currentColor;
   padding-bottom: 5px
}

.actions {
   display: flex;
   align-items: center;
   gap: 28px;
   margin-top: 34px
}

.hero-home {
   background: var(--cream);
   min-height: calc(100svh - 88px);
   position: relative
}

.home-hero-grid {
   min-height: calc(100svh - 120px);
   display: grid;
   grid-template-columns: 1fr 1.05fr;
   gap: 6%;
   align-items: center
}

.hero-copy {
   padding: 55px 0
}

.hero-copy h1 {
   font-size: clamp(4rem, 7.1vw, 8rem)
}

.hero-copy .lead {
   max-width: 550px
}

.hero-media {
   height: min(71vh, 680px);
   position: relative;
   overflow: hidden;
   border-radius: 200px 200px 18px 18px;
   background: #cbb8a0
}

.hero-media img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transform: scale(1.03)
}

.media-label {
   position: absolute;
   bottom: 24px;
   left: 24px;
   background: #fffdf2e8;
   padding: 14px 19px;
   border-radius: 10px;
   font-weight: 700;
   font-size: 13px
}

.media-label small {
   display: block;
   font-weight: 400;
   color: var(--muted)
}

.scroll-cue {
   position: absolute;
   bottom: 18px;
   left: 4%;
   font-size: 10px;
   font-weight: 800;
   letter-spacing: .2em;
   color: var(--gold)
}

.scroll-cue span {
   font-size: 20px;
   margin-left: 10px
}

.layered-panel {
   min-height: calc(100svh - 88px);
   background: #fff;
   position: relative;
   overflow: hidden
}

.panel-light {
   background: #fff
}

.panel-sage {
   background: var(--sage)
}

.panel-cream {
   background: var(--cream)
}

.panel-dark {
   background: var(--forest);
   color: white
}

.panel-dark p {
   color: #c9d7d0
}

.panel-dark .overline {
   color: #d7b991
}

.section-pad {
   padding: clamp(70px, 8vw, 130px) 0
}

.two-col {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 9%;
   align-items: start
}

.align-center {
   align-items: center
}

.feature-row {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   margin-top: 90px;
   border-top: 1px solid var(--border)
}

.feature-row>div {
   padding: 32px 18px 10px 0
}

.feature-row span,
.service-index {
   font-size: 12px;
   font-weight: 800;
   color: var(--gold)
}

.feature-row h3 {
   margin: 14px 0
}

.section-head {
   display: flex;
   justify-content: space-between;
   align-items: end;
   gap: 40px
}

.service-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 16px;
   margin-top: 45px
}

.service-card {
   position: relative;
   min-height: 235px;
   background: #ffffffb8;
   border: 1px solid #ffffffd9;
   border-radius: 20px;
   padding: 28px;
   transition: transform .3s, box-shadow .3s
}

.service-card:hover {
   transform: translateY(-7px);
   box-shadow: 0 25px 60px #2942331a
}

.service-card h3 {
   margin: 18px 0 8px
}

.service-card p {
   font-size: 14px;
   line-height: 1.5
}

.round-arrow {
   position: absolute;
   right: 22px;
   top: 20px;
   font-size: 22px
}

.picture-frame {
   height: 540px;
   border-radius: 22px;
   overflow: hidden
}

.picture-frame img {
   width: 100%;
   height: 100%;
   object-fit: cover
}

.team-strip {
   margin: 45px 0 35px;
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   gap: 12px
}

.team-strip>div {
   border-top: 1px solid #ffffff55;
   padding-top: 20px
}

.team-strip span {
   display: block;
   font-size: 10px;
   color: #d7b991;
   letter-spacing: .12em
}

.team-strip b {
   display: block;
   font-size: 15px;
   margin-top: 14px
}

.panel-end {
   background: #fff
}

.location-card {
   background: var(--cream);
   border-radius: 25px;
   padding: 60px
}

.location-pin {
   font-size: 60px;
   color: var(--gold)
}

.page-hero {
   padding: 100px 0 105px;
   background: var(--cream)
}

.page-hero h1 {
   max-width: 1000px
}

.section {
   padding: 100px 0
}

.warm {
   background: var(--cream)
}

.three {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 18px;
   margin-top: 40px
}

.tile {
   padding: 35px;
   border: 1px solid var(--border);
   border-radius: 20px;
   background: #fff
}

.tile p {
   min-height: 80px
}

.profiles {
   display: grid;
   gap: 30px
}

.profile {
   display: grid;
   grid-template-columns: 300px 1fr;
   gap: 50px;
   border: 1px solid var(--border);
   border-radius: 24px;
   padding: 24px;
   align-items: center
}

.profile-art {
   height: 330px;
   border-radius: 15px;
   background: radial-gradient(circle at 50% 35%, #f7f4ea, #d6e3d9);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center
}

.profile-symbol {
   font-size: 100px;
   color: #9fb4a7
}

.profile-art small {
   font-size: 10px;
   letter-spacing: .15em;
   color: #60776a
}

.profile-copy h2 {
   font-size: clamp(2rem, 3.4vw, 3.7rem)
}

.profile-copy p {
   max-width: 830px
}

.detail-block {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 9%;
   padding: 55px 0;
   border-top: 1px solid var(--border)
}

.detail-block h2 {
   font-size: clamp(2rem, 4vw, 4.2rem)
}

.pharmacy-graphic {
   background: var(--sage);
   padding: 65px;
   border-radius: 22px
}

.pharmacy-graphic span {
   font-size: 95px;
   color: var(--gold);
   font-weight: 800
}

.pharmacy-graphic h3 {
   font-size: 35px
}

.faq details {
   padding: 25px 0;
   border-bottom: 1px solid var(--border)
}

.faq summary {
   cursor: pointer;
   font-weight: 700;
   font-size: 18px
}

.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 9%
}

.form-panel {
   background: var(--cream);
   border-radius: 24px;
   padding: 40px
}

.form-panel h2 {
   font-size: clamp(2.5rem, 4vw, 4.4rem)
}

.contact-form {
   display: grid;
   gap: 12px
}

.contact-form label {
   font-weight: 700;
   font-size: 13px
}

.contact-form input:not([type=checkbox]),
.contact-form textarea,
.contact-form select {
   width: 100%;
   font: inherit;
   border: 1px solid #cbd2c9;
   border-radius: 9px;
   padding: 13px;
   background: #fff
}

.contact-form textarea {
   min-height: 150px
}

.check {
   display: flex;
   gap: 12px;
   align-items: start;
   font-weight: 400 !important
}

.check input {
   margin-top: 7px
}

.small {
   font-size: 13px
}

.form-feedback {
   font-size: 13px
}

.map-box {
   height: 320px;
   margin-top: 45px;
   border-radius: 18px;
   overflow: hidden
}

.map-box iframe {
   width: 100%;
   height: 100%;
   border: 0
}

.footer {
   background: #192e27;
   color: #fff;
   padding: 80px 0 25px
}

.footer p,
.footer a {
   color: #c7d3cb
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr;
   gap: 8%
}

.footer-grid h2 {
   font-size: clamp(2rem, 3.3vw, 3.8rem)
}

.footer-grid>div:nth-child(2) {
   display: flex;
   flex-direction: column;
   gap: 10px
}

.footer-grid b {
   margin-bottom: 12px
}

.fineprint {
   font-size: 11px;
   color: #b0c0b6;
   border-top: 1px solid #ffffff33;
   margin-top: 65px;
   padding-top: 25px
}

@media(max-width:1100px) {
   .navlinks {
      gap: 11px
   }

   .navlinks a {
      font-size: 11px
   }

   .identity {
      font-size: 11px
   }

   .identity img {
      width: 50px
   }

   .team-strip {
      grid-template-columns: repeat(3, 1fr)
   }
}

@media(max-width:1000px) {
   .shell {
      width: min(100% - 42px, 760px)
   }

   .site-header {
      height: 76px
   }

   .menu-toggle {
      display: block;
      border: 0;
      background: none;
      font-size: 26px;
      cursor: pointer
   }

   .navlinks {
      display: none;
      position: absolute;
      top: 76px;
      left: 0;
      right: 0;
      background: #fff;
      padding: 25px;
      flex-direction: column;
      align-items: start;
      box-shadow: 0 20px 30px #0001
   }

   .navlinks.open {
      display: flex
   }

   .home-hero-grid,
   .two-col,
   .contact-grid,
   .detail-block {
      grid-template-columns: 1fr;
      gap: 30px
   }

   .home-hero-grid {
      padding-bottom: 65px
   }

   .hero-media {
      height: 480px
   }

   .layered-panel {
      min-height: auto
   }

   .service-grid,
   .three {
      grid-template-columns: repeat(2, 1fr)
   }

   .team-strip {
      grid-template-columns: repeat(2, 1fr)
   }

   .profile {
      grid-template-columns: 220px 1fr;
      gap: 25px
   }

   .profile-art {
      height: 260px
   }
}

@media(max-width:650px) {
   .shell {
      width: calc(100% - 36px)
   }

   .hero-copy h1 {
      font-size: clamp(3.5rem, 15vw, 5.5rem)
   }

   .hero-media {
      height: 350px
   }

   .section-pad,
   .section {
      padding: 65px 0
   }

   .page-hero {
      padding: 65px 0
   }

   .feature-row,
   .service-grid,
   .three,
   .team-strip,
   .footer-grid {
      grid-template-columns: 1fr
   }

   .feature-row {
      margin-top: 45px
   }

   .section-head {
      display: block
   }

   .profile {
      grid-template-columns: 1fr
   }

   .profile-art {
      height: 200px
   }

   .form-panel {
      padding: 22px
   }

   .picture-frame {
      height: 340px
   }

   .actions {
      flex-wrap: wrap
   }

   .footer-grid {
      gap: 35px
   }
}

@media(prefers-reduced-motion:reduce) {

   *,
   *:before,
   *:after {
      scroll-behavior: auto !important;
      animation: none !important;
      transition: none !important;
      transform: none !important
   }
}


/* Approved proof scroll engine: full-viewport sticky cards with increasing stack order.
   Keep original V8 typography, content, palette and navigation. */
html {
   scroll-behavior: auto
}

.site-header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 200
}

body {
   padding-top: 88px;
   background: #192e27
}

main {
   isolation: isolate
}

main>.scroll-panel {
   position: sticky;
   top: 0;
   min-height: 100vh;
   min-height: 100svh;
   display: flex;
   align-items: center;
   overflow: hidden;
   isolation: isolate;
   box-shadow: 0 -18px 42px rgba(0, 0, 0, .17);
   border-radius: 24px 24px 0 0;
   padding-top: 88px;
   padding-bottom: 18px;
   transform-origin: center top
}

main>.scroll-panel:first-child {
   border-radius: 0
}

main>.scroll-panel:nth-child(odd):not(.hero-home):not(.panel-sage):not(.panel-dark):not(.panel-cream):not(.warm):not(.page-hero) {
   background: #f7f4ed
}

main>.scroll-panel:nth-child(even):not(.panel-light):not(.panel-sage):not(.panel-dark):not(.panel-cream):not(.warm):not(.page-hero) {
   background: #e4ebe3
}

main>.scroll-panel>.panel-interior {
   width: 100%;
   position: relative;
   z-index: 1;
   will-change: transform
}

main>.scroll-panel .section-pad {
   padding-top: 28px;
   padding-bottom: 28px
}

main>.scroll-panel.page-hero {
   padding-top: 88px;
   padding-bottom: 0;
   min-height: 100svh
}

main>.scroll-panel.page-hero>.panel-interior {
   padding-top: 0;
   padding-bottom: 0
}

main>.scroll-panel .page-hero {
   padding: 0
}

main>.scroll-panel .section {
   padding: 0
}

main>.scroll-panel .home-hero-grid {
   min-height: calc(100svh - 110px)
}

main>.scroll-panel .hero-media {
   height: min(60vh, 590px)
}

main>.scroll-panel .feature-row {
   margin-top: 35px
}

main>.scroll-panel .team-strip {
   margin-top: 24px;
   margin-bottom: 18px
}

main>.scroll-panel .service-grid {
   margin-top: 25px
}

main>.scroll-panel .service-card {
   min-height: 195px
}

main>.scroll-panel .picture-frame {
   height: min(48vh, 440px)
}

main>.scroll-panel .profile {
   max-width: 1200px;
   margin: auto
}

main>.scroll-panel .detail-block {
   padding: 30px 0
}

main>.scroll-panel .profile-panel .profile-art {
   height: min(40vh, 330px)
}

main>.scroll-panel .panel-interior {
   max-height: calc(100svh - 112px);
   overflow-y: auto;
   overscroll-behavior: contain;
   scrollbar-width: thin
}

main>.scroll-panel.hero-home .panel-interior {
   overflow: visible
}

main>.scroll-panel .section-pad {
   width: min(1380px, 100% - 88px)
}

main>.scroll-panel .section-pad.shell {
   width: min(1380px, 100% - 88px)
}

main>.scroll-panel .page-hero h1 {
   font-size: clamp(3rem, 6vw, 6.5rem)
}

main>.scroll-panel .section-pad h2 {
   font-size: clamp(2.3rem, 4.2vw, 4.6rem)
}

main>.scroll-panel .panel-interior>.shell {
   max-width: 1380px
}

main>.scroll-panel .contact-grid {
   align-items: center
}

main>.scroll-panel .map-box {
   height: 210px;
   margin-top: 15px
}

main>.scroll-panel .contact-form textarea {
   min-height: 85px
}

main>.scroll-panel .form-panel {
   padding: 25px
}

main>.scroll-panel .form-panel h2 {
   font-size: 2.3rem
}

main>.scroll-panel .profile-art {
   flex-shrink: 0
}

main>.scroll-panel .section-pad .feature-row h3 {
   margin: 7px 0
}

@media(max-width:1000px) {
   body {
      padding-top: 76px
   }

   main>.scroll-panel {
      padding-top: 76px;
      min-height: 100svh
   }

   main>.scroll-panel .panel-interior {
      max-height: calc(100svh - 95px)
   }

   main>.scroll-panel .section-pad,
   main>.scroll-panel .section-pad.shell {
      width: calc(100% - 42px)
   }

   main>.scroll-panel .home-hero-grid {
      min-height: unset
   }

   main>.scroll-panel .hero-media {
      height: 35vh;
      min-height: 200px
   }

   main>.scroll-panel .profile {
      grid-template-columns: 1fr
   }

   main>.scroll-panel .profile-art {
      height: 170px
   }

   main>.scroll-panel .contact-grid {
      grid-template-columns: 1fr
   }
}

@media(max-width:650px) {

   main>.scroll-panel .section-pad,
   main>.scroll-panel .section-pad.shell {
      width: calc(100% - 36px)
   }

   main>.scroll-panel .hero-copy {
      padding: 10px 0
   }

   main>.scroll-panel .hero-copy h1 {
      font-size: clamp(3rem, 13vw, 4.4rem)
   }

   main>.scroll-panel .hero-media {
      height: 30vh
   }

   main>.scroll-panel .home-hero-grid {
      gap: 15px
   }

   main>.scroll-panel .service-grid {
      grid-template-columns: 1fr
   }

   main>.scroll-panel .section-pad {
      padding: 15px 0
   }

   main>.scroll-panel .page-hero h1 {
      font-size: 3rem
   }
}

@media(prefers-reduced-motion:reduce) {
   main>.scroll-panel>.panel-interior {
      transform: none !important
   }
}

/* Expanded clinic information. Details are optional so the approved layered scroll layout remains unchanged. */
.more-info {
   margin: 20px 0 6px;
   border-top: 1px solid rgba(112, 122, 109, .35);
   max-width: 850px;
   padding: 14px 0 0;
   color: var(--ink)
}

.more-info summary {
   cursor: pointer;
   font-weight: 800;
   font-family: Manrope, sans-serif;
   color: var(--forest);
   font-size: 14px;
   list-style-position: inside
}

.more-info-body {
   font-size: 14px;
   line-height: 1.65;
   padding: 10px 0 4px
}

.more-info-body p {
   margin: 7px 0
}

.more-info-body ul {
   padding-left: 22px;
   margin: 9px 0
}

.more-info-body li {
   margin: 5px 0
}

.panel-dark .more-info summary {
   color: #fff
}

.panel-dark .more-info-body {
   color: #e1e8e2
}

/* V8 scroll continuity fix: one document scrollbar, no scrollable panel interiors. */
main>.scroll-panel {
   height: auto !important;
   min-height: 100svh;
   overflow: visible !important;
   align-items: center;
   overscroll-behavior: auto;
   scroll-margin-top: 0;
   contain: none
}

main>.scroll-panel>.panel-interior,
main>.scroll-panel .panel-interior {
   max-height: none !important;
   height: auto !important;
   overflow: visible !important;
   overscroll-behavior: auto !important;
   scrollbar-width: auto;
   will-change: auto
}

main>.scroll-panel.content-tall {
   position: relative !important;
   align-items: flex-start;
   padding-bottom: clamp(48px, 7vw, 110px)
}

main>.scroll-panel.content-tall>.panel-interior {
   transform: none !important
}

main>.scroll-panel:not(.content-tall) {
   position: sticky;
   top: 0
}

main>.scroll-panel .more-info summary {
   display: none
}

main>.scroll-panel .more-info[open] {
   display: block
}

main>.scroll-panel .more-info {
   margin-top: 18px
}

@media(max-width:1000px) {
   main>.scroll-panel {
      padding-top: 76px;
      padding-bottom: 35px
   }

   main>.scroll-panel .hero-home-grid {
      min-height: auto
   }

   main>.scroll-panel .hero-copy {
      padding-top: 28px
   }
}

@media(max-width:650px) {
   main>.scroll-panel {
      padding-bottom: 50px
   }

   main>.scroll-panel .profile {
      align-items: start
   }

   main>.scroll-panel .panel-interior {
      padding-bottom: 12px
   }

   main>.scroll-panel .section-pad {
      padding-top: 24px;
      padding-bottom: 24px
   }
}

/* Mobile layered continuation: even tall sections remain sticky.
   A tall section sticks at a negative top offset only after its entire
   contents have passed through the viewport, allowing the next to cover it. */
main>.scroll-panel.content-tall {
   position: sticky !important;
   top: var(--panel-stick-top, 0px) !important
}

main>.scroll-panel:not(.content-tall) {
   top: 0
}

main>.scroll-panel {
   isolation: isolate
}

@media(max-width:1000px) {
   main>.scroll-panel.content-tall {
      position: sticky !important
   }
}/* Align clinic commitment text with main content */
@media (min-width: 1001px) {
  .more-info.shell {
    width: min(100% - 48px, 1250px);
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Pharmacy image: preserve the original two-column layout */
.pharmacy-graphic.pharmacy-photo { padding: 0; overflow: hidden; min-height: 340px; }
.pharmacy-photo img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center; }

/* Keep full-width sticky panels while aligning their actual page content.
   The original scroll-panel rule set width:100% on .panel-interior,
   unintentionally overriding .shell on Services and similar pages. */
main > .scroll-panel > .panel-interior.shell {
  width: min(1380px, calc(100% - 88px));
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1000px) {
  main > .scroll-panel > .panel-interior.shell {
    width: calc(100% - 48px);
  }
}
@media (max-width: 650px) {
  main > .scroll-panel > .panel-interior.shell {
    width: calc(100% - 32px);
  }
}

/* Service illustrations: contained within existing content shell */
.service-panel .service-photo { margin: 0 0 28px; width: 100%; overflow: hidden; border-radius: 18px; }
.service-panel .service-photo img { display: block; width: 100%; height: clamp(240px, 30vw, 440px); object-fit: cover; object-position: center; }
@media (max-width: 700px) { .service-panel .service-photo { margin-bottom: 20px; border-radius: 14px; } .service-panel .service-photo img { height: 240px; } }

/* FAQ fix: keep question headings visible even for expanded more-info items. */
main > .scroll-panel .faq details.more-info > summary {
   display: list-item;
}
