/*
 Theme Name:   Antalgija Kadence Child
 Theme URI:    https://www.antalgija.lt
 Description:  Child theme for Antalgija rehabilitation clinic. Built on Kadence. Design: "Klinikinis ramumas".
 Author:       Mindaugas
 Template:     kadence
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  antalgija-kadence-child
*/

/* ============================================================
   FONTS — Sora (display/headings) + Rethink Sans (body/UI)
   Both fully support Lithuanian diacritics: ą č ę ė į š ų ū ž
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Rethink+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS — source of truth, ported from tokens.css
   (design-reference/tokens.css is the canonical reference)
   ============================================================ */
:root {

  /* Brand green (primary) */
  --green-50:  #E9F5EC;
  --green-100: #C7E5CF;
  --green-200: #93CFA4;
  --green-300: #5EB97A;
  --green-400: #3DAA5C;
  --green-500: #249A48;   /* brand primary */
  --green-600: #1C7A39;
  --green-700: #156132;   /* brand hover/pressed, price figures */
  --green-800: #0E4322;   /* footer bg, deep hero */
  --green-900: #072713;

  /* Warm tan accent */
  --tan-50:  #F8F1E7;
  --tan-100: #EFDFC6;
  --tan-200: #E1C49B;
  --tan-300: #D5AE7C;
  --tan-400: #CA9B5E;     /* brand accent */
  --tan-500: #A57C49;
  --tan-600: #7E5F39;
  --tan-700: #604836;     /* accent hover */

  /* Cool stone neutrals */
  --stone-50:  #FFFFFF;
  --stone-100: #F5F3EF;
  --stone-200: #ECECE8;
  --stone-300: #DCDBD4;
  --stone-400: #B8B7AF;
  --stone-500: #888881;
  --stone-600: rgba(31, 42, 36, 0.7);
  --stone-700: #3A4540;
  --stone-800: #1F2A24;
  --stone-900: #0E1612;

  /* Semantic */
  --success-500: #249A48;
  --info-500:    #2C6E8C;
  --warning-500: #CA9B5E;
  --danger-500:  #B23A3A;

  /* ── Semantic colour aliases ── */
  --bg:        var(--stone-200);
  --bg-elev:   var(--stone-50);
  --bg-deep:   var(--stone-100);
  --bg-invert: var(--green-700);

  --fg:        var(--stone-800);
  --fg-strong: var(--stone-900);
  --fg-muted:  var(--stone-600);
  --fg-faint:  var(--stone-500);
  --fg-invert: #FFFFFF;

  --brand:        var(--green-500);
  --brand-hover:  var(--green-700);
  --brand-soft:   var(--green-50);
  --brand-on:     #FFFFFF;

  --accent:       var(--tan-400);
  --accent-hover: var(--tan-700);
  --accent-soft:  var(--tan-50);
  --accent-on:    #FFFFFF;

  --border:        rgba(21, 97, 50, 0.15);
  --border-strong: rgba(21, 97, 50, 0.28);
  --border-brand:  var(--green-500);

  /* ── Shadows ── */
  --shadow-sm:  0 1px 2px rgba(21,97,50,0.05), 0 2px 6px rgba(21,97,50,0.05);
  --shadow-md:  0 1px 2px rgba(21,97,50,0.05), 0 8px 24px rgba(21,97,50,0.07);
  --shadow-lg:  0 2px 4px rgba(21,97,50,0.06), 0 16px 40px rgba(21,97,50,0.11);
  --shadow-ai-launcher: 0 8px 26px rgba(21,97,50,0.34);

  /* ── Typography ── */
  --font-sans:    'Rethink Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Sora', 'Rethink Sans', system-ui, -apple-system, sans-serif;

  /* Type scale (baseline 16px) */
  --text-xs:   0.75rem;    /* 12 */
  --text-sm:   0.875rem;   /* 14 */
  --text-base: 1rem;       /* 16 */
  --text-md:   1.125rem;   /* 18 */
  --text-lg:   1.25rem;    /* 20 */
  --text-xl:   1.5rem;     /* 24 */
  --text-2xl:  1.875rem;   /* 30 */
  --text-3xl:  2.5rem;     /* 40 */
  --text-4xl:  3.25rem;    /* 52 */
  --text-5xl:  4.25rem;    /* 68 */

  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-body:  1.55;
  --leading-loose: 1.75;

  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-eyebrow: 0.18em;

  /* ── Spacing (base 4px) ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ── Border radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  /* ── Layout ── */
  --container-max: 1200px;
  --section-padding-mobile:  44px;
  --section-padding-desktop: 72px;
  --card-padding-mobile:     20px;
  --card-padding-desktop:    28px;
  --grid-gap-mobile:         14px;
  --grid-gap-desktop:        20px;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-feature-settings: "ss01";
  color: var(--fg-strong);
  text-wrap: pretty;
  margin: 0;
}

h1 { font-size: clamp(2.125rem, 6vw, var(--text-4xl)); font-weight: 800; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-3xl));  font-weight: 800; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h3 { font-size: clamp(1rem,    2.5vw, var(--text-2xl)); font-weight: 700; line-height: var(--leading-snug); }
h4 { font-size: var(--text-xl);  font-weight: 700; line-height: var(--leading-snug); }
h5 { font-size: var(--text-lg);  font-weight: 700; line-height: var(--leading-snug); }
h6 { font-size: var(--text-md);  font-weight: 700; line-height: var(--leading-snug); }

p { margin: 0 0 var(--space-4); max-width: 65ch; }

a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
a:hover { color: var(--brand-hover); border-bottom-color: currentColor; }

img { max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }

/* ── Typography helpers ── */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand);
}

.lede {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--fg-muted);
  max-width: 60ch;
}

.fine {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

.section {
  padding: var(--section-padding-mobile) 0;
}

@media (min-width: 1024px) {
  .section { padding: var(--section-padding-desktop) 0; }
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--green-700);
  color: rgba(255,255,255,0.9);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 36px;
  white-space: nowrap;
  overflow: hidden; /* contains any overflow right here */
  width: 100%;
  box-sizing: border-box;
}

.utility-bar a { color: rgba(255,255,255,0.9); border-bottom: none; font-weight: 600; }
.utility-bar a:hover { color: #fff; }
.hide-sm { display: none; }

@media (min-width: 768px) {
  .hide-sm { display: inline-flex; align-items: center; gap: 6px; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

/* ── Navigation links ── */
.main-nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--fg-strong);
  border-bottom: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 150ms, background 150ms;
}

.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }

/* ── Dropdowns ── */
.nav-dropdown {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: var(--space-2);
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-scrim {
  background: rgba(14, 22, 18, 0.5);
}

.drawer-panel {
  width: min(340px, 88vw);
  background: var(--stone-50);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.drawer-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-strong);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  min-height: 44px;
  border-radius: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 150ms ease-out, transform 80ms ease-out;
  white-space: nowrap;
}

.btn-sm { min-height: 42px; font-size: 14px; padding: 0 18px; }

/* Primary */
.btn-primary,
.woocommerce .button.alt,
.woocommerce button[type="submit"],
.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--brand);
  color: var(--brand-on) !important;
}
.btn-primary:hover,
.woocommerce .button.alt:hover {
  background: var(--brand-hover);
  color: var(--brand-on) !important;
  transform: none;
}
.btn-primary:active { transform: translateY(1px); }

/* Outline */
.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--brand) !important;
  border: 1.5px solid var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: var(--brand-on) !important;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--stone-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: var(--space-5) 0;
}

.stats-bar__item {
  text-align: center;
  padding: 0 var(--space-4);
  border-right: 1px solid var(--border);
}
.stats-bar__item:last-child { border-right: none; }

.stats-bar__figure {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 5vw, 2.5rem); /* 22px → 40px; was 30px min which overflowed narrow cols */
  font-weight: 800;
  color: var(--brand-hover);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-top: var(--space-1);
}

/* Word-led stat (e.g. "Moderniausia") — slightly smaller so a word
   sits at the same optical weight as the numeric figures and never
   overflows the 1/3 column on mobile. */
.stats-bar__figure--word {
  font-size: clamp(1.125rem, 4vw, 1.875rem); /* 18px → 30px */
}

/* ============================================================
   SERVICE CARD
   ============================================================ */
.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-elev) 0%, var(--brand-soft) 140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--card-padding-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

/* On-brand graphic accent so the cards aren't flat white:
   green top bar + corner glow + filled icon on hover. */
.service-card::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,154,72,.18) 0%, rgba(36,154,72,0) 70%);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  z-index: 0;
}
.service-card::after { /* brand top accent bar */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 2;
}
.service-card:hover::before { transform: scale(1.18); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; transition: background 200ms, color 200ms; }

@media (min-width: 1024px) {
  .service-card { padding: var(--card-padding-desktop); }
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 14px; /* mobile-first: fits in 2-col narrow cards */
  font-weight: 700;
  color: var(--fg-strong);
  line-height: var(--leading-snug);
}
@media (min-width: 768px) { .service-card__title { font-size: 16px; } }
@media (min-width: 1024px) { .service-card__title { font-size: 18px; } }

.service-card__description {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-body);
  flex: 1;
}

.service-card__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: none;
}
.service-card:hover .service-card__link { color: var(--brand-hover); }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap-mobile);
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-desktop);
  }
}

/* ============================================================
   PACKAGE CARD
   ============================================================ */
.package-card {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow 200ms, transform 200ms;
}

.package-card--featured {
  border: 1.5px solid var(--brand);
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--stone-50) 40%);
}

.package-card__tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.package-card__tag--featured {
  background: var(--brand);
  color: #fff;
}

.package-card__tag--default {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.package-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--fg-strong);
  line-height: var(--leading-snug);
}

.package-card__price-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
}

.package-card__price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-hover);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.package-card__price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-hover);
}

.package-card__price-note {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-top: 4px;
}

/* Dual pricing */
.dual-price {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 600px) {
  .dual-price { grid-template-columns: 1fr 1fr; }
}

.dual-price__block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.dual-price__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: var(--space-2);
}

.dual-price__label--nonreg {
  background: var(--tan-50);
  color: var(--tan-700);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.dual-price__amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-hover);
  line-height: 1;
}

/* Package checklist */
.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.package-features li:last-child { border-bottom: none; }

.package-features li::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  background-color: var(--brand);
  border-radius: 50%;
  /* double-quotes encoded as %22 — single quotes break some parsers */
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 8l3.5 3.5L13 5%22 stroke=%22white%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Packages scroll (mobile) */
.packages-scroll {
  display: flex;
  gap: var(--grid-gap-mobile);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 20px 8px;
  scrollbar-width: none;
}
.packages-scroll::-webkit-scrollbar { display: none; }

.packages-scroll .package-card {
  min-width: min(300px, 78vw);
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .packages-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-desktop);
    overflow: visible;
    padding: 0;
  }
  .packages-scroll .package-card { min-width: unset; }
}

/* ============================================================
   EXAMINATION PACKAGE CARD (WooCommerce)
   ============================================================ */
.exam-card {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms, transform 200ms;
}

.exam-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.exam-card__media {
  height: 96px;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.exam-card__seasonal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--tan-400);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.exam-card__body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.exam-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--fg-strong);
  line-height: 1.3;
}

.exam-card__summary {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
  flex: 1;
}

.exam-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.exam-card__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-hover);
}

.exam-card__price--old {
  font-size: var(--text-base);
  color: var(--fg-faint);
  text-decoration: line-through;
}

/* Exam grid */
.exam-cta { text-align: center; margin-top: 32px; }
.exam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap-mobile);
}

@media (min-width: 600px) {
  .exam-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .exam-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap-desktop);
  }
  /* Featured programmes: 3 centred cards */
  .exam-grid--featured {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   WOOCOMMERCE — map to exam-card style
   ============================================================ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--grid-gap-desktop);
}

.woocommerce ul.products li.product {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 200ms, transform 200ms;
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--fg-strong);
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-hover);
}

.woocommerce a.button,
.woocommerce button[type="submit"],
.woocommerce .button {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  background: var(--brand) !important;
  color: #fff !important;
  transition: background 150ms !important;
}

.woocommerce a.button:hover,
.woocommerce .button:hover {
  background: var(--brand-hover) !important;
}

/* ============================================================
   SPECIALIST / DOCTOR CARD
   ============================================================ */
.doctor-card {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doctor-card__avatar {
  position: relative;
  aspect-ratio: 1 / 1.12;
  background: linear-gradient(160deg, var(--green-100), var(--stone-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-hover);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.doctor-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-card__body {
  padding: var(--space-4);
}

.doctor-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-strong);
}

.doctor-card__role {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* Photo band — real-procedure photos with overlay caption (e.g. cardiology) */
.photo-band { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
@media (min-width: 520px) { .photo-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .photo-band { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.photo-band__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.photo-band__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-band__item:hover img { transform: scale(1.04); }
.photo-band__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 11px; background: linear-gradient(to top, rgba(14,67,34,.88) 0%, rgba(14,67,34,0) 100%); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px; }

/* Responsive 16:9 video embed (e.g. Antalgija Kompleksas) */
.komplex-video { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.komplex-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOXUS BOOKING MODAL
   ============================================================ */
.fx-modal[hidden] { display: none; }
.fx-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fx-modal__overlay { position: absolute; inset: 0; background: rgba(14,67,34,.55); backdrop-filter: blur(2px); }
.fx-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--bg-elev, #fff); border-radius: var(--radius-lg, 12px); box-shadow: var(--shadow-lg); padding: 28px 26px 30px; }
.fx-modal__close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--fg-muted); cursor: pointer; }
.fx-modal__close:hover { color: var(--fg-strong); }
.fx-modal__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.fx-modal__title { margin: 4px 0 2px; font-size: clamp(20px, 3vw, 26px); }
.fx-modal__svc { margin: 0 0 14px; color: var(--fg-strong); font-size: 14.5px; font-weight: 600; }
.fx-modal__svc:empty { display: none; }
.fx-modal__svc { overflow-wrap: anywhere; }
/* Holter registration — duration choice buttons */
.holter-book-options { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 640px; margin: 0 auto; }
.holter-book-options .btn { flex: 1 1 auto; min-width: 150px; }

/* Gift voucher */
.voucher-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.voucher-buy { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.voucher-buy__title, .voucher-how__title { font-size: 21px; margin: 0 0 18px; color: var(--fg-strong); }
.voucher-form__label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--fg-strong); margin: 16px 0 7px; }
.voucher-form__label:first-of-type { margin-top: 0; }
.voucher-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.voucher-preset { padding: 7px 16px; border: 1px solid var(--border-strong); background: var(--bg-deep); border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg); cursor: pointer; transition: all .15s; }
.voucher-preset:hover { border-color: var(--brand); color: var(--brand); }
.voucher-preset.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.voucher-form .input { width: 100%; }
.voucher-form__submit { width: 100%; margin-top: 22px; justify-content: center; }
.voucher-form__fine { font-size: 12.5px; color: var(--fg-muted); line-height: 1.5; margin: 12px 0 0; }
.voucher-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.voucher-step { display: flex; gap: 14px; }
.voucher-step__num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-hover); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.voucher-step__title { font-size: 15px; margin: 3px 0 4px; color: var(--fg-strong); }
.voucher-step__text { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; margin: 0; }
.voucher-note { display: flex; gap: 12px; margin-top: 24px; padding: 16px; background: var(--accent-soft); border-radius: var(--radius-md); color: var(--accent-hover); }
.voucher-note svg { flex: none; color: var(--accent); }
.voucher-note p { margin: 0; font-size: 13px; line-height: 1.55; }
@media (max-width: 860px) { .voucher-layout { grid-template-columns: 1fr; gap: 28px; } }

/* RU pre-registration form */
.ruprereg-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: start; }
.ruprereg-field { display: block; margin-bottom: 16px; }
.ruprereg-field > span { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--fg-strong); margin-bottom: 6px; }
.ruprereg-field em { color: var(--brand); font-style: normal; }
.ruprereg-form .input { width: 100%; }
.ruprereg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ruprereg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-muted); margin: 4px 0 18px; line-height: 1.5; }
.ruprereg-consent input { margin-top: 3px; flex: none; }
.ruprereg-submit { width: 100%; justify-content: center; }
.ruprereg-aside { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.ruprereg-aside h2 { font-size: 19px; margin: 0 0 12px; color: var(--fg-strong); }
.ruprereg-aside > p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin: 0 0 16px; }
.ruprereg-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ruprereg-info li { font-size: 13.5px; color: var(--fg); line-height: 1.5; }
.ruprereg-info strong { color: var(--fg-strong); font-size: 12.5px; }
.ruprereg-alert { padding: 16px 18px; border-radius: var(--radius-md); margin-bottom: 18px; }
.ruprereg-alert--ok { background: var(--brand-soft); color: var(--brand-hover); border: 1px solid var(--brand); }
.ruprereg-alert--ok p { margin: 6px 0 0; font-size: 14px; }
.ruprereg-alert--err { background: #FBEAEA; color: var(--danger-500); border: 1px solid var(--danger-500); }
@media (max-width: 860px) { .ruprereg-layout { grid-template-columns: 1fr; gap: 28px; } .ruprereg-row { grid-template-columns: 1fr; } }

/* Healthcare for KTU landing */
.ktu-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 16px; }
.ktu-step { display: flex; gap: 16px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.ktu-step__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ktu-step__title { font-size: 16px; margin: 4px 0 5px; color: var(--fg-strong); }
.ktu-step__text { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin: 0; }
.ktu-elig, .ktu-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ktu-elig__item, .ktu-team__item { background: var(--bg-elev); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius-md); padding: 16px 18px; }
.ktu-elig__item h3 { font-size: 15px; margin: 0 0 6px; color: var(--fg-strong); }
.ktu-elig__item p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; margin: 0; }
.ktu-team__item h3 { font-size: 15px; margin: 0 0 4px; color: var(--brand-hover); }
.ktu-team__item p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; margin: 0; }
.ktu-reg { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.ktu-reg__intro h2 { font-size: 22px; margin: 6px 0 12px; }
.ktu-reg__intro > p { color: var(--fg-muted); line-height: 1.6; margin: 0 0 18px; }
.ktu-reg__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ktu-reg__contacts li { font-size: 13.5px; color: var(--fg); }
.ktu-reg__contacts strong { display: block; font-size: 12px; color: var(--fg-muted); }
.ktu-field { display: block; margin-bottom: 14px; }
.ktu-field > span { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--fg-strong); margin-bottom: 6px; }
.ktu-field em { color: var(--brand); font-style: normal; }
.ktu-field small { color: var(--fg-muted); font-weight: 400; }
.ktu-form .input { width: 100%; }
.ktu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ktu-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-muted); margin: 6px 0 16px; line-height: 1.5; }
.ktu-consent input { margin-top: 3px; flex: none; }
.ktu-submit { width: 100%; justify-content: center; }
@media (max-width: 860px) { .ktu-reg { grid-template-columns: 1fr; gap: 26px; padding: 24px; } .ktu-row { grid-template-columns: 1fr; } }

/* Antalgija Kompleksas reservation */
.kx-wrap { max-width: 720px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.kx-form .input { width: 100%; }
.kx-form__hint { font-size: 13px; color: var(--fg-muted); margin: -4px 0 16px; }
@media (max-width: 600px) { .kx-wrap { padding: 22px 18px; } }
.fx-step { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 9px; }
.fx-step::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: var(--brand); flex: none; }
.fx-loading, .fx-error { padding: 18px 0; color: var(--fg-muted); }
.fx-error { color: var(--danger-500, #b23a3a); }
.fx-options { display: grid; gap: 10px; }
.fx-option { text-align: left; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--bg-deep); cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s; }
.fx-option:hover { border-color: var(--brand); background: var(--brand-soft); }
.fx-option strong { font-family: var(--font-display); font-size: 15px; color: var(--fg-strong); }
.fx-option span { font-size: 12.5px; color: var(--fg-muted); }
.fx-option__soon { margin-top: 4px; font-size: 12.5px; color: var(--brand) !important; }
.fx-option__soon b { font-weight: 600; }
.fx-option__soon--none { color: var(--fg-faint) !important; }
.fx-weeknav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 6px 8px; }
.fx-weeknav__label { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--fg-strong); text-transform: capitalize; text-align: center; flex: 1; }
.fx-weeknav__btn { width: 36px; height: 36px; flex: none; border: 1px solid var(--border-strong); background: #fff; border-radius: var(--radius-md, 8px); font-size: 20px; line-height: 1; color: var(--brand); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.fx-weeknav__btn:hover:not(:disabled) { background: var(--brand); color: #fff; border-color: var(--brand); }
.fx-weeknav__btn:disabled { opacity: .35; cursor: default; }
.fx-week-empty { text-align: center; color: var(--fg-muted); font-size: 14px; padding: 26px 12px; background: var(--bg-deep); border: 1px dashed var(--border-strong); border-radius: var(--radius-md, 8px); }
.fx-days { display: grid; gap: 14px; }
.fx-day { background: var(--bg-elev, #fff); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); overflow: hidden; box-shadow: var(--shadow-sm); }
.fx-day__label { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--green-800, #0E4322); background: var(--brand-soft); padding: 11px 16px; margin: 0; text-transform: capitalize; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.fx-day__label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 3px rgba(36,154,72,.18); }
.fx-times { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.fx-time { padding: 9px 17px; border: 1px solid transparent; border-radius: var(--radius-pill, 999px); background: var(--brand-soft); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-hover); cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease; }
.fx-time:hover, .fx-time:focus-visible { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-md); outline: none; }
.fx-chosen { font-family: var(--font-display); font-weight: 600; color: var(--brand-hover); background: var(--brand-soft); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius-md, 8px); padding: 11px 14px; margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
.fx-chosen::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--brand); -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.fx-form { display: grid; gap: 12px; }
.fx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .fx-row { grid-template-columns: 1fr; } }
.fx-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--fg); }
.fx-form input[type="text"], .fx-form input[type="tel"], .fx-form input[type="email"], .fx-form input[type="date"], .fx-form input:not([type]), .fx-form textarea, .fx-form select { padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md, 8px); font-size: 15px; background: var(--bg-deep); font-family: inherit; color: var(--fg); }
.fx-form textarea { resize: vertical; min-height: 64px; }
.fx-opt { color: var(--fg-faint); font-weight: 400; }
.fx-req-lead { font-size: 14px; color: var(--fg-muted); margin: 0 0 14px; line-height: 1.5; }
.fx-pay { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 12px 14px; display: grid; gap: 8px; margin: 0; }
.fx-pay legend { font-size: 12px; color: var(--fg-muted); padding: 0 4px; }
.fx-radio, .fx-consent { flex-direction: row !important; align-items: center; gap: 9px !important; font-size: 14px; cursor: pointer; }
.fx-consent { font-size: 12.5px; color: var(--fg-muted); }
.fx-form__err { color: var(--danger-500, #b23a3a); font-size: 13.5px; }
.fx-submit { width: 100%; margin-top: 4px; }
.fx-done { text-align: center; padding: 14px 0; }
.fx-done__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.fx-done h3 { margin: 0 0 8px; }
.fx-done__note { font-size: 12.5px; color: var(--fg-muted); }

/* Inline booking widget (drop-in replacement for the Mano daktaras iframe) */
.fx-inline { max-width: 640px; margin: 0 auto; background: var(--bg-elev, #fff); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); box-shadow: var(--shadow-md); padding: 24px; }
.fx-inline__svc { font-family: var(--font-display, 'Sora', sans-serif); font-weight: 700; font-size: 16px; color: var(--fg-strong); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.fx-inline__svc[hidden] { display: none; }
.fx-inline .fx-step { margin-top: 0; }
@media (max-width: 600px) { .fx-inline { padding: 18px; } }

/* ============================================================
   APIE MUS — contact + map + legal
   ============================================================ */
.about-contact { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 820px) { .about-contact { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; } }
.about-contact__info h3 { font-size: 16px; margin: 0 0 10px; color: var(--fg-strong); }
.about-contact__info h3 + .about-hours, .about-contact__list + h3 { margin-top: 22px; }
.about-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-contact__list li { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.about-contact__list svg { color: var(--brand); flex-shrink: 0; }
.about-contact__list a { color: var(--fg); }
.about-contact__list a:hover { color: var(--brand); }
.about-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.about-hours li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--fg-muted); border-bottom: 1px solid var(--border); padding-bottom: 7px; }
.about-hours strong { color: var(--fg-strong); white-space: nowrap; }
.about-contact__social { display: flex; gap: 14px; margin-top: 20px; }
.about-contact__social a { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--brand); }
.about-map { position: relative; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.about-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.02); }

.legal-block { max-width: 900px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 28px 22px; box-shadow: var(--shadow-sm); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 14px 28px; margin: 0 0 20px; }
@media (min-width: 640px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
.legal-grid dt { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 2px; }
.legal-grid dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-strong); }
.legal-notes { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 10px; }
.legal-notes p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }
.legal-notes svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   SHARED CARD GRAPHIC TREATMENT
   Same on-brand accent as .service-card, applied to the main
   info / package / pricing boxes site-wide (diagnostics, values,
   packages, prevention, pricing — e.g. /istyrimu-paketai/).
   ============================================================ */
.vax-card,
.pkg-card,
.kt-pkg,
.fm-prevention__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-elev) 0%, var(--brand-soft) 145%);
}
.vax-card::before,
.pkg-card::before,
.kt-pkg::before,
.fm-prevention__card::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,154,72,.16) 0%, rgba(36,154,72,0) 70%);
  transition: transform 280ms ease;
  pointer-events: none;
  z-index: 0;
}
.vax-card::after,
.pkg-card::after,
.kt-pkg::after,
.fm-prevention__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 2;
}
.vax-card > *,
.pkg-card > *,
.kt-pkg > *,
.fm-prevention__card > * {
  position: relative;
  z-index: 1;
}
.vax-card:hover::before,
.pkg-card:hover::before,
.kt-pkg:hover::before,
.fm-prevention__card:hover::before {
  transform: scale(1.18);
}
.vax-card:hover .vax-card__icon,
.fm-prevention__card:hover .fm-prevention__icon {
  background: var(--brand);
  color: #fff;
  transition: background 200ms, color 200ms;
}

/* Psychology page — enriched specialist card + crisis callout */
a.doctor-card { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.doctor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.doctor-card__approach { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 10px 0 0; }
.doctor-card__more { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--brand); }

.psy-crisis { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin: 26px auto 0; padding: 18px 20px; background: var(--accent-soft); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); }
.psy-crisis__icon { flex-shrink: 0; color: var(--accent-hover); margin-top: 2px; }
.psy-crisis p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg); }
.psy-crisis strong { display: block; color: var(--fg-strong); margin-bottom: 2px; }
.psy-crisis a { color: var(--accent-hover); font-weight: 600; text-decoration: underline; }

/* Doctors grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap-mobile);
}

@media (min-width: 1024px) {
  .doctors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap-desktop);
  }
}

/* min-width:0 overrides the implicit min-width:auto on grid items.
   Without it, a card whose text/image content is wider than 1fr
   forces the whole grid (and page) wider than the viewport. */
.doctor-card,
.service-card,
.exam-card,
.article-card {
  min-width: 0;
}

.doctor-card__name,
.doctor-card__role,
.service-card__title,
.service-card__description,
.exam-card__title {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms, transform 200ms;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card__media {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--green-200), var(--tan-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--brand);
}
/* Absolute fill avoids Safari's flex/grid image-stretch bug ("nušokęs" image). */
.article-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.article-card:hover .article-card__media img { transform: scale(1.04); }

.article-card__body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.article-card__meta {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.3;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap-mobile);
}

@media (min-width: 768px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap-desktop); }
}

/* ============================================================
   CTA BANNER (inline, inside articles)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  margin: var(--space-7) 0;
}

.cta-banner h2,
.cta-banner h3 {
  color: #fff;
  margin-bottom: var(--space-3);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
}

.cta-banner .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .cta-banner .btn { width: auto; }
}

/* ============================================================
   CONDITION ARTICLE PAGE
   ============================================================ */
.condition-article {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
}

.condition-article h2 {
  font-size: var(--text-xl);
  color: var(--brand-hover);
  margin: var(--space-7) 0 var(--space-3);
}

.doctor-reviewed-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.doctor-reviewed-badge strong { color: var(--fg-strong); }

/* ============================================================
   PRICE TABLE
   ============================================================ */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--border-strong);
  text-align: left;
}

.price-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.price-table td:last-child { text-align: right; }

.price-table__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--brand-hover);
  white-space: nowrap;
}

/* (Mobile price-table stacking is handled by the labeled block further below.) */

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-item {
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item + .faq-item { margin-top: var(--space-2); }

.faq-item summary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-strong);
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l4 4 4-4' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  transition: transform 200ms;
}

.faq-item[open] summary::after,
details[open] .faq-item summary::after { transform: rotate(180deg); }

.faq-item__body {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
}

/* ============================================================
   AI TRIAGE WIDGET (floating launcher)
   ============================================================ */
.ai-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-ai-launcher);
  transition: background 150ms;
}

.ai-launcher:hover { background: var(--brand-hover); }

.ai-panel {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 200;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 120px));
  background: var(--stone-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-panel__header {
  background: var(--brand);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-panel__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.ai-panel__subtitle {
  font-size: 11px;
  opacity: 0.8;
}

.ai-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-bubble {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 15px;
  font-size: 13.5px;
  line-height: 1.5;
}

.ai-bubble--bot {
  background: var(--stone-50);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.ai-bubble--user {
  background: var(--brand);
  color: #fff;
  align-self: flex-end;
}

.ai-panel__input-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--stone-50);
}

.ai-panel__input {
  flex: 1;
  padding: 9px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13.5px;
  background: var(--bg-deep);
  color: var(--fg);
  outline: none;
  min-height: 44px;
}

.ai-panel__input:focus { border-color: var(--brand); background: #fff; }

.ai-panel__send {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
  flex-shrink: 0;
}

.ai-panel__send:hover { background: var(--brand-hover); }

.ai-panel__disclaimer {
  padding: 6px 14px 10px;
  font-size: 10.5px;
  color: var(--fg-muted);
  font-style: italic;
  background: var(--stone-50);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
}

.contact-form-card {
  background: var(--stone-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--card-padding-mobile);
}

@media (min-width: 768px) {
  .contact-form-card { padding: var(--card-padding-desktop); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full-width { grid-column: 1 / -1; }
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  min-height: 46px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--fg);
  outline: none;
  transition: border-color 150ms, background 150ms;
}

.form-field textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  background: #fff;
}

.form-field input.is-invalid,
.form-field select.is-invalid { border-color: var(--danger-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-800);
  color: rgba(255,255,255,0.82);
  padding: var(--space-7) 0 0;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
}

.site-footer a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  border-bottom: none;
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr; /* single column on mobile — no orphan columns */
  gap: var(--space-5);
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-6); }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--space-7);
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Logo inverted in footer */
.footer-logo { filter: brightness(0) invert(1); }

/* Social follow icons — monochrome, brand-green hover */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
}
.footer-social li { margin: 0; }
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: var(--radius-md, 8px);
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-footer .footer-social a:hover {
  color: #fff;
  background: var(--brand, #249A48);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-5);
}

.breadcrumb a { color: var(--fg-muted); border-bottom: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { color: var(--fg-faint); }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ============================================================
   UTILITY BAR — BEM layout (overrides old flex-on-root rule)
   ============================================================ */
.utility-bar__left,
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.utility-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6FCF97;
  flex-shrink: 0;
}
/* Hours and address only on tablet+ */
.util-hours,
.utility-bar .util-address { display: none; }
@media (min-width: 768px) {
  .util-hours,
  .utility-bar .util-address { display: inline; }
}

/* ============================================================
   SITE HEADER ROW — container-based layout
   ============================================================ */
.site-header {
  display: block; /* override flex from earlier rule */
}
.site-header .container {
  height: 68px;
  display: flex;
  align-items: center;
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
/* On desktop: logo (natural width, never collapses) | nav (flexible) | right.
   Using auto for the logo column guarantees it stays visible even when the
   nav menu is very wide. */
@media (min-width: 1024px) {
  .site-header__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }
  .main-nav { min-width: 0; justify-content: flex-start; }
}
.site-header__logo {
  flex-shrink: 0;
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.site-header__logo img { height: 26px; width: auto; display: block; }

/* ── Desktop nav (hidden on mobile) ── */
.main-nav {
  display: none;
  justify-content: center;
  /* flex:1 removed — grid parent handles sizing on desktop */
}
@media (min-width: 1024px) { .main-nav { display: flex; } }

/* WordPress default nav list */
.main-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;        /* space BETWEEN items, not inside them */
  align-items: center;
}
.main-nav__list > .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: 0;
  padding: 8px 0;   /* vertical only — no horizontal bloat */
  border-bottom: none;
  transition: color 150ms;
  white-space: nowrap;
}
.main-nav__list > .menu-item > a:hover { color: var(--brand); }
.main-nav__list > .menu-item.current-menu-item > a { color: var(--brand); }

/* Dropdown caret via CSS (no Walker needed) */
.main-nav__list > .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888881' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Dropdown panel ── */
.main-nav__list > .menu-item-has-children {
  position: relative;
}
.main-nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 230px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.16s;
  z-index: 60;
}
.main-nav__list > .menu-item-has-children:hover .sub-menu,
.main-nav__list > .menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.main-nav__list .sub-menu .menu-item { position: static; }
.main-nav__list .sub-menu .menu-item a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  border-bottom: none;
  transition: background 120ms, color 120ms;
}
.main-nav__list .sub-menu .menu-item a:hover { background: var(--bg-deep); color: var(--brand); }

/* ── Header right ── */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;  /* mobile: pushes to right edge in flex context */
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .site-header__right {
    margin-left: 0;           /* grid handles column placement */
    justify-self: end;        /* right-align within the 3rd column */
  }
}
.site-header__phone {
  display: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  border-bottom: none;
}
.site-header__cta { display: none; }
@media (min-width: 1024px) {
  .site-header__phone { display: inline; }
  .site-header__cta   { display: inline-flex; }
}

/* ── Icon buttons ── */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--fg-strong);
  cursor: pointer;
  flex-shrink: 0;
  border-bottom: none;
  transition: background 150ms, border-color 150ms;
  padding: 0;
}
.icon-btn:hover { background: var(--bg-deep); border-color: var(--border-strong); border-bottom: none; }
.icon-btn--call {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.icon-btn--call:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
@media (min-width: 1024px) {
  .icon-btn--call,
  .icon-btn--menu { display: none; }
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg-strong);
  border-radius: 2px;
}

/* ============================================================
   DRAWER
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 18, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s 0.2s;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-elev);
  padding: 22px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.drawer__head img { height: 24px; width: auto; display: block; }

.drawer__close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--fg-strong);
  flex-shrink: 0;
}

.drawer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.drawer__nav-list .menu-item a {
  display: block;
  padding: 15px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-strong);
  border-bottom: 1px solid var(--border);
  border-top: none;
  min-height: 44px;
  transition: color 120ms;
}
.drawer__nav-list .menu-item a:hover { color: var(--brand); border-bottom-color: var(--border); }

.drawer__actions {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 36px;
}
@media (min-width: 768px) { .hero { padding: 48px 0 56px; } }

.hero .breadcrumb { margin-bottom: 18px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}

/* Left — copy */
.hero__content .eyebrow { display: block; margin-bottom: 12px; }

.hero__content h1 { margin: 0 0 16px; }
.hero__content h1 em { font-style: italic; color: var(--brand); }

.hero__lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 24px;
  max-width: 56ch;
}
@media (min-width: 768px) { .hero__lede { font-size: 18px; } }

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* prevents full-width stretch in column layout */
  gap: 10px;
  margin-bottom: 22px;
}
@media (min-width: 768px) {
  .hero__cta { flex-direction: row; align-items: center; }
}

.hero__trust {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12.5px;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust-item svg { color: var(--brand); flex-shrink: 0; }

/* Right — decorative art panel */
.hero__art {
  display: none; /* hidden on mobile — the art panel adds 280px dead weight at narrow widths */
}
@media (min-width: 768px) {
  .hero__art {
    display: grid;
    place-items: center;
    height: 320px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background:
      radial-gradient(130% 100% at 80% 0%, var(--green-100) 0%, transparent 55%),
      linear-gradient(155deg, var(--green-500), var(--green-700));
  }
}
@media (min-width: 1024px) { .hero__art { height: 380px; } }

.hero__art-latin {
  position: absolute;
  left: 22px;
  top: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-hover);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.hero__art-blob {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--tan-400);
  opacity: 0.85;
  right: -56px;
  bottom: -56px;
}
.hero__art-spine {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  width: 86px;
  height: 130px;
}
.hero__art-chip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero__art-chip-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-hover);
  line-height: 1;
}
.hero__art-chip-text {
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.25;
}

/* ============================================================
   STATS BAR — inner layout (overrides old direct-grid rule)
   ============================================================ */
.stats-bar { display: block; }
.stats-bar .container {
  padding-top: 0;
  padding-bottom: 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 26px 0;
}
/* Ensure figure + label use the established styles */
.stats-bar__item {
  text-align: center;
  position: relative;
  padding: 0 var(--space-3);
  border-right: none;
}
.stats-bar__item + .stats-bar__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--border);
}

/* ============================================================
   FOOTER — brand column additions
   ============================================================ */
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer__brand { grid-column: auto; } }

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.footer__tagline {
  font-style: italic;
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 10px;
  max-width: none;
}
.footer__desc {
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.8;
  max-width: 34ch;
  margin: 0;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; font-size: 14px; }

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.section { padding: var(--section-padding-mobile) 0; }
@media (min-width: 1024px) { .section { padding: var(--section-padding-desktop) 0; } }
.section--alt { background: var(--bg-deep); }

/* ── Section headings ── */
.section-head { margin-bottom: 28px; }
.section-head.is-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow { display: block; margin-bottom: 8px; }
.section-head h2 { margin: 8px 0 8px; }
.section-head p { font-size: 15px; color: var(--fg-muted); margin: 0; max-width: none; }
@media (min-width: 768px) { .section-head p { font-size: 17px; } }

.section-head--flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head__more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  white-space: nowrap;
  display: none;
  align-items: center;
  gap: 6px;
  border-bottom: none;
  flex-shrink: 0;
}
@media (min-width: 768px) { .section-head__more { display: inline-flex; } }
.section-head__more:hover { color: var(--brand-hover); border-bottom: none; }

/* ── Service card link ── */
.service-card { text-decoration: none; }
.service-card__link { border-bottom: none; }
.service-card:hover .service-card__link { color: var(--brand-hover); }

/* ── Package card additions ── */
.package-card__duration { font-size: 13.5px; color: var(--fg-muted); margin-top: 4px; }
.package-card__price-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--space-4) 0;
}
.package-card__price-currency { font-size: 18px; font-weight: 700; color: var(--brand-hover); }
.packages-scroll .btn { width: 100%; margin-top: auto; }

/* ── Exam card additions ── */
.exam-card__img { width: 100%; height: 100%; object-fit: cover; }
.exam-card__summary { font-size: 12px; color: var(--fg-muted); flex: 1; line-height: 1.4; margin: 0; max-width: none; }
.exam-card .btn { margin-top: 10px; width: 100%; }

/* ── Doctor card additions ── */
.doctor-card__role { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; }

/* Team CTA */
.team-cta { text-align: center; margin-top: 32px; }

/* ── Article card additions ── */
.article-card__category { font-size: 10px; margin-bottom: 6px; }
.article-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--fg-strong); line-height: 1.25; margin: 0 0 6px; }
.article-card__media { display: grid; place-items: center; color: rgba(255,255,255,.85); }
.article-card__media svg { display: block; }
.article-card { text-decoration: none; }
.article-card:hover .article-card__title { color: var(--brand); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: linear-gradient(160deg, var(--green-700), var(--green-800));
}
.contact-section .eyebrow { color: rgba(255,255,255,0.65); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
}
.contact-info h2 { color: #fff; margin-bottom: 12px; }
.contact-section .contact-info p,
.contact-section .contact-info h2 { color: #fff; }
.contact-section .contact-info p { opacity: 0.85; margin-bottom: 24px; max-width: 46ch; }
.contact-info__items { display: flex; flex-direction: column; gap: 16px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info__label { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-info__value { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: #fff; }

/* Form card */
.contact-form-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .contact-form-card { padding: 32px; } }

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .contact-form .form-grid { grid-template-columns: 1fr 1fr; }
  .contact-form .full-width { grid-column: 1 / -1; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--fg-strong); }
.input {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  min-height: 46px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--fg);
  outline: none;
  width: 100%;
  transition: border-color 150ms, background 150ms;
}
.input:focus { border-color: var(--brand); background: #fff; }
textarea.input { min-height: 92px; padding: 12px 14px; resize: vertical; }
select.input { cursor: pointer; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--fg-muted); flex-direction: row; }
.form-consent input { margin-top: 3px; flex-shrink: 0; }
.form-consent a { color: var(--brand); border-bottom: none; }
.contact-form .btn { width: 100%; }

/* ============================================================
   ARTICLE CARDS — horizontal on mobile (compact row layout)
   ============================================================ */
@media (max-width: 767px) {
  .articles-grid {
    gap: 12px;
  }
  .article-card {
    flex-direction: row;
    align-items: stretch;
  }
  .article-card__media {
    flex: 0 0 80px;
    width: 80px;
    height: auto;
    min-height: 90px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .article-card__body {
    padding: 14px 16px;
    gap: var(--space-1);
  }
  .article-card__title {
    font-size: 14.5px;
    margin: 4px 0 4px;
  }
  .article-card__meta {
    font-size: 11px;
  }
}

/* ============================================================
   MOBILE UTILITY — general tightening below 480px
   ============================================================ */

/* Tighten section padding on mobile */
@media (max-width: 767px) {
  .section { padding: 32px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 22px; }

  /* Package cards: compact on mobile */
  .package-card { padding: 16px; gap: 10px; }
  .package-card__name { font-size: 1.25rem; }
  .package-card__price { font-size: 28px; }
  .package-card__price-currency { font-size: 15px; }
  .package-card__duration { font-size: 12px; }
  .package-features li { font-size: 12.5px; padding: 4px 0; }
  .packages-scroll .package-card { min-width: 72vw; }

  /* Service cards: tighter padding in 2-col grid */
  .service-card { padding: 16px 14px; gap: 10px; }
  .service-card__icon { width: 40px; height: 40px; }
  .service-card__description { font-size: 12px; }

  /* Stats bar: tighter label text */
  .stats-bar__label { font-size: 11px; line-height: 1.3; }

  /* Hero: reduce padding */
  .hero { padding: 24px 0 28px; }
  .hero__content h1 { margin-bottom: 12px; }
  .hero__lede { font-size: 15px; margin-bottom: 20px; }

  /* Exam grid: 2 cols on larger phones */
  .exam-card__body { padding: 12px; }
  .exam-card__title { font-size: 13.5px; }

  /* Doctor card: 2-col grid tighter */
  .doctor-card__name { font-size: 13.5px; }

  /* Footer: tighten */
  .site-footer { padding: var(--space-6) 0 0; }
  .footer-bottom { font-size: 11px; flex-direction: column; gap: 6px; text-align: center; }
  .footer__brand { margin-bottom: 4px; }
  .footer__desc { max-width: none; }

  /* Contact form grid: always single col on mobile */
  .contact-form .form-grid { grid-template-columns: 1fr !important; }
  .contact-form .full-width { grid-column: auto; }

  /* Packages scroll: horizontal swipe, no negative margin bleed */
  .packages-scroll {
    margin: 0;
    padding: 4px 0 10px;
    overflow-x: auto;
  }
  .packages-scroll .package-card { min-width: 80vw; }
}

/* Exam grid: 2 cols at 480px+ (not 4 — too cramped) */
@media (min-width: 480px) and (max-width: 1023px) {
  .exam-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   OVERFLOW PREVENTION
   overflow-x: clip stops the horizontal scroll without creating
   a scroll container. overflow-x: hidden DOES create one (BFC),
   which breaks position:sticky AND clips content unexpectedly.
   Apply only at html/body so fixed/sticky elements are safe.
   ============================================================ */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* page wrappers: let html/body handle overflow, not these */
.page-body { width: 100%; }
#page { width: 100%; max-width: 100%; box-sizing: border-box; }

/* Packages section has deliberate horizontal card-scroll inside —
   clip here keeps scroll from spilling into surrounding page */
.packages-section { overflow-x: hidden; }

/* Team section: hard clip so any wide doctor card/image/title
   cannot push the page wider than the viewport */
.team-section { overflow-x: hidden; }

/* Utility bar address — hidden on mobile */
.utility-bar .util-address { display: none; }
@media (min-width: 768px) { .utility-bar .util-address { display: inline; } }

/* ============================================================
   RESPONSIVE BREAKPOINTS — proper multi-step transformation
   ============================================================

   Current state: grids only change at 1024px, so
   nothing transforms below that. Add midpoints so the
   layout visibly adapts as the window narrows.
*/

/* ── 3 breakpoints for services ── */
/* mobile default (already set): repeat(2,1fr) */
/* single column on very small phones */
@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
}
/* 3-col starts at 900px, not 1024px */
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap-desktop); }
}

/* ── Doctors grid ── */
/* 2 col default, 3 col at tablet, 4 at desktop */
@media (min-width: 640px) and (max-width: 1023px) {
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Exam packages grid ── */
/* 1 col → 2 col → 4 col — already set, just add 3-col at 768px */
@media (min-width: 768px) and (max-width: 1023px) {
  .exam-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Hero grid: show art panel at 768px in single column ── */
/* already done (display:none mobile, display:grid at 768px) */
/* At 768–1023px the art panel stacks below the copy.
   At 1024px+ it moves to a side column. */

/* ── Stats bar: shrink numbers further on very small phones ── */
@media (max-width: 360px) {
  .stats-bar__figure { font-size: 1.125rem; }
  .stats-bar__label { font-size: 10px; }
}

/* ── Packages scroll: correct card width per viewport ── */
@media (min-width: 600px) and (max-width: 1023px) {
  .packages-scroll .package-card { min-width: 48%; }
}

/* ── Footer: 2-col layout starts earlier ── */
@media (min-width: 480px) and (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   KAINORAŠTIS PAGE
   ============================================================ */

/* Hero */
.price-hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 28px;
}
.price-hero h1 { margin: 6px 0 10px; }
.price-hero p  { font-size: 15px; color: var(--fg-muted); margin: 0; max-width: 56ch; }

/* Sticky section nav */
.price-section-nav {
  position: sticky;
  top: 68px;          /* below site-header */
  z-index: 40;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.price-section-nav__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 4px;
}
.price-section-nav__inner::-webkit-scrollbar { display: none; }
.price-section-nav__link {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms, border-color 150ms;
  border-top: none;
}
.price-section-nav__link:hover,
.price-section-nav__link.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Page wrapper */
.price-page { padding: 40px 0 64px; }
@media (min-width: 1024px) { .price-page { padding: 56px 0 80px; } }

/* Section */
.price-section { margin-bottom: 48px; }
@media (min-width: 1024px) { .price-section { margin-bottom: 64px; } }

.price-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-strong);
}
.price-section__icon {
  width: 40px; height: 40px;
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.price-section__title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 800;
  margin: 0;
  color: var(--fg-strong);
}

/* Collapsible subsection */
.price-subsection {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bg-elev);
}
.price-subsection__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-strong);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: var(--bg-deep);
  transition: background 120ms;
}
.price-subsection__title::-webkit-details-marker { display: none; }
.price-subsection__title:hover { background: var(--brand-soft); }
.price-subsection__count {
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: auto; /* push the count to the right, next to the chevron */
}
.price-subsection__chevron {
  margin-left: auto; /* no count → chevron alone goes right */
  flex-shrink: 0;
  transition: transform 200ms;
  color: var(--fg-muted);
}
/* When a count pill is present it takes the auto-margin (goes right); the
   chevron must NOT also be auto, or the two split the free space and the count
   floats to the middle. Reset the chevron so it hugs the count. */
.price-subsection__count + .price-subsection__chevron { margin-left: 0; }
details[open] .price-subsection__chevron { transform: rotate(180deg); }
.price-subsection__body { padding: 0; }

/* Price table wrapper */
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Price table — desktop */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.price-table thead th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
  background: var(--bg-elev);
}
.price-table__col-price { text-align: right; }
.price-table__col-dur   { white-space: nowrap; }
.price-table__col-reg   { color: var(--brand-hover); }

.price-row td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--fg);
}
.price-row:last-child td { border-bottom: none; }
.price-row:hover td { background: var(--bg-deep); }

.price-row__name  { width: 100%; line-height: 1.45; }
.price-row__dur   { white-space: nowrap; color: var(--fg-muted); font-size: 13px; }
.price-row__price { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.price-row__price strong { color: var(--brand-hover); font-size: 15px; }
.price-row__price--reg strong { color: var(--brand); }

.price-row__note {
  display: block;
  font-size: 11.5px;
  color: var(--fg-muted);
  margin-top: 2px;
  font-style: italic;
}
.price-free {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-hover);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.price-row__rx {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-faint);
  border: 1px dashed var(--border-strong);
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  white-space: nowrap;
}
/* Legal / privacy prose */
.legal-prose { max-width: 820px; margin: 0 auto; color: var(--fg); }
.legal-prose h2 { font-size: 20px; margin: 32px 0 10px; color: var(--fg-strong); }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 14px; line-height: 1.65; }
.legal-prose ul { margin: 0 0 16px; padding-left: 22px; }
.legal-prose li { margin-bottom: 7px; line-height: 1.6; }
.legal-prose a { color: var(--brand); text-decoration: underline; }
.legal-prose a:hover { color: var(--brand-hover); }
.price-row__shop-btn {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
  transition: background 120ms, color 120ms;
  text-decoration: none;
}
.price-row__shop-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  text-decoration: none;
}
.price-row__book {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--brand);
  cursor: pointer;
  transition: color 120ms;
}
.price-row__book::after { content: '→'; }
/* Keep it a text link — defeat any inherited theme <button> hover fill that
   would otherwise paint a green background over the green text. */
.price-row__book,
.price-row__book:hover,
.price-row__book:focus,
.price-row__book:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.price-row__book:hover { color: var(--brand-hover); text-decoration: underline; }

/* Mobile: stack columns into clear labeled rows */
@media (max-width: 767px) {
  .price-table thead { display: none; }
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; }
  .price-row { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .price-row td { padding: 0; border: none; }
  .price-row__name { font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
  .price-row__dur,
  .price-row__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 3px 0; text-align: right; white-space: normal; }
  .price-row__dur::before,
  .price-row__price::before { content: attr(data-label); margin-right: auto; padding-right: 16px; color: var(--fg-muted); font-weight: 500; font-size: 12.5px; text-align: left; white-space: nowrap; }
  .price-row__dur::after { content: none; }
  .price-row__price strong { font-size: 14px; }
  .price-row__price--reg strong,
  .price-row__price--reg .price-free { color: var(--brand); }
  .price-row:hover td { background: none; }
}

/* Package cards grid */
.rprog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .rprog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .rprog-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.rprog-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 200ms, transform 200ms;
}
.rprog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.rprog-card--featured {
  border: 1.5px solid var(--brand);
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg-elev) 40%);
}

.rprog-card__badge {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  background: var(--brand-soft);
  color: var(--brand-hover);
}
.rprog-card__badge--featured {
  background: var(--brand);
  color: #fff;
}

.rprog-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0;
  line-height: 1.3;
}

.rprog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--fg-muted);
}
.rprog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rprog-card__price-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.rprog-card__price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-hover);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rprog-card__features {
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rprog-card__features li {
  font-size: 12.5px;
  color: var(--fg);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.rprog-card__features li:last-child { border-bottom: none; }
.rprog-card__features li::before {
  content: '';
  display: block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 8l3.5 3.5L13 5%22 stroke=%22white%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.rprog-card__discount {
  font-size: 12px;
  color: var(--brand-hover);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  max-width: none;
}
.rprog-card__extension {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0;
  max-width: none;
}
.rprog-card__extension strong { color: var(--fg-strong); }

.rprog-card { min-width: 0; }
.rprog-card__cta { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin-top: auto; min-height: 42px; font-size: 13.5px; padding: 0 14px; white-space: normal; }

/* Section nav active-state JS hook */
.price-section-nav__link.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ============================================================
   ARTICLE / SINGLE POST
   ============================================================ */
.article { padding-bottom: 64px; }

/* ── Hero ── */
.article-hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 24px 0 28px;
}
@media (min-width: 768px) { .article-hero { padding: 32px 0 36px; } }

.article-hero .breadcrumb { margin-bottom: 14px; }
.article-hero__chip { display: inline-block; margin-bottom: 10px; }
.article-hero__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 20ch;
}
.article-hero__intro {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0 0 18px;
}

/* ── Meta row ── */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--fg-muted);
}
.article-meta__reviewer,
.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta__reviewer svg { color: var(--brand); flex-shrink: 0; }
.article-meta__reviewer strong { color: var(--fg-strong); font-weight: 700; }

/* ── Featured image / placeholder ── */
.article-figure { margin: 24px 0 8px; }
.article-figure__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}
.article-figure__placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.7);
  background:
    radial-gradient(130% 100% at 80% 0%, var(--green-100) 0%, transparent 55%),
    linear-gradient(155deg, var(--green-400), var(--green-700));
}

/* ── Layout: TOC sidebar + content ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}
@media (min-width: 1024px) {
  /* Two-column only when a TOC is present */
  .article-layout--toc {
    grid-template-columns: 240px minmax(0, 760px);
    gap: 48px;
    align-items: start;
    justify-content: center;
  }
  /* No TOC → single centered reading column (don't cram into 240px) */
  .article-layout--full {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── TOC ── */
.article-toc { min-width: 0; }
@media (min-width: 1024px) {
  .article-toc {
    position: sticky;
    top: 88px;
  }
}
.article-toc__wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  overflow: hidden;
}
.article-toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  background: var(--bg-deep);
}
.article-toc__title::-webkit-details-marker { display: none; }
.article-toc__chevron { transition: transform 200ms; }
details[open] .article-toc__chevron { transform: rotate(180deg); }
@media (min-width: 1024px) {
  .article-toc__title { cursor: default; }
  .article-toc__chevron { display: none; }
}
.article-toc__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  counter-reset: toc;
}
.article-toc__list li { margin: 0; }
.article-toc__list a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 120ms, color 120ms;
}
.article-toc__list a:hover,
.article-toc__list a.is-active {
  background: var(--brand-soft);
  color: var(--brand-hover);
}

/* ── Content column ── */
.article-content { min-width: 0; }

/* ── Key takeaways ── */
.article-takeaways {
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 32px;
}
.article-takeaways__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-hover);
  margin: 0 0 10px;
}
.article-takeaways__title svg { color: var(--brand); }
.article-takeaways ul { margin: 0; padding-left: 20px; }
.article-takeaways li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 6px;
}
.article-takeaways li:last-child { margin-bottom: 0; }

/* ── Section ── */
.article-section { margin-bottom: 28px; scroll-margin-top: 88px; }
.article-section__heading {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  margin: 0 0 14px;
  padding-top: 4px;
}

/* ── Prose typography (rendered section bodies) ── */
.article-prose { font-size: 16px; line-height: 1.7; color: var(--fg); }
.article-prose > *:first-child { margin-top: 0; }
.article-prose p { margin: 0 0 16px; max-width: none; }
.article-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--fg-strong);
}
.article-prose h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--fg-strong);
}
.article-prose ul,
.article-prose ol { margin: 0 0 16px; padding-left: 24px; }
.article-prose li { margin-bottom: 7px; line-height: 1.6; }
.article-prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  border-bottom: none;
}
.article-prose a:hover { color: var(--brand-hover); }
.article-prose strong { font-weight: 700; color: var(--fg-strong); }
.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}
.article-prose blockquote {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 18px;
  margin: 18px 0;
  color: var(--fg-muted);
  font-style: italic;
}
.article-prose sup { font-size: 0.7em; color: var(--brand); }
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.article-prose th,
.article-prose td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.article-prose th { background: var(--bg-deep); font-weight: 700; font-family: var(--font-display); }

/* Legacy fallback — un-migrated content gets some breathing room */
.article-prose--legacy { font-size: 16px; }
.article-prose--legacy h2 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 800;
  margin: 32px 0 14px;
  color: var(--fg-strong);
}

/* ── Inline CTA block ── */
.article-cta {
  display: flex;
  gap: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin: 28px 0;
}
.article-cta__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.article-cta__content { flex: 1; min-width: 0; }
.article-cta__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  display: block;
  margin-bottom: 4px;
}
.article-cta__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0 0 6px;
  line-height: 1.25;
}
.article-cta__text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0 0 12px;
  max-width: none;
}
.article-cta__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-hover);
  margin-bottom: 12px;
}
.article-cta__price .article-cta__dur {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-cta__actions .btn { min-height: 44px; font-size: 14px; }

/* CTA colour accents per type */
.article-cta--registruotis { border-left: 4px solid var(--brand); }
.article-cta--konsultacija { border-left: 4px solid var(--info-500); }
.article-cta--konsultacija .article-cta__icon { background: rgba(44,110,140,0.1); color: var(--info-500); }
.article-cta--konsultacija .article-cta__eyebrow { color: var(--info-500); }
.article-cta--paslauga { border-left: 4px solid var(--brand); }
.article-cta--tyrimas { border-left: 4px solid var(--accent); }
.article-cta--tyrimas .article-cta__icon { background: var(--accent-soft); color: var(--accent-hover); }
.article-cta--tyrimas .article-cta__eyebrow { color: var(--accent-hover); }

@media (max-width: 520px) {
  .article-cta { flex-direction: column; gap: 12px; padding: 16px; }
  .article-cta__actions .btn { width: 100%; }
}

/* ── FAQ ── */
.article-faq { margin: 40px 0 0; scroll-margin-top: 88px; }
.article-faq__title {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--fg-strong);
}

/* ── References ── */
.article-refs {
  margin: 32px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-refs__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-strong);
  cursor: pointer;
  list-style: none;
  background: var(--bg-deep);
}
.article-refs__title::-webkit-details-marker { display: none; }
.article-refs[open] .article-refs__title svg { transform: rotate(180deg); }
.article-refs__title svg { transition: transform 200ms; color: var(--fg-muted); }
.article-refs__body {
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-height: 360px;
  overflow-y: auto;
}
.article-refs__body p { margin: 0 0 8px; max-width: none; }

/* ── Related services ── */
.article-related { margin: 40px 0 0; }
.article-related__title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--fg-strong);
}
.article-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) {
  .article-related__grid { grid-template-columns: 1fr 1fr; }
}
.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
  border-bottom: 1px solid var(--border);
}
.related-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.related-card__name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-strong);
  line-height: 1.3;
}
.related-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-hover);
  white-space: nowrap;
}
.related-card__arrow { color: var(--brand); flex-shrink: 0; display: flex; }

/* ── Disclaimer ── */
.article-disclaimer {
  font-size: 12.5px;
  font-style: italic;
  color: var(--fg-faint);
  background: var(--bg-deep);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 32px 0 0;
  max-width: none;
}

/* ============================================================
   MEGA MENU — curated desktop primary nav
   ============================================================ */
.mega-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1024px) { .mega-nav { display: flex; } }

/* Static items let the mega panel span the full header width;
   dropdown-bearing items get their own positioning context. */
.mega-nav__item { position: static; }
.mega-nav__item:has(.mega-dropdown) { position: relative; }

.mega-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-strong);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  white-space: nowrap;
  transition: color 150ms, background 150ms;
}
.mega-nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.mega-nav__caret { opacity: 0.55; transition: transform 200ms; }
.mega-nav__item.has-panel:hover .mega-nav__caret { transform: rotate(180deg); }

/* Shared panel open/close */
.mega-panel,
.mega-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.16s;
  z-index: 60;
}
.mega-nav__item:hover .mega-panel,
.mega-nav__item:focus-within .mega-panel,
.mega-nav__item:hover .mega-dropdown,
.mega-nav__item:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Full-width mega panel (anchored to the sticky header) */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 90;
}
.mega-panel__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
/* "Programos" panel: 2 columns */
.mega-nav__item:nth-child(2) .mega-panel__inner {
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: start;
}
.mega-col { min-width: 0; }

/* Invisible hover bridge — keeps the panel open while the mouse crosses the
   gap between the nav link and the panel (otherwise it closes too early). */
.mega-panel::before,
.mega-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}
/* Small grace period on close so a quick diagonal move doesn't drop it */
.mega-panel,
.mega-dropdown { transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.22s; }
.mega-col__title {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin: 0 0 10px 10px;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 120ms, color 120ms;
}
.mega-col a:hover { background: var(--bg-deep); color: var(--brand); }

/* Nested sub-items (e.g. Reabilitacija → Suaugusiųjų / Vaikų / Dubens dugno) */
.mega-col__has-sub > a { font-weight: 600; }
.mega-col__sub { list-style: none; margin: 0 0 4px; padding: 0; border-left: 2px solid var(--border); margin-left: 12px; }
.mega-col__sub a { padding: 6px 10px; font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.mega-col__sub a:hover { color: var(--brand); }
/* Mobile drawer sub-items */
.drawer-acc__body a.drawer-acc__sub { padding-left: 22px; font-size: 13.5px; color: var(--fg-muted); position: relative; }
.drawer-acc__body a.drawer-acc__sub::before { content: "–"; position: absolute; left: 10px; color: var(--border-strong); }

/* Small dropdown (Apie mus) */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}
.mega-dropdown ul { list-style: none; margin: 0; padding: 0; }
.mega-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 120ms, color 120ms;
}
.mega-dropdown a:hover { background: var(--bg-deep); color: var(--brand); }

/* ============================================================
   MOBILE DRAWER NAV (curated, nested accordions)
   ============================================================ */
.drawer-nav { list-style: none; margin: 0; padding: 0; flex: 1; }
.drawer-nav > li { margin: 0; }
.drawer-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-strong);
  border-bottom: 1px solid var(--border);
  border-top: none;
  cursor: pointer;
  min-height: 44px;
}
.drawer-nav__top:hover { color: var(--brand); }
.drawer-acc summary { list-style: none; }
.drawer-acc summary::-webkit-details-marker { display: none; }
.drawer-acc__caret { color: var(--fg-muted); transition: transform 200ms; flex-shrink: 0; }
.drawer-acc[open] .drawer-acc__caret { transform: rotate(180deg); }
.drawer-acc__body {
  display: flex;
  flex-direction: column;
  padding: 2px 0 12px 12px;
}
.drawer-acc__group {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 12px 0 2px;
}
.drawer-acc__body a {
  display: block;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--fg);
  border-bottom: none;
}
.drawer-acc__body a:hover { color: var(--brand); }

/* ============================================================
   ŽINYNAS — knowledge-base index + symptom finder
   ============================================================ */
.zinynas-hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 30px;
}
.zinynas-hero h1 { margin: 6px 0 10px; }
.zinynas-hero p { font-size: 15px; color: var(--fg-muted); max-width: 60ch; margin: 0 0 20px; }

.zinynas-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: var(--fg-muted);
}
.zinynas-search:focus-within { border-color: var(--brand); }
.zinynas-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  height: 48px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg);
}

/* Symptom finder */
.zinynas-finder {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.zinynas-finder__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin: 0 0 14px;
}
.zinynas-finder__hint { font-family: var(--font-body, inherit); font-weight: 400; font-size: 0.7em; color: var(--fg-muted); letter-spacing: 0; }
.symptom-chips,
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.symptom-chip,
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.symptom-chip:hover,
.cat-chip:hover { border-color: var(--border-strong); color: var(--brand); }
.symptom-chip.is-active,
.cat-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.symptom-chip__count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: inherit;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}
.symptom-chip.is-active .symptom-chip__count { background: rgba(255,255,255,0.25); }

/* List section */
.zinynas-list { padding-top: 28px; }
.cat-chips { margin-bottom: 18px; }
.zinynas-count { font-size: 13px; color: var(--fg-muted); margin: 0 0 16px; }

.zinynas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .zinynas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .zinynas-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.zinynas-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
}
/* Article thumbnail — full-bleed at the top of the card */
.zinynas-card__media {
  margin: -18px -18px 12px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-deep));
}
.zinynas-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.zinynas-card:hover .zinynas-card__media img { transform: scale(1.04); }
.zinynas-card__media.is-empty {
  background-image: linear-gradient(135deg, var(--brand-soft), var(--bg-deep)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23249A48' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' opacity='.45'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, 40px 40px;
}
.zinynas-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.zinynas-card__cat {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.zinynas-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-strong);
  line-height: 1.3;
}
.zinynas-card:hover .zinynas-card__title { color: var(--brand); }
.zinynas-card__excerpt {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  flex: 1;
}
.zinynas-card__symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.zinynas-card__symptom {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-deep);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.zinynas-empty {
  text-align: center;
  color: var(--fg-muted);
  padding: 40px 0;
}

/* ── Žinynas search typeahead + chip collapse ──────────────── */
.zinynas-search { position: relative; }
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 70;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
}
.search-suggest__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-bottom: none;
}
.search-suggest__item:hover,
.search-suggest__item.is-active { background: var(--bg-deep); }
.search-suggest__cat {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
}
.search-suggest__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-strong);
  line-height: 1.3;
}
.search-suggest__more {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}

/* Collapsed symptom chips */
.symptom-chip--hidden { display: none; }
.symptom-chip--toggle {
  background: transparent;
  border-style: dashed;
  color: var(--brand);
}
.symptom-chip--toggle:hover { background: var(--brand-soft); }

/* ============================================================
   KOMANDA — team grid + specialist personal page
   ============================================================ */
.komanda-hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 30px;
}
.komanda-hero h1 { margin: 6px 0 10px; }
.komanda-hero p { font-size: 15px; color: var(--fg-muted); max-width: 56ch; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px)  { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.team-member {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
}
.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.team-member__photo {
  position: relative;
  aspect-ratio: 1 / 1.12;
  background: linear-gradient(160deg, var(--green-100), var(--stone-300));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-member__initials,
.specialist__initials {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-hover);
}
.team-member__initials { font-size: 2.2rem; }
.team-member__badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.team-member__info { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.team-member__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-strong);
  line-height: 1.25;
}
.team-member__role { font-size: 12.5px; color: var(--fg-muted); line-height: 1.35; flex: 1; }
.team-member__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 6px;
}
.team-member:hover .team-member__more { color: var(--brand-hover); }

/* ── Specialist personal page ── */
.specialist { padding: 24px 0 64px; }
.specialist .breadcrumb { margin-bottom: 20px; }

.specialist__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .specialist__head { grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
}
.specialist__photo {
  aspect-ratio: 1 / 1.1;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-100), var(--stone-300));
  display: grid;
  place-items: center;
}
.specialist__photo img { width: 100%; height: 100%; object-fit: cover; }
.specialist__initials { font-size: 4rem; }

.specialist__name { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 8px; }
.specialist__role { font-size: 17px; color: var(--brand-hover); font-weight: 600; font-family: var(--font-display); margin: 0 0 12px; }
.specialist__cred {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--fg-muted);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin: 0 0 20px;
}
.specialist__cred svg { color: var(--brand); }
.specialist__book { margin-top: 4px; }

.specialist__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .specialist__body { grid-template-columns: 1fr 360px; align-items: start; }
  .specialist__bio { grid-column: 1; }
  .specialist__services { grid-column: 1; }
  .specialist__cta { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; }
}

.specialist__services h2 { font-size: 1.5rem; margin: 0 0 16px; }
.specialist__service-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.specialist__service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.specialist__service:last-child { border-bottom: none; }
.specialist__service-name { font-size: 14px; color: var(--fg); line-height: 1.4; }
.specialist__service-meta { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.specialist__service-dur { font-size: 12.5px; color: var(--fg-muted); }
.specialist__service-price { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--brand-hover); }
.specialist__pricelink {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  border-bottom: none;
}

.specialist__cta {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.specialist__cta h3 { font-size: 18px; margin: 0 0 6px; }
.specialist__cta p { font-size: 13.5px; color: var(--fg-muted); margin: 0; max-width: none; }
.specialist__cta-actions { display: flex; flex-direction: column; gap: 10px; }
.specialist__cta-actions .btn { width: 100%; }

/* ── Specialist mano daktaras booking widget ── */
.specialist__booking {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 88px;
}
.specialist__booking h2 { font-size: 1.5rem; margin: 0 0 6px; }
.specialist__booking-note { font-size: 14px; color: var(--fg-muted); margin: 0 0 20px; max-width: 60ch; }
.specialist__widget {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-height: 180px;
}

/* ============================================================
   ŠEIMOS MEDICINA — service landing page
   ============================================================ */
.fm-hero {
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--bg-deep) 60%);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 44px;
}
.fm-hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 980px) { .fm-hero__grid { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.fm-hero .breadcrumb { margin-bottom: 14px; }
.fm-hero__content .eyebrow { display: block; margin-bottom: 10px; }
.fm-hero__content h1 { margin: 0 0 16px; max-width: 16ch; }
.fm-hero__content h1 em { font-style: italic; color: var(--brand); }
.fm-hero__lede { font-size: clamp(1rem, 2.2vw, 1.1875rem); line-height: 1.55; color: var(--fg-muted); max-width: 54ch; margin: 0 0 22px; }
.fm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.fm-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fm-hero__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--fg-muted); }
.fm-hero__trust svg { color: var(--brand); flex-shrink: 0; }

/* Photo + green-overlay variant of the family-medicine hero (light text,
   white signup card floats on top). */
.fm-hero--photo { position: relative; overflow: hidden; background: var(--green-800); border-bottom: none; }
.fm-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Hero slideshow crossfade (multiple .fm-hero__bg stacked) */
.fm-hero--photo .fm-hero__bg { opacity: 0; transition: opacity 1.4s ease-in-out; }
.fm-hero--photo .fm-hero__bg.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fm-hero--photo .fm-hero__bg { transition: none; } }
.fm-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(165deg, rgba(14,67,34,.92) 0%, rgba(21,97,50,.82) 55%, rgba(14,67,34,.9) 100%); }
.fm-hero--photo > .container { position: relative; z-index: 2; }
.fm-hero--photo .breadcrumb,
.fm-hero--photo .breadcrumb a,
.fm-hero--photo .breadcrumb__sep { color: rgba(255,255,255,.85); }
.fm-hero--photo .fm-hero__content .eyebrow { color: var(--accent); }
.fm-hero--photo .fm-hero__content h1 { color: #fff; }
.fm-hero--photo .fm-hero__content h1 em { color: var(--accent); }
.fm-hero--photo .fm-hero__lede { color: rgba(255,255,255,.9); }
.fm-hero--photo .fm-hero__trust li { color: rgba(255,255,255,.85); }
.fm-hero--photo .fm-hero__trust svg { color: #fff; }
.fm-hero--photo .fm-hero__cta .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.fm-hero--photo .fm-hero__cta .btn-outline:hover { background: rgba(255,255,255,.14); }

.fm-hero__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fm-hero__card h3 { font-size: 19px; margin: 0; }
.fm-hero__card p { font-size: 14px; color: var(--fg-muted); margin: 0 0 4px; }
.fm-hero__card .btn { width: 100%; }
.fm-hero__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--brand); border-bottom: none; padding-top: 4px; }

/* What's included */
.fm-included { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .fm-included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fm-included { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.fm-included__col { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 20px; }
.fm-included__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fm-included__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.fm-included__head h3 { font-size: 16px; margin: 0; }

.fm-list { list-style: none; margin: 0; padding: 0; }
.fm-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.fm-list li:last-child { border-bottom: none; }
.fm-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 14px;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 8l3.5 3.5L13 5%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.fm-list--2col { columns: 1; }
@media (min-width: 600px) { .fm-list--2col { columns: 2; column-gap: 28px; } }

/* PSDF compensated */
.fm-compensated {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: linear-gradient(150deg, var(--green-700), var(--green-800));
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #fff;
}
@media (min-width: 900px) { .fm-compensated { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 44px; } }
.fm-compensated .eyebrow { color: rgba(255,255,255,0.7); display: block; margin-bottom: 8px; }
.fm-compensated h2 { color: #fff; margin: 0 0 12px; }
.fm-compensated__intro p { color: rgba(255,255,255,0.88); margin: 0 0 22px; max-width: 42ch; }
.fm-compensated__list { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 22px 24px; }
.fm-compensated__list h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.fm-compensated .fm-list li { color: rgba(255,255,255,0.92); border-bottom-color: rgba(255,255,255,0.12); }
.fm-compensated .fm-list li::before { background-color: #fff; }
.fm-compensated .fm-list li::before { background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 16 16%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M3 8l3.5 3.5L13 5%22 stroke=%22%23156132%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 fill=%22none%22/%3E%3C/svg%3E"); }

/* Prevention programs */
.fm-program { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.fm-program h3 { font-size: 17px; margin: 0 0 12px; color: var(--fg-strong); }

/* Pricing */
.fm-price-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fm-price-link { text-align: center; margin-top: 18px; }
.fm-price-link a { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand); border-bottom: none; }

/* Registration steps */
.fm-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .fm-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fm-step { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.fm-step__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.fm-step h3 { font-size: 17px; margin: 0 0 8px; }
.fm-step p { font-size: 14px; color: var(--fg-muted); margin: 0 0 10px; }
.fm-step__link { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--brand); border-bottom: none; }
.fm-newborn { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--tan-200); border-radius: var(--radius-md); padding: 16px 18px; margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--fg); }
.fm-newborn svg { color: var(--accent-hover); flex-shrink: 0; margin-top: 2px; }

/* Family doctors */
.fm-doctors { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
@media (min-width: 600px) { .fm-doctors { grid-template-columns: repeat(2, 1fr); } }
.fm-doctor { display: flex; align-items: center; gap: 16px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; text-decoration: none; border-bottom: 1px solid var(--border); transition: box-shadow 200ms, transform 200ms; }
.fm-doctor:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.fm-doctor__photo { width: 80px; height: 90px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(160deg, var(--green-100), var(--stone-300)); display: grid; place-items: center; }
.fm-doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.fm-doctor__initials { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--brand-hover); }
.fm-doctor__info { display: flex; flex-direction: column; gap: 3px; }
.fm-doctor__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-strong); }
.fm-doctor__role { font-size: 13px; color: var(--fg-muted); }
.fm-doctor__more { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--brand); margin-top: 4px; }

/* FAQ + final CTA */
.fm-faq { max-width: 800px; margin: 0 auto; }
.fm-faq .faq-item summary svg { transition: transform 200ms; }
.fm-faq .faq-item[open] summary svg { transform: rotate(180deg); }
.fm-final-cta { background: linear-gradient(135deg, var(--green-700), var(--green-800)); border-radius: var(--radius-xl); padding: 48px 28px; text-align: center; }
.fm-final-cta h2 { color: #fff; margin: 0 0 12px; }
.fm-final-cta p { color: rgba(255,255,255,0.85); margin: 0 auto 24px; max-width: 50ch; }
.fm-final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-outline--light { color: #fff !important; border-color: rgba(255,255,255,0.5); }
.btn-outline--light:hover { background: #fff; color: var(--brand-hover) !important; border-color: #fff; }

/* ============================================================
   LABORATORINIAI TYRIMAI — WooCommerce catalog
   ============================================================ */
.lab-hero { background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 30px 0 26px; }
.lab-hero .breadcrumb { margin-bottom: 12px; }
.lab-hero h1 { margin: 6px 0 10px; }
.lab-hero p { font-size: 15px; color: var(--fg-muted); max-width: 56ch; margin: 0; }

/* Sticky toolbar */
.lab-toolbar {
  position: sticky; top: 68px; z-index: 40;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.lab-toolbar__inner { display: flex; align-items: center; gap: 14px; padding: 12px 20px; flex-wrap: wrap; }
@media (min-width: 768px) { .lab-toolbar__inner { padding: 12px 40px; flex-wrap: nowrap; } }

/* Toggle */
.lab-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; user-select: none; }
.lab-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.lab-toggle__track { width: 44px; height: 26px; border-radius: 999px; background: var(--stone-300); position: relative; transition: background 160ms; flex-shrink: 0; }
.lab-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 160ms; }
.lab-toggle input:checked + .lab-toggle__track { background: var(--brand); }
.lab-toggle input:checked + .lab-toggle__track .lab-toggle__thumb { transform: translateX(18px); }
.lab-toggle input:focus-visible + .lab-toggle__track { outline: 2px solid var(--brand); outline-offset: 2px; }
.lab-toggle__label { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--fg-strong); }

/* Search */
.lab-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; background: var(--bg-deep); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 0 12px; color: var(--fg-muted); }
.lab-search:focus-within { border-color: var(--brand); }
.lab-search input { flex: 1; min-width: 0; border: none; background: none; outline: none; height: 42px; font-family: var(--font-sans); font-size: 14.5px; color: var(--fg); }

/* Catalog */
.lab-catalog { padding-top: 24px; }
.lab-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--fg-muted); background: var(--bg-deep); border-radius: var(--radius-pill); padding: 7px 14px; margin: 0 0 18px; }
.lab-note svg { color: var(--brand); }

.lab-cat { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; background: var(--bg-elev); }
.lab-cat__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; cursor: pointer; list-style: none; background: var(--bg-deep); font-family: var(--font-display); }
.lab-cat__head::-webkit-details-marker { display: none; }
.lab-cat__name { font-size: 15.5px; font-weight: 700; color: var(--fg-strong); }
.lab-cat__count { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: var(--radius-pill); }
.lab-cat__chev { margin-left: auto; color: var(--fg-muted); transition: transform 200ms; }
.lab-cat[open] .lab-cat__chev { transform: rotate(180deg); }

.lab-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); }
.lab-row__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lab-row__name { font-size: 14px; line-height: 1.4; color: var(--fg); }
.lab-row__prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lab-row__price { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--brand-hover); white-space: nowrap; }
.lab-row__price-alt { font-size: 11.5px; color: var(--fg-faint); white-space: nowrap; }

.lab-add {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: var(--brand); color: #fff !important;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  border-radius: var(--radius-md); padding: 9px 14px; border: none; cursor: pointer;
  text-decoration: none; border-bottom: none; transition: background 150ms;
  min-height: 40px;
}
.lab-add:hover { background: var(--brand-hover); color: #fff !important; }
.lab-add.loading { opacity: .6; pointer-events: none; }
.lab-add.added::after { content: '✓'; }
@media (max-width: 520px) {
  .lab-add span { display: none; }
  .lab-add { padding: 0; width: 42px; justify-content: center; }
}

.lab-empty { text-align: center; color: var(--fg-muted); padding: 40px 0; }

/* Floating basket */
.lab-basket__btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; border-bottom: none;
  border-radius: var(--radius-pill); padding: 12px 18px;
  box-shadow: var(--shadow-ai-launcher); font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transition: background 150ms, transform 150ms;
}
.lab-basket__btn:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); }
.lab-basket__count { background: #fff; color: var(--brand-hover); min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; padding: 0 6px; }
.lab-basket__total { font-size: 13px; }
.lab-basket__total .woocommerce-Price-amount { color: #fff; }

/* Lab catalog — mobile toolbar: search on its own full-width line */
@media (max-width: 600px) {
  .lab-search { flex-basis: 100%; }
  .lab-row__name { font-size: 13.5px; }
}

/* Lab catalog — hard overflow guards (long test names, narrow phones) */
.lab-catalog, .lab-toolbar, .lab-cat, .lab-cat__body, .lab-row { max-width: 100%; }
.lab-row { flex-wrap: nowrap; }
.lab-row__info { min-width: 0; flex: 1 1 auto; }
.lab-row__name { overflow-wrap: anywhere; word-break: break-word; }
.lab-toolbar__inner { max-width: 100%; box-sizing: border-box; }
.lab-search { min-width: 0; }

/* Lock the header logo size everywhere — WooCommerce/Kadence CSS otherwise
   forces the image width to 100% on cart/checkout, blowing it up. */
#site-header .site-header__logo img {
  height: 26px !important;
  width: auto !important;
  max-width: 180px !important;
}
.drawer__head img { height: 24px !important; width: auto !important; }

/* ============================================================
   HOLTERIO MONITORAVIMAS — service page
   ============================================================ */
.holter-intro { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .holter-intro { grid-template-columns: 1.4fr 1fr; gap: 44px; } }
.holter-intro__text .eyebrow { display: block; margin-bottom: 8px; }
.holter-intro__text h2 { margin: 0 0 14px; }
.holter-intro__text p { color: var(--fg-muted); line-height: 1.65; margin: 0 0 14px; }
.holter-intro__box { background: var(--brand-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.holter-intro__box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hover); margin: 0 0 12px; }

/* Duration cards */
.holter-durations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .holter-durations { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.holter-card { position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px 18px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.holter-card--featured { border: 1.5px solid var(--brand); background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg-elev) 45%); }
.holter-card__tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.holter-card__dur { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--fg-strong); }
.holter-card__price { display: flex; flex-direction: column; gap: 2px; flex: 1; justify-content: center; }
.holter-card__price-main { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--brand-hover); line-height: 1; letter-spacing: -0.02em; }
.holter-card__price-reg { font-size: 12px; color: var(--fg-muted); }
.holter-card .btn { width: 100%; min-height: 42px; font-size: 14px; }
.holter-patch { display: flex; align-items: flex-start; gap: 12px; background: var(--accent-soft); border: 1px solid var(--tan-200); border-radius: var(--radius-md); padding: 16px 18px; margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--fg); max-width: none; }
.holter-patch svg { color: var(--accent-hover); flex-shrink: 0; margin-top: 2px; }

/* Tech + rules columns */
.holter-cols { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 900px) { .holter-cols { grid-template-columns: 1fr 1fr; gap: 44px; } }
.holter-tech .eyebrow { display: block; margin-bottom: 8px; }
.holter-tech h2 { margin: 0 0 16px; }
.holter-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.holter-rules__col { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.holter-rules__col h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.holter-rules__col--yes h4 { color: var(--brand); }
.holter-rules__col--no h4 { color: var(--danger-500); }
.holter-rules__col ul { list-style: none; margin: 0; padding: 0; }
.holter-rules__col li { font-size: 13.5px; color: var(--fg); padding: 6px 0; border-bottom: 1px solid var(--border); line-height: 1.4; }
.holter-rules__col li:last-child { border-bottom: none; }

/* Widget */
.holter-widget { max-width: 860px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px; min-height: 180px; }

/* Holter — purchasable duration cards */
.holter-toolbar { display: flex; justify-content: center; margin-bottom: 22px; }
.holter-card__patch {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.35; color: var(--fg);
  text-align: left; cursor: pointer; padding: 4px 0;
}
.holter-card__patch input { margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); width: 16px; height: 16px; }
.holter-add { width: 100%; min-height: 44px; font-size: 14px; cursor: pointer; }
.holter-add.is-loading { opacity: .6; pointer-events: none; }
.holter-add.is-added { background: var(--brand-hover) !important; color: #fff !important; }
.holter-card__incl { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--brand-hover); font-weight: 600; }
.holter-card__incl svg { color: var(--brand); }
.holter-note-buy { text-align: center; font-size: 13px; color: var(--fg-muted); margin-top: 18px; }

/* Šeimos medicina — online consultation booking widgets */
.fm-consult { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .fm-consult { grid-template-columns: 1fr 1fr; gap: 24px; } }
.fm-consult__col { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.fm-consult__head { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.fm-consult__head h3 { font-size: 18px; margin: 0 0 3px; }
.fm-consult__role { font-size: 13px; color: var(--brand-hover); font-weight: 600; font-family: var(--font-display); }
.fm-consult__widget { min-height: 150px; }
.fm-consult__note { text-align: center; font-size: 13px; color: var(--fg-muted); margin: 18px auto 0; max-width: 60ch; }

/* Šeimos medicina — consultation eshop cards + doctor selector */
.fm-shop { max-width: 880px; margin: 0 auto; }
.fm-shop__doctor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-bottom: 24px; }
.fm-shop__doctor-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-strong); margin-right: 4px; }
.fm-doctor-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--bg-elev); cursor: pointer; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s, box-shadow .15s; }
.fm-doctor-opt:hover { border-color: var(--brand); }
.fm-doctor-opt input { accent-color: var(--brand); margin: 0; }
.fm-doctor-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-sm); }
.fm-shop__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .fm-shop__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.fm-shop__card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; transition: transform .2s, box-shadow .2s; }
.fm-shop__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fm-shop__title { font-size: 17px; margin: 0 0 6px; }
.fm-shop__desc { font-size: 13.5px; color: var(--fg-muted); margin: 0; line-height: 1.5; }
.fm-shop__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.fm-shop__price { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--brand-hover); letter-spacing: -.02em; }
.fm-consult-add { white-space: nowrap; }
.fm-consult-add.is-added { background: var(--brand-hover); }
.fm-shop__note { text-align: center; font-size: 13px; color: var(--fg-muted); margin: 22px auto 0; max-width: 60ch; }

/* Direct time booking — both doctors (embedded mano daktaras widget) */
.fm-consult-direct { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.fm-consult-direct__title { text-align: center; font-size: 18px; margin: 0 0 24px; color: var(--fg-strong); }
.fm-consult__head h4 { font-size: 18px; margin: 0 0 3px; }
/* stack the two widgets full-width — side-by-side collapses the widget layout */
.fm-consult--stacked { grid-template-columns: 1fr; gap: 28px; max-width: 720px; margin: 0 auto; }
.fm-consult__widget { min-height: 120px; }
/* iframe-isolated mano daktaras widget (shields it from theme CSS) */
.fm-consult__frame { width: 100%; border: 0; min-height: 180px; display: block; overflow: hidden; transition: height .2s ease; }

/* Šeimos medicina — preventive programs (linked cards) */
.fm-prevention { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .fm-prevention { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px) { .fm-prevention { grid-template-columns: repeat(3, 1fr); } }
.fm-prevention__card { display: flex; flex-direction: column; gap: 7px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fm-prevention__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.fm-prevention__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); margin-bottom: 4px; }
.fm-prevention__who { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-hover); }
.fm-prevention__title { font-size: 16.5px; line-height: 1.25; margin: 0; color: var(--fg-strong); }
.fm-prevention__desc { font-size: 13.5px; color: var(--fg-muted); margin: 0; line-height: 1.5; flex: 1; }
.fm-prevention__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-hover); }
.fm-prevention__cta svg { transition: transform .15s; }
.fm-prevention__card:hover .fm-prevention__cta svg { transform: translateX(3px); }

/* ── Prevencinė programa — landing template ─────────────────── */
.prog-hero { background: linear-gradient(160deg, var(--brand-hover) 0%, var(--green-800) 100%); color: #fff; padding: 28px 0 56px; }
.prog-hero .container { max-width: 1200px; }
.breadcrumb--light { color: rgba(255,255,255,.7); }
.breadcrumb--light a { color: rgba(255,255,255,.85); }
.breadcrumb--light a:hover { color: #fff; }
.breadcrumb--light .breadcrumb__sep { color: rgba(255,255,255,.45); }
.prog-hero__inner { max-width: 760px; margin-top: 22px; }
.prog-hero__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-lg); background: rgba(255,255,255,.14); color: #fff; margin-bottom: 18px; }
.prog-hero__eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.prog-hero h1 { color: #fff; font-size: clamp(28px, 4.5vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.prog-hero__lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0 0 26px; max-width: 60ch; }
.prog-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }

.prog-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .prog-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 48px; align-items: start; } }

/* prose */
.prevention-prose { max-width: 720px; }
.prevention-prose h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.18; letter-spacing: -.01em; color: var(--fg-strong); margin: 38px 0 14px; }
.prevention-prose h2:first-child, .prevention-prose > :first-child { margin-top: 0; }
.prevention-prose h3 { font-size: 18px; color: var(--fg-strong); margin: 26px 0 10px; }
.prevention-prose p { font-size: 16px; line-height: 1.7; color: var(--fg); margin: 0 0 16px; }
.prevention-prose ul, .prevention-prose ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prevention-prose ul li { position: relative; padding-left: 28px; margin-bottom: 9px; line-height: 1.6; color: var(--fg); }
.prevention-prose ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prevention-prose ol { counter-reset: pl; padding-left: 0; }
.prevention-prose ol li { counter-increment: pl; position: relative; padding-left: 34px; margin-bottom: 9px; line-height: 1.6; }
.prevention-prose ol li::before { content: counter(pl); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-hover); font-family: var(--font-display); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.prevention-prose a { color: var(--brand-hover); text-decoration: underline; }
.prevention-prose strong { color: var(--fg-strong); }

/* sticky facts sidebar */
.prog-aside { position: relative; }
@media (min-width: 900px) { .prog-facts { position: sticky; top: 96px; } }
.prog-facts { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.prog-facts__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-muted); margin: 0 0 14px; }
.prog-facts__list { margin: 0 0 18px; }
.prog-facts__list > div { padding: 12px 0; border-top: 1px solid var(--border); }
.prog-facts__list > div:first-child { border-top: 0; padding-top: 0; }
.prog-facts__list dt { font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); margin-bottom: 4px; }
.prog-facts__list dd { margin: 0; font-size: 14.5px; color: var(--fg-strong); line-height: 1.45; }
.prog-facts__btn { width: 100%; justify-content: center; }
.prog-facts__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--brand-hover); text-decoration: none; }

/* registration cta */
.prog-register { max-width: 720px; margin: 0 auto; text-align: center; }
.prog-register h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.prog-register p { font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 22px; }
.prog-register__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.prog-register__note { font-size: 13.5px; color: var(--fg-faint); margin: 20px 0 0; }
.prog-disclaimer { text-align: center; font-size: 13px; color: var(--fg-faint); margin: 32px auto 0; max-width: 70ch; }

/* ── Skiepai — vaccine category cards ───────────────────────── */
.vax-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .vax-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 920px) { .vax-grid { grid-template-columns: repeat(3, 1fr); } }
.vax-card { display: flex; flex-direction: column; gap: 7px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vax-card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.vax-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); margin-bottom: 4px; }
.vax-card__title { font-size: 16.5px; line-height: 1.25; margin: 0; color: var(--fg-strong); }
.vax-card__desc { font-size: 13.5px; color: var(--fg-muted); margin: 0; line-height: 1.5; flex: 1; }
.vax-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-hover); }
.vax-card__cta svg { transition: transform .15s; }
.vax-card--link:hover .vax-card__cta svg { transform: translateX(3px); }
.vax-note { text-align: center; font-size: 13.5px; color: var(--fg-muted); margin: 24px auto 0; max-width: 70ch; }
.prog-layout--single { grid-template-columns: 1fr; }
.prog-layout--single .prevention-prose { max-width: 760px; margin: 0 auto; }

/* ── Neurologija — service landing ──────────────────────────── */
.neuro-two { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 940px; margin: 0 auto; }
@media (min-width: 760px) { .neuro-two { grid-template-columns: 1fr 1fr; gap: 24px; } }
.neuro-box { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.neuro-box h2 { font-size: 19px; margin: 0 0 16px; color: var(--fg-strong); }
.neuro-steps { counter-reset: ns; list-style: none; margin: 0; padding: 0; }
.neuro-steps li { counter-increment: ns; position: relative; padding-left: 40px; margin-bottom: 14px; line-height: 1.5; color: var(--fg); }
.neuro-steps li:last-child { margin-bottom: 0; }
.neuro-steps li::before { content: counter(ns); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* featured doctor */
.neuro-doc { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 980px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
@media (min-width: 760px) { .neuro-doc { grid-template-columns: 300px 1fr; gap: 0; align-items: stretch; } }
.neuro-doc__media { background: var(--brand-soft); }
.neuro-doc__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: top center; display: block; }
.neuro-doc__body { padding: 28px 30px; }
.neuro-doc__name { font-size: 23px; margin: 0 0 2px; color: var(--fg-strong); }
.neuro-doc__role { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-hover); margin-bottom: 16px; }
.neuro-doc__body p { font-size: 15px; line-height: 1.65; color: var(--fg); margin: 0 0 14px; }
.neuro-doc__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* booking */
.neuro-booking { max-width: 720px; margin: 0 auto; }
.neuro-booking__phone { text-align: center; font-size: 14px; color: var(--fg-muted); margin: 18px 0 0; }
.neuro-booking__phone a { color: var(--brand-hover); font-weight: 600; }

.faq-list { max-width: 760px; margin: 0 auto; }
.price-table--single .price-row__name { font-weight: 500; }

/* ── Ištyrimų paketai — catalog hub ─────────────────────────── */
.pkg-why { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 600px) { .pkg-why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pkg-why { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pkg-why__item { text-align: center; padding: 8px; }
.pkg-why__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.pkg-why__item h3 { font-size: 16px; margin: 0 0 6px; color: var(--fg-strong); }
.pkg-why__item p { font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }

.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .pkg-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1000px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg-card { display: flex; flex-direction: column; gap: 14px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pkg-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.pkg-card__head { flex: 1; }
.pkg-card__title { font-size: 17px; line-height: 1.25; margin: 0 0 8px; color: var(--fg-strong); }
.pkg-card__hook { font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }
.pkg-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--bg-deep); color: var(--fg-muted); border: 1px solid var(--border); }
.pkg-badge--echo { background: var(--brand-soft); color: var(--brand-hover); border-color: transparent; }
.pkg-badge--review { background: var(--accent-soft); color: var(--accent-hover); border-color: transparent; }
.pkg-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.pkg-card__price { display: flex; flex-direction: column; line-height: 1.15; }
.pkg-card__price-main { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--brand-hover); letter-spacing: -.02em; }
.pkg-card__price-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); margin-top: 2px; }
.pkg-card__price-alt { font-size: 12px; color: var(--fg-faint); margin-top: 3px; }
.pkg-card__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-hover); white-space: nowrap; }
.pkg-card:hover .pkg-card__cta svg { transform: translateX(3px); }
.pkg-card__cta svg { transition: transform .15s; }
.pkg-note { text-align: center; font-size: 13.5px; color: var(--fg-muted); margin: 28px auto 0; max-width: 60ch; }

/* ── Paketas — product-as-page ──────────────────────────────── */
.prog-hero--pkg { padding-bottom: 44px; }
.pkg-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pkg-hbadge { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: var(--radius-pill); background: rgba(255,255,255,.15); color: #fff; }

.pkg-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 920px) { .pkg-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 44px; align-items: start; } }

.pkg-value { background: var(--brand-soft); border-radius: var(--radius-lg); padding: 24px 26px; margin-bottom: 28px; }
.pkg-value__title { font-size: 19px; margin: 0 0 14px; color: var(--green-800); }
.pkg-value__list { list-style: none; margin: 0; padding: 0; }
.pkg-value__list li { position: relative; padding-left: 30px; margin-bottom: 11px; line-height: 1.5; color: var(--fg); }
.pkg-value__list li:last-child { margin-bottom: 0; }
.pkg-value__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L19 7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

.pkg-desc { font-size: 15.5px; line-height: 1.7; color: var(--fg); }
.pkg-desc h2 { font-size: 22px; margin: 30px 0 12px; color: var(--fg-strong); }
.pkg-desc h3 { font-size: 18px; margin: 22px 0 10px; color: var(--fg-strong); }
.pkg-desc p { margin: 0 0 14px; }
.pkg-desc ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.pkg-desc ul li { position: relative; padding-left: 26px; margin-bottom: 8px; line-height: 1.55; }
.pkg-desc ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pkg-desc strong { color: var(--fg-strong); }
.pkg-desc img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.pkg-desc a { color: var(--brand-hover); }

/* purchase card */
@media (min-width: 920px) { .pkg-buy__card { position: sticky; top: 96px; } }
.pkg-buy__card { background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; }
.pkg-buy__price { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.pkg-buy__amount { display: block; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--brand-hover); letter-spacing: -.02em; }
.pkg-buy__plabel { display: block; font-size: 13px; color: var(--fg-muted); margin-top: 6px; }
.pkg-buy__alt { display: block; font-size: 13.5px; color: var(--fg-faint); margin-top: 8px; }
.pkg-buy__trust { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.pkg-buy__trust li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--fg); margin-bottom: 10px; }
.pkg-buy__trust li:last-child { margin-bottom: 0; }
.pkg-buy__trust svg { color: var(--brand); flex-shrink: 0; }
.pkg-buy__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--brand-hover); text-decoration: none; }

/* WooCommerce add-to-cart form inside the purchase card */
.pkg-buy__form table.variations { width: 100%; margin: 0 0 14px; }
.pkg-buy__form table.variations td, .pkg-buy__form table.variations th { display: block; width: 100%; text-align: left; padding: 0; }
.pkg-buy__form table.variations th { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-muted); margin-bottom: 6px; }
.pkg-buy__form select { width: 100%; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-deep); font-size: 14.5px; margin-bottom: 12px; }
.pkg-buy__form .reset_variations { font-size: 12.5px; color: var(--fg-faint); }
.pkg-buy__form .woocommerce-variation-price { margin-bottom: 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--brand-hover); }
.pkg-buy__form .quantity { display: none; }
.pkg-buy__form button.single_add_to_cart_button, .pkg-buy__form .single_add_to_cart_button { width: 100%; justify-content: center; background: var(--brand); color: #fff; border: 0; border-radius: var(--radius-md); padding: 14px 20px; font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s; }
.pkg-buy__form button.single_add_to_cart_button:hover { background: var(--brand-hover); }
.pkg-buy__form .single_add_to_cart_button.disabled { opacity: .5; }

/* ── Šeimos ištyrimų paketas — tier cards ───────────────────── */
.fampkg-tiers { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .fampkg-tiers { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; } }
.fampkg-tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px 24px; }
.fampkg-tier.is-featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.fampkg-tier__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.fampkg-tier__size { font-size: 17px; line-height: 1.25; margin: 6px 0 16px; color: var(--fg-strong); min-height: 2.5em; display: flex; align-items: center; }
.fampkg-tier__price { line-height: 1; }
.fampkg-tier__amount { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--brand-hover); letter-spacing: -.02em; }
.fampkg-tier__plabel { display: block; font-size: 12.5px; color: var(--fg-muted); margin-top: 6px; }
.fampkg-tier__alt { display: block; font-size: 13px; color: var(--fg-faint); margin: 10px 0 20px; }
.fampkg-tier__btn { width: 100%; justify-content: center; margin-top: auto; }

/* family-package reference banner on /seimos-medicina/ */
.fm-pkg-banner { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; background: linear-gradient(160deg, var(--brand-hover), var(--green-800)); border-radius: var(--radius-xl); padding: 32px; color: #fff; box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .fm-pkg-banner { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.fm-pkg-banner__title { font-size: clamp(22px, 3vw, 28px); margin: 0 0 10px; color: #fff; }
.fm-pkg-banner__text { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 6px; max-width: 60ch; }
.fm-pkg-banner__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fm-pkg-banner__chip { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.15); }
.fm-pkg-banner__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (min-width: 760px) { .fm-pkg-banner__cta { align-items: flex-end; } }
.fm-pkg-banner__price { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; }
.fm-pkg-banner__price small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }

/* ═══════════════════════════════════════════════════════════════
   Kineziterapija service pages (kt-*) — flagship + group/children/athletes
   ═══════════════════════════════════════════════════════════════ */

/* Hero method chips */
.kt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.kt-chip { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; padding: 6px 13px; border-radius: var(--radius-pill); background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.18); }

/* Reassure band */
.kt-reassure { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .kt-reassure { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.kt-reassure__card { background: var(--bg-elev); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.kt-reassure__title { font-size: 17px; margin: 0 0 8px; color: var(--fg-strong); }
.kt-reassure__card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* Buy buttons (price table + cards) */
.btn-buy { padding-top: 9px; padding-bottom: 9px; font-size: 13.5px; }
.price-table--buy .price-row__buy { text-align: right; white-space: nowrap; }
.price-table--buy .price-table__col-act { width: 1%; }
.price-row__buy .btn { display: inline-block; }
@media (max-width: 600px) {
  .price-table--buy, .price-table--buy tbody, .price-table--buy tr, .price-table--buy td { display: block; width: 100%; }
  .price-table--buy thead { display: none; }
  .price-table--buy .price-row { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .price-row__buy { text-align: left !important; margin-top: 10px; }
  .price-row__buy .btn { width: 100%; text-align: center; }
}

/* Package cards (group + athletes) */
.kt-pkg-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .kt-pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .kt-pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.kt-pkg { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.kt-pkg:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kt-pkg__title { font-size: 18px; margin: 0 0 8px; color: var(--fg-strong); }
.kt-pkg__desc { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0 0 18px; flex: 1; }
.kt-pkg__price { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--brand-hover); letter-spacing: -.02em; margin-bottom: 16px; }
.kt-pkg .btn { width: 100%; text-align: center; }

/* Buy box (children page) */
.kt-buybox { display: flex; flex-direction: column; }
.kt-buybox__price { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--brand-hover); letter-spacing: -.02em; }
.kt-buybox__dur { font-size: 13.5px; color: var(--fg-muted); margin: 2px 0 14px; }
.kt-buybox .btn-buy { align-self: flex-start; }

/* Linked related-service cards */
.vax-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .vax-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.vax-card--link { display: block; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.vax-card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vax-card__more { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--brand); }

/* Final CTA band */
.kt-cta { text-align: center; background: linear-gradient(160deg, var(--brand-hover), var(--green-800)); border-radius: var(--radius-xl); padding: 44px 28px; color: #fff; box-shadow: var(--shadow-md); }
.kt-cta h2 { color: #fff; margin: 0 0 12px; }
.kt-cta p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0 auto 24px; max-width: 56ch; }
.kt-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Branded gradient header for product cards lacking a usable image */
.exam-card__media--brand {
  height: 120px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--green-800) 100%);
  color: #fff;
  overflow: hidden;
}
.exam-card__media--brand::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60c150 40 350 40 600 0s450-40 600 0v60H0z' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.exam-card__media-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.16);
  color: #fff;
  position: relative;
  z-index: 1;
}
.exam-card__media-brand {
  position: absolute;
  left: 14px; bottom: 9px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

/* Hero art panel — real clinic photo with overlay chips */
.hero__art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,67,34,0) 42%, rgba(14,67,34,.5) 100%); }
.hero__art-latin { z-index: 2; }
.hero__art-chip { z-index: 2; }


/* Phone/email contact bar above the kineziterapija booking calendars */
.kt-booking-contact { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 auto 30px; }
.kt-booking-contact .btn { display: inline-flex; align-items: center; gap: 9px; }
.kt-booking-contact .btn svg { flex-shrink: 0; }

/* Homepage rehab packages note */
.packages-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }

/* ═══ Reabilitacijos paketai (daily-price) — /antalgija-kompleksas/ ═══ */
.rehab-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 720px)  { .rehab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rehab-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.rehab-pkg { position: relative; display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.rehab-pkg:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rehab-pkg--featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
@media (min-width: 1040px) { .rehab-pkg--featured { transform: scale(1.02); } .rehab-pkg--featured:hover { transform: scale(1.02) translateY(-2px); } }
.rehab-pkg__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); white-space: nowrap; }

.rehab-pkg__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rehab-pkg__roman { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-hover); font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.rehab-pkg__tier { font-size: 19px; margin: 0; color: var(--fg-strong); }
.rehab-pkg__min { font-size: 12.5px; color: var(--fg-muted); }

.rehab-pkg__price { display: flex; align-items: baseline; gap: 6px; }
.rehab-pkg__day { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--brand-hover); }
.rehab-pkg__per { font-size: 15px; font-weight: 600; color: var(--fg-muted); }
.rehab-pkg__course { margin: 8px 0 18px; font-size: 13.5px; color: var(--fg-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rehab-pkg__save { display: inline-block; background: var(--accent-soft); color: var(--accent-hover); font-family: var(--font-display); font-weight: 700; font-size: 11.5px; padding: 2px 9px; border-radius: var(--radius-pill); }

.rehab-pkg__body { flex: 1; border-top: 1px solid var(--border); padding-top: 16px; }
.rehab-group { margin-bottom: 14px; }
.rehab-group__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.rehab-group--choose .rehab-group__label { color: var(--accent-hover); }
.rehab-group__list { list-style: none; margin: 0; padding: 0; }
.rehab-group__list li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.5; color: var(--fg); margin-bottom: 5px; }
.rehab-group__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-soft); border: 2px solid var(--brand); }
.rehab-group--choose .rehab-group__list li::before { background: var(--accent-soft); border-color: var(--accent); }
.rehab-pkg__gift { margin: 12px 0 0; padding: 10px 12px; background: var(--brand-soft); border-radius: var(--radius-md); font-size: 13px; line-height: 1.45; color: var(--brand-hover); font-weight: 600; }
.rehab-pkg__cta { width: 100%; text-align: center; margin-top: 20px; }

.rehab-notes { max-width: 820px; margin: 28px auto 0; list-style: none; padding: 0; display: grid; gap: 8px; }
.rehab-notes li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.rehab-notes li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--brand); font-weight: 700; }

/* ═══ Antalgija Kompleksas (residential intensive rehab) — /antalgija-kompleksas/ ═══ */
.komplex-hero { position: relative; overflow: hidden; color: #fff; padding: 40px 0 56px; isolation: isolate; }
.komplex-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.komplex-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(165deg, rgba(14,67,34,.86) 0%, rgba(21,97,50,.82) 55%, rgba(14,67,34,.9) 100%); }
@media (min-width: 768px) { .komplex-hero { padding: 56px 0 72px; } }
.komplex-hero__inner { max-width: 760px; }
.komplex-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 14px 0 16px; }
.komplex-hero__lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.92); margin: 0 0 26px; max-width: 62ch; }
.komplex-hero__stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.komplex-hero__stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 14px 18px; backdrop-filter: blur(2px); min-width: 150px; flex: 1; }
.komplex-hero__stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; margin-bottom: 5px; }
.komplex-hero__stat span { font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.35; }

/* Not-a-sanatorium comparison */
.komplex-compare { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .komplex-compare { grid-template-columns: 1fr 1fr; gap: 20px; } }
.komplex-compare__col { border-radius: var(--radius-lg); padding: 26px 26px; border: 1px solid var(--border); }
.komplex-compare__col--muted { background: var(--bg-deep); }
.komplex-compare__col--brand { background: linear-gradient(160deg, var(--brand-hover), var(--green-800)); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.komplex-compare__col h3 { margin: 0 0 16px; font-size: 18px; }
.komplex-compare__col--brand h3 { color: #fff; }
.komplex-xlist, .komplex-clist { list-style: none; margin: 0; padding: 0; }
.komplex-xlist li, .komplex-clist li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.45; font-size: 14.5px; }
.komplex-xlist li { color: var(--fg-muted); }
.komplex-xlist li::before { content: "✕"; position: absolute; left: 4px; top: 0; color: var(--fg-faint); font-weight: 700; }
.komplex-clist li { color: rgba(255,255,255,.95); }
.komplex-clist li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: #fff; font-weight: 800; }

/* Pillars (image + text alternating) */
.komplex-feature { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-bottom: 36px; }
.komplex-feature:last-child { margin-bottom: 0; }
@media (min-width: 860px) { .komplex-feature { grid-template-columns: 1fr 1fr; gap: 48px; } .komplex-feature--reverse .komplex-feature__media { order: 2; } }
.komplex-feature__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.komplex-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.komplex-feature__body h3 { font-size: clamp(21px, 3vw, 27px); margin: 8px 0 12px; color: var(--fg-strong); }
.komplex-feature__body p { font-size: 15.5px; line-height: 1.6; color: var(--fg); margin: 0 0 16px; }

/* Journey steps */
.komplex-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 18px; }
.komplex-steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.komplex-steps__n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-hover); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.komplex-steps h4 { margin: 4px 0 4px; font-size: 17px; color: var(--fg-strong); }
.komplex-steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); }

/* Plans */
.komplex-plans__group { text-align: center; font-size: 16px; color: var(--brand-hover); font-family: var(--font-display); font-weight: 700; margin: 8px 0 18px; }
.komplex-plans { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; margin-bottom: 34px; }
@media (min-width: 720px)  { .komplex-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .komplex-plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.komplex-plan { position: relative; display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.komplex-plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.komplex-plan--featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.komplex-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: var(--shadow-sm); }
.komplex-plan__code { font-family: var(--font-display); font-size: 17px; letter-spacing: .02em; color: var(--fg-strong); margin: 0 0 6px; }
.komplex-plan__price { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.02em; color: var(--brand-hover); }
.komplex-plan__stay { margin: 14px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); display: grid; gap: 4px; }
.komplex-plan__stay span { font-size: 13px; color: var(--fg-muted); line-height: 1.4; }
.komplex-plan__stay strong { color: var(--fg-strong); }
.komplex-plan__feats { list-style: none; margin: 0; padding: 0; flex: 1; }
.komplex-plan__feats li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.5; color: var(--fg); margin-bottom: 9px; }
.komplex-plan__feats li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-soft); border: 2px solid var(--brand); }
.komplex-plan__disc { margin: 6px 0 16px; padding: 9px 12px; background: var(--accent-soft); color: var(--accent-hover); border-radius: var(--radius-md); font-size: 12.5px; font-weight: 600; }
.komplex-plan__cta { width: 100%; text-align: center; margin-top: auto; }
.komplex-plans__note { max-width: 800px; margin: 0 auto; text-align: center; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }

/* Gallery */
.komplex-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .komplex-gallery { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.komplex-gallery__item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.komplex-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.komplex-gallery__item:hover img { transform: scale(1.05); }

/* Homepage emotional Antalgija Kompleksas band */
.home-komplex { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); color: #fff; isolation: isolate; }
.home-komplex__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-komplex::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, rgba(14,67,34,.92) 0%, rgba(21,97,50,.82) 50%, rgba(14,67,34,.62) 100%); }
.home-komplex__inner { max-width: 640px; padding: 44px 28px; }
@media (min-width: 768px) { .home-komplex__inner { padding: 64px 56px; } }
.home-komplex__eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.home-komplex__title { color: #fff; font-size: clamp(26px, 4vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.home-komplex__text { font-size: 16px; line-height: 1.62; color: rgba(255,255,255,.92); margin: 0 0 22px; }
.home-komplex__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.home-komplex__chips li { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; padding: 6px 13px; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.home-komplex__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kainoraštis: lab-catalog link + CTA */
.price-lab-link { margin: 14px 0 0; }
.price-lab-cta { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.price-lab-cta p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--fg-muted); max-width: 70ch; }

/* Kainoraštis: insurance partners section */
.insurance-intro { font-size: 15px; line-height: 1.6; color: var(--fg); margin: 0 0 22px; max-width: 70ch; }
.insurance-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
@media (min-width: 700px) { .insurance-logos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.insurance-logo { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; padding: 22px 26px; min-height: 96px; }
.insurance-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.insurance-notes { display: grid; gap: 8px; max-width: 80ch; }
.insurance-notes p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--fg-muted); position: relative; padding-left: 18px; }
.insurance-notes p::before { content: "*"; position: absolute; left: 4px; top: 2px; color: var(--brand); font-weight: 700; }

/* Tidy "Tyrimų paketai internetu" exam cards — fit long titles cleanly */
.exam-card__body { gap: 8px; padding: 16px 18px; }
.exam-card__title {
  font-size: 15.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exam-card__price { font-size: 19px; }
.exam-card__price--old { font-size: 14px; }
.exam-card .btn { margin-top: auto; }

/* Dubens dugno: bullet points inside the 3-step cards */
.dd-step-list { margin-top: 10px; }
.dd-step-list li { font-size: 13.5px; }

/* Masažo terapija page */
.mas-type { margin-bottom: 36px; }
.mas-type:last-child { margin-bottom: 0; }
.mas-type__head { margin-bottom: 16px; }
.mas-type__title { font-size: clamp(20px, 3vw, 25px); margin: 0 0 6px; color: var(--fg-strong); }
.mas-type__intro { font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; max-width: 70ch; }
.doctors-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .doctors-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Massage type note (discount / contraindications) + subtle 5x link */
.mas-type__note { margin: 12px 0 0; padding: 10px 14px; background: var(--brand-soft); border-radius: var(--radius-md); font-size: 13px; line-height: 1.5; color: var(--brand-hover); }
.mas-buy5 { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.mas-buy5:hover { text-decoration: underline; }

/* Student signup form */
.stud-form { max-width: 520px; margin: 0 auto; display: grid; gap: 14px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 24px; }
.stud-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.stud-form label { font-size: 13.5px; font-weight: 600; color: var(--fg-strong); }
.stud-form .form-consent { flex-direction: row; align-items: flex-start; gap: 9px; font-weight: 400; font-size: 13px; color: var(--fg-muted); }
.stud-form .btn { width: 100%; }
.stud-form__ok { max-width: 520px; margin: 0 auto 16px; text-align: center; background: var(--brand-soft); color: var(--brand-hover); padding: 12px 16px; border-radius: var(--radius-md); font-weight: 600; }

/* Utility-bar closed state */
.utility-bar__dot--closed { background: var(--fg-faint, #888881) !important; box-shadow: none !important; animation: none !important; }

/* Footer column headings (Paslaugos / Klinika) — brand tan, readable on green */
.site-footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

/* Mobile utility bar: keep contact actions (email + phone) tidy, drop status text */
@media (max-width: 767px) {
  .utility-bar { justify-content: center; padding: 0 14px; }
  .utility-bar__left { display: none; }
  .utility-bar__right { gap: 20px; font-size: 12.5px; }
  .utility-bar .util-email,
  .utility-bar__right a { white-space: nowrap; }
}

/* Clearer separation between registered ("Prisirašiusiems") and regular prices.
   NB: .price-free is already a readable light-green pill above — do NOT redefine
   it (a solid-green bg + the mobile green-text rule made it green-on-green). */
.price-table__col-reg { background: var(--brand-soft); }
@media (min-width: 600px) {
  .price-row__price--reg { background: var(--brand-soft); }
}

/* Mobile: long CTA buttons in the kainoraštis must wrap, not overflow the block */
@media (max-width: 600px) {
  .price-lab-cta .btn,
  .price-lab-link .btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
    line-height: 1.3;
    padding: 11px 16px;
    max-width: 100%;
  }
  .price-lab-cta .btn { width: 100%; box-sizing: border-box; }
}

/* ============================================================
   HOMEPAGE POLISH — round 2 (design QA punch list)
   ============================================================ */

/* TODO 2 — tan dash before EVERY eyebrow, site-wide (landing-page accent).
   On centered heads the dash + text centre together as one group. */
.eyebrow, .prog-hero__eyebrow, .home-komplex__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before, .prog-hero__eyebrow::before, .home-komplex__eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--tan-400, #CA9B5E); flex: none;
}
/* article-card category is a small inline label — no dash */
.article-card__category::before { display: none; }
/* dark / colored surfaces — lighter dash for contrast */
.contact-section .eyebrow::before, .contact-info .eyebrow::before,
.prog-hero__eyebrow::before, .home-komplex__eyebrow::before,
.komplex-hero .eyebrow::before { background: #E3CBA8; }

/* TODO 3 — stats figures + tan "+" superscript */
.stats-bar__figure { font-family: var(--font-display, 'Sora'); font-weight: 800; font-size: clamp(22px, 6vw, 38px); letter-spacing: -0.02em; line-height: 1; color: var(--green-700, #156132); white-space: nowrap; }
.stats-bar__figure sup { font-size: 0.52em; color: var(--tan-500, #B58449); font-weight: 800; vertical-align: super; line-height: 0; }
.stats-bar__label { font-size: 13.5px; color: rgba(31,42,36,0.7); margin-top: 7px; }
@media (max-width: 767px) { .stats-bar__item { padding: 0 6px; } .stats-bar__inner { gap: 8px; } .stats-bar__label { font-size: 12px; } }

/* TODO 4 — featured package floating ribbon */
.packages-scroll { padding-top: 26px; }
.package-card { position: relative; }
.package-card--featured { border: 1.5px solid var(--brand, #249A48); box-shadow: var(--shadow-md); }
.package-card__ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand, #249A48); color: #fff; font-family: var(--font-display, 'Sora');
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-pill, 999px); white-space: nowrap;
  box-shadow: 0 4px 12px rgba(36,154,72,.3); z-index: 2;
}

/* TODO 5 — circular check bullets in package lists */
.package-features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.package-features li { position: relative; padding-left: 28px; font-size: 13.5px; line-height: 1.45; }
.package-features li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--brand-soft, #E9F5EC);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23249A48' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px 10px; background-position: center; background-repeat: no-repeat;
}

/* TODO 6 — card hover lifts + service icon invert + arrow nudges */
.service-card, .exam-card, .article-card, .doctor-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover, .exam-card:hover, .article-card:hover, .doctor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C7E5CF; }
.service-card__icon { transition: background .22s ease, color .22s ease; }
.service-card:hover .service-card__icon { background: var(--brand, #249A48); color: #fff; }
.service-card__link svg, .section-head__more svg { transition: transform .18s ease; }
.service-card:hover .service-card__link svg, .section-head__more:hover svg { transform: translateX(3px); }

/* TODO 7 — hero booking chip */
.hero__art-booking {
  position: absolute; top: 62px; right: 14px; background: #fff; border-radius: var(--radius-lg, 12px);
  padding: 11px 15px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border, rgba(21,97,50,0.15)); z-index: 3;
}
.hero__art-booking-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft, #E9F5EC); color: var(--brand, #249A48); display: grid; place-items: center; flex: none; }
.hero__art-booking-title { font-family: var(--font-display, 'Sora'); font-weight: 700; font-size: 12.5px; color: var(--fg-strong, #0E1612); line-height: 1.15; }
.hero__art-booking-sub { font-size: 11px; color: rgba(31,42,36,0.7); }
@media (max-width: 767px) { .hero__art-booking { top: auto; bottom: 14px; right: 14px; } }

/* TODO 8 — testimonial band */
.testimonial-band { background: linear-gradient(180deg, #F8F1E7 0%, #FDFBF8 100%); border-top: 1px solid #F0E2CD; border-bottom: 1px solid #F0E2CD; }
.testimonial-band__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-band__qmark { width: 52px; height: 52px; margin: 0 auto 22px; border-radius: 50%; background: var(--tan-400, #CA9B5E); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(202,155,94,.35); }
.testimonial-band blockquote { margin: 0; font-family: var(--font-display, 'Sora'); font-size: 27px; font-weight: 600; line-height: 1.4; color: var(--fg-strong, #0E1612); letter-spacing: -0.01em; }
.testimonial-band blockquote em { font-style: italic; color: var(--tan-600, #97683B); }
.testimonial-band__sig { margin-top: 18px; font-size: 13.5px; color: rgba(31,42,36,0.7); }
.testimonial-band__sig b { font-family: var(--font-display, 'Sora'); color: var(--fg-strong, #0E1612); }
@media (max-width: 767px) { .testimonial-band blockquote { font-size: 22px; } }

/* TODO 9 — exam card uniform 4:3 image crops */
.exam-card__media { aspect-ratio: 4 / 3; height: auto; overflow: hidden; border-radius: 12px 12px 0 0; }
.exam-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease-out; }
.exam-card:hover .exam-card__img { transform: scale(1.03); }

/* TODO 10 — article card media 3:2 + branded placeholder for icon-only variant */
.article-card__media { aspect-ratio: 3 / 2; height: auto; }
.article-card__media:not(:has(img)) { background: linear-gradient(140deg, #249A48, #156132); color: rgba(255,255,255,.92); }
.article-card__media:not(:has(img))::before { content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); right: -60px; top: -60px; }

/* Site-wide card hover consistency — every card lifts identically (-3px + shadow-md) */
.vax-card, .pkg-card, .kt-pkg, .fm-prevention__card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.vax-card:hover, .pkg-card:hover, .kt-pkg:hover, .fm-prevention__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C7E5CF; }

/* Fizioterapija hub — procedure cards */
.fizio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fizio-card { display: flex; flex-direction: column; background: var(--bg-elev, #fff); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.fizio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C7E5CF; }
.fizio-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-deep); }
.fizio-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease-out; }
.fizio-card:hover .fizio-card__media img { transform: scale(1.04); }
.fizio-card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fizio-card__title { font-family: var(--font-display, 'Sora'); font-weight: 700; font-size: 17px; color: var(--fg-strong, #0E1612); margin: 0; }
.fizio-card__lead { font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; flex: 1; }
.fizio-card__link { font-family: var(--font-display, 'Sora'); font-weight: 600; font-size: 13px; color: var(--brand, #249A48); display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.fizio-card__link svg { transition: transform .18s ease; }
.fizio-card:hover .fizio-card__link svg { transform: translateX(3px); }

/* Intraveninė terapija — homepage promo band */
.iv-promo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; background: var(--bg-elev, #fff); border: 1px solid var(--border); border-radius: var(--radius-xl, 20px); overflow: hidden; box-shadow: var(--shadow-sm); }
.iv-promo__media { align-self: stretch; }
.iv-promo__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.iv-promo__text { padding: 36px 40px 36px 8px; }
.iv-promo__text h2 { margin: 6px 0 14px; }
.iv-promo__cta { margin-top: 20px; }
@media (max-width: 820px) {
  .iv-promo { grid-template-columns: 1fr; }
  .iv-promo__media img { min-height: 220px; max-height: 300px; }
  .iv-promo__text { padding: 28px 24px; }
}

/* Intraveninė terapija — hero with side image */
.prog-hero__cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.prog-hero__art img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-lg, 12px); box-shadow: var(--shadow-lg); display: block; background: #fff; }
@media (max-width: 860px) {
  .prog-hero__cols { grid-template-columns: 1fr; gap: 26px; }
  .prog-hero__art { max-width: 440px; }
  .prog-hero__art img { max-height: 300px; }
}

/* Intraveninė terapija page */
.iv-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.iv-intro--solo { grid-template-columns: 1fr; max-width: 820px; }
.iv-intro__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg, 12px); display: block; box-shadow: var(--shadow-md); }
.iv-intro__text h2 { margin: 6px 0 14px; }
.iv-note { margin-top: 16px; padding: 12px 16px; background: var(--brand-soft, #E9F5EC); border-left: 3px solid var(--brand, #249A48); border-radius: var(--radius-md, 8px); font-size: 14px; color: var(--brand-hover, #156132); }
.iv-price-wrap { max-width: 820px; margin: 0 auto; }
.iv-price-table { width: 100%; border-collapse: collapse; background: var(--bg-elev, #fff); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); overflow: hidden; }
.iv-price-table th { font-family: var(--font-display, 'Sora'); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); text-align: left; padding: 14px 18px; background: var(--bg-deep); border-bottom: 1px solid var(--border); }
.iv-price-table__col { text-align: right; white-space: nowrap; }
.iv-price-table__col--reg { color: var(--brand-hover, #156132); }
.iv-price-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: top; }
.iv-price-table tr:last-child td { border-bottom: none; }
.iv-price-table__name { font-weight: 500; color: var(--fg); }
.iv-price-table__dur { display: block; font-size: 12.5px; color: var(--fg-muted); margin-top: 3px; }
.iv-price-note { max-width: 820px; margin: 16px auto 0; font-size: 13px; color: var(--fg-muted); text-align: center; }
.iv-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 820px) {
  .iv-intro { grid-template-columns: 1fr; gap: 24px; }
  .iv-price-table thead { display: none; }
  .iv-price-table, .iv-price-table tbody, .iv-price-table tr, .iv-price-table td { display: block; width: 100%; }
  .iv-price-table tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .iv-price-table tr:last-child { border-bottom: none; }
  .iv-price-table td { border: none; padding: 5px 18px; }
  .iv-price-table__col { text-align: left; }
  .iv-price-table__col::before { content: attr(data-label) ": "; font-weight: 600; color: var(--fg-muted); }
}

/* ============================================================
   FOOTER — memberships & partners logo marquee
   ============================================================ */
.footer-members { margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-members__label { display: block; text-align: center; font-family: var(--font-display, 'Sora'); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 20px; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: antalgija-marquee 34s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
/* White chips so mixed-background logos (transparent PNG + white-bg JPG) all sit
   cleanly on the dark footer; grayscale by default, full colour on hover. */
.logo-marquee__item {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: 60px; min-width: 130px; padding: 0 22px; background: #fff;
  border-radius: var(--radius-md, 8px); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.logo-marquee__item img { max-height: 34px; max-width: 150px; width: auto; display: block; filter: grayscale(1); opacity: .85; transition: filter .25s ease, opacity .25s ease; }
.logo-marquee__item:hover img { filter: grayscale(0); opacity: 1; }
.logo-marquee__item--text { font-family: var(--font-display, 'Sora'); font-weight: 700; font-size: 14px; letter-spacing: .01em; color: var(--fg, #1F2A24); white-space: nowrap; text-align: center; line-height: 1.2; }
@keyframes antalgija-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .logo-marquee__track { gap: 44px; } .logo-marquee__item--text { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
}
