/* Ranč v sedle - barvy převzaté z původního Elementoru */
:root {
  --red: #A93533;       /* tlačítka, ikony */
  --red-dark: #571918;  /* hover */
  --sand: #D7C7AD;      /* béžové pásy */
  --light: #F1F1F1;     /* šedé karty, "Jak to probíhá" */
  --text: #111111;
  --muted: #444;
  --line: #E6DDCE;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ikony */
.ic { width: 36px; height: 36px; fill: var(--red); }
.ic.big { width: 44px; height: 44px; margin-bottom: 14px; }
.ic-s { width: 14px; height: 14px; fill: currentColor; vertical-align: -1px; margin-left: 4px; }

/* tlačítka */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 22px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--sand); }
.btn-line { border-color: var(--text); color: var(--text); background: #fff; }
.btn-line:hover { background: var(--text); color: #fff; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo img { height: 28px; width: auto; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--red); }
.menu .menu-cta { display: none; }
.top-cta { padding: 9px 20px; font-size: 15px; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

/* hero */
.hero {
  min-height: 88vh; display: flex; align-items: flex-end; color: #fff; text-align: center;
  background: linear-gradient(rgba(0,0,0,.05) 30%, rgba(0,0,0,.6)), url(../img/hero.jpg) center 30% / cover;
}
.hero-in { padding-bottom: 12vh; width: 100%; }
.hero h1 { font: 600 60px/1.15 var(--serif); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { margin: 18px 0 30px; font-size: 17px; }
.btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* sekce */
.sec { padding: 80px 0; }
.sand { background: var(--sand); }
.light { background: var(--light); }
.title { font: 600 40px/1.2 var(--serif); text-align: center; }
.lead { text-align: center; margin: 12px 0 44px; }
.grid { display: grid; gap: 22px; }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* karty nabídky */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 22px; text-align: center; }
.card h3 { font-size: 22px; font-weight: 700; margin: 14px 0 10px; line-height: 1.25; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.cards.grey .card { background: var(--light); border-color: var(--light); }

/* o nás */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1400px; margin: 0 auto; padding-right: 20px; }
.about img { border-radius: 0 16px 16px 0; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.about .title { text-align: left; margin-bottom: 18px; }
.about-txt { max-width: 580px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .ic { width: 18px; height: 18px; }

/* koně */
.horse { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.horse img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.horse h3 { font: 600 26px/1.2 var(--serif); text-align: center; margin: 20px 16px 12px; }
.horse p { margin: 0 20px 24px; font-size: 15px; color: var(--muted); }
.horses + .center { margin-top: 40px; }

/* poukazy */
#poukazy p { margin: 16px 0 30px; }
#poukazy .title { margin-top: 0; }

/* kroky */
.steps { text-align: center; }
.steps h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }
.steps + .center { margin-top: 44px; }

/* patička */
.foot { background: #221A18; color: #E9E1D5; padding: 60px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo { height: 30px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; box-sizing: content-box; }
.foot h3 { font: 600 20px var(--serif); color: #fff; margin-bottom: 12px; }
.foot p { margin: 8px 0; }
.foot nav a { display: block; text-decoration: none; margin: 6px 0; }
.foot a:hover { color: var(--sand); }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; font-size: 14px; opacity: .7; }

/* tablet */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 46px; }
}

/* mobil */
@media (max-width: 767px) {
  .top-cta { display: none; }
  .burger { display: block; }
  .menu {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 20px 20px; box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .menu .menu-cta { display: block; text-align: center; margin-top: 14px; border: 0; padding: 12px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 36px; }
  .sec { padding: 56px 0; }
  .title { font-size: 30px; }
  .g4.cards, .g4.steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card { padding: 22px 14px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14px; }
  .g4.horses { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .about img { border-radius: 16px; max-height: 320px; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .g4.cards { grid-template-columns: 1fr; }
}
