:root{
  --gold:linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  --ink: rgba(25,25,25,.95);
  --ink-soft: rgba(25,25,25,.75);
  --border: rgba(25,25,25,.12);
  --bg: #f3f5f6;
  --alt: #eef1f3;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(0,0,0,.18);
  --radius: 10px;
  --container: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.brand__text,
.hero__card h1,
.hero__card p,
h2, h3{
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 400; /* Regular */
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand::before {
  content: "";
  display: block;
  width: 70px;
  height: 70px;
  background: url("img/logo.png" alt="úklid hrobů Hodonínsko") no-repeat center;
  background-size: contain;
}

/* TOPBAR */
.topbar{
  background: var(--gold);
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand{
  text-decoration:none;
  color: var(--ink);
}

.brand__text{
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.05;
}

/* NAV */
.nav{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav__link{
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 2px;
  position: relative;
  opacity: .95;
}

.nav__link:hover{ opacity: 1; }

.nav__link::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 2px;
  background: rgba(25,25,25,.82);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after{
  transform: scaleX(1);
}

/* Burger + mobile nav */
.burger{
  display:none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(0,0,0,.16);
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 8px 10px;
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  background: rgba(25,25,25,.85);
  margin: 5px 0;
  border-radius: 2px;
}
.mobile-nav{
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.mobile-nav__link{
  display:block;
  padding: 14px 16px;
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* HERO */
.hero{ position: relative; }

.hero__media{
  height: clamp(360px, 58vh, 600px);
  background:
    linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.15)),
    url("img/hero.png") center/cover no-repeat;
  background-position: center 70%;
}

/* Zlatý box dole vlevo (stejný styl jako návrh) */
.hero__overlay{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15px;
  display:flex;
  justify-content:flex-start;
}

.hero__card{
  width: min(620px, calc(100vw - 32px));
  background: var(--gold);
  color:#000000;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 34px 28px;
}

.hero__card h1{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero__card p{
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .95;
}

.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section{ padding: 56px 0; }
.section--alt{
  background: var(--alt);
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.section__head{ margin-bottom: 18px; }

h2{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

h3{
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.h3-note {
  display: inline;
}

@media (max-width: 760px) {
  .h3-note {
    display: block;
  }
}

.muted{ color: var(--ink-soft); }
.small{ font-size: 12px; }

/* Cards + grids */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.card--pad{ padding: 24px; }

.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.note{
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(182,147,58,.35);
  background: rgba(182,147,58,.10);
  border-radius: 12px;
}

/* Pricing layout */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.price{
  font-weight: 900;
  font-size: 22px;
  margin: 10px 0 8px;
}

.table{
  margin-top: 8px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.row span{ color: var(--ink-soft); }

/* Contact */
.contact-lines{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}

.contact-line{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: baseline;
}

.contact-label{
  font-weight: 800;
  color: rgba(25,25,25,.82);
}

.link{
  color: rgba(25,25,25,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-logo {
  width: 100%;
  height: 350px;
  background: url("img/logo.png" alt="úklid hrobů Hodonínsko") no-repeat center;
  background-size: contain;
  margin-top: 20px;
  opacity: 0.9;
}

/* Form */
.form{ display:grid; gap: 12px; }
label span{
  display:inline-block;
  font-weight: 800;
  margin-bottom: 6px;
}
input, textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  background:#fff;
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(182,147,58,.6);
  box-shadow: 0 0 0 4px rgba(182,147,58,.15);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  font-size: 14px;
}

.btn--dark{
  background: rgba(25,25,25,.92);
  border-color: rgba(25,25,25,.92);
  color:#fff;
}

.btn--dark:hover{ background: rgba(25,25,25,1); }

.btn--light{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
  color:#fff;
}
.btn--light:hover{ background: rgba(255,255,255,.28); }

/* Footer */
.footer{
  padding: 22px 0;
  background:#f7f8f9;
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: rgba(25,25,25,.75);
}

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

@media (max-width: 760px){
  .nav{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
  .brand__text{ font-size: 20px; }
  .grid-2{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .contact-line{ grid-template-columns: 1fr; gap: 4px; }
  .hero__overlay{ bottom: 14px; }
  .hero__card{ padding: 22px; }
  .hero__card h1{ font-size: 34px; }
  .hero__card p{ font-size: 14px; }
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
}

.two-columns li {
  width: 50%;
}

/* MOBILNÍ DOLADĚNÍ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .topbar__inner {
    padding: 12px 0;
  }

  .brand::before {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .brand__text {
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
  }

  .mobile-nav {
    background: var(--gold);
  }

  .grid-2,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero__media {
    height: 520px;
    background-position: center center;
  }

  .hero__card {
    width: calc(100vw - 32px);
    padding: 22px 20px;
  }

  .hero__card h1 {
    font-size: 28px;
  }

  .hero__card p {
    font-size: 15px;
  }

  .section {
    padding: 42px 0;
  }

  .card,
  .price-card {
    padding: 18px;
  }

  .two-columns {
    display: block;
    columns: 1;
  }

  .two-columns li {
    width: auto;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-logo {
    height: 220px;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    gap: 8px;
  }

  .brand::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand__text {
    font-size: 13px;
    letter-spacing: .04em;
  }

  .hero__media {
    height: 460px;
  }

  .hero__overlay {
    bottom: 12px;
  }

  .hero__card h1 {
    font-size: 23px;
  }

  .hero__card p {
    font-size: 13px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 21px;
  }

  .contact-logo {
    height: 160px;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }
}
