:root {
  --cream: #fdf8ef;
  --paper: #ffffff;
  --ink: #2b2d35;
  --muted: #6b6f7a;
  --grey: #9ea5ae;
  --carrot: #f2711c;
  --carrot-dark: #d85f0d;
  --pink: #ef8fb4;
  --teal: #1f7a6d;
  --tint: #f4efe4;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(43, 45, 53, 0.08);
  --head: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--carrot-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* tlačítka */
.btn {
  display: inline-block; padding: .85em 1.5em; border-radius: 999px; background: var(--carrot); color: #fff;
  font-family: var(--head); font-weight: 600; text-decoration: none; transition: transform .15s, background .15s;
  box-shadow: 0 6px 0 var(--carrot-dark);
}
.btn:hover { transform: translateY(-2px); background: #ff7f2a; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--carrot-dark); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { padding: .5em 1.1em; box-shadow: 0 4px 0 var(--carrot-dark); }

/* navigace */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(253, 248, 239, .85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.05); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .3em; letter-spacing: .04em; }
.logo__badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); font-size: 1.2rem; transform: rotate(-12deg); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav__links a:not(.btn):hover { color: var(--carrot-dark); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink); }

/* hero */
.hero { padding: 60px 0 40px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--teal); background: #dff1ec; padding: .3em .9em; border-radius: 999px; margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero__art { position: relative; aspect-ratio: 1 / .9; }
.sofa {
  position: absolute; inset: 18% 2% 4% 2%; border-radius: 48% 52% 40% 44% / 50% 46% 38% 40%;
  background: radial-gradient(circle at 30% 30%, #ffd9b8, #ffc48f 60%, #f9a96a);
}
.hero__art img { position: absolute; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); }
.hero__helena { width: 52%; left: 0; bottom: 6%; animation: bob 5s ease-in-out infinite; }
.hero__jana { width: 50%; right: 0; bottom: 8%; animation: bob 6s ease-in-out infinite .6s; }
.hero__antonie { width: 36%; left: 36%; bottom: -2%; animation: bob 4s ease-in-out infinite 1.2s; }
.bubble {
  position: absolute; top: 4%; left: 6%; background: var(--paper); padding: .7em 1.1em; border-radius: 18px;
  font-family: var(--head); font-weight: 600; box-shadow: var(--shadow); transform: rotate(-4deg);
}
.bubble::after { content: ""; position: absolute; left: 30%; bottom: -12px; border: 12px solid transparent; border-top-color: var(--paper); border-bottom: 0; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: none; } }

/* čísla */
.stats { padding: 10px 0 30px; }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--head); font-size: 2.4rem; color: #ffb27a; line-height: 1.1; }
.stat span { opacity: .85; }

/* sekce */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark a { color: #ffb27a; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 40px; }
.section--dark .section__lead { color: #c7cad2; }

.card { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* tým */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { text-align: center; transition: transform .2s; }
.member:hover { transform: translateY(-6px) rotate(-.6deg); }
.member__img { border-radius: 50%; width: 200px; height: 200px; margin: 0 auto 20px; overflow: hidden; display: grid; place-items: end center; }
.member__img img { width: 92%; }
.member--0 .member__img { background: #d8efe9; }
.member--1 .member__img { background: #fbdbe7; }
.member--2 .member__img { background: #ffe2c9; }
.member__role { color: var(--carrot-dark); font-weight: 700; margin-top: -.3em; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags li { background: var(--tint); border-radius: 999px; padding: .2em .8em; font-size: .9rem; font-weight: 600; }

/* služby */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { display: flex; flex-direction: column; }
.service__icon { font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; background: var(--tint); border-radius: 18px; margin-bottom: 16px; }
.service p { margin: 0 0 1em; color: var(--muted); }
.service__price { margin-top: auto !important; font-family: var(--head); font-weight: 600; color: var(--ink) !important; font-size: 1.1rem; }

/* aktuality */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news__item { border-top: 6px solid var(--pink); }
.news__item:first-child { border-top-color: var(--carrot); }
.news__item time { color: var(--muted); font-size: .9rem; font-weight: 700; }
.news__item h3 { margin-top: .4em; }
.news__item p { margin: 0; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; font-size: 1.15rem; display: grid; gap: 12px; }
.hours { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 28px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.hours th { font-weight: 700; padding-right: 16px; white-space: nowrap; }
.hours td { color: #c7cad2; }

.footer { background: #1f2127; color: #9ca0aa; padding: 24px 0; font-size: .95rem; text-align: center; }
.footer p { margin: 0; }

/* responzivita */
@media (max-width: 900px) {
  .hero__in, .contact { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin: 0 auto; width: 100%; }
  .team, .services { grid-template-columns: 1fr 1fr; }
  .stats__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 18px;
    background: var(--cream); padding: 24px; border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .nav__links.is-open { display: flex; }
  .team, .services { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
