:root {
  --bg: #f7f1eb;
  --bg-alt: #fcf8f4;
  --paper: #fffaf6;
  --paper-strong: rgba(255, 250, 246, 0.86);
  --text: #4f3d36;
  --text-strong: #3b2a24;
  --muted: #78655d;
  --gold: #caa46a;
  --gold-dark: #a98044;
  --gold-soft: #e9d5b1;
  --line: rgba(111, 85, 74, 0.14);
  --line-strong: rgba(111, 85, 74, 0.24);
  --shadow: 0 18px 50px rgba(63, 38, 30, 0.12);
  --shadow-soft: 0 10px 28px rgba(63, 38, 30, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --hero-overlay-light: rgba(255, 255, 255, 0.58);
  --hero-overlay-strong: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbf7f3 0%, #f6efe8 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

/* HERO – homepage */
.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 80px 0 110px;
  margin-bottom: 30px;
  background:
    linear-gradient(var(--hero-overlay-light), var(--hero-overlay-strong)),
    url('../img/svadba-1.jpg') center/cover no-repeat;
  color: var(--text);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(247, 241, 235, 0) 0%, rgba(247, 241, 235, 1) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  text-align: center;
  padding: 48px 34px;
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 70px rgba(63, 38, 30, 0.13);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(111, 85, 74, 0.24);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto;
  max-width: 780px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.75;
  color: #5c4940;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 16px;
  border: 1px solid transparent;
  transition: .24s ease;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #d8b47a 0%, #c79e63 100%);
  color: #2f221d;
  font-weight: 700;
  border-color: rgba(143, 103, 45, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #cfa96f 0%, #bb9156 100%);
}

.btn-secondary {
  color: var(--text-strong);
  border-color: rgba(111, 85, 74, 0.3);
  background: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.94);
}

main {
  padding-bottom: 72px;
}

.section {
  padding: 0;
  margin: 0 0 34px;
}

.section:last-child {
  margin-bottom: 44px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.intro-card {
  margin-top: 0;
  position: relative;
  z-index: 2;
  padding: 38px 32px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold-dark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.9;
}

.small-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.small-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: #f4ece4;
  color: #5c4940;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid rgba(111, 85, 74, 0.1);
  transition: .2s ease;
}

.small-links a:hover {
  background: #efe3d7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #3e2d26;
}

.info-card p,
.info-card li {
  font-size: 17px;
  line-height: 1.8;
}

.info-card ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.feature-item {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #f8f1ea;
  border: 1px solid rgba(111, 85, 74, 0.1);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.gallery img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* PODSTRÁNKY */
.page-hero {
  min-height: 56vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 78px 0 86px;
  margin-bottom: 34px;
  background:
    linear-gradient(var(--hero-overlay-light), var(--hero-overlay-strong)),
    var(--hero-image, url('../img/svadba-5.jpg')) center/cover no-repeat;
  color: var(--text);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 241, 235, 0) 0%, rgba(247, 241, 235, 1) 100%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 70px rgba(63, 38, 30, 0.12);
}

.breadcrumbs {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6e5542;
}

.breadcrumbs a {
  color: #5c4940;
  text-decoration: none;
}

.meta-note {
  font-size: 15px;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: #f8f1ea;
  border: 1px solid rgba(111, 85, 74, 0.1);
  box-shadow: 0 8px 20px rgba(63, 38, 30, 0.04);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #3e2d26;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step-item {
  position: relative;
  padding: 22px 22px 22px 76px;
  border-radius: var(--radius-lg);
  background: #f8f1ea;
  border: 1px solid rgba(111, 85, 74, 0.1);
  box-shadow: 0 8px 20px rgba(63, 38, 30, 0.04);
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8b47a 0%, #c79e63 100%);
  color: #2f221d;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(169, 128, 68, 0.22);
}

.step-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #3e2d26;
}

.note-box {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #f8f1ea;
  border: 1px solid rgba(111, 85, 74, 0.1);
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  margin-top: 10px;
  padding: 42px 0 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: #6e5542;
}

/* jemné luxury mikrodetaily */
.card,
.faq-item,
.step-item,
.feature-item,
.small-links a,
.gallery img {
  transition: .2s ease;
}

.card:hover,
.faq-item:hover,
.step-item:hover,
.feature-item:hover {
  box-shadow: 0 20px 48px rgba(63, 38, 30, 0.1);
}

/* Bez zlievania hero a prvej sekcie */
.page-hero + main > .section:first-child .intro-card,
.hero + main > .section:first-child .intro-card {
  margin-top: 0 !important;
  transform: none !important;
  top: auto !important;
}

/* Bez zlievania spodných sekcií */
main > .section:last-child .intro-card,
main > .section:last-child .card {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .grid,
  .feature-list,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 84vh;
    padding: 64px 0 78px;
    margin-bottom: 24px;
  }

  .page-hero {
    padding: 62px 0 70px;
    margin-bottom: 24px;
  }

  .hero-inner,
  .page-hero-inner {
    padding: 34px 20px;
  }

  .intro-card {
    margin-top: 0;
    padding: 24px 20px;
  }

  .grid,
  .feature-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-strip {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  p {
    font-size: 17px;
  }

  .step-item {
    padding-left: 68px;
  }

  .section {
    margin-bottom: 24px;
  }
}