/*
Dr. Nikita Physiotherapy — main stylesheet.

Design decision on dark mode (see item 23 of the brief): this theme is
intentionally light-only. A personal healthcare brand leans hard on a
specific, memorable palette (cream/forest/gold) for recognition and trust;
naively auto-inverting it for system dark mode tends to desaturate the gold
and green into something that reads as unfinished rather than "premium in
another mode". If a toggle is wanted later, the tokens below are already
structured so a `[data-theme="dark"]` block could redefine them — but
shipping that half-finished was worse than not shipping it, so it isn't
included here. Contrast, focus states and reduced-motion support are still
fully implemented below regardless of that decision.
*/

:root{
  --paper:#F6F3EC; --paper-2:#EFEAE0; --surface:#FFFFFF;
  --ink:#16241F; --ink-soft:#435049; --muted:#657167;
  --forest:#1F3F35; --forest-2:#285043; --forest-ink:#EAF3EC;
  --gold:#B9862E; --gold-deep:#8C661F; --gold-soft:#F1E3C4;
  --line:#E1DACB; --line-strong:#CFC5AC;
  --shadow:0 1px 2px rgba(22,36,31,.05), 0 10px 28px rgba(22,36,31,.07);
  --focus-ring: 0 0 0 3px rgba(185,134,46,.45);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Public Sans', system-ui, -apple-system, sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block; height:auto;}
a{color:inherit;}
:focus-visible{outline:none; box-shadow:var(--focus-ring); border-radius:4px;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
h1,h2,h3{font-family:'Newsreader', Georgia, serif; text-wrap:balance; line-height:1.15; margin:0;}
em{font-style:italic; color:var(--gold-deep);}
p{margin:0 0 1em;}
.eyebrow{
  font-family:'Space Mono', monospace; font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gold-deep);
}
.fill{border-bottom:1.5px dashed var(--gold); color:var(--gold-deep); font-weight:600; padding-bottom:1px;}

.btn{
  display:inline-flex; align-items:center; gap:8px; font-family:'Public Sans';
  font-weight:600; font-size:.95rem; padding:13px 24px; border-radius:999px;
  text-decoration:none; border:1.5px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:var(--gold); color:#211705;}
.btn-primary:hover{box-shadow:0 6px 18px rgba(185,134,46,.35);}
.btn-ghost{border-color:var(--line-strong); color:var(--ink);}
.btn-ghost:hover{background:var(--paper-2);}
.btn-on-forest{border-color:rgba(234,243,236,.35); color:var(--forest-ink);}
.btn-on-forest:hover{background:rgba(234,243,236,.1);}

/* Skip link core positioning lives in style.css; this only sets the offset */
.skip-link{position:absolute; top:-100px; left:0; z-index:10000;}

/* NAV */
header.nav{position:sticky; top:0; z-index:20; background:rgba(246,243,236,.9); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
.nav-row{display:flex; align-items:center; justify-content:space-between; padding:16px 24px; gap:20px;}
.brand{font-family:'Newsreader'; font-size:1.28rem; font-weight:560; letter-spacing:-.01em; flex:0 0 auto;}
.brand a{text-decoration:none; color:var(--ink);}
.brand span{color:var(--gold-deep);}
.custom-logo-link img{max-height:56px; width:auto;}
.site-nav{flex:1 1 auto; display:flex; justify-content:center;}
.nav-links{display:flex; gap:22px; list-style:none; margin:0; padding:0; font-size:.88rem; font-weight:500; flex-wrap:nowrap;}
.nav-links a{text-decoration:none; color:var(--ink-soft);}
.nav-links a:hover{color:var(--ink);}
.nav-cta{display:flex; align-items:center; gap:14px; flex:0 0 auto;}
@media (max-width:980px){ .site-nav{display:none;} }

.menu-toggle{
  display:none; background:none; border:1px solid var(--line-strong); border-radius:10px;
  width:42px; height:42px; align-items:center; justify-content:center; cursor:pointer;
}
.menu-toggle-bars{display:block; width:18px;}
.menu-toggle-bars span{display:block; width:100%; height:2px; background:var(--ink); margin:4px 0; transition:transform .2s ease, opacity .2s ease;}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
@media (max-width:980px){ .menu-toggle{display:flex;} }

.mobile-menu{border-top:1px solid var(--line); background:var(--paper); padding:8px 24px 22px;}
.mobile-menu[hidden]{display:none;}
.mobile-menu-links{list-style:none; margin:0; padding:0; display:flex; flex-direction:column;}
.mobile-menu-links a{display:block; padding:12px 4px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--line); font-weight:500;}
.mobile-cta{margin-top:14px; width:100%; justify-content:center;}

/* HERO */
section.hero{padding:60px 0 52px;}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
@media (max-width:900px){ .hero-grid{grid-template-columns:1fr;} }
.hero-copy h1{font-size:clamp(2.2rem, 4.4vw, 3.4rem); margin:12px 0 18px; font-weight:500;}
.hero-copy p.lede{font-size:1.12rem; color:var(--ink-soft); max-width:52ch; margin:0 0 26px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:22px;}
.hero-cred{font-size:.86rem; color:var(--muted); border-top:1px solid var(--line); padding-top:16px; max-width:48ch;}

.hero-portrait{position:relative;}
.portrait-frame{
  aspect-ratio:4/5; border-radius:28px 28px 12px 28px; overflow:hidden;
  background:linear-gradient(155deg, var(--forest-2), var(--forest));
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow);
  position:relative;
}
.portrait-frame img{width:100%; height:100%; object-fit:cover;}
.portrait-frame .placeholder-label{
  color:var(--forest-ink); font-family:'Space Mono'; font-size:.78rem; text-align:center;
  padding:0 30px; opacity:.75; letter-spacing:.04em; position:relative; z-index:1;
}
.portrait-frame svg{position:absolute; inset:0; width:100%; height:100%; opacity:.5;}
.float-chip{
  position:absolute; bottom:-18px; left:-18px; background:var(--surface); border:1px solid var(--line);
  border-radius:14px; padding:12px 16px; box-shadow:var(--shadow); font-size:.82rem; max-width:210px;
}
.float-chip .eyebrow{display:block; margin-bottom:2px;}
@media (max-width:900px){ .float-chip{left:0;} }

/* TRUST STRIP */
section.trust{padding:36px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.trust-inner{display:flex; gap:40px; align-items:center; flex-wrap:wrap;}
.trust-lead{flex:0 0 auto; max-width:220px;}
.trust-lead h2{font-size:1.3rem;}
.trust-grid{flex:1 1 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:0;}
@media (max-width:860px){ .trust-grid{grid-template-columns:repeat(2,1fr); gap:18px 0;} }
@media (max-width:480px){ .trust-grid{grid-template-columns:1fr;} }
.trust-item{padding:4px 22px; border-left:1px solid var(--line); display:flex; flex-direction:column; gap:4px;}
.trust-item:first-child{border-left:none; padding-left:0;}
@media (max-width:860px){ .trust-item{border-left:none; padding-left:0;} }
.trust-label{font-family:'Space Mono'; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted);}
.trust-item .fill{font-size:.92rem;}

/* Section head */
.section-head{max-width:60ch; margin-bottom:34px;}
.section-head h2{font-size:clamp(1.6rem,3.2vw,2.2rem);}
.section-head p{color:var(--ink-soft); margin-top:10px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* ABOUT */
section.about{padding:64px 0; background:var(--paper-2); border-bottom:1px solid var(--line);}
.about-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:52px; align-items:start;}
@media (max-width:860px){ .about-grid{grid-template-columns:1fr;} }
.about-photo{aspect-ratio:1; border-radius:16px; background:var(--surface); border:1px dashed var(--line-strong);
  display:flex; align-items:center; justify-content:center; color:var(--muted); font-family:'Space Mono'; font-size:.78rem; text-align:center; padding:20px; overflow:hidden;}
.about-photo.has-photo{border-style:solid; padding:0;}
.about-photo img{width:100%; height:100%; object-fit:cover;}
.about-copy h2{font-size:clamp(1.6rem,3.2vw,2.15rem); margin-bottom:14px;}
.about-copy p{max-width:64ch; color:var(--ink-soft); margin:0 0 14px;}
.cred-line{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px;}
.cred-pill{
  font-family:'Space Mono'; font-size:.74rem; padding:6px 12px; border-radius:8px;
  background:var(--gold-soft); color:var(--gold-deep); border:1px solid transparent;
}

/* EXPERTISE */
section.expertise{padding:64px 0;}
.service-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden;}
@media (max-width:820px){ .service-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .service-grid{grid-template-columns:1fr;} }
.service-card{background:var(--surface); padding:26px 24px; display:flex; flex-direction:column; gap:8px; min-height:150px; text-decoration:none; color:var(--ink); transition:background .15s ease;}
a.service-card:hover{background:var(--paper-2);}
.service-card .num{font-family:'Space Mono'; font-size:.75rem; color:var(--gold-deep);}
.service-card h3{font-family:'Public Sans'; font-size:1.02rem; font-weight:700; margin-top:2px;}
.service-card p{font-size:.88rem; color:var(--ink-soft); margin:0;}

/* WHY CHOOSE */
section.why{padding:64px 0; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
@media (max-width:820px){ .why-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .why-grid{grid-template-columns:1fr;} }
.why-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px 22px 24px; box-shadow:var(--shadow);}
.why-icon{width:38px; height:38px; border-radius:10px; background:var(--gold-soft); color:var(--gold-deep); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
.why-icon svg{width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;}
.why-card h3{font-family:'Public Sans'; font-size:1rem; font-weight:700; margin-bottom:6px;}
.why-card p{font-size:.9rem; color:var(--ink-soft); margin:0;}

/* APPROACH */
section.approach{padding:64px 0;}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
@media (max-width:820px){ .steps{grid-template-columns:1fr; gap:28px;} }
.step{position:relative; padding:0 20px 0 0;}
.step:first-child{padding-left:0;}
.step-num{width:40px; height:40px; border-radius:50%; background:var(--forest); color:var(--forest-ink); display:flex; align-items:center; justify-content:center; font-family:'Space Mono'; font-size:.85rem; margin-bottom:16px; position:relative; z-index:1;}
.steps::before{content:""; position:absolute; top:20px; left:5%; right:5%; height:1px; background:var(--line-strong);}
@media (max-width:820px){ .steps::before{display:none;} }
.step h3{font-family:'Public Sans'; font-size:1.02rem; font-weight:700; margin-bottom:6px;}
.step p{font-size:.9rem; color:var(--ink-soft); margin:0; max-width:32ch;}
.approach-note{margin-top:32px; font-size:.86rem; color:var(--muted); max-width:70ch; border-top:1px solid var(--line); padding-top:18px;}

/* TESTIMONIALS */
section.reviews{padding:64px 0; background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
@media (max-width:820px){ .testi-grid{grid-template-columns:1fr;} }
.testi-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:14px;}
.testi-mark{font-family:'Newsreader'; font-size:2.4rem; color:var(--gold); line-height:1; height:1.2rem;}
.testi-card p.quote{font-size:.94rem; color:var(--ink-soft); font-style:italic; margin:0;}
.testi-card.is-placeholder p.quote{color:var(--muted); border:1px dashed var(--line-strong); border-radius:10px; padding:14px;}
.testi-attr{font-family:'Space Mono'; font-size:.74rem; color:var(--gold-deep);}
.reviews-cta{margin-top:18px;}
.reviews-note{margin-top:22px; font-size:.84rem; color:var(--muted); max-width:70ch;}

/* RESOURCES (educational content, supporting) */
section.resources{padding:52px 0;}
.resource-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
@media (max-width:760px){ .resource-grid{grid-template-columns:1fr;} }
.resource-card{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:10px;}
.resource-thumb{
  aspect-ratio:16/10; border-radius:8px; background:var(--paper-2);
  display:flex; align-items:center; justify-content:center; font-family:'Space Mono'; font-size:.68rem;
  color:var(--muted); text-align:center; padding:10px; border:1px solid var(--line);
  position:relative; text-decoration:none; overflow:hidden;
}
.resource-thumb img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
a.resource-thumb:hover{background:var(--gold-soft);}
.resource-thumb .play{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:1;}
.resource-thumb .play svg{width:34px; height:34px; color:var(--forest); opacity:.9;}
.resource-thumb span.cap{position:relative; z-index:1; opacity:.8;}
.resource-card h3{font-family:'Public Sans'; font-size:.92rem; font-weight:700; margin:0;}
.resource-card h3 a{text-decoration:none; color:inherit;}
.resource-card h3 a:hover{color:var(--gold-deep);}
.resource-card .tag-row{display:flex; align-items:center; justify-content:space-between; gap:8px;}
.resource-card .tag{font-family:'Space Mono'; font-size:.66rem; color:var(--gold-deep); letter-spacing:.05em; text-transform:uppercase;}
.yt-badge{display:inline-flex; align-items:center; gap:4px; font-family:'Space Mono'; font-size:.62rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:3px 8px 3px 6px;}
.yt-badge svg{width:11px; height:11px;}
.resources-note{margin-top:18px; font-size:.84rem; color:var(--muted); max-width:70ch;}
.resources-more{margin-top:20px;}

/* FAQ */
section.faq{padding:64px 0;}
.faq-list{max-width:760px; border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:20px 4px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Public Sans'; font-size:1rem; font-weight:600; color:var(--ink); list-style:none;}
.faq-q::-webkit-details-marker{display:none;}
.faq-q .plus{font-family:'Space Mono'; color:var(--gold-deep); font-size:1.1rem; transition:transform .2s ease; flex:0 0 auto;}
.faq-item[open] .plus{transform:rotate(45deg);}
.faq-a{padding:0 4px 20px; color:var(--ink-soft); max-width:66ch; font-size:.95rem;}
.faq-a p:last-child{margin-bottom:0;}

/* CTA */
section.cta{padding:64px 0;}
.cta-band{background:linear-gradient(135deg, var(--forest-2), var(--forest)); color:var(--forest-ink); border-radius:22px; padding:48px 44px; display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap;}
.cta-band h2{font-size:clamp(1.5rem,3vw,2.1rem); color:var(--forest-ink); max-width:22ch;}
.cta-band p{color:rgba(234,243,236,.75); margin-top:8px; max-width:44ch;}
.cta-actions{display:flex; gap:12px; flex-wrap:wrap;}
.disclaimer{font-size:.82rem; color:var(--muted); border-top:1px solid var(--line); padding:22px 0 0; margin-top:22px; max-width:80ch;}

/* FOOTER */
footer#colophon{padding:40px 0 20px; border-top:1px solid var(--line); margin-top:0;}
.footer-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px 32px; font-size:.86rem; color:var(--muted); align-items:flex-start;}
.footer-brand{font-size:1.05rem; margin-bottom:6px;}
.footer-links{display:flex; gap:18px; flex-wrap:wrap; list-style:none; padding:0; margin:0;}
.footer-links a{text-decoration:none;}
.footer-links a:hover{color:var(--ink);}
.footer-social{display:flex; gap:16px;}
.footer-social a{text-decoration:none; font-weight:600;}
.footer-social a:hover{color:var(--ink);}
.footer-widgets{padding:24px 0 0;}

/* ARCHIVE / BLOG */
.archive-head{padding:56px 0 12px;}
.archive-body{padding:20px 0 64px;}
.archive-description{color:var(--ink-soft);}
.article-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:860px){ .article-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .article-grid{grid-template-columns:1fr;} }
.article-card{background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column;}
.article-card-thumb{display:block; aspect-ratio:16/10; background:var(--paper-2); overflow:hidden;}
.article-card-thumb img{width:100%; height:100%; object-fit:cover;}
.article-card-thumb-placeholder{display:flex; align-items:center; justify-content:center; height:100%; font-family:'Space Mono'; font-size:.7rem; color:var(--muted);}
.article-card-body{padding:18px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1;}
.article-card-title{font-size:1.05rem; margin:0;}
.article-card-title a{text-decoration:none; color:var(--ink);}
.article-card-title a:hover{color:var(--gold-deep);}
.article-card-excerpt{font-size:.9rem; color:var(--ink-soft); margin:0; flex:1;}
.article-card-meta{font-family:'Space Mono'; font-size:.68rem; color:var(--muted);}
.pagination{margin-top:36px; display:flex; gap:16px; justify-content:center; font-weight:600;}
.pagination .page-numbers{text-decoration:none; padding:8px 12px; border-radius:8px;}
.pagination .page-numbers.current{background:var(--gold-soft); color:var(--gold-deep);}

/* SINGLE ARTICLE / PAGE */
.single-head{padding:56px 0 24px;}
.single-meta{color:var(--muted); font-family:'Space Mono'; font-size:.78rem;}
.single-thumb{margin-bottom:8px;}
.single-thumb img{border-radius:16px; aspect-ratio:16/9; object-fit:cover;}
.single-body{padding:32px 0;}
.single-content{max-width:70ch; margin:0 auto; font-size:1.05rem;}
.single-content h2{font-size:1.5rem; margin-top:1.6em;}
.single-content h3{font-size:1.2rem; margin-top:1.4em;}
.single-content p{margin-bottom:1.2em;}
.single-content img{border-radius:12px;}
.single-content a{color:var(--gold-deep); text-decoration-thickness:1.5px;}
.single-content blockquote{border-left:3px solid var(--gold); margin:1.5em 0; padding:.2em 0 .2em 1.2em; color:var(--ink-soft); font-style:italic;}
.single-back{display:flex; gap:12px; flex-wrap:wrap; padding:0 0 40px; max-width:760px; margin:0 auto;}
.single-comments{max-width:70ch; margin:0 auto; padding:0 0 60px;}
.related-articles{padding:20px 0 64px; border-top:1px solid var(--line);}

/* 404 */
.not-found{padding:96px 0;}
.not-found-search{margin-top:28px; max-width:420px; margin-left:auto; margin-right:auto;}
.not-found-search input[type="search"]{width:100%; padding:12px 16px; border-radius:999px; border:1px solid var(--line-strong); font-family:'Public Sans'; font-size:.95rem;}
.not-found-search input[type="submit"]{margin-top:10px; display:block; margin-left:auto; margin-right:auto; background:var(--gold); border:none; padding:10px 22px; border-radius:999px; font-weight:600; cursor:pointer;}

/* Widget/footer generic fallback (used only if widgets are added later) */
.widget{font-size:.86rem;}
.widget-title{font-family:'Public Sans'; font-size:.9rem; margin-bottom:8px;}
