/* =========================================================
   Zlatý Klas — pulletco.digital
   Světlý venkovský styl, teplé žluté akcenty
   ========================================================= */

:root {
  --paper: #FBF8F1;
  --paper-alt: #F3ECDD;
  --card: #FFFDF8;
  --ink: #2B281F;
  --muted: #7C7360;
  --line: #E4DAC4;
  --amber: #E8B004;
  --amber-deep: #C08703;
  --amber-soft: #FBE7AE;
  --field: #6E7F4E;
  --field-soft: #E7EBDC;
  --clay: #B4643A;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(43, 40, 31, .06);
  --shadow-md: 0 10px 30px rgba(43, 40, 31, .09);

  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  --wrap: 1160px;
  --pad: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(232, 176, 4, .10) 0, transparent 38%),
    radial-gradient(circle at 88% 2%, rgba(110, 127, 78, .10) 0, transparent 34%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--amber-deep); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(52px, 8vw, 92px); }
.section--alt { background: var(--paper-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }

.section-head { max-width: 720px; margin-bottom: 40px; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--amber-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--wide { width: 100%; }

:focus-visible {
  outline: 3px solid var(--field);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--amber); }

.header-cta { display: inline-flex; align-items: center; gap: 14px; }
.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--amber-deep); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px) clamp(50px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}
.hero h1 span { color: var(--amber-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-facts b {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}
.hero-facts span { font-size: .84rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -22px -18px auto auto;
  width: 190px;
  height: 190px;
  background: var(--amber-soft);
  border-radius: 50%;
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 42vw, 440px);
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.hero-badge {
  position: absolute;
  left: -6px;
  bottom: -22px;
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.hero-badge i {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: var(--field-soft);
  display: grid; place-items: center;
  font-style: normal; font-size: 1.1rem;
}
.hero-badge b { display: block; font-size: .95rem; }
.hero-badge small { color: var(--muted); font-size: .8rem; }

/* ---------- Pás pole (signature) ---------- */
.field-strip {
  display: flex;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.field-strip i { display: block; height: 100%; transition: width .45s ease; }

/* ---------- Karty ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--amber-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Kroky ---------- */
.steps { counter-reset: krok; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.step::before {
  counter-increment: krok;
  content: counter(krok, decimal-leading-zero);
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--amber-deep);
  line-height: 1;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Služby ---------- */
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.service img { height: 190px; width: 100%; object-fit: cover; }
.service-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.service ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }
.service ul li { margin-bottom: 5px; }
.service .price-tag {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
}

/* ---------- Ceník ---------- */
.billing-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}
.billing-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}
.billing-switch button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--top { border-color: var(--amber); box-shadow: 0 14px 34px rgba(232, 176, 4, .22); }
.plan-flag {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--amber);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan .amount {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}
.plan .per { color: var(--muted); font-size: .87rem; display: block; margin: 6px 0 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.plan ul li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; }
.plan ul li::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--amber);
}
.plan ul li.off { color: var(--muted); }
.plan ul li.off::before { background: var(--line); }
.plan .btn { margin-top: auto; }

.price-notes {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
}
.price-notes h3 { margin-bottom: 12px; }
.price-notes ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .94rem; }
.price-notes li { margin-bottom: 7px; }

/* ---------- Kalkulačka ---------- */
.calc {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}
.calc-box, .calc-result {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.calc-result { background: var(--field-soft); border-color: #D5DCC4; }
.field-row { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row label { font-size: .9rem; font-weight: 600; }
.field-row input, .field-row select, .field-row textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field-row input:focus, .field-row select:focus, .field-row textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  background: #fff;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.result-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #CFD7BE; }
.result-line:last-of-type { border-bottom: 0; }
.result-line b { font-family: var(--display); font-size: 1.15rem; }
.result-big { font-family: var(--display); font-size: 2.3rem; line-height: 1; margin: 4px 0 2px; }
.result-note {
  margin-top: 16px;
  background: var(--card);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: .92rem;
  color: var(--ink);
}
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: .84rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: block; }

/* ---------- Reference ---------- */
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.quote p { margin: 0; font-size: .97rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote b { display: block; font-size: .95rem; }
.quote small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--amber-deep);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.form-card, .info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: .88rem;
  color: var(--muted);
  margin: 6px 0 18px;
}
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }
.error-msg { color: var(--clay); font-size: .84rem; min-height: 18px; display: block; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--field-soft);
  border: 1px solid #CBD6B4;
  font-size: .93rem;
}
.form-status.is-visible { display: block; }

.info-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.info-list i {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--amber-soft);
  display: grid; place-items: center;
  font-style: normal;
}
.info-list b { display: block; font-size: .95rem; }
.info-list a, .info-list span { color: var(--muted); font-size: .93rem; text-decoration: none; }
.info-list a:hover { color: var(--amber-deep); }
.info-card img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--ink);
  color: #E8E2D4;
  padding-block: 56px 26px;
  margin-top: 10px;
}
.site-footer a { color: #E8E2D4; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.site-footer .brand { color: #FBF8F1; }
.site-footer .brand-sub { color: #A79E8B; }
.footer-grid h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #A79E8B;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer-about { font-size: .92rem; color: #B8B0A0; max-width: 34ch; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid #423D31;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .85rem;
  color: #A79E8B;
}
.disclaimer {
  font-size: .82rem;
  color: #9E9682;
  margin-top: 14px;
  max-width: 90ch;
}

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  width: min(980px, calc(100% - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  z-index: 90;
  transition: transform .35s ease;
}
.cookie-bar.is-open { transform: translateX(-50%) translateY(0); }
.cookie-bar h3 { margin-bottom: 6px; font-size: 1.1rem; }
.cookie-bar p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-actions .btn { padding: 11px 20px; font-size: .9rem; }
.cookie-options { display: none; gap: 18px; flex-wrap: wrap; margin: 4px 0 16px; }
.cookie-options.is-open { display: flex; }
.cookie-options label { display: inline-flex; align-items: center; gap: 8px; font-size: .89rem; }
.link-btn {
  background: none;
  border: 0;
  font: inherit;
  font-size: .9rem;
  color: var(--amber-deep);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 2px;
}

/* ---------- Nahoru ---------- */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 70;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Právní stránky ---------- */
.doc-hero { background: var(--paper-alt); padding-block: clamp(38px, 6vw, 62px); border-bottom: 1px solid var(--line); }
.doc { max-width: 820px; padding-block: clamp(38px, 6vw, 66px); }
.doc h2 { font-size: 1.5rem; margin-top: 34px; }
.doc h3 { margin-top: 24px; }
.doc ul, .doc ol { color: var(--muted); padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc p { color: var(--muted); }
.doc .meta { font-size: .88rem; color: var(--muted); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.doc-nav a {
  font-size: .88rem;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
}
.doc-nav a:hover { border-color: var(--amber); }

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
  .hero-grid, .calc, .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .hero-badge { position: static; margin-top: 14px; max-width: none; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-facts { grid-template-columns: 1fr; text-align: left; }
  .calc-grid, .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .plan, .calc-box, .calc-result, .form-card, .info-card { padding: 22px; }
}

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