/* ==========================================================================
   Hairyu — style.css
   A doctor's practice for hair and scalp conditions in Warsaw. The look comes
   from the consulting room: photos seen through a trichoscope lens (graduated
   ring, reticle marks, magnification and a 1 mm scale bar), a hair growth
   cycle chart, a minute-by-minute visit chart and faint millimetre paper.
   Calm deep teal, clinical paper white, one warm amber for the hair itself.
   Headlines: Fraunces (soft). Text: IBM Plex Sans. Figures and labels: IBM Plex
   Mono. All self-hosted under the SIL OFL — no third-party requests.
   The site is informational by design (Art. 14 of the Polish Medical Activity
   Act): no badges, ratings, promotions or "before/after" imagery.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/fraunces-latin-ext-full-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("/fonts/fraunces-latin-ext-full-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("/fonts/fraunces-latin-full-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("/fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper:  #f4f6f2;   /* clinical paper */
  --white:  #fbfcfa;
  --ink:    #0f2a2f;   /* deep teal ink */
  --ink-2:  #17383e;
  --muted:  #4f6266;
  --line:   #d5ddd8;
  --line-2: #b9c6c0;
  --teal:   #1f6b66;   /* AA on paper */
  --teal-l: #7fc0b8;   /* on dark */
  --mint:   #e1ece7;
  --amber:  #9c5a1c;   /* AA text */
  --amber-b:#c27a2c;   /* the hair */
  --amber-s:#f6e7d4;
  --danger: #a8261c;

  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r: 8px;
  --mm: repeating-linear-gradient(0deg, rgba(31,107,102,.06) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(90deg, rgba(31,107,102,.06) 0 1px, transparent 1px 8px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.04rem; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em;
  font-variation-settings: "SOFT" 60, "WONK" 0; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
h3 { font-size: 1.3rem; }
h1, h2, h3, caption { overflow-wrap: break-word; }
p { margin: 0 0 1rem; max-width: 68ch; }
ul, ol { max-width: 70ch; }
li { margin-bottom: .35rem; }
.small, small { font-size: .9rem; }
a { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: 0; }
.lead { font-size: 1.15rem; line-height: 1.6; max-width: 52ch; color: var(--muted); }
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 920px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #d6e3df; }
.section-dark h2 { color: #fff; }
.section-head { margin-bottom: 2.2rem; max-width: 780px; }
.section-head p { color: var(--muted); }
.section-more { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: .5rem; color: #fff; }
.ico { width: 1.4rem; height: 1.4rem; flex: none; }
.ico-s { width: 1.1rem; height: 1.1rem; }

/* ---------------------------------------------------------------- lens & plate */
.lens { position: relative; aspect-ratio: 1; isolation: isolate; }
.lens img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 58%, rgba(15,42,47,.28) 100%); }
.reticle { position: absolute; inset: -5%; width: 110%; height: 110%; pointer-events: none; z-index: 1; overflow: visible; }
.r-ring { fill: none; stroke: var(--teal); stroke-width: .5; }
.r-ticks line { stroke: var(--teal); stroke-width: .35; }
.r-cross { stroke: rgba(255,255,255,.85); stroke-width: .35; fill: none; }
.r-scale { stroke: #fff; stroke-width: .55; fill: none; }
.r-txt { font-family: var(--mono); font-size: 3.2px; fill: #fff; }
.section-dark .r-ring, .section-dark .r-ticks line { stroke: var(--teal-l); }
.plate { position: relative; }
.plate img { width: 100%; object-fit: cover; border-radius: 4px; }
.plate::before { content: ""; position: absolute; inset: -10px; pointer-events: none;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 18px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) 0 0 / 1px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 0 / 18px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) 100% 0 / 1px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 100% / 18px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) 0 100% / 1px 18px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 100% 100% / 18px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) 100% 100% / 1px 18px no-repeat; }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; }
.brand-tag { font-family: var(--mono); font-size: .7rem; color: var(--muted); padding-left: .8rem; border-left: 1px solid var(--line-2); line-height: 1.3; max-width: 11rem; }
.nav-links { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a { display: block; padding: .5rem .55rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.nav-tools { display: flex; align-items: center; gap: .6rem; }
.lang-switch a, .lang-switch span { padding: .3rem .25rem; font-size: .88rem; text-decoration: none; color: var(--muted); font-weight: 600; }
.lang-switch a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.lang-sep { color: var(--line-2); }
.cur-select { font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line-2);
  border-radius: 6px; padding: .35rem .5rem; min-height: 38px; cursor: pointer; }
.nav-toggle { display: none; }
@media (max-width: 1440px) { .brand-tag { display: none; } }
@media (max-width: 1180px) {
  .nav { flex-wrap: wrap; padding-block: .5rem; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--ink);
    border-radius: var(--r); background: var(--white); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
  .nav-links { order: 3; flex-basis: 100%; flex-direction: column; display: none; padding-bottom: .5rem; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .4rem; }
  .nav-tools .btn { display: none; }
}
@media (max-width: 520px) { .brand-logo { height: 36px; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--text); font-size: 1rem; font-weight: 600;
  padding: .8rem 1.4rem; min-height: 48px; border-radius: var(--r); border: 1.5px solid var(--ink); text-decoration: none; line-height: 1.1;
  cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.btn-sm { padding: .5rem 1rem; min-height: 40px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--teal);
  text-underline-offset: 3px; cursor: pointer; }

/* ---------------------------------------------------------------- hero */
.hero { background-color: var(--paper); background-image: var(--mm); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.hero h1 { max-width: 18ch; }
.hero .lead { margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { padding: 6%; }
.hero-lens { max-width: 430px; margin-inline: auto; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: none;
  border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--muted); }
.hero-facts li { margin: 0; padding: 1rem 1.2rem 1.5rem 0; line-height: 1.4; }
.hero-facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--mono); font-weight: 500; font-size: 1.15rem; color: var(--ink); margin-bottom: .15rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lens { max-width: 320px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.3rem 1.2rem; }
.svc-ico { color: var(--teal); width: 1.9rem; height: 1.9rem; margin-bottom: .9rem; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.svc-card p { color: var(--muted); font-size: .95rem; }
.svc-meta { margin: auto 0 0 !important; padding-top: .9rem; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; color: var(--muted); }
.svc-price { font-family: var(--mono); font-weight: 500; color: var(--ink); font-size: 1.05rem; }

.svc-rows { display: grid; gap: 1.2rem; }
.svc-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; scroll-margin-top: 100px; }
.svc-row-head { display: flex; flex-direction: column; gap: .4rem; padding-right: 1.2rem; border-right: 1px dashed var(--line-2); }
.svc-row-head .mono { color: var(--muted); font-size: .9rem; }
.svc-row-head .svc-price { font-size: 1.35rem; }
.svc-row-copy h2 { font-size: 1.45rem; }
@media (max-width: 640px) { .svc-row { grid-template-columns: 1fr; gap: .8rem; } .svc-row-head { flex-direction: row; justify-content: space-between; border-right: 0; border-bottom: 1px dashed var(--line-2); padding: 0 0 .8rem; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .62rem; height: .62rem; border-radius: 50%; border: 1.5px solid var(--teal); }

/* ---------------------------------------------------------------- hair cycle */
.cycle-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .cycle-wrap { grid-template-columns: 1fr; } }
.cycle-copy h3 { margin-top: 1.6rem; }
.signs { list-style: none; padding: 0; margin: 0; }
.signs li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.signs li::before { content: ""; position: absolute; left: 0; top: .32rem; width: 1rem; height: 1rem; border-radius: 50%;
  border: 1.5px solid var(--teal); background: radial-gradient(circle, var(--teal) 0 2px, transparent 2.5px); }
.cycle { display: grid; gap: 1.4rem; justify-items: center; }
.cycle-ring { position: relative; width: min(340px, 80vw); aspect-ratio: 1; }
.cycle-ring svg { width: 100%; height: 100%; }
.cycle-ring .track { fill: none; stroke: var(--mint); stroke-width: 10; }
.cycle-ring .arc { fill: none; stroke-width: 10; }
.c-ana .dot, .arc.c-ana { background: var(--teal); stroke: var(--teal); }
.c-kat .dot, .arc.c-kat { background: var(--amber-b); stroke: var(--amber-b); }
.c-tel .dot, .arc.c-tel { background: #5f7a80; stroke: #5f7a80; }
.cycle-mid { position: absolute; inset: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cycle-mid .mono { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 500; color: var(--ink); line-height: 1; }
.cycle-mid small { font-size: .8rem; color: var(--muted); margin-top: .4rem; line-height: 1.35; }
.cycle-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; max-width: 420px; font-size: .94rem; }
.cycle-legend li { margin: 0; position: relative; padding-left: 1.4rem; }
.cycle-legend .dot { position: absolute; left: 0; top: .42rem; width: .75rem; height: .75rem; border-radius: 50%; }
.cycle-legend .mono { color: var(--muted); font-size: .85rem; margin-left: .3rem; }
.cycle-legend .dur { font-family: var(--mono); font-size: .85rem; color: var(--teal); }
.cycle figcaption { font-size: .82rem; color: var(--muted); text-align: center; max-width: 40ch; }

/* ---------------------------------------------------------------- visit chart */
.visit { list-style: none; padding: 0; margin: 0; max-width: none; position: relative; }
.visit li { display: grid; grid-template-columns: 7rem 1.6rem 1fr; gap: 1rem; margin: 0; padding-bottom: 1.5rem; position: relative; }
.visit li::before { content: ""; position: absolute; left: calc(7rem + 1rem + .8rem - .5px); top: .9rem; bottom: -.2rem; width: 1px; background: var(--line-2); }
.visit li:last-child::before { display: none; }
.v-time { font-size: .9rem; color: var(--teal); padding-top: .25rem; text-align: right; }
.v-dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--paper); position: relative; z-index: 1;
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 12px var(--teal); }
.visit h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.visit p { margin: 0; color: var(--muted); }
.visit-after { display: flex; gap: .6rem; align-items: flex-start; background: var(--mint); border-radius: var(--r); padding: .9rem 1.1rem; margin-top: .4rem; }
.visit-after .ico { color: var(--teal); margin-top: .2rem; }
@media (max-width: 560px) {
  .visit li { grid-template-columns: 1.6rem 1fr; }
  .v-time { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
  .visit li > div { grid-column: 2; }
  .v-dot { grid-column: 1; grid-row: 1 / span 2; }
  .visit li::before { left: .8rem; }
}

/* ---------------------------------------------------------------- trichoscopy band */
.tricho { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tricho-lens { max-width: 360px; width: 100%; justify-self: center; margin: 5%; }
.section-dark p { color: #c4d5d0; }
@media (max-width: 820px) { .tricho { grid-template-columns: 1fr; } .tricho-lens { max-width: 260px; } }

/* ---------------------------------------------------------------- prep / split / values / gallery */
.prep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .prep { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { max-width: 380px; width: 100%; justify-self: center; margin: 5%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split-media { max-width: 260px; } }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.3rem; }
.value .ico { color: var(--teal); width: 1.8rem; height: 1.8rem; margin-bottom: .8rem; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- who / imprint */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.who-media img { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; } }
.imprint { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.imprint h2 { margin-top: 0; }
.facts { margin: 1rem 0; }
.facts > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; font-size: .93rem; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------------------------------------------------------------- notices */
.disclaimer { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); border-left: 3px solid var(--line-2); padding: .3rem 0 .3rem .9rem; max-width: none; }
.disclaimer .ico { color: var(--teal); margin-top: .15rem; }
.emergency { display: flex; gap: .7rem; align-items: flex-start; background: var(--amber-s); color: #3b2510; border-radius: var(--r); padding: .9rem 1.1rem; font-size: .94rem; max-width: none; margin: 0; }
.emergency .ico { color: var(--amber); margin-top: .2rem; }
.emergency a { color: #3b2510; font-weight: 600; }
.site-footer .emergency { margin: 0; }
.contact-side .emergency { margin-top: 1.2rem; }
.warn { display: flex; gap: .6rem; align-items: flex-start; background: var(--mint); border-radius: var(--r); padding: .8rem 1rem; font-size: .93rem; }
.warn .ico { color: var(--teal); margin-top: .2rem; }

/* ---------------------------------------------------------------- payments */
.pay-marks { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; max-width: none; }
.pm { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 40px; min-width: 62px;
  padding: 0 .7rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.pm img { height: 20px; width: auto; }
.pm-text { font-size: .875rem; font-weight: 600; color: var(--ink); }
.pm-blik span { font-weight: 800; font-size: 1.05rem; color: #000; }
.stripe-line { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.stripe-line .ico { color: var(--teal); vertical-align: -3px; margin-right: .2rem; }
.stripe-logo { display: inline-block; height: 18px; width: auto; vertical-align: -4px; margin: 0 .1rem; }
.pay-home { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.pay-home-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.pay-home-box .stripe-line { margin: 0; }
@media (max-width: 820px) { .pay-home { grid-template-columns: 1fr; } }
.pay-panel { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; }
.pay-panel h3 { margin-top: 0; }
.pay-panel p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--teal); color: #fff; margin-top: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 8px); }
.cta-band p { color: #e3efec !important; }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #c4d5d0; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------------------------------------------------------------- inner page heads */
.page-head { background-color: var(--white); background-image: var(--mm); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head-copy { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 18ch; margin: 0; }
.page-head .lead { margin: 1rem 0 0; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.page-head-media { margin: 2.2rem 10px; }
.page-head-media img { aspect-ratio: 16 / 11; }
.page-head-media.lens { max-width: 260px; justify-self: center; width: 100%; }
@media (max-width: 820px) { .page-head-grid { grid-template-columns: 1fr; gap: 0; } .page-head-media { margin-top: 0; } }
.page-head-legal { background-image: none; }
.updated { font-family: var(--mono); color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }

/* ---------------------------------------------------------------- legal */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.legal-layout > .prose:only-child { grid-column: 1 / -1; }
.legal-layout > *, .quote-grid > *, .split > *, .who > *, .tricho > *, .cycle-wrap > *, .prep > *, .pay-home > * { min-width: 0; }
.toc { position: sticky; top: 100px; border-top: 2px solid var(--ink); padding-top: .8rem; }
.toc-h { font-weight: 600; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.3rem; font-size: .93rem; }
.toc li { margin-bottom: .35rem; }
.toc li::marker { color: var(--teal); font-family: var(--mono); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.4rem; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--text); font-weight: 600; font-size: 1.05rem; margin-top: 1.4rem; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose .pay-marks { margin: .8rem 0 1.2rem; padding-left: 0; }
.prose .table-wrap { overflow-x: auto; }

/* ---------------------------------------------------------------- tables & notes */
.cur-tabs { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; }
.cur-tabs button { font: inherit; font-family: var(--mono); font-weight: 500; font-size: .9rem; border: 0; background: var(--white); color: var(--ink);
  padding: .5rem 1.1rem; cursor: pointer; min-height: 40px; }
.cur-tabs button + button { border-left: 1px solid var(--ink); }
.cur-tabs button:hover { background: var(--mint); }
.cur-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin: 1rem 0 1.8rem; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; font-family: var(--head); font-weight: 500; font-size: 1.55rem; line-height: 1.15; padding: 1.2rem 1.2rem .8rem; border-bottom: 1px solid var(--line); }
caption span { display: block; font-family: var(--text); font-size: .93rem; color: var(--muted); margin-top: .35rem; line-height: 1.45; }
th, td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--mint); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 400; }
.price-table tbody th strong { font-weight: 600; }
.price-table tbody th span:not(.dep-badge) { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.price-table .num { text-align: right; white-space: nowrap; width: 9rem; }
.price-table td.num { font-family: var(--mono); font-weight: 500; font-size: 1.08rem; }
.price-table .dur { white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: .88rem; width: 6rem; }
.dep-badge { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--amber); border-radius: 4px; padding: .02rem .4rem; margin-left: .35rem; vertical-align: 2px; }
@media (max-width: 600px) {
  .price-table, .price-table tbody { display: block; width: 100%; }
  .price-table caption { display: block; }
  .price-table thead { display: none; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th, .price-table tbody td { border: 0; padding: 0; width: auto; }
  .price-table tbody th { grid-column: 1 / -1; }
  .price-table td.dur, .price-table td.num { width: auto; text-align: left; }
  .price-table td.num { text-align: right; }
}
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 2.5rem; }
.note { display: flex; gap: .9rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.note .ico { color: var(--teal); margin-top: .1rem; }
.note p { margin: .25rem 0 0; color: var(--muted); font-size: .96rem; }
.note-wide { grid-column: 1 / -1; background: var(--mint); border-color: transparent; }
.note-wide p { color: var(--ink); }
@media (max-width: 640px) { .note-grid { grid-template-columns: 1fr; } }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 4px 12px 12px 4px; padding: 1.4rem 1.6rem; }
.callout p:last-child { margin-bottom: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.panel-h { font-size: 1.6rem; margin-top: 0; }
.panel-sub { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin: 1.4rem 0 .5rem; }
.hours { list-style: none; padding: 0; margin: 0 0 1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line-2); margin: 0; font-family: var(--mono); font-size: .92rem; }
.hours li:last-child { color: var(--muted); }
details.acc { border-top: 1px solid var(--line-2); }
details.acc:last-of-type { border-bottom: 1px solid var(--line-2); }
details.acc > summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 0; font-family: var(--head); font-size: 1.2rem; position: relative; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--teal); color: var(--teal); font-family: var(--mono); font-size: 1rem; line-height: 26px; text-align: center; }
details.acc[open] > summary::after { content: "−"; background: var(--teal); color: #fff; }
details.acc .acc-body { padding: 0 0 1.2rem; }
details.acc .acc-body p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- forms */
.quote-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.2rem, 3vw, 2rem); font-size: 1rem; }
.form-card h2 { scroll-margin-top: 110px; }
.contact-side .pay-panel { margin: 1.2rem 0 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .9rem; font-size: 1rem; }
.contact-list li { display: flex; gap: .75rem; margin: 0; align-items: flex-start; }
.contact-list .ico { color: var(--teal); }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; font: inherit; padding: .7rem .9rem; min-height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(31,107,102,.3); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex !important; align-items: center; gap: .5rem; font-weight: 500 !important; padding: .5rem .9rem; border: 1px solid var(--line-2);
  border-radius: var(--r); cursor: pointer; margin: 0 !important; background: #fff; }
.chip input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.chip:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.err { color: var(--danger); font-size: .9rem; margin: .3rem 0 0; display: none; }
.err.show { display: block; }
.check { display: flex; align-items: flex-start; gap: .6rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--teal); }
.form-card .btn-block { margin-top: 1.1rem; }
.form-card [role=status] { margin-top: .8rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #c4d5d0; font-size: .95rem; padding-top: 2.2rem; border-top: 1px solid #2a4a50; }
.site-footer a { color: #eef4f2; }
.site-footer a:hover { color: #fff; text-decoration-color: var(--teal-l); }
.site-footer .emergency { background: rgba(194,122,44,.14); color: #f3e3cf; }
.site-footer .emergency a { color: #fff; }
.site-footer .emergency .ico { color: var(--amber-b); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 2rem; padding-block: 2.6rem 2.4rem; }
.footer-brand { margin: 0 0 1rem; }
.footer-brand img { height: 44px; width: auto; }
.footer-identity p { margin: 0 0 .5rem; }
.footer-hours { color: #9fb5b0; font-family: var(--mono); font-size: .88rem; }
.footer-h { font-family: var(--mono); font-size: .76rem; font-weight: 500; color: var(--teal-l); margin: 0 0 .9rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a, .footer-col .linklike { text-decoration: none; color: #eef4f2; }
.footer-col a:hover, .footer-col .linklike:hover { text-decoration: underline; }
.footer-pay { border-top: 1px solid #2a4a50; padding-block: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.footer-pay .footer-h { margin: 0; }
.footer-pay .pay-marks { margin: 0; }
.footer-pay .pm { border-color: transparent; }
.footer-pay .stripe-line { margin: 0; color: #b5c9c4; }
.footer-pay .stripe-line .ico { color: var(--teal-l); }
.footer-pay .stripe-logo { background: #fff; border-radius: 3px; padding: 2px 4px; height: 22px; }
.footer-bottom { border-top: 1px solid #2a4a50; padding-block: 1.2rem; font-size: .84rem; color: #9fb5b0; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cookies */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 860px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 16px 40px rgba(15,42,47,.2); display: none; }
.consent.show { display: block; }
.consent-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.4rem; }
.consent p { margin: 0; flex: 1 1 360px; font-size: .95rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-dialog { border: 1px solid var(--line-2); border-radius: 16px; padding: 0; max-width: 560px; width: calc(100% - 2rem);
  box-shadow: 0 20px 50px rgba(15,42,47,.3); color: var(--ink); background: var(--white); }
.consent-dialog::backdrop { background: rgba(15,42,47,.55); }
.consent-dialog form { padding: 1.6rem 1.6rem 1.3rem; }
.consent-dialog h2 { font-size: 1.6rem; margin-top: 0; }
.consent-dialog p { font-size: .97rem; }
.cookie-cat { border-top: 1px solid var(--line); padding: .9rem 0; }
.cookie-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .3rem; }
.cookie-cat p { margin: 0; font-size: .92rem; color: var(--muted); }
.pill { font-family: var(--mono); font-size: .75rem; padding: .2rem .6rem; background: var(--line); color: var(--muted); white-space: nowrap; border-radius: 4px; }
.pill-on { background: var(--ink); color: #fff; }
.consent-status { min-height: 1.4em; font-size: .9rem; color: var(--teal); margin: .5rem 0; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.dialog-link { font-size: .95rem; margin-left: auto; }

@media print {
  .site-header, .site-footer, .consent, .cta-band, .toc { display: none !important; }
  body { background: #fff; }
  .page-head-media, .hero-visual { display: none; }
}
