/* ==========================================================================
   Northwest Cardiovascular Clinic — base stylesheet (hand-authored rebuild)
   Replaces Webflow's normalize + webflow + nwcc.webflow CSS (~135KB) and the
   557KB webflow.js runtime. Design tokens extracted verbatim from the original.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
@font-face{font-family:"Visby";src:url("../fonts/VisbyRoundCF-Light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Visby";src:url("../fonts/VisbyRoundCF-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Visby";src:url("../fonts/VisbyRoundCF-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Visby";src:url("../fonts/VisbyRoundCF-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---- Design tokens -------------------------------------------------------- */
:root{
  --grey:#333;            /* headings, body text, primary button */
  --teal:#6dd0d1;         /* accent / button hover */
  --pink-light:#ffa8bf;   /* waves */
  --pink:#fc7592;
  --red:#ff2e55;
  --card:#f4f4f4;         /* step-card background */
  --white:#fff;
  --shadow:0 2px 2rem .1rem rgba(51,51,51,.10);
  --radius-lg:2rem;
  --maxw-large:80rem;
  --maxw-small:48rem;
  --nav-h:5rem;
  --heading:"Visby","Trebuchet MS",sans-serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 1rem)}
body{margin:0;font-family:var(--body);color:var(--grey);background:var(--white);
  font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p{margin:0}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}
::selection{background:var(--pink);color:#fff}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---- Typography ----------------------------------------------------------- */
.h1{font-family:var(--heading);font-weight:300;font-size:5.5rem;line-height:1;color:var(--grey)}
.h2{font-family:var(--heading);font-weight:300;font-size:4.5rem;line-height:1.2;color:var(--grey)}
.h3{font-family:var(--heading);font-weight:300;font-size:3rem;line-height:1.2;color:var(--grey)}
.h4{font-family:var(--heading);font-weight:300;font-size:2rem;line-height:1.3;color:var(--grey)}
.text-lg{font-size:1.25rem;line-height:1.5}
.text-md{font-size:1rem;line-height:1.5}
.text-sm{font-size:.875rem;line-height:1.5}
.subheading{font-size:1.25rem;line-height:1.5;color:var(--grey)}
.center{text-align:center}
.white{color:var(--white)}

/* ---- Layout --------------------------------------------------------------- */
.container{width:100%;max-width:var(--maxw-large);margin-inline:auto;padding-inline:5%}
.container-sm{width:100%;max-width:var(--maxw-small);margin-inline:auto;padding-inline:5%}
.section{padding-block:7rem}
.stack>*+*{margin-top:1.5rem}

/* ---- Buttons -------------------------------------------------------------- */
.btn,.btn-outline{display:inline-block;border-radius:100vw;padding:.75rem 1.5rem;
  font-size:1rem;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap;
  transition:all .25s ease}
.btn{background:var(--grey);color:var(--white);border:1px solid #000}
.btn:hover{background:var(--teal);color:var(--white);border-color:var(--white);
  transform:translateY(-2px);box-shadow:0 6px 1.5rem rgba(0,0,0,.22)}
.btn-outline{background:transparent;color:var(--grey);border:2px solid var(--grey)}
.btn-outline:hover{transform:translateY(-2px);box-shadow:0 6px 1.5rem rgba(0,0,0,.15)}
.btn-outline.soft{background:rgba(255,255,255,.25)}
.btn-group{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}

/* ---- Navigation ----------------------------------------------------------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;
  height:var(--nav-h);padding:0 5%;background:var(--white);box-shadow:var(--shadow);
  transition:box-shadow .25s}
.nav__inner{display:flex;align-items:center;justify-content:space-between;width:100%}
.nav__logo{display:flex;align-items:center;gap:.75rem}
.nav__logo img{width:auto;height:3rem}
.nav__logo-text{font-family:var(--heading);font-weight:400;font-size:2.5rem;line-height:1;color:var(--grey)}
.nav__menu{display:flex;align-items:center;gap:.25rem}
.nav__link{padding:.75rem 1.25rem;border-radius:100vw;color:#353535;line-height:1;transition:background-color .25s}
.nav__link:hover{background:var(--card)}
.nav__cta{background:var(--grey);color:#fff;border-radius:100vw;padding:.75rem 1.25rem;
  text-transform:uppercase;letter-spacing:.8px;transition:all .25s ease;box-shadow:0 -2px 4px rgba(0,0,0,.1)}
.nav__cta:hover{background:var(--teal);color:#fff;transform:translateY(-2px);box-shadow:0 6px 1.5rem rgba(0,0,0,.22)}
.nav__toggle{display:none;align-items:center;gap:.55rem;background:none;border:2px solid var(--grey);
  border-radius:100vw;padding:.4rem .9rem;color:var(--grey);font-family:var(--body);font-weight:600;
  font-size:.9rem;letter-spacing:.5px;text-transform:uppercase;transition:background-color .2s,color .2s}
.nav__toggle:hover{background:var(--grey);color:#fff}
.nav__toggle:hover .nav__toggle-bars span{background:#fff}
.nav__toggle-bars{display:flex;flex-direction:column;justify-content:center;gap:4px;width:20px;height:16px}
.nav__toggle-bars span{display:block;height:2px;width:100%;background:var(--grey);border-radius:2px;
  transition:transform .3s,opacity .3s,background-color .2s}

/* ---- Waves (pure CSS, GPU-composited) ------------------------------------- */
.wave-field{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;overflow:hidden;pointer-events:none}
.blob{position:absolute;left:50%;margin-left:-2000px;width:4000px;height:4000px;border-radius:40%;
  background:var(--pink-light);mix-blend-mode:multiply;transform:rotate(0);animation:spin 30s linear infinite}
.wave-field--top .blob{top:380px}
.wave-field--top .blob:nth-child(1){animation-duration:26s}
.wave-field--top .blob:nth-child(2){animation-duration:32s;animation-direction:reverse}
.wave-field--top .blob:nth-child(3){animation-duration:40s}
.wave-field--bottom .blob{top:-3750px}
.wave-field--bottom .blob:nth-child(1){animation-duration:26s}
.wave-field--bottom .blob:nth-child(2){animation-duration:32s;animation-direction:reverse}
.wave-field--bottom .blob:nth-child(3){animation-duration:40s}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.blob{animation:none}}

/* ---- Hero + About (sit over the top pink waves) --------------------------- */
.top-area{position:relative;overflow:hidden}
.hero{max-width:54rem;margin-inline:auto;padding:7rem 5% 2.5rem;position:relative}
.hero .h1{margin-bottom:1.25rem}
.hero p{max-width:42rem;margin-inline:auto;margin-bottom:1.75rem}
.about{padding-block:3.5rem 5rem;position:relative}
.about p{max-width:48rem;margin-inline:auto;margin-top:1.25rem}

/* ---- White slab sections -------------------------------------------------- */
.slab{position:relative;z-index:1;background:var(--white)}
.slab--top{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.slab--bottom{border-radius:0 0 var(--radius-lg) var(--radius-lg)}

/* ---- Section intro -------------------------------------------------------- */
.intro{max-width:48rem;margin-inline:auto;text-align:center}
.intro .subheading{margin-bottom:.75rem}
.intro .h2{margin-bottom:1.25rem}

/* ---- 3-step cards --------------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;margin-top:4rem;align-items:start;justify-items:center}
.card{position:relative;background:var(--card);border-radius:var(--radius-lg);text-align:center;
  padding:2rem 1.5rem;max-width:24rem;display:flex;flex-direction:column;align-items:center;width:100%}
.card__icon{width:5rem;height:5rem}
.card__num{font-family:var(--heading);font-weight:500;font-size:4rem;line-height:1;color:var(--grey);margin:.5rem 0}
.card .h3{margin-bottom:.75rem}

/* ---- Services gallery (CSS scroll-snap carousel) -------------------------- */
.gallery{position:relative;margin-top:3rem}
.gallery__track{display:flex;gap:1.5rem;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:1rem;scrollbar-width:none}
.gallery__track::-webkit-scrollbar{display:none}
.gallery__item{position:relative;flex:0 0 auto;width:min(560px,80%);scroll-snap-align:center;
  border-radius:var(--radius-lg);overflow:hidden}
.gallery__item img{width:100%;height:400px;object-fit:cover;display:block}
.gallery__item::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.5),transparent 45%)}
.gallery__item h3{position:absolute;left:1.5rem;right:1.5rem;bottom:1.25rem;z-index:2;color:#fff;
  font-family:var(--heading);font-weight:500;font-size:1.75rem;text-shadow:0 1px 10px rgba(0,0,0,.55)}
.gallery__btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:3rem;height:3rem;
  border-radius:50%;border:0;background:var(--grey);color:#fff;font-size:1.25rem;display:flex;
  align-items:center;justify-content:center;box-shadow:var(--shadow)}
.gallery__btn--prev{left:-.5rem}
.gallery__btn--next{right:-.5rem}

/* ---- Location ------------------------------------------------------------- */
.location__grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.location__img img{width:100%;border-radius:var(--radius-lg);object-fit:cover}

/* ---- FAQ (native details) ------------------------------------------------- */
.faq{max-width:48rem;margin-inline:auto;margin-top:3rem}
.faq details{border-bottom:1px solid #e4e2df}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;
  align-items:center;gap:1rem;padding:1.5rem 0;font-size:1.25rem;color:var(--grey)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:1rem;height:1rem;flex:0 0 auto;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.53 20.88a.75.75 0 0 1-1.06 0L7.82 13.24a.75.75 0 0 1 0-1.06l.35-.35a.75.75 0 0 1 1.07 0L16 18.59l6.76-6.76a.75.75 0 0 1 1.06 0l.35.35a.75.75 0 0 1 0 1.06z' fill='%23333'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .3s}
.faq details[open] summary::after{transform:rotate(180deg)}
.faq details p{padding:0 0 1.5rem}

/* ---- CTA ------------------------------------------------------------------ */
.cta{text-align:center;max-width:48rem;margin-inline:auto}
.cta .h2{margin-bottom:1rem}
.cta p{margin-bottom:2rem}

/* ---- Footer --------------------------------------------------------------- */
.footer{position:relative;overflow:hidden;margin-top:4.5rem;padding-block:5rem 3rem}
.footer__grid{display:grid;grid-template-columns:1fr 2fr;gap:3rem;position:relative;z-index:1}
.footer__cols{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.footer__logo{display:flex;align-items:center;gap:.5rem}
.footer__logo-text{font-family:var(--heading);font-size:2.5rem;color:var(--grey)}
.footer h4{font-family:var(--heading);font-weight:300;font-size:1.5rem;margin-bottom:1rem}
.footer a{display:block;padding:.55rem 0;color:var(--grey);transition:color .2s}
.footer a:hover{color:#fff}
.footer__divider{border:0;border-top:1px solid #d9dbe9;margin:3rem 0 1.5rem}
.footer__credit{position:relative;z-index:1;color:var(--grey)}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width:991px){
  .h1{font-size:4rem}.h2{font-size:3.25rem}
  .nav__menu{position:fixed;top:var(--nav-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;
    background:var(--white);padding:.25rem 6% 1.75rem;border-radius:0 0 1.5rem 1.5rem;
    box-shadow:0 1.25rem 2rem rgba(51,51,51,.16);pointer-events:none;
    /* clip reveal: unrolls straight down from the header edge */
    -webkit-clip-path:inset(0 0 100% 0);clip-path:inset(0 0 100% 0);
    transition:-webkit-clip-path .4s cubic-bezier(.33,.02,.15,1),clip-path .4s cubic-bezier(.33,.02,.15,1);
    max-height:calc(100dvh - var(--nav-h));overflow:auto}
  .nav__menu.open{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0);pointer-events:auto}
  .nav__link{padding:1.15rem 1rem;text-align:center;border-radius:0;font-size:1.1rem}
  .nav__link+.nav__link{border-top:1px solid #f1eff1}
  .nav__link:hover{background:transparent;color:var(--pink)}
  .nav__cta{margin:1.4rem auto .25rem;width:100%;max-width:19rem;text-align:center;padding:1rem;
    box-shadow:0 6px 1.25rem rgba(0,0,0,.18)}
  /* header + open menu read as one continuous white sheet */
  body.menu-open .nav{box-shadow:none}
  .nav__toggle{display:inline-flex}
  .nav__toggle.open .nav__toggle-bars span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .nav__toggle.open .nav__toggle-bars span:nth-child(2){opacity:0}
  .nav__toggle.open .nav__toggle-bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
/* Dimmed backdrop behind the open mobile menu */
.nav__backdrop{position:fixed;inset:0;z-index:15;background:rgba(28,20,24,.45);
  opacity:0;visibility:hidden;transition:opacity .3s ease;pointer-events:none}
body.menu-open .nav__backdrop{opacity:1;visibility:visible;pointer-events:auto}
body.menu-open{overflow:hidden}
@media (max-width:767px){
  .h1{font-size:3.25rem}.h2{font-size:2.75rem}
  .section{padding-block:4.5rem}
  .cards{grid-template-columns:1fr;gap:2rem}
  .location__grid{grid-template-columns:1fr;gap:2rem}
  .footer__grid{grid-template-columns:1fr;gap:2rem}
  .gallery__btn{display:none}
}
@media (max-width:479px){
  .h1{font-size:2.75rem}.h2{font-size:2.25rem}
  .footer__cols{grid-template-columns:1fr}
  .gallery__item{width:88%}
  /* not enough room for the label next to the logo — show just the icon */
  .nav__toggle-text{display:none}
  .nav__toggle{padding:.55rem .7rem;gap:0}
}

/* ========================================================================
   Subpages, blog index, and articles
   ======================================================================== */
.page-hero{padding-top:8rem;padding-bottom:1.5rem;text-align:center}
.page-hero .h1{margin-bottom:1.25rem}
.page-hero p{max-width:46rem;margin:0 auto 1.75rem}
.prose{max-width:48rem;margin-inline:auto}
.prose.center{text-align:center}
.prose h2{font-family:var(--heading);font-weight:400;font-size:1.8rem;line-height:1.25;
  color:var(--grey);margin:2.75rem 0 .85rem}
.prose h3{font-family:var(--heading);font-weight:400;font-size:1.4rem;line-height:1.3;
  color:var(--grey);margin:2.25rem 0 .6rem}
.prose h2:first-child,.prose h3:first-child{margin-top:0}
.prose p{margin-bottom:1.15rem;color:#4a4852;line-height:1.7}
.prose ul:not(.tl),.prose ol{margin:0 0 1.15rem 1.3rem}
.prose li{margin-bottom:.45rem}
.prose strong{color:var(--grey)}
@media(max-width:767px){.prose h2{font-size:1.55rem}}
.cta-section .cta{text-align:center;max-width:48rem;margin-inline:auto}
.cta-section .h2{margin-bottom:1rem}
.cta-section p{margin-bottom:2rem}

/* Blog index */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3rem}
.post-card{display:flex;flex-direction:column;background:var(--card);border-radius:1.25rem;
  overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-4px);box-shadow:0 10px 2rem rgba(51,51,51,.12)}
.post-card__body{padding:1.6rem;display:flex;flex-direction:column;height:100%}
.post-card__date{font-size:.78rem;text-transform:uppercase;letter-spacing:.5px;color:#8a8790;margin-bottom:.55rem}
.post-card__title{font-family:var(--heading);font-weight:400;font-size:1.4rem;line-height:1.2;color:var(--grey);margin-bottom:.55rem}
.post-card__excerpt{font-size:.95rem;line-height:1.5;color:#5b5866;margin-bottom:1rem;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card__more{margin-top:auto;color:var(--pink);font-weight:600;font-size:.9rem}
@media(max-width:991px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.post-grid{grid-template-columns:1fr}}

/* Article */
.article{max-width:44rem;margin-inline:auto;padding:7.5rem 1.25rem 2rem}
.article__meta{text-transform:uppercase;letter-spacing:.5px;font-size:.85rem;color:#8a8790;margin-bottom:.75rem}
.article__title{font-family:var(--heading);font-weight:300;font-size:2.75rem;line-height:1.12;color:var(--grey);margin-bottom:1.5rem}
.article__body{font-size:1.05rem;line-height:1.7;color:#3f3d47}
.article__body strong{color:var(--grey)}
.article__body h2{font-family:var(--heading);font-weight:400;font-size:1.9rem;margin:2.25rem 0 .75rem;color:var(--grey)}
.article__body h3{font-family:var(--heading);font-weight:400;font-size:1.45rem;margin:1.75rem 0 .55rem;color:var(--grey)}
.article__body h4{font-weight:700;margin:1.5rem 0 .5rem}
.article__body p{margin:0 0 1.15rem}
.article__body ul,.article__body ol{margin:0 0 1.15rem 1.3rem}
.article__body li{margin-bottom:.4rem}
.article__body a{color:var(--pink);text-decoration:underline}
.article__body img{border-radius:1rem;margin:1.5rem 0;width:100%}
.article__back{display:inline-block;margin-top:2.5rem;color:var(--pink);font-weight:600}
.breadcrumb{font-size:.85rem;color:#8a8790;margin-bottom:1rem}
.breadcrumb a{color:var(--pink)}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb span{color:#8a8790}
.article__byline{display:flex;flex-wrap:wrap;gap:.35rem 1.25rem;align-items:center;
  color:#8a8790;font-size:.92rem;margin-bottom:2rem;padding-bottom:1.25rem;border-bottom:1px solid #ececec}
.article__review{color:var(--grey);font-weight:600}
.article__review::before{content:"✓ ";color:var(--teal)}
@media(max-width:767px){.article__title{font-size:2.1rem}}

/* Training timeline (About page) */
.tl{list-style:none;margin:1rem 0 0;padding:0}
.tl__item{position:relative;padding:0 0 1.5rem 1.75rem;border-left:2px solid #f0d0da;margin-left:.3rem}
.tl__item:last-child{border-left-color:transparent;padding-bottom:0}
.tl__item::before{content:"";position:absolute;left:-.5rem;top:.15rem;width:.85rem;height:.85rem;
  border-radius:50%;background:var(--pink);box-shadow:0 0 0 3px #ffe4ec}
.tl__year{display:block;font-weight:700;color:var(--grey)}
.tl__role{display:block;color:var(--grey);margin-top:.1rem}
.tl__place{display:block;color:#6b6873;font-size:.95rem;margin-top:.1rem}

/* Footer additions */
.footer__hours{margin-top:.75rem;color:var(--grey);font-size:.95rem}
.footer__bottom{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;
  align-items:center;justify-content:space-between}
.footer__legal{color:var(--grey);font-size:.95rem}
.footer__legal:hover{color:#fff}

/* ========================================================================
   Polish & motion
   ======================================================================== */
/* tactile button press */
.btn:active,.btn-outline:active,.nav__cta:active{transform:translateY(0);box-shadow:0 2px .4rem rgba(0,0,0,.18)}
.post-card:active{transform:translateY(-1px)}

/* nav: current-page + smoother hover */
.nav__link{transition:background-color .25s,color .25s}
.nav__link.is-active{color:var(--pink)}
@media(min-width:992px){.nav__link.is-active{background:var(--card)}}

/* services gallery: gentle zoom on hover + grab cursor */
.gallery__track{cursor:grab}
.gallery__track:active{cursor:grabbing}
.gallery__item img{transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.gallery__item:hover img{transform:scale(1.05)}

/* FAQ: smooth reveal of the answer + hover cue */
.faq summary{transition:color .2s}
.faq summary:hover{color:var(--pink)}
.faq details[open] > p{animation:faqOpen .3s ease}
@keyframes faqOpen{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* article body links: nicer underline */
.article__body a,.prose a{text-underline-offset:2px;text-decoration-thickness:1px}
.article__back{transition:color .2s}
.article__back:hover{color:var(--grey);text-decoration:underline;text-underline-offset:3px}
/* the "Read more →" nudges as you hover the card */
.post-card__more{transition:letter-spacing .2s}
.post-card:hover .post-card__more{letter-spacing:.3px}

/* scroll-reveal (JS-gated so content is always visible without JS) */
.js-reveal .reveal{opacity:0;transform:translateY(22px)}
.js-reveal .reveal.in{opacity:1;transform:none;
  transition:opacity .6s ease,transform .7s cubic-bezier(.2,.65,.2,1)}
@media(prefers-reduced-motion:reduce){.js-reveal .reveal{opacity:1;transform:none;transition:none}}

/* card title accents on hover */
.post-card:hover .post-card__title{color:var(--pink)}

/* header gains a touch more lift once you scroll */
.nav.is-scrolled{box-shadow:0 6px 1.5rem rgba(51,51,51,.13)}

/* skip-to-content (accessibility, visible only on keyboard focus) */
.skip-link{position:fixed;top:.5rem;left:.5rem;z-index:60;background:var(--grey);color:#fff;
  padding:.6rem 1rem;border-radius:.5rem;font-size:.95rem;transform:translateY(-160%);transition:transform .25s}
.skip-link:focus{transform:translateY(0)}

/* back-to-top button (appears after scrolling) */
.to-top{position:fixed;right:1.1rem;bottom:1.1rem;z-index:40;width:2.9rem;height:2.9rem;border:0;
  border-radius:50%;background:var(--grey);color:#fff;font-size:1.25rem;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;box-shadow:0 6px 1.25rem rgba(0,0,0,.25);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .3s ease,transform .3s ease,background-color .2s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--pink)}
@media(max-width:767px){.to-top{width:2.6rem;height:2.6rem;right:.85rem;bottom:.85rem}}

/* About — doctor hero with photo */
.doc-hero{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:2.5rem;align-items:center}
.doc-hero__photo img{width:100%;aspect-ratio:9/11;object-fit:cover;border-radius:1.5rem;
  box-shadow:0 12px 2.5rem rgba(51,51,51,.16)}
.doc-hero__text .h1{margin-bottom:1rem}
.doc-hero__text p{margin-bottom:1.5rem;max-width:34rem;color:#4a4852}
.doc-hero__text .btn-group{justify-content:flex-start}
@media(max-width:767px){
  .doc-hero{grid-template-columns:1fr;gap:1.5rem;text-align:center}
  .doc-hero__photo{max-width:250px;margin:0 auto}
  .doc-hero__text .btn-group{justify-content:center}
}

/* Services — conditions grid */
.cond-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-top:2.5rem}
.cond{background:var(--card);border-radius:1rem;padding:1.4rem 1.5rem;border-left:3px solid var(--pink);
  transition:transform .2s ease,box-shadow .2s ease}
.cond:hover{transform:translateY(-3px);box-shadow:0 8px 1.5rem rgba(51,51,51,.10)}
.cond__title{font-family:var(--heading);font-weight:400;font-size:1.2rem;color:var(--grey);margin-bottom:.35rem}
.cond__desc{font-size:.95rem;line-height:1.5;color:#5b5866}
@media(max-width:640px){.cond-grid{grid-template-columns:1fr}}

/* Services gallery — scroll dots */
.gallery__dots{display:flex;gap:.5rem;justify-content:center;margin-top:1.35rem}
.gallery__dot{width:.55rem;height:.55rem;border-radius:50%;border:0;padding:0;background:#e2dee2;
  cursor:pointer;transition:background-color .25s,transform .25s}
.gallery__dot.active{background:var(--pink);transform:scale(1.3)}
