/* =========================================================================
   ZV DENT — statický web
   Dizajnový systém podľa oficiálneho brand manuálu ZV DENT
   Font: Ubuntu | Farby: Mint #B2E5D0 · Charcoal #2F2F2F · Sonic Silver #757575
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Oficiálna farebnosť ZV DENT (brand manuál) */
  --accent:        #B2E5D0;   /* Mint – akcent, tlačidlá */
  --accent-strong: #7FD3B4;   /* tmavší akcent pri hover (plochy, ikony) */
  --accent-ink:    #258064;   /* mätová pre TEXT – kontrast 4.83:1 na bielej (WCAG AA) */
  --accent-soft:   #E7F6EF;   /* jemné mätové pozadie */
  --ink:           #2F2F2F;   /* Charcoal Grey – nadpisy, tmavé sekcie */
  --text:          #5F5F5F;   /* text – kontrast 6.1:1 na bielej (WCAG AA) */
  --muted:         #6E6E6E;   /* stlmený text – kontrast 4.8:1 (WCAG AA) */
  --bg:            #ffffff;   /* pozadie */
  --alt:           #F5F5F5;   /* White Smoke – alternatívne sekcie */
  --border:        #E5E5E5;   /* linky, rámy */

  --radius:   6px;
  --radius-lg: 22px;
  --radius-xl: 34px;
  --maxw: 1200px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --shadow: 0 18px 50px rgba(34,34,34,.08);
  --shadow-sm: 0 6px 20px rgba(34,34,34,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
/* Predvolená veľkosť pre inline ikony (konkrétne pravidlá nižšie ju prepíšu) */
svg { width: 20px; height: 20px; flex: none; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
h1,h2,h3,h4,h5,h6 { color: var(--ink); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }

/* ---------- Prístupnosť (WCAG AA – zdravotnícky web) ---------- */
/* Viditeľný focus ring pre klávesnicu */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-link:focus-visible, .submenu a:focus-visible {
  outline-color: var(--accent-strong);
}
/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius);
  font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
/* Rešpektuj zníženie pohybu – vypni všetky prechody/animácie */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--alt { background: var(--alt); }
.section--mint { background: var(--accent-soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 60ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 500; font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 4px 24px rgba(34,34,34,.05); }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 82px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; }
.brand--footer img { height: 36px; }

.nav-menu { display: flex; align-items: center; gap: .35rem; margin-inline: auto; }
.nav-menu .mobile-cta { display: none; }  /* len v mobilnom draweri */
.nav-menu > li { position: relative; }
.nav-menu a.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem; border-radius: var(--radius);
  font-weight: 500; color: #3a3f3c; font-size: .98rem;
  transition: color .2s, background .2s;
}
.nav-menu a.nav-link:hover { color: var(--accent-ink); }
.nav-menu a.nav-link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.submenu a:hover { color: var(--accent-ink); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }

/* dropdown */
.has-sub > .submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .chev { transform: rotate(180deg); }
.submenu a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .95rem; color: #3a3f3c; transition: background .18s, color .18s; }
.submenu a:hover { background: var(--alt); color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: .7rem; margin-left: 1.75rem; }
.nav-cta .btn { margin-inline: .75rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--ink); font-size: .95rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent-strong); }
.nav-social { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink); transition: background .2s, border-color .2s, transform .2s; }
.nav-social:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.nav-social svg { width: 17px; height: 17px; }
.btn--sm { padding: .7rem 1.25rem; font-size: .92rem; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .2s; }
.burger span:nth-child(1){ top: 15px; }
.burger span:nth-child(2){ top: 21px; }
.burger span:nth-child(3){ top: 27px; }
body.menu-open .burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem,5vw,4.5rem) 0 clamp(3rem,6vw,5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 120px var(--radius-xl); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .8rem; max-width: 260px;
}
.hero-badge .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.hero-badge .ic svg { width: 24px; height: 24px; color: var(--accent-strong); }
.hero-badge small { color: var(--muted); font-size: .8rem; }
.hero-badge strong { color: var(--ink); font-size: 1.05rem; display: block; }

/* ---------- Call bar ---------- */
.callbar { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem,4vw,2.5rem) clamp(1.5rem,4vw,3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.callbar h2 { color: #fff; }
.callbar .eyebrow { color: var(--accent); }
.callbar-phone { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: .7rem; }
.callbar-phone svg { width: .85em; height: .85em; }
.statement .ic svg { width: 30px; height: 30px; }
.sc-link svg { width: 15px; height: 15px; }
.info-item a svg { width: 16px; height: 16px; vertical-align: middle; }
.callbar p { color: #c9cdcb; max-width: 42ch; }

/* ---------- Intro statement ---------- */
.statement { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.statement .big { font-size: clamp(1.5rem, 3.2vw, 2.35rem); color: var(--ink); line-height: 1.28; font-weight: 500; letter-spacing: -.02em; }
.statement .big + p { margin-top: 1.4rem; }
.statement-side p { margin-bottom: 1.2rem; }

/* ---------- Vitajte + koláž fotiek ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.about-intro p { margin-bottom: 1rem; }
.photo-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-collage img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1.25rem; }
.feature .ic svg { width: 28px; height: 28px; color: var(--accent-strong); }
.feature h4 { margin-bottom: .6rem; }
.feature p { font-size: .96rem; }

/* ---------- Karty služieb (podľa návrhu ZV DENT) ---------- */
.svc-card {
  display: flex; flex-direction: column; align-items: center;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 28px;
  padding: 2.5rem 2rem 2.25rem;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(127,211,180,.22); border-color: var(--accent-strong); }
.svc-ic {
  width: 96px; height: 96px; object-fit: contain; margin-bottom: 1.25rem;
  transition: transform .45s var(--ease);
}
.svc-card:hover .svc-ic { transform: scale(1.12) translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .svc-card:hover .svc-ic { transform: none; }
}
.svc-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 1.1rem; line-height: 1.3; }
.svc-desc { color: var(--text); font-size: .98rem; line-height: 1.6; }

@media (max-width: 720px) {
  .svc-card { padding: 2rem 1.5rem; border-radius: 22px; }
  .svc-ic { width: 84px; height: 84px; }
}

/* ---------- Services ---------- */
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1/1; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card::after { content:""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,26,24,.78), rgba(20,26,24,.05) 55%); }
.service-card:hover img { transform: scale(1.06); }
.service-card .sc-body { position: relative; z-index: 1; padding: 1.4rem; color: #fff; width: 100%; }
.service-card h4 { color: #fff; font-size: 1.15rem; }
.service-card .sc-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .9rem; font-weight: 500; color: var(--accent); }

/* list of services (text) */
.svc-list { columns: 2; column-gap: 3rem; }
.svc-list li { break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 500; }
.svc-list li svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; }

/* ---------- Checklist ---------- */
.checklist li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; font-size: 1.05rem; color: var(--ink); }
.checklist svg { width: 24px; height: 24px; color: var(--accent-strong); flex: none; margin-top: 2px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--alt); margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card h4 { margin-bottom: .25rem; }
.team-card .role { color: var(--muted); font-size: .95rem; }
.team-socials { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.team-socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); transition: all .2s; }
.team-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.team-socials svg { width: 16px; height: 16px; }

/* ---------- Team block (skupinová fotka + zoznam) ---------- */
.team-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.team-photo { background: var(--alt); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.team-info h2 { margin: .4rem 0 1rem; }
.team-roster { margin: 1.75rem 0; border-top: 1px solid var(--border); }
.team-roster li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.team-roster .tr-name { color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.team-roster .tr-role { color: var(--muted); font-size: .92rem; text-align: right; }

/* ---------- Price list ---------- */
.price-group { margin-bottom: 2.75rem; }
.price-group h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--accent); }
.price-group h3 .n { color: var(--accent-strong); font-size: 1rem; font-weight: 700; }
.price-row { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row .name { color: var(--text); }
.price-row .val { color: var(--ink); font-weight: 700; white-space: nowrap; }
.price-toc { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.price-toc a { padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink); transition: all .2s; }
.price-toc a:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--alt); padding: clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,4rem); }
.page-hero .eyebrow { color: var(--accent-strong); }
.page-hero h1 { margin-bottom: .8rem; }
.page-hero p { max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.info-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 22px; height: 22px; color: var(--accent-strong); }
.info-item h4 { margin-bottom: .2rem; font-size: 1.05rem; }
.info-item a, .info-item p { color: var(--text); font-size: 1rem; }
.info-item a:hover { color: var(--ink); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--accent-ink); text-decoration: underline; }
.form-status { padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.ok  { display: block; background: var(--accent-soft); color: #1F7458; border: 1px solid #9FDCC4; }
.form-status.err { display: block; background: #FDECEC; color: #A32020; border: 1px solid #F3BDBD; }

/* Súhlas GDPR */
.field--check { display: flex; align-items: flex-start; gap: .7rem; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent-strong); }
.field--check label { font-size: .92rem; font-weight: 400; color: var(--text); margin: 0; line-height: 1.55; }
.field--check label a { color: var(--accent-ink); text-decoration: underline; }

/* Honeypot – skryté pole na chytanie botov.
   Nesmie použiť display:none (niektoré boty to detegujú), preto off-screen. */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.prose ul li::before { content:""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose a { color: #2c6a52; text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,4.5rem); text-align: center; color: #fff; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band h2 { color: #fff; margin-bottom: 1.5rem; max-width: 20ch; margin-inline: auto; }

/* ---------- Recenzie (Google CTA) ---------- */
.reviews-cta { max-width: 640px; margin-inline: auto; text-align: center; }
.reviews-stars { display: flex; justify-content: center; gap: .25rem; margin-bottom: 1rem; }
.reviews-stars svg { width: 26px; height: 26px; color: #F5B301; }
.reviews-cta .lead { margin: 0 auto 1.75rem; }

/* ---------- Google recenzie widget ---------- */
.sgr { max-width: var(--maxw); margin-inline: auto; text-align: left; }
.sgr-head { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.sgr-badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; color: var(--ink); }
.sgr-score { display: inline-flex; align-items: center; gap: .6rem; }
.sgr-score b { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.sgr-stars { color: #F5B301; font-size: 1.15rem; letter-spacing: 1px; line-height: 1; }
.sgr-score em { font-style: normal; font-size: .9rem; color: var(--muted); }
.sgr-more { font-weight: 500; font-size: .95rem; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.sgr-more:hover { text-decoration: underline; }

.sgr-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.sgr-card { flex: 1 1 300px; max-width: 380px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; }
.sgr-card-h { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.sgr-ava { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.sgr-ava-i { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 1.1rem; }
.sgr-name { font-weight: 500; font-size: 1rem; color: var(--ink); }
.sgr-time { font-size: .82rem; color: var(--muted); }
.sgr-rt { color: #F5B301; font-size: 1rem; letter-spacing: 1px; margin-bottom: .7rem; line-height: 1; }
.sgr-text { font-size: .96rem; color: var(--text); line-height: 1.65; margin: 0; }
.sgr-toggle { align-self: flex-start; background: none; border: none; color: var(--accent-ink); font-weight: 500; font-size: .9rem; cursor: pointer; padding: .5rem 0 0; }

.reviews-fallback { display: none; }   /* zobrazí sa len ak recenzie nie sú dostupné */

@media (max-width: 860px) { .sgr-grid { grid-template-columns: 1fr; } }

/* ---------- Poisťovne ---------- */
.ins-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.ins-card {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .9rem 1.6rem; background: #fff;
  border: 1px solid var(--border); border-radius: 999px;
  font-weight: 500; color: var(--ink); font-size: 1.05rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ins-card:hover { border-color: var(--accent-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ins-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); flex: none; }
.ins-ic svg { width: 18px; height: 18px; color: var(--accent-strong); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9bec0; padding: clamp(3rem,6vw,5rem) 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { margin-bottom: 1.1rem; }
.brand--footer img { filter: brightness(0) invert(1); }
.footer-about p { font-size: .95rem; color: #9aa0a0; max-width: 40ch; }
.footer-col h5 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; font-weight: 500; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col a { color: #b9bec0; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: all .25s; }
.footer-social a:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
/* Zmluvné poisťovne v pätičke */
.footer-ins { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 1.8rem; }
.footer-ins-label { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.footer-ins-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-ins-item { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .92rem; color: #fff; }
.footer-ins-item svg { width: 15px; height: 15px; color: var(--accent); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #A6ACAC; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 460px; margin-inline: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1.5rem;
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { margin-bottom: .5rem; }
.cookie p { font-size: .9rem; margin-bottom: 1.1rem; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; justify-content: center; padding: .7rem 1rem; font-size: .9rem; }

/* ---------- Reveal animation ---------- */
/* Bez JS je všetko viditeľné; skrývame len keď je aktívny JS (html.js) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { animation: revealIn .7s var(--ease) forwards; }
@keyframes revealIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.in { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2.5rem}
.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; order: -1; }
  .statement { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-phone, .nav-social { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn { display: none; }
  /* mobile drawer */
  .nav-menu {
    position: fixed; top: 82px; left: 0; right: 0; bottom: 0;
    height: calc(100dvh - 82px); width: 100%;
    display: flex; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1.25rem 1.5rem 3rem; gap: .1rem; margin: 0;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; z-index: 90;
  }
  body.menu-open .nav-menu { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .nav-menu a.nav-link { padding: .95rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--border); border-radius: 0; justify-content: space-between; }
  .has-sub > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: .1rem 0 .6rem 1rem; min-width: 0; }
  .has-sub .chev { display: inline-block; }
  .nav-menu .mobile-cta { display: block; margin-top: 1.5rem; }
  .nav-menu .mobile-cta .btn { display: inline-flex; width: 100%; justify-content: center; }
}
@media (max-width: 860px) {
  .team-block { grid-template-columns: 1fr; }
  .team-photo { max-width: 520px; }
  .about-intro { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .callbar { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; gap: .25rem; }
  .price-row .val { align-self: flex-start; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-badge { position: static; margin-top: 1rem; max-width: none; }
}
