/* freshDENT – štýly stránky
   Farby vychádzajú z loga: zelená #8FD22A, sivá #7E8484 */
:root {
  /* Paleta A – Rodinný domov */
  --green: #8fd22a;          /* zelená z loga */
  --green-hover: #84c51f;
  --logo-gray: #7e8484;      /* sivá z loga */
  --forest: #3f6b1f;         /* lesná zelená – zelený text a nadpisy */
  --apricot: #f0a878;        /* marhuľová – teplý akcent */
  --apricot-dark: #5a2e12;   /* text na marhuľovej */
  --apricot-soft: #fbe7da;
  --green-tint: #eef8df;     /* jemná zelená na ikony a plochy */
  --on-green: #1e2a0d;
  --ink: #33302c;            /* teplá grafitová – text */
  --gray: #6f6a63;
  --line: #ebe4d8;
  --bg: #fcfaf6;             /* krémová */
  --sand: #f5efe5;           /* piesková */
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(80, 60, 30, .08);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }

/* zelené podfarbenie dôležitých slov – ako fixkou */
.mark { color: var(--forest); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section__head { max-width: 680px; margin-bottom: 42px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); }
.lead { font-size: 1.15rem; color: var(--gray); }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; font-family: var(--font-head);
  text-decoration: none; border: 2px solid transparent; transition: .15s ease; cursor: pointer;
}
.btn--primary { background: var(--green); color: var(--on-green); box-shadow: 0 6px 16px rgba(143, 210, 42, .35); }
.btn--primary:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Horná lišta */
.topbar { background: var(--green-tint); color: var(--ink); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { font-weight: 700; text-decoration: none; }
.lang { display: inline-flex; gap: 4px; margin-left: 14px; }
.lang a { padding: 1px 8px; border-radius: 999px; font-size: .8rem; letter-spacing: .04em; }
.lang a[aria-current] { background: var(--green); color: var(--on-green); }
.lang a:not([aria-current]):hover { background: var(--white); }

/* Hlavička */
.header { position: sticky; top: 0; z-index: 50; background: rgba(252,250,246,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { box-shadow: inset 0 -3px 0 var(--green); }
.nav .btn { padding: 11px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Úvod */
.hero { padding: 48px 0 96px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -120px; width: 680px; height: 680px; border-radius: 50%;
  background: var(--green-tint); z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line);
  font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px;
}
.hero__badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); }
.hero__img { position: relative; }
.hero__img img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero__note {
  position: absolute; left: -26px; bottom: -22px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow);
  padding: 14px 18px; font-size: .92rem; display: flex; gap: 12px; align-items: center; max-width: 290px;
}
.hero__note strong { display: block; font-family: var(--font-head); }
.hero__note .icon-bubble { background: var(--apricot); }
.hero__note .icon-bubble svg { color: var(--apricot-dark); }

/* Ikona v kruhu */
.icon-bubble {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green-tint);
  display: grid; place-items: center;
}
.icon-bubble svg { width: 21px; height: 21px; color: var(--ink); }

/* Rýchle info */
.quick { margin-top: -44px; position: relative; z-index: 2; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.muted { color: var(--gray); font-size: .93rem; }
.card a.tel { font-weight: 700; text-decoration: none; font-size: 1.12rem; font-family: var(--font-head); }

/* Uvítanie */
.welcome { max-width: 760px; margin: 0 auto; text-align: center; }
.welcome h2 { margin-bottom: .6em; }
.welcome p { font-size: 1.18rem; color: var(--gray); }
.welcome .sign { font-family: var(--font-head); color: var(--ink); font-weight: 700; font-size: 1.05rem; margin-top: 18px; }

/* Služby */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--line); transition: .2s ease; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service .icon-bubble { width: 52px; height: 52px; margin-bottom: 16px; }
.service .icon-bubble svg { width: 25px; height: 25px; }
.service p { color: var(--gray); font-size: .96rem; flex: 1; }
.service .price { font-weight: 700; font-size: .92rem; font-family: var(--font-head); }

/* O nás */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about__img { position: relative; isolation: isolate; }
.about__img img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; width: 100%; }
.about__img::after {
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--apricot);
  left: -34px; bottom: -34px; z-index: -1;
}
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; 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='%231e2a0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.doctor { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px; background: var(--sand); border-radius: 18px; }
.doctor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--apricot); flex: none; }
.doctor small { display: block; color: var(--gray); line-height: 1.5; }

/* Cenník */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.pricing details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pricing summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.06rem; font-family: var(--font-head);
  display: flex; justify-content: space-between; align-items: center;
}
.pricing summary::-webkit-details-marker { display: none; }
.pricing summary::after {
  content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; line-height: 1;
}
.pricing details[open] summary::after { content: "–"; background: var(--green); }
.pricing table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.pricing td { padding: 10px 22px; border-top: 1px solid var(--line); }
.pricing td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.notice { margin-top: 26px; background: var(--green-tint); border-radius: 18px; padding: 18px 22px; font-size: .96rem; }
.notice p:last-child { margin: 0; }

/* Galéria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; background: rgba(30, 26, 20, .9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.contact__box { background: var(--ink); color: #efe9df; border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.contact__box::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: var(--green);
}
.contact__box > * { position: relative; z-index: 1; }
.contact__box h2 { color: #fff; max-width: 70%; }
.contact__box a { color: #fff; }
.contact__box .btn--primary { color: var(--on-green); }
.contact .card { display: flex; flex-direction: column; }
.contact__photo { margin-top: auto; padding-top: 22px; }
.contact__photo { display: grid; gap: 16px; }
.building { margin: 0; }
.building__img { position: relative; }
.building__img img { border-radius: 16px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.building figcaption { font-size: .92rem; color: var(--gray); margin-top: 8px; }
.pin {
  position: absolute; transform: translate(-50%, -130%); white-space: nowrap;
  background: var(--green); color: var(--on-green); font-weight: 700; font-size: .8rem; font-family: var(--font-head);
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.pin::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--green); border-bottom: 0;
}
.contact__box .eyebrow { color: #d9d2c5; }
.contact dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 24px 0 30px; }
.contact dt { color: #bdb5a8; }
.contact dd { margin: 0; font-weight: 600; }
.contact .card ul { padding-left: 18px; margin: 0; }

/* Pätička */
.footer { background: var(--sand); color: var(--gray); font-size: .93rem; padding: 50px 0 110px; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer a { text-decoration: none; color: var(--ink); }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.footer h4 { margin: 0 0 10px; font-size: 1rem; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

.mobile-bar { display: none; }

/* Podstránka (GDPR) */
.doc { max-width: 820px; margin: 0 auto; padding: 60px 22px 90px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* Responzivita */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 24px 0 70px; }
  .hero::before { width: 420px; height: 420px; right: -160px; top: -60px; }
  .hero .wrap, .about, .contact, .pricing { grid-template-columns: 1fr; gap: 30px; }
  .hero__note { left: 12px; bottom: -18px; }
  .quick { margin-top: -20px; }
  .quick__grid { grid-template-columns: 1fr; gap: 14px; }
  .about__img::after { display: none; }
  .topbar .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); flex-direction: column;
    align-items: stretch; padding: 12px 22px 22px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .footer .wrap { grid-template-columns: 1fr; }
  .contact__box { padding: 30px 24px; }
  .contact__box h2 { max-width: 75%; }
  .contact__box::after { width: 130px; height: 130px; right: -55px; top: -55px; }
  .hero__badges { display: none; }
  .hero__actions { margin-bottom: 8px; }
  .contact dl { grid-template-columns: 90px 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(252,250,246,.97);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.06);
  }
  .mobile-bar .btn { padding: 13px 10px; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Recenzie */
.hero .wrap.rating-hero { grid-template-columns: auto 1fr; gap: 48px; }
.score { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px 34px; text-align: center; box-shadow: var(--shadow); }
.score strong { display: block; font-family: var(--font-head); font-size: 3.4rem; line-height: 1; }
.stars { color: #e9a23b; letter-spacing: 2px; font-size: 1.15rem; }
.score small { display: block; color: var(--gray); margin-top: 6px; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.themes li { background: var(--apricot-soft); color: var(--apricot-dark); font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 999px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .95rem; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button span { color: var(--gray); font-weight: 500; margin-left: 4px; }
.filters button[aria-pressed="true"] span { color: #d9d2c5; }
.reviews { columns: 3 300px; column-gap: 18px; }
.review {
  break-inside: avoid; margin: 0 0 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; position: relative;
}
.review blockquote { margin: 8px 0 14px; font-size: 1rem; line-height: 1.6; }
.review footer { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray); }
.review .av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--green-tint); color: var(--forest); font-weight: 700; font-family: var(--font-head);
}
.review footer strong { color: var(--ink); display: block; font-weight: 600; }
.review .lang { position: absolute; top: 18px; right: 18px; font-size: .75rem; font-weight: 700; background: var(--apricot-soft); color: var(--apricot-dark); border-radius: 999px; padding: 2px 8px; }
.review.hidden { display: none; }
.more { text-align: center; margin-top: 10px; }
.source { margin-top: 30px; color: var(--gray); font-size: .92rem; text-align: center; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 10px 0 16px; font-size: 1.05rem; flex: 1; }
.quote footer { color: var(--gray); font-size: .92rem; }
.quote footer strong { color: var(--ink); }
.quotes-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.quotes-head .section__head { margin-bottom: 0; }
@media (max-width: 860px) {
  .hero .wrap.rating-hero { grid-template-columns: 1fr; gap: 22px; }
  .score { justify-self: start; }
  .quotes { grid-template-columns: 1fr; }
}
