:root {
  --bg: #f7f1ea;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #5b5b5b;

  --brand-blue: #1b1e6b;
  --brand-orange: #c46f2b;
  --brand-orange-2: #b86122;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
  --ring: 0 0 0 4px rgba(196, 111, 43, .18);

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f2ece6 0%, var(--bg) 35%, #f2ece6 100%);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a.cLink {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

/* Header / Hero */
header {
  background: var(--brand-blue);
  color: #fff;
  padding: 42px 0 20px;
}

.brand {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 10px;
  flex-direction: column;
}

.brand h1 {
  margin: 0;
  letter-spacing: .06em;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
}

.brand p {
  margin: 6px 0 18px 0;
  font-size: clamp(26px, 2vw, 30px);
  opacity: .95;
}

/* Feature strip (orange) */
.feature-strip {
  background: var(--brand-orange);
  padding: 22px 0 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.feature-card {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}

.feature-img {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.feature-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.feature-card p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 28px;
  line-height: 1.25;
}

.phonebar {
  background: #efe4dc;
  padding: 30px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.phonebar .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--brand-orange-2);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: .02em;
}

.icon {
  width: 40px;
  height: 40px;
  flex: 0 0 34px;
}

main {
  padding: 36px 0 18px;
}

.section-title {
  text-align: center;
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: #3a3a3a;
}

.benefits {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-grid li {
  display: flex;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 12px;
}

.benefit-grid li:hover {
  background: rgba(196, 111, 43, .07);
}

.check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--brand-orange);
  margin-top: 2px;
}

.benefit-grid span {
  font-weight: 600;
  color: #2c2c2c;
}

.subhead {
  text-align: center;
  margin: 32px 0 14px;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 900;
  color: #3b3b3b;
  letter-spacing: .01em;
}

.columns {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.col h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: #3a3a3a;
  text-align: center;
}

.col p {
  margin: 0;
  color: var(--muted);
  font-weight: 550;
  font-size: 15.5px;
}

footer {
  margin-top: 28px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.foot-top {
  padding: 18px 0 0 0;
}

.foot-top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px
}

.fb-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, .06);
}

.fb-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1877F2;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  flex: 0 0 42px;
}

.service-area {
  text-align: center;
  flex: 1 1 260px;
  color: var(--brand-orange-2);
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
}

.foot-bottom {
  background: var(--brand-orange);
  color: #fff;
  padding: 26px 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  flex-wrap: wrap;
}

.contact .name {
  font-weight: 800;
  letter-spacing: .02em;
  opacity: .95;
}

.contact .phone {
  font-weight: 950;
  font-size: clamp(30px, 3vw, 36px);
  letter-spacing: .02em;
}

.contact .email {
  opacity: .95;
  font-weight: 650;
}

.pill {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Cookie banner UI */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  padding: 14px;
  display: none;
  /* default hidden */
  place-items: center;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.cookie-banner.is-open {
  display: grid;
}

.cookie-card {
  width: min(760px, 94vw);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.cookie-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 6px;
}

.cookie-text {
  color: #333;
  line-height: 1.45;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cookie-btn {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, .15);
  cursor: pointer;
}

.cookie-btn.primary {
  background: #1b1e6b;
  color: #fff;
  border-color: transparent;
}

.cookie-btn.secondary {
  background: #fff;
  color: #111;
}

/* Footer cookie settings link */
.cookie-footer-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  text-decoration: underline;
  color: rgba(255, 255, 255, .95);
}

.cookie-footer-link:hover {
  opacity: .9;
}

.cookie-footer-link:focus-visible {
  box-shadow: var(--ring);
  border-radius: 10px;
}

.visit-counter {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .95);
  font-weight: 800;
  letter-spacing: .01em;
}

.visit-counter__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
}

.visit-counter__label {
  opacity: .95;
}

.visit-counter__value {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.footer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile (narrow screen) */
@media (max-width: 768px) {
  .footer-tools {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Center "Nastavení cookies" on narrow screens */
@media (max-width: 980px) {
  .cookie-footer-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 14px;
    /* optional, for nicer spacing */
  }
}

/* Responsive */
@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .col-grid {
    grid-template-columns: 1fr;
  }

  .foot-top .row {
    justify-content: center;
  }

  .logo-slot {
    min-width: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}