body{margin:0;background:#FFFFFF}
.hv{transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease}
.hv-card:hover{transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,90,98,0.14) !important; border-color: #2EB4C3 !important}
.hv-btn:hover{transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,90,98,0.22)}
.hv-out:hover{border-color: #13707A !important; background: #F2FAFB !important}
.arr{display: inline-block; transition: transform 0.2s ease}
.hv-btn:hover .arr{transform: translateX(4px)}
a{color:#13707A}a:hover{color:#0E5A62}
details summary{cursor:pointer;list-style:none}
details summary::-webkit-details-marker{display:none}
details[open] .q-arc{transform:rotate(180deg)}

/* ---- additions for the production site (not in the design canvas) ---- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
sc-for { display: contents; }
html.dc-booting *, html.dc-booting *::before, html.dc-booting *::after { transition: none !important; }
[id] { scroll-margin-top: 16px; }
main { display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #13707A; color: #FFFFFF !important; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #2EB4C3; outline-offset: 3px; border-radius: 6px;
}
#kontakt a:focus-visible, #kontakt button:focus-visible, #vodic button:focus-visible, #tehnologija a:focus-visible { outline-color: #FFFFFF; }

/* text in the privacy page */
.prose h2 { margin: 28px 0 8px; font-family: Cabin, sans-serif; font-weight: 500; font-size: 26px; line-height: 1.2; color: #3B3B3D; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }

/* illustrated model photos: soft edges so they melt into the page instead of sitting in a box */
.photo-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* ---- interactive controls ---- */
/* stepper: 1 — 2 — 3 */
.stepper { position: relative; display: flex; }
.stepper-line { position: absolute; top: 17px; left: calc(100% / (2 * var(--n))); right: calc(100% / (2 * var(--n))); height: 3px; border-radius: 3px; background: #D5F0F3; }
.stepper-line span { display: block; height: 100%; border-radius: 3px; background: #13707A; transition: width 0.45s ease; }
.step { position: relative; z-index: 1; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.step-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; border: 2px solid #BFE6EB; color: #13707A; font-family: Cabin, sans-serif; font-weight: 600; font-size: 16px; box-shadow: 0 2px 6px rgba(14,90,98,0.08); transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.step:hover .step-dot { transform: translateY(-2px); border-color: #2EB4C3; box-shadow: 0 6px 14px rgba(14,90,98,0.16); }
.step[aria-pressed="true"] .step-dot { background: #13707A; border-color: #13707A; color: #FFFFFF; transform: scale(1.1); box-shadow: 0 8px 18px rgba(19,112,122,0.38); }
.step-label { font-family: Cabin, sans-serif; font-size: 14px; letter-spacing: 0.04em; color: #6E6E72; transition: color 0.25s ease; }
.step[aria-pressed="true"] .step-label { color: #13707A; font-weight: 600; }

/* pill switch (segmented control) */
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 4px; border-radius: 999px; background: #E4F5F7; box-shadow: inset 0 1px 3px rgba(14,90,98,0.14); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 999px; background: linear-gradient(180deg, #1A8592 0%, #13707A 100%); box-shadow: 0 6px 14px rgba(19,112,122,0.35), inset 0 1px 0 rgba(255,255,255,0.25); transition: transform 0.4s cubic-bezier(0.3, 0.7, 0.3, 1); }
.seg-btn { position: relative; z-index: 1; min-height: 42px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font-family: Cabin, sans-serif; font-weight: 600; font-size: 16px; color: #13707A; cursor: pointer; transition: color 0.3s ease; }
.seg-btn[aria-selected="true"] { color: #FFFFFF; }

/* pill switch on dark backgrounds */
.seg--dark { background: rgba(255,255,255,0.08); box-shadow: inset 0 1px 3px rgba(0,0,0,0.35); }
.seg--dark .seg-pill { background: linear-gradient(180deg, #3CC3D2 0%, #2EB4C3 100%); box-shadow: 0 6px 16px rgba(46,180,195,0.35), inset 0 1px 0 rgba(255,255,255,0.3); }
.seg--dark .seg-btn { color: #CFE9EC; }
.seg--dark .seg-btn[aria-selected="true"] { color: #12363A; }

/* life with braces: light cards on the dark section */
.life-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.life-strip::-webkit-scrollbar { display: none; }
.life-card { flex: 0 0 min(280px, 78%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.life-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(46,180,195,0.45); transform: translateY(-2px); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.round-btn:hover { background: #2EB4C3; border-color: #2EB4C3; color: #12363A; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(46,180,195,0.35); }

/* whitening slider = shade guide */
.shade-range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; }
.shade-range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, #E6D3A3 0%, #F1E6C8 45%, #FDFCF7 100%); box-shadow: inset 0 1px 3px rgba(0,0,0,0.15); }
.shade-range::-moz-range-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, #E6D3A3 0%, #F1E6C8 45%, #FDFCF7 100%); box-shadow: inset 0 1px 3px rgba(0,0,0,0.15); }
.shade-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9px; border-radius: 50%; background: #FFFFFF; border: 3px solid #13707A; box-shadow: 0 4px 12px rgba(19,112,122,0.35); transition: transform 0.2s ease; }
.shade-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; border: 3px solid #13707A; box-shadow: 0 4px 12px rgba(19,112,122,0.35); }
.shade-range:hover::-webkit-slider-thumb, .shade-range:focus-visible::-webkit-slider-thumb { transform: scale(1.12); }

/* how braces work: steps left, photo right */
.how { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.35fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.how-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.how-step { width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 14px 16px; border: 0; border-radius: 16px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background 0.25s ease, box-shadow 0.25s ease; }
.how-step:hover { background: #F7FBFC; }
.how-step[aria-pressed="true"] { background: #F2FAFB; box-shadow: inset 3px 0 0 #2EB4C3; }
.how-num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; border: 2px solid #BFE6EB; color: #13707A; font-family: Cabin, sans-serif; font-weight: 600; transition: all 0.25s ease; }
.how-step[aria-pressed="true"] .how-num { background: #13707A; border-color: #13707A; color: #FFFFFF; box-shadow: 0 6px 14px rgba(19,112,122,0.35); }
.how-text { display: flex; flex-direction: column; gap: 2px; }
.how-text strong { font-family: Cabin, sans-serif; font-weight: 600; font-size: 19px; color: #3B3B3D; transition: color 0.25s ease; }
.how-text span { font-size: 16px; color: #6E6E72; }
.how-step[aria-pressed="true"] .how-text strong { color: #13707A; }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-media { order: -1; }
}

/* bite problems: list left, photo right */
.bite { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.55fr); grid-template-areas: "title media" "list media" "desc media" "note media"; grid-template-rows: auto auto auto 1fr; column-gap: clamp(28px, 5vw, 64px); row-gap: 18px; align-items: start; }
.bite-title { grid-area: title; color: #FFFFFF; }
.bite-list { grid-area: list; display: flex; flex-direction: column; border-left: 2px solid rgba(255,255,255,0.12); }
.bite-media { grid-area: media; align-self: center; }
.bite-desc { grid-area: desc; display: flex; flex-direction: column; gap: 4px; min-height: 84px; }
.bite-desc strong { font-family: Cabin, sans-serif; font-weight: 600; font-size: 22px; color: #9FDCE3; }
.bite-desc span { font-size: 17px; color: #E8E8EA; }
.bite-note { grid-area: note; font-size: 14px; color: #A9A9AE; }
.bite-opt { margin-left: -2px; padding: 9px 12px 9px 18px; border: 0; border-left: 2px solid transparent; background: none; text-align: left; font-family: Cabin, sans-serif; font-size: 19px; color: #B4B4B9; cursor: pointer; transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.bite-opt:hover { color: #FFFFFF; }
.bite-opt[aria-selected="true"] { color: #FFFFFF; font-weight: 600; border-left-color: #2EB4C3; background: linear-gradient(90deg, rgba(46,180,195,0.16), rgba(46,180,195,0) 85%); }
@media (max-width: 860px) {
  .bite { grid-template-columns: 1fr; grid-template-areas: "title" "list" "media" "desc" "note"; grid-template-rows: none; }
  .bite-list { flex-direction: row; gap: 8px; overflow-x: auto; border-left: 0; padding-bottom: 4px; scrollbar-width: none; }
  .bite-opt { flex: 0 0 auto; margin: 0; padding: 8px 16px; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 999px; white-space: nowrap; font-size: 16px; }
  .bite-opt[aria-selected="true"] { background: #2EB4C3; border-color: #2EB4C3; color: #12363A; }
}

@media (max-width: 520px) {
  .life-insert { width: 34% !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  header nav, #kontakt iframe, .skip-link { display: none !important; }
}
.round-btn--light { border-color: #BFE6EB; background: #FFFFFF; color: #13707A; }
.round-btn--light:hover { background: #13707A; border-color: #13707A; color: #FFFFFF; box-shadow: 0 6px 14px rgba(19,112,122,0.3); }
.pgroup { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; padding: 14px 18px; border: 0; border-left: 3px solid #DDF1F4; border-radius: 0 14px 14px 0; background: transparent; cursor: pointer; font: inherit; color: #6E6E72; transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
.pgroup:hover { background: #F7FCFD; }
.pgroup.is-on { border-left-color: #13707A; background: #F2FAFB; color: #4D4D4F; }
.pgroup-name { font-family: Cabin, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: #7FB9BF; transition: color 0.35s ease; }
.pgroup.is-on .pgroup-name { color: #13707A; }
.pgroup-list { display: flex; flex-direction: column; gap: 2px; font-size: 17px; }
.pgroup-list span::before { content: "•"; margin-right: 8px; color: #2EB4C3; }
.kid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.kid-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: #FFFFFF; border: 1.5px solid #F6E2D0; }
.kid-card strong { font-family: Cabin, sans-serif; font-weight: 600; font-size: 19px; color: #3B3B3D; }
.kid-card span { font-size: 16px; color: #6E6E72; }
.kid-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #FFEFE2; margin-bottom: 6px; }
.kid-card { transition: transform 0.25s ease, box-shadow 0.25s ease; border-radius: 24px; }
.kid-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,90,98,0.08); }
.paste { padding: 22px 24px; border-radius: 28px; background: #FFFFFF; border: 1.5px solid #F6E2D0; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.team-card p { text-align: left; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.nav-links { display: contents; }
@media (max-width: 720px) {
  header > div { gap: 10px 12px !important; padding: 12px 16px 6px !important; }
  header > div > a:first-child img { height: 40px !important; }
  .site-nav { display: contents !important; }
  .nav-call { order: 1; min-height: 44px !important; padding: 0 14px !important; font-size: 15px; }
  .nav-links { order: 2; flex: 1 1 100%; display: flex; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; white-space: nowrap; font-size: 15px; }
}
@media (max-width: 400px) {
  header > div > a:first-child img { height: 34px !important; }
  .nav-call { padding: 0 10px !important; font-size: 14px; gap: 6px !important; }
  .nav-call svg { width: 18px; }
  .nav-links a { padding: 0 5px; font-size: 14px; letter-spacing: 0.04em; }
}
@keyframes dc-live { 0%, 100% { box-shadow: 0 0 0 3px #D5F0F3; } 50% { box-shadow: 0 0 0 7px rgba(46,180,195,0.18); } }
@keyframes dc-live-dark { 0%, 100% { box-shadow: 0 0 0 3px rgba(143,227,236,0.3); } 50% { box-shadow: 0 0 0 7px rgba(143,227,236,0.12); } }
@media (prefers-reduced-motion: reduce) { [style*="dc-live"] { animation: none !important; } }
.signs { padding: 18px 22px; border-radius: 20px; background: #FFF4EA; border: 1.5px solid #F6E2D0; }
.signs strong { font-family: Cabin, sans-serif; font-weight: 600; font-size: 18px; color: #3B3B3D; }
.signs ul { margin: 8px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; font-size: 17px; }
.signs li { position: relative; padding-left: 26px; }
.signs li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 7px; border: 2.5px solid #2EB4C3; border-top: 0; border-radius: 0 0 14px 14px; }
