/* ============================================================
   Ortopedie | Solák — sjednocené CSS (tokeny + komponenty)
   ============================================================ */

   :root{
    --bg:#f0f9ff;
    --surface:#ffffff;
    --text:#0c2530;
    --text-muted:#4c6270;
    --header-bg:#0c4a6e;
    --header-text:#eaf6ff;
    --header-text-muted:#b7cfe0;
    --accent:#0284c7;
    --accent-strong:#075985;
    --accent-soft:#38bdf8;
    --line:#d7e8f2;
    --chip-bg:#e0f2fe;
    --chip-text:#075985;
    --radius:14px;
    --shadow:0 10px 28px -14px rgba(12,74,110,.35);
    --grad-from:#075985;
    --grad-to:#7dd3fc;
  }
  [data-theme="dark"]{
    --bg:#081722;
    --surface:#102636;
    --text:#eaf3fa;
    --text-muted:#9db2c1;
    --header-bg:#071a26;
    --header-text:#eaf6ff;
    --header-text-muted:#8ea6b8;
    --accent:#48c1fb;
    --accent-strong:#1a9fe0;
    --accent-soft:#7dd3fc;
    --line:#1e3648;
    --chip-bg:#132c3f;
    --chip-text:#7dd3fc;
    --shadow:0 10px 30px -14px rgba(0,0,0,.6);
    --grad-from:#082f49;
    --grad-to:#0369a1;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;height:100%;}
  body{
    margin:0;background:var(--bg);color:var(--text);
    font-family:'Inter',sans-serif;
    transition:background .2s ease,color .2s ease;
    min-height:100%;
    display:flex;flex-direction:column;
  }
  main.page-main{flex:1 0 auto;display:flex;flex-direction:column;}
  .hero,.hero-page,.page-gradient{flex:1 0 auto;}
  h1,h2,h3{margin:0;font-weight:800;line-height:1.1;}
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  .container{max-width:1180px;margin:0 auto;padding:0 24px;}
  .accent{color:var(--accent-soft);}

/* ============ TLACITKA (pevne barvy, nezavisi na tematu) ============ */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 24px;border-radius:6px;font-weight:700;font-size:.92rem;
  cursor:pointer;border:none;background:#ffffff;color:#0369a1;
  transition:background .15s ease,color .15s ease;
}
.btn:hover{background:#075985;color:#fff;}

.btn-solid{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 24px;border-radius:6px;font-weight:700;font-size:.92rem;
  cursor:pointer;border:none;background:var(--accent);color:#fff;
  transition:background .15s ease;
}
.btn-solid:hover{background:var(--accent-strong);}

/* ============ HEADER ============ */
header.site{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:var(--header-bg);
  box-shadow:0 1px 0 rgba(255,255,255,.06);
}
.nav-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;
  padding:12px 24px;max-width:1180px;margin:0 auto;
}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.brand img{height:34px;}
.brand-name{font-family:'New Amsterdam',sans-serif;font-size:1.5rem;color:var(--header-text);font-weight:700;white-space:nowrap;}
.brand-name b{color:var(--accent-soft);font-weight:700;}

nav.primary{display:flex;align-items:center;gap:4px;}
nav.primary a{
  position:relative;
  font-size:.83rem;font-weight:600;
  color:var(--header-text-muted);
  padding:22px 13px;
  transition:color .15s ease;
  white-space:nowrap;
}
nav.primary a::after{
  content:"";position:absolute;left:13px;right:13px;bottom:15px;height:2px;
  background:var(--accent-soft);
  transform:scaleX(0);transform-origin:left;
  transition:transform .2s ease;
}
nav.primary a:hover{color:var(--header-text);}
nav.primary a:hover::after,
nav.primary a.active::after{transform:scaleX(1);}
nav.primary a.active{color:var(--header-text);}

.nav-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.theme-toggle{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.05);cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:var(--header-text);
}
.theme-toggle svg{width:17px;height:17px;}
.theme-toggle .icon-moon{display:none;}
[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
[data-theme="dark"] .theme-toggle .icon-moon{display:block;}

.burger{display:none;width:38px;height:38px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:transparent;color:var(--header-text);cursor:pointer;}

@media (max-width:1060px){
  nav.primary{
    position:fixed;top:60px;left:0;right:0;flex-direction:column;align-items:stretch;
    background:var(--header-bg);padding:6px 16px 16px;display:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  nav.primary.open{display:flex;}
  nav.primary a{padding:14px 10px;}
  nav.primary a::after{bottom:8px;}
  .burger{display:flex;align-items:center;justify-content:center;}
}

/* ============ HOME HERO ============ */
.hero{padding:130px 0 80px;background:linear-gradient(135deg,var(--grad-from),var(--grad-to));}
.hero .container{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;width:100%;}
.hero h1{font-size:clamp(2.1rem,4vw,3.2rem);color:#fff;}
.hero p.lead{color:rgba(255,255,255,.92);font-size:1.05rem;max-width:46ch;margin:18px 0 28px;}
.hero-art{border-radius:18px;overflow:hidden;box-shadow:0 20px 40px -18px rgba(3,25,40,.5);aspect-ratio:4/3;}
.hero-art img{width:100%;height:100%;object-fit:cover;}
@media (max-width:900px){
  .hero .container{grid-template-columns:1fr;text-align:center;display:flex;flex-direction:column;}
  .hero .container > div:first-child{order:2;align-items:center;}
  .hero .container > div:first-child > div{justify-content:center;}
  .hero-art{order:1;width:100%;margin:0;}
  .hero p.lead{margin-left:auto;margin-right:auto;}
}

/* ============ AKTUALITY (home) ============ */
.news{padding:70px 0;background:var(--bg);}
.news .head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:32px;flex-wrap:wrap;}
.news .head h2{font-size:clamp(1.6rem,2.6vw,2.1rem);color:var(--text);}
.news .head p{margin:0;color:var(--text-muted);font-size:.92rem;}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.news-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease;}
.news-card:hover{transform:translateY(-3px);}
.news-card .img{aspect-ratio:16/10;background:var(--chip-bg);overflow:hidden;}
.news-card .img img{width:100%;height:100%;object-fit:cover;display:block;}
.news-card .body{padding:20px 22px 24px;}
.news-date{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--chip-text);background:var(--chip-bg);padding:5px 11px;border-radius:999px;margin-bottom:12px;}
.news-card h3{font-size:1.08rem;color:var(--text);margin-bottom:8px;line-height:1.3;}
.news-card p{margin:0;color:var(--text-muted);font-size:.9rem;line-height:1.5;}
@media (max-width:920px){.news-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.news-grid{grid-template-columns:1fr;}}

/* ============ POJIŠŤOVNY ============ */
.insurance{background:#1e293b;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);padding:32px 0;}
.insurance .label{text-align:center;display:block;margin-bottom:16px;color:var(--header-text-muted);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;}
.insurance-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;align-items:center;}
.insurance-grid a{display:flex;align-items:center;justify-content:center;padding:12px;}
.insurance-grid img{max-height:40px;width:100%;object-fit:contain;opacity:.9;transition:opacity .15s ease;}
.insurance-grid a:hover img{opacity:1;}
@media (max-width:768px){.insurance-grid{grid-template-columns:repeat(3,1fr);}}

/* ============ FOOTER ============ */
footer.site{background:var(--header-bg);color:var(--header-text-muted);padding:56px 0 0;}
.footer-grid{display:grid;grid-template-columns:1fr .8fr .8fr 1.7fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-grid h6{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--header-text);margin:0 0 16px;font-weight:700;}
.footer-brand .brand-name{color:var(--header-text);}
.footer-brand p{color:var(--header-text-muted);font-size:.92rem;margin-top:12px;max-width:32ch;}
.footer-links a{display:block;padding:7px 10px;margin:0 -10px;border-radius:8px;font-size:.92rem;color:var(--header-text-muted);}
.footer-links a:hover,.footer-links a.active{background:rgba(56,189,248,.15);color:var(--accent-soft);}
.contact-line{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;margin-bottom:12px;color:var(--header-text-muted);white-space:nowrap;}
.contact-line svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--accent-soft);}
.copyright{text-align:center;font-size:.8rem;color:var(--header-text-muted);padding:18px 0;opacity:.75;}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}.contact-line{white-space:normal;}}

/* ============ full-gradient stranky (faq/hodiny/zdravotnici/masaze/cenik) ============ */
.page-gradient{padding:140px 0 70px;}
.page-gradient h1{color:#fff;font-size:clamp(1.9rem,3.4vw,2.6rem);text-align:center;margin-bottom:8px;}
.page-gradient .lead-p{color:rgba(255,255,255,.9);text-align:center;max-width:60ch;margin:0 auto 8px;}
.page-gradient .head{margin-bottom:40px;}

.page-faq{background:linear-gradient(135deg,#38bdf8,#0284c7);}
[data-theme="dark"] .page-faq{background:linear-gradient(135deg,#075985,#082f49);}

.page-hodiny{background:linear-gradient(135deg,#075985,#bae6fd);}
[data-theme="dark"] .page-hodiny{background:linear-gradient(135deg,#082f49,#0369a1);}

.page-zdravotnici{background:linear-gradient(135deg,#0369a1,#7dd3fc);}
[data-theme="dark"] .page-zdravotnici{background:linear-gradient(135deg,#0c4a6e,#0369a1);}

.page-masaze{background:linear-gradient(135deg,#6b21a8,#f472b6);}
[data-theme="dark"] .page-masaze{background:linear-gradient(135deg,#581c87,#be185d);}

.page-razovavlna{background:linear-gradient(135deg,#1e40af,#22d3ee);}
[data-theme="dark"] .page-razovavlna{background:linear-gradient(135deg,#172554,#0e7490);}

.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px;}

/* FAQ */
.faq-list{display:grid;gap:16px;max-width:760px;margin:0 auto;padding:0;}
.faq-item h3{font-size:1.1rem;margin-bottom:8px;color:var(--text);}
.faq-item p{margin:0;color:var(--text-muted);line-height:1.55;}

/* Ordinacni hodiny */
.schedule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:0;}
.schedule-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:26px;text-align:center;}
.schedule-card h3{font-size:1.15rem;margin-bottom:14px;color:var(--text);}
.schedule-time{font-size:1.5rem;font-weight:800;color:var(--accent);margin:8px 0;}
.schedule-break{font-size:.82rem;color:var(--text-muted);margin:6px 0;}
@media (max-width:900px){.schedule-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.schedule-grid{grid-template-columns:1fr;}}

/* Zdravotnici */
.staff-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;padding:0;}
.staff-card{position:relative;overflow:hidden;width:280px;border-radius:var(--radius);box-shadow:var(--shadow);color:#fff;}
.staff-card.doctor{background:#0ea5e9;}
.staff-card.nurse{background:#db2777;}
.staff-card .photo{position:relative;aspect-ratio:4/5;background:rgba(255,255,255,.15);}
.staff-card .photo img{width:100%;height:100%;object-fit:cover;display:block;}
.staff-card .info{position:relative;padding:16px 18px 20px;}
.staff-card .pattern{position:absolute;bottom:32px;left:0;transform:scale(1.5);opacity:.1;pointer-events:none;}
.staff-eyebrow{font-size:.78rem;opacity:.8;}
.staff-name{font-weight:700;font-size:1.05rem;margin:4px 0;}
.staff-role{font-size:.85rem;opacity:.85;}

/* ============ hero-page (text+obrazek: masaze/odbornost/razovavlna/infuzni) ============ */
.hero-page{padding:150px 0 70px;}
.hero-page .container{display:flex;flex-direction:column;gap:36px;align-items:center;}
.hero-page .text{color:#fff;}
.hero-page .text h1{font-size:clamp(1.9rem,3.4vw,2.6rem);margin-bottom:16px;}
.hero-page .text p{margin-bottom:14px;line-height:1.6;color:rgba(255,255,255,.92);}
.hero-page .photo{position:relative;width:100%;border-radius:var(--radius);overflow:hidden;box-shadow:0 30px 60px -20px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.15);aspect-ratio:4/3;}
.hero-page .photo img{width:100%;height:100%;object-fit:cover;display:block;}
@media (min-width:900px){
  .hero-page .container{flex-direction:row;align-items:center;}
  .hero-page .text,.hero-page .photo{flex:1;}
}
.hero-page.page-infuzni{background:linear-gradient(135deg,#db2777,#38bdf8);}
[data-theme="dark"] .hero-page.page-infuzni{background:linear-gradient(135deg,#9d174d,#0369a1);}

.gallery-simple{padding:50px 0 70px;}
.gallery-simple .grid{columns:1;column-gap:20px;}
.gallery-simple .g-item{break-inside:avoid;margin-bottom:20px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);}
.gallery-simple .g-item img{width:100%;display:block;}
@media (min-width:700px){.gallery-simple .grid{columns:3;}}

/* ============ cenik ============ */
.price-section{padding:36px 0;}
.price-section:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15);}
.price-section .head{text-align:center;margin-bottom:10px;}
.price-section h2{color:#fff;font-size:clamp(1.7rem,3vw,2.3rem);}
.price-section h2 .hl{color:#7dd3fc;}
.price-section p{color:rgba(255,255,255,.9);max-width:70ch;margin:14px auto 0;line-height:1.6;}
.price-section .photo{width:100%;max-width:640px;margin:22px auto 0;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 40px -18px rgba(0,0,0,.4);}
.price-section .photo img{width:100%;height:100%;object-fit:cover;display:block;}
.price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:32px;}
.price-grid.cols-3{grid-template-columns:repeat(3,1fr);}
.price-grid.cols-2{grid-template-columns:repeat(2,1fr);max-width:640px;margin-left:auto;margin-right:auto;}
.price-card{background:rgba(0,0,0,.35);border-radius:var(--radius);padding:22px;text-align:center;transition:transform .2s ease;}
.price-card:hover{transform:scale(1.05);}
.price-card h3{color:#fff;font-size:1.15rem;margin-bottom:14px;line-height:1.3;}
.price-amount{color:#7dd3fc;font-size:2.1rem;font-weight:800;}
.price-duration{display:block;color:rgba(255,255,255,.6);font-size:.9rem;margin-top:6px;}
@media (max-width:900px){.price-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.price-grid{grid-template-columns:1fr;}}

/* ============ Cookie lišta + modal ============ */
.cookie-bar{
  position:fixed;left:0;right:0;bottom:-200px;z-index:200;
  background:var(--header-bg);color:var(--header-text-muted);
  padding:18px 24px;box-shadow:0 -10px 30px -10px rgba(0,0,0,.4);
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  transition:bottom .3s ease;
}
.cookie-bar.visible{bottom:0;}
.cookie-bar-text{font-size:.88rem;max-width:640px;line-height:1.5;}
.cookie-bar-text a{color:var(--accent-soft);text-decoration:underline;}
.cookie-bar-actions{display:flex;gap:10px;flex-wrap:wrap;}

.cookie-modal{
  position:fixed;inset:0;z-index:300;
  background:rgba(0,0,0,.55);
  display:none;align-items:center;justify-content:center;padding:20px;
}
.cookie-modal.visible{display:flex;}
.cookie-modal-box{
  background:var(--surface);color:var(--text);
  border-radius:var(--radius);box-shadow:var(--shadow);
  max-width:520px;width:100%;padding:28px;
}
.cookie-modal-box h3{font-size:1.3rem;margin-bottom:10px;}
.cookie-modal-box > p{color:var(--text-muted);font-size:.92rem;line-height:1.5;margin-bottom:18px;}
.cookie-toggle-row{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:14px 0;border-top:1px solid var(--line);
}
.cookie-toggle-row strong{font-size:.95rem;}
.cookie-toggle-row p{margin:4px 0 0;color:var(--text-muted);font-size:.84rem;line-height:1.4;}
.cookie-toggle-row input{flex-shrink:0;width:20px;height:20px;margin-top:2px;accent-color:var(--accent);}
.cookie-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap;}

@media (max-width:640px){
  .cookie-bar{flex-direction:column;align-items:stretch;text-align:center;}
  .cookie-bar-actions{justify-content:center;}
}

/* ============ dropdown podmenu (Terapie) ============ */
.nav-dropdown{position:relative;}
.nav-dropdown-toggle{display:flex;align-items:center;gap:5px;}
.nav-dropdown-toggle::before{
  content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);order:2;
}
.nav-dropdown-menu{
  position:absolute;top:100%;left:0;min-width:230px;
  background:var(--header-bg);border:1px solid rgba(255,255,255,.12);border-radius:10px;
  box-shadow:var(--shadow);padding:6px;
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  z-index:150;
}
.nav-dropdown:hover .nav-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0);}
nav.primary .nav-dropdown-menu a{
  position:relative;display:block;padding:12px 14px;
  font-size:.83rem;font-weight:600;
  color:var(--header-text-muted);
  border-radius:0;white-space:nowrap;
  transition:color .15s ease;
}
nav.primary .nav-dropdown-menu a::after{
  content:"";position:absolute;left:14px;right:14px;bottom:7px;height:2px;
  background:var(--accent-soft);
  transform:scaleX(0);transform-origin:left;
  transition:transform .2s ease;
}
nav.primary .nav-dropdown-menu a:hover{color:var(--header-text);background:transparent;}
nav.primary .nav-dropdown-menu a:hover::after,
nav.primary .nav-dropdown-menu a.active::after{transform:scaleX(1);}
nav.primary .nav-dropdown-menu a.active{color:var(--header-text);background:transparent;}

@media (max-width:1060px){
  .nav-dropdown-menu{
    position:static;opacity:1;visibility:visible;transform:none;
    background:transparent;border:none;box-shadow:none;padding:0 0 0 14px;
    max-height:0;overflow:hidden;transition:max-height .2s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu{max-height:200px;margin-top:4px;}
  .nav-dropdown-toggle{cursor:pointer;}
  .nav-dropdown-toggle::before{transition:transform .2s ease;}
  .nav-dropdown.open .nav-dropdown-toggle::before{transform:rotate(225deg) translateY(2px);}
}

/* ============ article (strukturovany text: BTL-6000 apod.) ============ */
.article{padding:60px 0;}
.article h2{font-size:1.5rem;margin:0 0 14px;color:var(--text);}
.article > .container > *:not(:first-child){margin-top:32px;}
.article p{color:var(--text-muted);line-height:1.65;margin:10px 0 0;}
.article ul{margin:10px 0 0;padding-left:20px;color:var(--text-muted);line-height:1.7;}
.article ul li{margin-bottom:4px;}