@import url("/fonts/fonts.css");

:root {
  --teal: #277C95;
  --teal-2: #1d5f73;
  --teal-soft: #e3f0f3;
  --gold: #EDAB24;
  --gold-soft: #fcd980;
  --green: #5A8C47;
  --mint: #ebf4ed;
  --ink: #1b2a2f;
  --muted: #55666c;
  --line: #d6e3e6;
  --bg: #fbfcfb;
  --card: #ffffff;
  --radius: 18px;
  --wrap: 1120px;
  --display: "Momo Trust Display", Georgia, "Times New Roman", serif;
  --text: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
section { padding-block: clamp(56px, 8vw, 96px); }
.kicker { font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font: 500 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: #1b1b1b; }
.btn-primary:hover { background: #f3c049; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-2); }
.btn-ghost { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal-soft); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Hlavička */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(251, 252, 251, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--display); font-size: 1.25rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .97rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.nav .btn { min-height: 42px; padding: .55em 1.1em; }
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px); background: linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--teal-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.hero .note { font-size: .95rem; color: var(--muted); }
.hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(29, 95, 115, .45); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; order: -1; }
}

/* Kroky */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: k; margin-top: 2em; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: k; content: counter(k); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Služby */
.services { background: var(--mint); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 2em; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: .85rem; padding: .25em .75em; border-radius: 999px; background: var(--teal-soft); color: var(--teal-2); }
.tag.free { background: var(--gold-soft); color: #5a3d00; font-weight: 500; }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card.featured { border: 2px solid var(--gold); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Doplnenie od klienta – viditeľné v náhľade, pred spustením zmizne */
.doplnit { background: #fff3c4; border: 1px dashed #c99a00; color: #6b5200; padding: 0 .35em; border-radius: 4px; font-size: .9em; }

/* Program */
.program .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.program img { border-radius: 24px; }
.checks { list-style: none; padding: 0; margin: 1.2em 0 1.6em; }
.checks li { padding-left: 34px; position: relative; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 820px) { .program .wrap { grid-template-columns: 1fr; } }

/* O mne */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-img { border-radius: 24px; overflow: hidden; position: sticky; top: 100px; }
.about blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--card); border-radius: 0 12px 12px 0; font-family: var(--display); font-size: 1.35rem; color: var(--teal-2); }
.timeline { list-style: none; padding: 0; margin: 1.6em 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 1.1em 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.timeline b { color: var(--teal-2); margin-right: .4em; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1em; }
.certs figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.certs figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.signature { width: 180px; margin-top: 1em; }
@media (max-width: 820px) { .about .wrap { grid-template-columns: 1fr; } .about-img { position: static; } }

/* Živá voda pás */
.water { background: var(--teal-2); color: #fff; }
.water .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.water h2 { color: #fff; }
.water p { color: #d7e9ee; }
.water img { border-radius: 24px; }
.water .btn-ghost { color: #fff; }
.water .btn-ghost:hover { background: rgba(255,255,255,.1); }
@media (max-width: 820px) { .water .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }
.faq .wrap { max-width: 820px; }

/* Záver */
.final { text-align: center; background: linear-gradient(180deg, var(--bg), var(--mint)); }
.final .lead { margin-inline: auto; }
.final .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.6em; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 2em; }
.contacts a { text-decoration: none; font-weight: 500; }

footer { background: var(--ink); color: #b9c7cb; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: #fff; }

/* Podstránky */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--mint), var(--bg)); }
.page-hero .lead { margin-top: .6em; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: 24px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.honest { border-left: 4px solid var(--gold); }
