/* ===========================================================
   Oční Brno — MUDr. Hana Hendrychová — stylesheet
   =========================================================== */

:root{
  --teal-900:#0b3b45;
  --teal-800:#0e4a56;
  --teal-700:#136575;
  --teal-600:#187f92;
  --teal-500:#1e9cb3;
  --sky-400:#5cc4d6;
  --sky-200:#bfe9f0;
  --sky-100:#e4f6f9;
  --sand-500:#f2a154;
  --sand-400:#f5b978;
  --ink-900:#0f2530;
  --ink-700:#3c5560;
  --ink-500:#657983;
  --paper:#ffffff;
  --cloud:#f6fbfc;
  --line:#dcebee;
  --shadow-sm: 0 2px 10px rgba(11,59,69,.07);
  --shadow-md: 0 14px 34px rgba(11,59,69,.12);
  --shadow-lg: 0 26px 64px rgba(11,59,69,.20);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22,.9,.32,1);
  --maxw: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Inter","Segoe UI",system-ui,sans-serif;
  color:var(--ink-900);
  background:var(--cloud);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:"Fraunces","Georgia",serif;
  font-weight:600;
  line-height:1.16;
  margin:0 0 .5em;
  color:var(--teal-900);
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; color:var(--ink-700); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
  color:var(--teal-600); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:26px; height:2px; border-radius:2px; background:var(--sand-500); }
.section{ padding:104px 0; position:relative; }
.section-head{ max-width:640px; margin:0 0 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-alt{ background:var(--paper); }
.section-teal{ background:linear-gradient(160deg,var(--teal-900),var(--teal-700)); color:var(--sky-100); }
.section-teal h2, .section-teal h3{ color:var(--paper); }
.section-teal p{ color:rgba(228,246,249,.78); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(135deg,var(--sand-400),var(--sand-500));
  color:var(--teal-900);
  box-shadow:0 10px 24px rgba(242,161,84,.35);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(242,161,84,.45); }
.btn-outline{ background:transparent; border-color:rgba(15,37,48,.18); color:var(--teal-900); }
.btn-outline:hover{ border-color:var(--teal-900); background:var(--teal-900); color:var(--paper); transform:translateY(-3px); }
.btn-ghost-light{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.3); color:var(--paper); }
.btn-ghost-light:hover{ background:rgba(255,255,255,.18); transform:translateY(-3px); }
.btn-sm{ padding:11px 20px; font-size:.85rem; }

/* ===========================================================
   Floating pill navigation
   =========================================================== */
.nav-wrap{
  position:fixed; top:20px; left:0; right:0; z-index:1000;
  display:flex; justify-content:center; padding:0 16px;
  transition:top .4s var(--ease);
}
.pill-nav{
  display:flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px; padding:8px 8px 8px 10px;
  box-shadow:var(--shadow-md);
  transition:box-shadow .4s var(--ease), background .4s var(--ease);
  width:100%; max-width:980px;
}
.nav-wrap.scrolled .pill-nav{ background:rgba(255,255,255,.94); box-shadow:var(--shadow-lg); }
.pill-logo{
  display:flex; align-items:center; gap:10px;
  font-family:"Fraunces",serif; font-weight:600; font-size:1rem;
  color:var(--teal-900); margin-right:auto; white-space:nowrap;
}
.pill-logo .mark{
  width:36px; height:36px; border-radius:50%;
  background:linear-gradient(135deg,var(--teal-600),var(--teal-900));
  color:var(--sky-200);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.pill-logo .mark svg{ width:18px; height:18px; }
.pill-links{ display:flex; align-items:center; gap:2px; }
.pill-links a{
  padding:10px 15px; border-radius:999px; font-size:.87rem; font-weight:500;
  color:var(--ink-700); transition:background .3s, color .3s;
}
.pill-links a:hover{ background:rgba(19,101,117,.08); color:var(--teal-900); }
.pill-links a.active{ background:var(--teal-900); color:var(--paper); }
.pill-cta{ margin-left:10px; }
.pill-toggle{
  display:none; width:40px; height:40px; border-radius:50%; border:none;
  background:var(--teal-900); color:var(--sky-200);
  align-items:center; justify-content:center; flex-shrink:0;
}
.pill-toggle svg{ width:18px; height:18px; }

.mobile-sheet{
  position:fixed; inset:0; z-index:999;
  background:rgba(11,59,69,.45); backdrop-filter:blur(4px);
  opacity:0; pointer-events:none; transition:opacity .3s var(--ease);
}
.mobile-sheet.open{ opacity:1; pointer-events:auto; }
.mobile-sheet-panel{
  position:absolute; top:90px; left:16px; right:16px;
  background:var(--paper); border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:16px; transform:translateY(-16px); opacity:0;
  transition:transform .35s var(--ease), opacity .35s var(--ease);
}
.mobile-sheet.open .mobile-sheet-panel{ transform:translateY(0); opacity:1; }
.mobile-sheet-panel a{ display:block; padding:14px 16px; border-radius:12px; font-weight:600; color:var(--teal-900); }
.mobile-sheet-panel a:hover{ background:var(--sky-100); }
.mobile-sheet-panel .btn{ margin-top:8px; width:100%; }

@media (max-width:900px){
  .pill-links, .pill-cta{ display:none; }
  .pill-toggle{ display:flex; }
  .pill-nav{ padding:8px 8px 8px 10px; }
}

/* ===========================================================
   Notice banner (registration paused)
   =========================================================== */
.notice-bar{
  background:var(--teal-900);
  color:var(--sky-100);
  text-align:center;
  font-size:.85rem;
  font-weight:600;
  padding:11px 20px;
  letter-spacing:.01em;
}
.notice-bar strong{ color:var(--sand-400); }

/* ===========================================================
   Hero
   =========================================================== */
.hero{
  position:relative;
  padding:150px 0 120px;
  background:radial-gradient(1100px 560px at 85% -10%, rgba(92,196,214,.28), transparent 60%),
             linear-gradient(180deg,#0b3b45 0%, #0e4a56 55%, #136575 100%);
  color:var(--paper);
  overflow:hidden;
}
.hero-shape{ position:absolute; border-radius:50%; filter:blur(2px); opacity:.55; animation:float 15s ease-in-out infinite; }
.hero-shape.s1{ width:440px; height:440px; top:-160px; left:-120px; background:radial-gradient(circle at 30% 30%, rgba(92,196,214,.4), transparent 70%); animation-duration:19s; }
.hero-shape.s2{ width:240px; height:240px; bottom:-70px; right:8%; background:radial-gradient(circle at 40% 40%, rgba(242,161,84,.22), transparent 70%); animation-duration:13s; animation-delay:-4s; }
.hero-shape.s3{ width:130px; height:130px; top:22%; right:20%; border:1px solid rgba(92,196,214,.45); background:transparent; filter:none; animation-duration:17s; animation-delay:-7s; }
@keyframes float{ 0%,100%{ transform:translateY(0) translateX(0) rotate(0deg);} 50%{ transform:translateY(-24px) translateX(12px) rotate(6deg);} }

.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 16px 8px 8px; border-radius:999px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  font-size:.82rem; font-weight:600; margin-bottom:24px;
}
.hero-badge .dot{
  width:26px; height:26px; border-radius:50%;
  background:var(--sand-400); color:var(--teal-900);
  display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700;
}
.hero h1{ color:var(--paper); font-size:clamp(2.2rem,4.2vw,3.3rem); margin-bottom:16px; }
.hero h1 em{ color:var(--sky-400); font-style:normal; }
.hero-lede{ font-size:1.08rem; color:rgba(228,246,249,.82); max-width:520px; margin-bottom:32px; }
.hero-cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }
.hero-meta{ display:flex; gap:30px; flex-wrap:wrap; }
.hero-meta div{ display:flex; flex-direction:column; gap:4px; }
.hero-meta strong{ font-family:"Fraunces",serif; font-size:1.25rem; color:var(--sky-400); }
.hero-meta span{ font-size:.8rem; color:rgba(228,246,249,.65); }

.hero-card{
  position:relative;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius-lg);
  padding:30px;
  backdrop-filter:blur(6px);
  animation:cardIn 1s var(--ease) both;
  animation-delay:.2s;
  display:flex;
  gap:20px;
  align-items:flex-start;
}
@keyframes cardIn{ from{ opacity:0; transform:translateY(24px) scale(.97);} to{ opacity:1; transform:none;} }
.hero-card .photo{
  width:104px; height:126px; border-radius:16px; overflow:hidden; flex-shrink:0;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  border:2px solid rgba(255,255,255,.4);
}
.hero-card .photo img{ width:100%; height:100%; object-fit:cover; }
.hero-card h4{ color:var(--paper); margin-bottom:2px; font-size:1.08rem; }
.hero-card .role{ color:var(--sky-400); font-size:.83rem; font-weight:600; margin-bottom:14px; }
.hero-card p{ font-size:.86rem; color:rgba(228,246,249,.82); margin-bottom:0; }

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding:130px 0 80px; }
  .hero-card{ max-width:460px; }
}
@media (max-width:520px){
  .hero-card{ flex-direction:column; align-items:center; text-align:center; }
}

/* ===========================================================
   Reveal animation
   =========================================================== */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }
.reveal-delay-3{ transition-delay:.24s; }
.reveal-delay-4{ transition-delay:.32s; }

/* ===========================================================
   About
   =========================================================== */
.about-grid{ display:grid; grid-template-columns:.75fr 1.25fr; gap:60px; align-items:center; }
.about-visual{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); aspect-ratio:3/4;
}
.about-visual img{ width:100%; height:100%; object-fit:cover; }
.about-visual::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 60%, rgba(11,59,69,.55)); }
.badge-float{
  position:absolute; bottom:-22px; left:-22px;
  background:var(--paper); border-radius:var(--radius-sm); box-shadow:var(--shadow-lg);
  padding:16px 20px; display:flex; align-items:center; gap:12px; z-index:2;
}
.badge-float .ico{
  width:40px; height:40px; border-radius:50%;
  background:var(--sky-100); color:var(--teal-600);
  display:flex; align-items:center; justify-content:center;
}
.badge-float strong{ display:block; font-size:.95rem; color:var(--teal-900); }
.badge-float span{ font-size:.78rem; color:var(--ink-500); }

.about-copy .lead{ font-size:1.1rem; color:var(--ink-900); }
.about-tags{ display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 30px; }
.about-tags span{
  padding:9px 16px; border-radius:999px;
  background:var(--sky-100); border:1px solid var(--sky-200);
  font-size:.83rem; font-weight:600; color:var(--teal-800);
}
.about-checklist{ display:grid; gap:14px; }
.about-checklist li{ display:flex; gap:12px; align-items:flex-start; font-size:.95rem; color:var(--ink-700); }
.about-checklist svg{ width:20px; height:20px; color:var(--sand-500); flex-shrink:0; margin-top:2px; }

@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; }
  .about-visual{ max-width:320px; margin:0 auto 54px; }
}

/* ===========================================================
   Grids / cards
   =========================================================== */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (max-width:960px){ .grid-3{ grid-template-columns:repeat(2,1fr);} .grid-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .grid-3{ grid-template-columns:1fr;} .grid-4{grid-template-columns:1fr;} .grid-2{grid-template-columns:1fr;} }

.pcard{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px 26px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position:relative; overflow:hidden;
}
.pcard::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(92,196,214,.10), transparent 60%);
  opacity:0; transition:opacity .4s;
}
.pcard:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:transparent; }
.pcard:hover::before{ opacity:1; }
.pcard .icon{
  width:50px; height:50px; border-radius:14px;
  background:var(--teal-900); color:var(--sky-400);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; transition:transform .4s var(--ease);
}
.pcard:hover .icon{ transform:rotate(-6deg) scale(1.06); }
.pcard .icon svg{ width:23px; height:23px; }
.pcard h3{ font-size:1.08rem; margin-bottom:8px; }
.pcard h4{ font-size:1rem; margin-bottom:6px; }
.pcard p{ font-size:.9rem; margin-bottom:0; }

/* equipment mini cards */
.eq-card{
  display:flex; align-items:center; gap:14px;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:18px 20px;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.eq-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.eq-card .ico{
  width:42px; height:42px; border-radius:11px; flex-shrink:0;
  background:var(--sky-100); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center;
}
.eq-card span{ font-size:.92rem; font-weight:600; color:var(--teal-900); }

/* ===========================================================
   Highlight box (glaukom bez objednani)
   =========================================================== */
.highlight-box{
  display:flex; align-items:center; gap:26px; flex-wrap:wrap;
  background:linear-gradient(135deg,var(--sky-100),var(--paper));
  border:1px solid var(--sky-200);
  border-radius:var(--radius-lg);
  padding:34px 38px;
  box-shadow:var(--shadow-sm);
}
.highlight-box .ico{
  width:64px; height:64px; border-radius:18px; flex-shrink:0;
  background:var(--teal-900); color:var(--sand-400);
  display:flex; align-items:center; justify-content:center;
}
.highlight-box .ico svg{ width:30px; height:30px; }
.highlight-box .txt{ flex:1; min-width:240px; }
.highlight-box h3{ margin-bottom:6px; font-size:1.15rem; }
.highlight-box p{ margin-bottom:0; }

/* ===========================================================
   Hours table
   =========================================================== */
.hours-table{
  width:100%; border-collapse:collapse;
  background:var(--paper); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.hours-table td{ padding:16px 22px; border-bottom:1px solid var(--line); font-size:.95rem; }
.hours-table tr:last-child td{ border-bottom:none; }
.hours-table td:first-child{ font-weight:600; color:var(--teal-900); width:40%; }
.hours-table td.closed{ color:var(--ink-500); font-style:italic; }
.hours-table tr.today td{ background:var(--sky-100); }

/* ===========================================================
   Insurance chips
   =========================================================== */
.insurance-row{ display:flex; flex-wrap:wrap; gap:14px; }
.insurance-chip{
  display:flex; align-items:center; gap:10px;
  background:var(--paper); border:1px solid var(--line); border-radius:999px;
  padding:12px 20px 12px 12px;
  box-shadow:var(--shadow-sm);
}
.insurance-chip .code{
  width:34px; height:34px; border-radius:50%;
  background:var(--teal-900); color:var(--sky-200);
  display:flex; align-items:center; justify-content:center;
  font-size:.72rem; font-weight:700; flex-shrink:0;
}
.insurance-chip span{ font-size:.85rem; font-weight:600; color:var(--teal-900); }

/* ===========================================================
   Supplement card
   =========================================================== */
.supplement-card{
  display:flex; gap:28px; align-items:center; flex-wrap:wrap;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:34px; box-shadow:var(--shadow-sm);
}
.supplement-visual{
  width:96px; height:96px; border-radius:20px; flex-shrink:0;
  background:linear-gradient(135deg,var(--sand-400),var(--sand-500));
  color:var(--teal-900);
  display:flex; align-items:center; justify-content:center;
}
.supplement-visual svg{ width:44px; height:44px; }
.supplement-info{ flex:1; min-width:240px; }
.supplement-price{
  font-family:"Fraunces",serif; font-size:1.6rem; color:var(--teal-800); white-space:nowrap;
}
.supplement-price span{ display:block; font-family:"Inter",sans-serif; font-size:.78rem; font-weight:600; color:var(--ink-500); }

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:46px; }
@media (max-width:960px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info-card{
  background:var(--teal-900); color:var(--paper); border-radius:var(--radius-lg);
  padding:38px; position:relative; overflow:hidden;
}
.contact-info-card::after{
  content:""; position:absolute; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(92,196,214,.3), transparent 70%); top:-80px; right:-80px;
}
.contact-line{ display:flex; gap:16px; align-items:flex-start; padding:17px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.contact-line:last-child{ border-bottom:none; }
.contact-line .icon{
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  background:rgba(255,255,255,.09); color:var(--sky-400);
  display:flex; align-items:center; justify-content:center;
}
.contact-line strong{ display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(228,246,249,.55); margin-bottom:4px; }
.contact-line a, .contact-line span{ font-size:.98rem; font-weight:600; color:var(--paper); }

.map-embed{ border-radius:var(--radius-md); overflow:hidden; margin-top:24px; border:1px solid rgba(255,255,255,.14); }
.map-embed iframe{ width:100%; height:220px; border:0; display:block; filter:grayscale(.1) contrast(1.05); }

.parking-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:32px; box-shadow:var(--shadow-sm);
}
.parking-card h3{ font-size:1.05rem; display:flex; align-items:center; gap:10px; }
.parking-card h3 svg{ width:20px; height:20px; color:var(--teal-600); }

/* ===========================================================
   Footer
   =========================================================== */
footer{ background:var(--teal-900); color:rgba(228,246,249,.72); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr .8fr .9fr; gap:38px; padding-bottom:42px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:10px; font-family:"Fraunces",serif; color:var(--paper); font-size:1.08rem; margin-bottom:12px; }
.footer-col h5{ color:var(--paper); font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:16px; }
.footer-col ul{ display:grid; gap:10px; }
.footer-col a{ font-size:.88rem; transition:color .3s; }
.footer-col a:hover{ color:var(--sky-400); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding-top:24px; font-size:.8rem; }
.footer-bottom a{ color:rgba(228,246,249,.72); }
.footer-bottom a:hover{ color:var(--sky-400); }
.credit{ color:rgba(228,246,249,.42); }
.credit a{ color:var(--sky-400); font-weight:600; }

/* ===========================================================
   Legal page layout
   =========================================================== */
.legal-page{ padding:160px 0 100px; }
.legal-page .container{ max-width:820px; }
.legal-page h2{ margin-top:42px; font-size:1.35rem; }
.legal-page h2:first-of-type{ margin-top:0; }
.legal-page ul{ list-style:disc; padding-left:22px; margin-bottom:1em; }
.legal-page li{ margin-bottom:8px; color:var(--ink-700); }
.legal-meta{
  display:inline-block; background:var(--sky-100); color:var(--teal-800);
  padding:8px 16px; border-radius:999px; font-size:.8rem; font-weight:600; margin-bottom:24px;
}
.back-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; color:var(--teal-900); margin-bottom:28px; }
.back-link svg{ width:16px; height:16px; }

::selection{ background:var(--sand-400); color:var(--teal-900); }
