/* RenoAnima – brand #828157, světle béžová #F5F1E7, Outfit, čistý layout */

:root {
  --brand: #828157;
  --bg: #F5F1E7;
  --text: #3b3735;
  --muted: #5f5f5f;
  --line: rgba(59, 55, 53, 0.12);
  --radius: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur: 0.35s;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* Jemné animace – pouze při povoleném pohybu */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sectionFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
a:hover { opacity: 0.9; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* HEADER – brand barva */
.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  min-height: 56px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo {
  height: 32px;
  width: auto;
  display: block;
  vertical-align: middle;
}

.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li { margin: 0; }
.nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.98);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Hamburger – skrytý na desktopu */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hamburger { display: none; }

/* MAIN */
main { padding: 0 0 64px; }

/* HERO – obrázek, overlay, světlý text, plné tlačítko */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg) url("assets/images/hero.png") center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero-logo {
  flex-shrink: 0;
  display: none;
}
.hero-logo img {
  height: 96px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .hero-logo {
    display: block;
  }
  .hero-logo img {
    height: 120px;
  }
}
@media (min-width: 900px) {
  .hero-logo img {
    height: 140px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: heroFadeIn 0.55s var(--ease) 0.06s both;
  }
}
.hero-title {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin: 0 0 20px;
}
.hero-text {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  max-width: 640px;
  margin: 0 0 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero-muted {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin: 0 0 24px;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-addr-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.hero-cta { margin: 0; }

/* Tlačítko v sekci Zaměření zarovnané vlevo s textem */
.section-cta { text-align: left; margin: 20px 0 0; }

/* Pod hero – tři body s ikonou kytička */
.intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}
.intro-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
}
.intro-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .intro-features { flex-direction: column; padding: 24px 0 28px; gap: 14px; }
}


/* Kontakt – řádky s ikonami */
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
/* Na stránce Kontakt ikony v brand zelené */
.section--contact .contact-icon {
  filter: brightness(0) saturate(100%) invert(58%) sepia(14%) saturate(1200%) hue-rotate(36deg) brightness(92%) contrast(89%);
}

/* Mapa – responzivní, zaoblené rohy, jemný okraj */
.map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .section {
    animation: sectionFadeIn 0.45s var(--ease) both;
  }
  .container > .section:nth-of-type(1) { animation-delay: 0.08s; }
  .container > .section:nth-of-type(2) { animation-delay: 0.14s; }
  .container > .section:nth-of-type(3) { animation-delay: 0.2s; }
  .container > .section:nth-of-type(4) { animation-delay: 0.26s; }
  .container > .section:nth-of-type(5) { animation-delay: 0.32s; }
  .container > .section:nth-of-type(6) { animation-delay: 0.38s; }
  .container > .section:nth-of-type(7) { animation-delay: 0.44s; }
  .container > .section:nth-of-type(8) { animation-delay: 0.5s; }
  .intro-features {
    animation: sectionFadeIn 0.45s var(--ease) 0.05s both;
  }
}

/* Sekce bez nadpisu – kytička jako odrážka před „Nejste diagnóza“ */
.odliseni-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.odliseni-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Bílý box CTA – text vlevo, tlačítko vpravo */
.cta-box {
  border: none;
  padding: 0;
}
.cta-box .cta-box-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.cta-box-text { flex: 1; min-width: 260px; }
.cta-box-text h2 { margin: 0 0 12px; }
.cta-box-text p { margin: 0 0 8px; }
.cta-box-text p:last-child { margin-bottom: 0; }
.cta-box-btn { margin: 0; flex-shrink: 0; }
@media (max-width: 640px) {
  .cta-box .cta-box-inner { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .cta-box-btn { width: 100%; }
  .cta-box-btn .btn { width: 100%; justify-content: center; }
}

h1 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 16px;
}
h3 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }

p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin: 8px 0; }

.muted { color: var(--muted); }

/* O mně – kruhový výřez fotky vpravo od textu */
.about-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin: 20px 0 0;
}
.about-text { flex: 1; min-width: 280px; }
.about-text p:first-child { margin-top: 0; }
.about-photo {
  width: 200px;
  height: 200px;
  min-width: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .about-intro { flex-direction: column; align-items: center; gap: 20px; }
  .about-photo { width: 180px; height: 180px; min-width: 180px; order: -1; }
  .about-text { min-width: 0; }
}

/* Checklist vedle sebe, fajfka v brand barvě */
.checklist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-left: 0;
}
.check-item::before {
  content: "✓";
  color: var(--brand);
  font-weight: 600;
  font-size: 1.1em;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .checklist-row { flex-direction: column; gap: 12px; }
}

/* Dva bílé boxy vedle sebe – Co můžete očekávat / Co ode mě neočekávat */
.expect-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}
.expect-box {
  flex: 1;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.expect-box-title {
  margin: 0 0 14px;
  font-size: 1.05em;
}
.expect-box .checklist-row--stacked,
.expect-box .cross-list--stacked {
  flex-direction: column;
  margin: 0;
  gap: 10px;
}
.expect-box .check-item,
.expect-box .cross-item {
  padding-left: 0;
}
@media (max-width: 640px) {
  .expect-boxes { flex-direction: column; margin: 20px 0; }
  .expect-box { min-width: 0; }
}

/* Řádka s červenými křížky (Neřešíme) */
.cross-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
}
.cross-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-left: 0;
}
.cross-item::before {
  content: "✗";
  color: #b71c1c;
  font-weight: 600;
  font-size: 1.05em;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cross-list { flex-direction: column; gap: 8px; }
}

/* CTA – zelená (brand) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover {
  background: rgba(130, 129, 87, 0.12);
}
.btn--solid {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}
.btn--solid:hover {
  background: #6d6b48;
  color: #fff;
}
.btn--outline-white {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: transparent;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

/* Cookie banner – opt-in (technické / analytické / marketingové) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.95);
  padding: 16px 24px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 14px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
}
.cookie-banner-text {
  margin: 0 0 8px;
}
.cookie-banner-links {
  margin: 0 0 14px;
}
.cookie-banner-links a {
  color: #fff;
  text-decoration: underline;
}
.cookie-banner-links a:hover {
  text-decoration: none;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 0;
}
.cookie-banner-settings {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: none;
}
.cookie-banner-settings--open {
  display: block;
}
.cookie-banner-settings-title {
  margin: 0 0 12px;
  font-weight: 500;
}
.cookie-banner-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}
.cookie-banner-toggle input {
  width: 18px;
  height: 18px;
}
#cookie-banner-save {
  margin-top: 12px;
}

/* Callout – krizové linky */
.callout {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.callout p { margin: 0 0 12px; }
.callout p:last-of-type { margin-bottom: 0; }
.callout ul { margin: 12px 0 0; }

/* FOOTER – brand barva */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.95);
  padding: 28px 0;
  font-size: 14px;
  margin-top: 48px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { display: block; flex-shrink: 0; }
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { text-decoration: underline; }
.footer-logo:hover { opacity: 0.95; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.footer-social-link:hover {
  opacity: 0.85;
  text-decoration: none;
}
.footer-social-link svg {
  width: 21px;
  height: 21px;
  display: block;
}

/* Sociální sítě na stránce Kontakt */
.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.contact-social-link {
  display: flex;
  align-items: center;
  color: var(--brand);
  text-decoration: none;
}
.contact-social-link:hover {
  opacity: 0.85;
  text-decoration: none;
}
.contact-social-link svg {
  width: 21px;
  height: 21px;
  display: block;
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { padding: 10px 0; position: relative; flex-wrap: wrap; }
  .brand .logo { height: 28px; }
  main { padding: 32px 0 48px; }
  .section { padding: 24px 0; }

  /* Hamburger ikona */
  .nav-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 12; }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    z-index: 11;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* Menu sbalené – zobrazí se po kliknutí */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand);
    flex-direction: column;
    padding: 12px 0 16px;
    margin: 0 -24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  .nav-toggle:checked ~ .nav {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .nav a {
    padding: 12px 24px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Přístupnost: vypnutí animací při prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
