/* ------------------------------------------------------------------
   TOKENY – tu meníš farby, ak treba doladiť podľa loga
   --accent      = firemná zelená (výplne, ikony, orámovania)
   --accent-ink  = tmavší odtieň pre malý text, aby bol dobre čitateľný
------------------------------------------------------------------ */
:root{
  --bg:#ffffff;
  --bg-alt:#f1f5f4;
  --surface:#ffffff;
  --text:#0e1e2b;
  --text-muted:#5e7180;
  --line:#dde5e4;
  --accent:#4ca45c;
  --accent-hover:#3d8b4c;
  --accent-ink:#2f7340;
  --accent-soft:#e7f3e9;
  --on-accent:#ffffff;
  --shadow:0 18px 40px -24px rgba(14,30,43,.45);

  --display:"Bricolage Grotesque","Segoe UI",system-ui,sans-serif;
  --body:"Instrument Sans","Segoe UI",system-ui,sans-serif;

  --wrap:1180px;
  --gutter:clamp(20px,5vw,40px);
  --section:clamp(64px,9vw,116px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0b1418;
    --bg-alt:#101e23;
    --surface:#12222a;
    --text:#e8efee;
    --text-muted:#9aafad;
    --line:#22343a;
    --accent:#6fc77e;
    --accent-hover:#8ad596;
    --accent-ink:#8ad596;
    --accent-soft:#16301b;
    --on-accent:#08210e;
    --shadow:0 18px 40px -24px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"]{
  --bg:#0b1418;
  --bg-alt:#101e23;
  --surface:#12222a;
  --text:#e8efee;
  --text-muted:#9aafad;
  --line:#22343a;
  --accent:#6fc77e;
  --accent-hover:#8ad596;
  --accent-ink:#8ad596;
  --accent-soft:#16301b;
  --on-accent:#08210e;
  --shadow:0 18px 40px -24px rgba(0,0,0,.8);
}

/* ------------------------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--display);margin:0;line-height:1.1;letter-spacing:-.02em;font-weight:600}
p{margin:0}
ul{margin:0;padding:0;list-style:none}

:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--section)}
.section--alt{background:var(--bg-alt)}

.lede{color:var(--text-muted);max-width:62ch;font-size:1.05rem}

/* Tlačidlá ------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--body);font-weight:600;font-size:1rem;
  padding:.9rem 1.5rem;border-radius:999px;text-decoration:none;
  border:1.5px solid transparent;cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.btn--primary{background:var(--accent);color:var(--on-accent)}
.btn--primary:hover{background:var(--accent-hover)}
.btn--ghost{border-color:var(--line);color:var(--text)}
.btn--ghost:hover{border-color:var(--accent);color:var(--accent-ink)}
.btn svg{width:18px;height:18px;flex:none}

/* Horná lišta ---------------------------------------------------- */
.topbar{background:var(--text);color:var(--bg);font-size:.875rem}
:root[data-theme="dark"] .topbar,
:root:not([data-theme="light"]) .topbar{}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:.5rem 1.75rem;align-items:center;padding-block:.7rem}
.topbar a{text-decoration:none;opacity:.9}
.topbar a:hover{opacity:1;text-decoration:underline}
.topbar-item{display:inline-flex;align-items:center;gap:.5rem}
.topbar-item svg{width:15px;height:15px;opacity:.7;flex:none}
.topbar-social{margin-left:auto;display:flex;gap:.9rem}
.topbar-social a{display:inline-flex}
.topbar-social svg{width:17px;height:17px}
@media (max-width:720px){.topbar-social{margin-left:0}}

/* Hlavička ------------------------------------------------------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;padding-block:.85rem}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;flex:none}
.logo img{height:46px;width:auto}
.logo-text{font-family:var(--display);font-weight:700;font-size:1.5rem;letter-spacing:-.03em}
.logo-text b{color:var(--accent-ink);font-weight:700}

.nav{margin-left:auto;display:flex;gap:1.9rem}
.nav a{text-decoration:none;font-weight:500;font-size:1rem;color:var(--text-muted);padding-block:.25rem;border-bottom:2px solid transparent}
.nav a:hover{color:var(--text);border-bottom-color:var(--accent)}
.header-cta{flex:none}

.nav-toggle{display:none;margin-left:auto;background:none;border:1.5px solid var(--line);border-radius:10px;padding:.5rem .7rem;color:var(--text)}
.nav-toggle svg{width:22px;height:22px;display:block}

@media (max-width:960px){
  .nav{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;background:var(--bg);
    border-bottom:1px solid var(--line);padding:.5rem var(--gutter) 1.25rem;
  }
  .nav[hidden]{display:none}
  .nav a{padding-block:.85rem;border-bottom:1px solid var(--line)}
  .nav-toggle{display:block}
  .header-cta{display:none}
}

/* Hero ----------------------------------------------------------- */
.hero{position:relative;overflow:hidden;background:var(--bg)}
.hero .wrap{
  display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:center;padding-block:clamp(56px,8vw,96px);
}
.hero-kicker{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--display);font-size:1.05rem;font-weight:500;color:var(--accent-ink);margin-bottom:1.1rem;
}
.hero-kicker::before{content:"";width:34px;height:1.5px;background:var(--accent)}
.hero h1{font-size:clamp(2.6rem,6vw,4.4rem);font-weight:700;margin-bottom:1.1rem}
.hero p{font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--text-muted);max-width:46ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2rem}

.hero-media{position:relative}
.hero-photo{
  position:relative;border-radius:220px 220px 26px 26px;overflow:hidden;
  aspect-ratio:4/5;
  background:linear-gradient(160deg,var(--accent-soft),var(--bg-alt) 65%);
  box-shadow:var(--shadow);
}
.hero-photo img{width:100%;height:100%;object-fit:cover}
@media (max-width:880px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-media{order:-1;max-width:420px}
  .hero-photo{aspect-ratio:1/1;border-radius:200px 200px 24px 24px}
}

/* Sekcia – nadpisy ----------------------------------------------- */
.section-head{max-width:44ch;margin-bottom:clamp(2.25rem,4vw,3.5rem)}
.section-head h2{font-size:clamp(1.9rem,3.6vw,2.9rem);margin-bottom:.85rem}
.section-head p{color:var(--text-muted)}

/* Prednosti ------------------------------------------------------ */
.perks{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.25rem,2.5vw,2rem)}
.perk{padding-top:1.5rem;border-top:2px solid var(--accent)}
.perk-icon{width:34px;height:34px;color:var(--accent);margin-bottom:1rem}
.perk h3{font-size:1.2rem;margin-bottom:.5rem}
.perk p{color:var(--text-muted);font-size:.98rem}
@media (max-width:880px){.perks{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.perks{grid-template-columns:1fr}}

/* Typy okuliarov ------------------------------------------------- */
.types{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:22px;overflow:hidden}
.type{background:var(--bg-alt);padding:clamp(1.6rem,3vw,2.4rem)}
.type h3{font-size:1.35rem;margin-bottom:.6rem}
.type p{color:var(--text-muted);font-size:1rem}
.type-num{font-family:var(--display);color:var(--accent-ink);font-size:.95rem;font-weight:600;margin-bottom:.9rem;display:block}
@media (max-width:640px){.types{grid-template-columns:1fr}}

/* Volanie do akcie ----------------------------------------------- */
.cta{background:var(--accent);color:var(--on-accent)}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2rem;padding-block:clamp(48px,6vw,72px)}
.cta h2{font-size:clamp(1.7rem,3.2vw,2.5rem);max-width:20ch;color:var(--on-accent)}
.cta-phone{display:inline-flex;align-items:center;gap:.85rem;text-decoration:none;font-family:var(--display);font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;background:var(--surface);color:var(--accent-ink);padding:1rem 1.75rem;border-radius:999px}
.cta-phone:hover{background:var(--bg-alt)}
.cta-phone svg{width:26px;height:26px}

/* Info: mapa, hodiny, kontakt ------------------------------------ */
.info{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(1.5rem,3vw,2.5rem);align-items:stretch}
.map{
  border-radius:22px;overflow:hidden;border:1px solid var(--line);min-height:420px;
  background:var(--accent-soft);position:relative;
}
.map iframe{width:100%;height:100%;min-height:420px;border:0;display:block;filter:saturate(.9)}
.info-cards{display:flex;flex-direction:column;gap:clamp(1.25rem,2.5vw,1.75rem)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:clamp(1.5rem,3vw,2rem)}
.card h3{font-size:1.4rem;margin-bottom:1.1rem}
.hours li{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0;border-bottom:1px dashed var(--line);font-size:1rem}
.hours li:last-child{border-bottom:0}
.hours span:last-child{font-weight:600}
.hours .closed{color:var(--text-muted);font-weight:500}
.contact li{display:flex;gap:.85rem;padding:.55rem 0;align-items:flex-start;font-size:1rem}
.contact svg{width:19px;height:19px;color:var(--accent);flex:none;margin-top:.28rem}
.contact a{text-decoration:none}
.contact a:hover{color:var(--accent-ink)}
.contact small{display:block;color:var(--text-muted)}
@media (max-width:880px){.info{grid-template-columns:1fr}.map{min-height:320px}.map iframe{min-height:320px}}

/* Pätička -------------------------------------------------------- */
.site-footer{background:var(--bg);color:var(--text);border-top:1px solid var(--line);padding-block:clamp(40px,5vw,56px)}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:space-between}
.footer-logo{display:inline-flex;flex:none}
.footer-logo img{height:52px;width:auto}
.site-footer p{font-size:.9rem;color:var(--text-muted)}
.site-footer nav{display:flex;gap:1.5rem;flex-wrap:wrap}
.site-footer nav a{text-decoration:none;font-size:.92rem;color:var(--text-muted)}
.site-footer nav a:hover{color:var(--accent-ink);text-decoration:underline}

.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--accent);color:var(--on-accent);padding:.7rem 1.1rem;border-radius:8px}
