/* ==========================================================================
   Svatba Tomáš & Anežka — Horská pozvánka na Vebrovy boudy
   ========================================================================== */

:root {
  /* Horská paleta (Alpine Pine, Forest & Wood) */
  --primary: #1e4030;
  --primary-hover: #152d22;
  --primary-light: #2c5842;
  --forest-green: #244c38;
  
  /* Horský jantar, dřevo & slunce */
  --accent-gold: #db8c32;
  --accent-gold-hover: #c47621;
  --accent-warm: #cb6b38;
  --accent-cream: #faf5eb;
  --wood-warm: #c59b6d;
  --wood-light: #f6efe2;

  /* Trocha lásky (Soft Romantic Rose & Love Glow) */
  --love-rose: #d6646c;
  --love-rose-hover: #c04f57;
  --love-soft: #fcf1f2;
  --love-border: rgba(214, 100, 108, 0.28);
  --love-glow: 0 4px 20px rgba(214, 100, 108, 0.18);

  --mountain-sky: #eaf1f5;

  /* Čisté a teplé podklady */
  --bg-page: #fbf9f4;
  --bg-card: #ffffff;
  --bg-card-alt: #f5efe3;
  --border-color: #e6dfce;
  --border-focus: #1e4030;

  --text-main: #1f2823;
  --text-muted: #59675f;
  --text-light: #89978e;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-hand: 'Caveat', cursive, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(30, 64, 48, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 64, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 64, 48, 0.12);
  --shadow-glow: 0 0 25px rgba(219, 140, 50, 0.35);

  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Canvas Confetti */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 222, 201, 0.7);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-emoji {
  font-size: 1.4rem;
}

.heart-pulse {
  display: inline-block;
  color: var(--love-rose);
  font-size: 1.15em;
  margin: 0 0.15rem;
  animation: gentle-heartbeat 2.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes gentle-heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.24); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  70% { transform: scale(1); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-btn-rsvp {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-btn-rsvp:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9.75px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.75px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 4.5rem 0 6.5rem 0;
  background: linear-gradient(180deg, #e4edf3 0%, #faece2 48%, var(--bg-page) 100%);
  overflow: hidden;
  text-align: center;
}

.mountain-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.mountain-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .mountain-divider svg {
    height: 90px;
  }
}

.mountain-path-back {
  fill: rgba(30, 64, 48, 0.08);
}

.mountain-path-mid {
  fill: rgba(30, 64, 48, 0.16);
}

.mountain-path-fore {
  fill: #ffffff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  z-index: 1;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(229, 152, 55, 0.3) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath fill='%23234938' fill-opacity='0.15' d='M0,400 L0,220 L150,140 L320,260 L480,100 L620,240 L780,80 L950,220 L1100,130 L1200,210 L1200,400 Z'/%3E%3Cpath fill='%23234938' fill-opacity='0.25' d='M0,400 L0,280 L200,190 L400,310 L580,180 L720,290 L880,160 L1040,270 L1200,200 L1200,400 Z'/%3E%3C/svg%3E");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% 320px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 152, 55, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle-hand {
  display: block;
  font-family: var(--font-hand);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--accent-gold);
  font-weight: 700;
  transform: rotate(-2deg);
  margin-top: 0.2rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 1.5rem auto 2.2rem;
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  border: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(35, 73, 56, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 73, 56, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--accent-cream);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border: 1.5px solid rgba(35, 73, 56, 0.2);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  font-size: 1.15rem;
}

/* ==========================================================================
   Countdown Timer Card
   ========================================================================== */

.countdown-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-md);
  max-width: 620px;
  width: 100%;
  margin-bottom: 2.5rem;
  transition: var(--transition);
}

.countdown-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card-alt);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  min-width: 78px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.countdown-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

.countdown-colon {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.countdown-footer {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Krakonoš Quote Card */
.krakonos-quote {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px dashed var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.6rem;
  max-width: 720px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.quote-avatar {
  font-size: 2.6rem;
  flex-shrink: 0;
  background: var(--accent-cream);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
}

.quote-body strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.quote-body p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  font-style: italic;
}

.quote-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-confetti-fun {
  background: var(--accent-gold);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.25;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn-confetti-fun:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(219, 140, 50, 0.35);
}

.btn-love-fun {
  background: var(--love-rose);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.25;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(214, 100, 108, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn-love-fun:hover {
  background: var(--love-rose-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(214, 100, 108, 0.35);
}

/* ==========================================================================
   Sections Common Styling
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-badge {
  display: inline-block;
  background: var(--accent-cream);
  color: var(--primary);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.badge-warning {
  background: #fff8eb;
  border-color: #ffd899;
  color: #b45309;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Section 1: Proč Vebrovky?
   ========================================================================== */

.section-mountains {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.reason-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: var(--transition);
}

.reason-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.reason-icon-wrap {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.reason-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.reason-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section 2: Program (Status banner & Timeline)
   ========================================================================== */

.section-program {
  background: var(--bg-page);
}

.program-status-banner {
  background: #ffffff;
  border: 2px dashed var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.2rem 0 3rem;
  box-shadow: var(--shadow-sm);
}

.status-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #b45309;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.program-status-banner p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.progress-bar-track {
  width: 100%;
  height: 12px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.timeline-intro {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 15px;
  bottom: 25px;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    var(--accent-gold) 0px,
    var(--accent-gold) 6px,
    transparent 6px,
    transparent 12px
  );
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 10px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--bg-page);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.highlight-item .timeline-content {
  border: 2px solid var(--accent-gold);
  background: #fffdf9;
  box-shadow: var(--shadow-md);
}

.highlight-item .timeline-marker {
  background: var(--accent-gold);
  border-color: #fff;
}

.timeline-time {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.timeline-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-card-alt);
  color: var(--text-muted);
}

.tag-gold {
  background: #fef3c7;
  color: #92400e;
}

.tag-party {
  background: #ede9fe;
  color: #6b21a8;
}

.program-note-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-top: 2.5rem;
}

.note-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.program-note-box strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.program-note-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 3: Jak přežít (Survival Guide / FAQ)
   ========================================================================== */

.section-survival {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.faq-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.faq-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-card strong {
  color: var(--text-main);
}

.faq-card em {
  color: var(--accent-warm);
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
   Section 4: Quiz
   ========================================================================== */

.section-quiz {
  background: var(--bg-page);
}

.quiz-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.quiz-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.quiz-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.quiz-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-card-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.quiz-item:hover {
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.quiz-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-light);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: var(--transition);
  margin-top: 2px;
}

.quiz-checkbox:checked + .custom-check {
  background: var(--primary);
  border-color: var(--primary);
}

.quiz-checkbox:checked + .custom-check::after {
  content: '✓';
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.quiz-checkbox:checked ~ .quiz-text {
  color: var(--primary);
  font-weight: 600;
}

.quiz-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

.quiz-result {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card-alt);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.quiz-result.ready {
  background: #ecfdf5;
  border-color: #10b981;
}

.result-badge {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.quiz-result.ready .result-badge {
  color: #065f46;
}

#result-message {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 5: RSVP Formulář
   ========================================================================== */

.section-rsvp {
  background: linear-gradient(180deg, var(--bg-page) 0%, #faede1 100%);
}

.rsvp-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* Password Gate Box */
.rsvp-lock-box {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
  transition: var(--transition);
}

.rsvp-lock-box.shake {
  animation: lock-shake 0.45s ease-in-out;
}

@keyframes lock-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.lock-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: var(--bg-card-alt);
  border: 2px dashed var(--accent-gold);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  font-size: 2.2rem;
  position: relative;
}

.lock-badge-mini {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 1.3rem;
}

.rsvp-lock-box h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.rsvp-lock-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.lock-form {
  display: flex;
  gap: 0.8rem;
  max-width: 440px;
  margin: 0 auto;
  align-items: stretch;
}

.lock-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-main);
  background: var(--bg-page);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lock-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 64, 48, 0.12);
}

.lock-error-msg {
  color: #b91c1c;
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 1rem !important;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
}

.lock-hint {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Kids Callout in RSVP Form */
.rsvp-kids-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff8eb;
  border: 1.5px solid #ffd899;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.callout-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.callout-text strong {
  display: block;
  color: #854d0e;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.callout-text p {
  color: #713f12;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.callout-text em {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: #a16207;
  font-style: normal;
}

.rsvp-form {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label, .label-heading {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-page);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(35, 73, 56, 0.12);
}

/* Radio Cards */
.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  background: var(--bg-page);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  height: 100%;
}

.radio-card:hover .radio-card-content {
  border-color: var(--accent-gold);
}

.radio-card input:checked + .radio-card-content {
  border-color: var(--primary);
  background: #f1f7f4;
  box-shadow: var(--shadow-sm);
}

.radio-emoji {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.radio-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.radio-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Success Card */
.rsvp-success-box {
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-top: 2.5rem;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.rsvp-success-box h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.rsvp-success-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.rsvp-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Section 6: Mapa a Poloha
   ========================================================================== */

.section-map {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.map-card-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.map-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.map-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.map-info-item strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.map-info-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.btn-mapy {
  background: #d62d20;
  color: #fff;
  padding: 0.75rem 1.4rem;
}

.btn-mapy:hover {
  background: #b52217;
  transform: translateY(-2px);
}

.btn-google {
  background: #1a73e8;
  color: #fff;
  padding: 0.75rem 1.4rem;
}

.btn-google:hover {
  background: #1557b0;
  transform: translateY(-2px);
}

.map-visual-placeholder {
  background: linear-gradient(145deg, #dbeafe 0%, #d1fae5 100%);
  border: 2px dashed #93c5fd;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  text-align: center;
  padding: 1.5rem;
}

.map-frame-content .map-pin {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.map-frame-content h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.map-frame-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.map-links-mini a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.map-links-mini a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Footer — Romantic Mountain Sunset
   ========================================================================== */

.site-footer {
  position: relative;
  background: #173324;
  color: #f1f6f3;
  padding: 5.5rem 0 3.8rem;
  overflow: hidden;
  text-align: center;
}

.footer-mountain-silhouette {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: var(--bg-page);
  pointer-events: none;
}

.footer-mountain-silhouette svg {
  display: block;
  width: 100%;
  height: 55px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .footer-mountain-silhouette svg {
    height: 75px;
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-love-symbols {
  font-size: 2rem;
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
}

.footer-couple-names {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.footer-couple-names .heart-pulse {
  color: var(--love-rose);
}

.footer-wedding-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #e2d7c5;
  max-width: 620px;
  margin: 0.6rem auto 1.4rem;
  line-height: 1.6;
}

.footer-wedding-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #a7c4ae;
  margin-bottom: 1.4rem;
}

.footer-dot {
  color: var(--accent-gold);
}

.footer-closing-message {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 0.4rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

.toast {
  background: #1f2a24;
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slide-in 0.3s ease forwards;
  max-width: 380px;
}

@keyframes slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero quote box */
.hero-quote-box {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--love-border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 2rem;
  max-width: 680px;
  margin: 1.2rem auto 1.6rem;
  box-shadow: 0 4px 20px rgba(214, 100, 108, 0.08);
  text-align: center;
  position: relative;
}

.quote-love-icon {
  display: block;
  font-size: 1.05rem;
  color: var(--love-rose);
  letter-spacing: 0.3em;
  margin-bottom: 0.35rem;
}

.hero-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.3vw, 1.3rem);
  font-style: italic;
  color: var(--primary);
  line-height: 1.55;
}

.hero-quote-author {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Ceremony Section & Featured Photo */
.section-ceremony {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.meta-tag-love {
  background: var(--love-soft);
  color: var(--love-rose);
  border-color: var(--love-border);
  font-weight: 800;
}

.badge-love {
  background: var(--love-soft);
  color: var(--love-rose);
  border-color: var(--love-border);
}

.tag-love {
  background: var(--love-soft);
  color: var(--love-rose);
  border: 1px solid var(--love-border);
  font-weight: 800;
}

.highlight-love .timeline-content {
  border: 2px solid var(--love-rose);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
  box-shadow: 0 8px 24px rgba(214, 100, 108, 0.12);
}

.highlight-love .timeline-marker-love {
  background: var(--love-rose);
  border-color: #ffffff;
  color: #ffffff;
  font-size: 1.15rem;
  animation: gentle-heartbeat 3s ease-in-out infinite;
}

.btn-rsvp-send {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #2b5641 100%);
  box-shadow: 0 6px 20px rgba(30, 64, 48, 0.25);
}

.btn-rsvp-send:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #214734 100%);
  box-shadow: 0 8px 24px rgba(214, 100, 108, 0.35);
  transform: translateY(-2px);
}

.ceremony-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 2.2rem;
}

.meta-tag {
  background: var(--accent-cream);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* Venue Gallery Grid (Uniform Thumbnails) */
.venue-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.venue-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 64, 48, 0.06);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.venue-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(30, 64, 48, 0.12);
}

.venue-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-card-alt);
}

.venue-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.venue-card img[src*="svatba24.jpg"] {
  object-position: center 30%;
}

.venue-card img[src*="krtkuv-dort"] {
  object-position: center 65%;
}

.venue-card:hover .venue-img-wrap img {
  transform: scale(1.06);
}

.venue-badge-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(22, 45, 34, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.venue-card-text {
  padding: 1.3rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.venue-card-text h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.venue-card-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #000;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 650px;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.15);
}

/* Transport Section */
.section-transport {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.transport-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.6rem;
  margin: 2.8rem 0 2rem;
}

.transport-step-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: var(--transition);
}

.transport-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.transport-step-card.highlight-step {
  border: 2px solid var(--accent-gold);
  background: #fffdf9;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.transport-step-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.transport-step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.transport-alert {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff8eb;
  border: 1.5px solid #ffd899;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-top: 1.5rem;
}

.alert-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.alert-text {
  font-size: 0.95rem;
  color: #92400e;
  line-height: 1.6;
}

.alert-text strong {
  color: #78350f;
}

/* Extra timeline tags */
.tag-car {
  background: #e0f2fe;
  color: #0369a1;
}

.tag-food {
  background: #fef3c7;
  color: #b45309;
}

/* ==========================================================================
   Responsive Architecture (Mobile, Tablet, Desktop)
   ========================================================================== */

/* 1. Tablets (Portrait) & Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .site-header {
    height: 64px;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.5rem 1.6rem;
    border-bottom: 1.5px solid var(--border-color);
    box-shadow: 0 16px 32px rgba(30, 64, 48, 0.12);
    gap: 0.4rem;
    animation: nav-slide-down 0.25s ease forwards;
  }

  .nav-links.active {
    display: flex;
  }

  @keyframes nav-slide-down {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
  }

  .nav-links a:hover {
    background: var(--bg-card-alt);
    color: var(--primary);
  }

  .nav-btn-rsvp {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.85rem 1.2rem;
    font-size: 1.05rem;
  }

  .section {
    padding: 4rem 0;
  }

  .map-card-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .venue-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Large Mobile & Phablets (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3.2rem 0 5.2rem 0;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7.5vw, 3.2rem);
  }

  .hero-subtitle-hand {
    font-size: clamp(1.7rem, 5.5vw, 2.3rem);
  }

  .hero-lead {
    font-size: 1.05rem;
    padding: 0 0.5rem;
    margin: 1.2rem auto 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 2.2rem;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.8rem 1.3rem;
    font-size: 0.95rem;
  }

  .countdown-card {
    padding: 1.4rem 1.2rem;
    max-width: 100%;
  }

  .countdown-unit {
    min-width: 60px;
    padding: 0.6rem 0.5rem;
  }

  .countdown-number {
    font-size: 1.7rem;
  }

  .countdown-colon {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }

  .krakonos-quote {
    flex-direction: column;
    text-align: center;
    padding: 1.3rem 1.1rem;
    gap: 0.9rem;
  }

  .quote-avatar {
    margin: 0 auto;
  }

  .quote-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.6rem;
  }

  .quote-actions .btn-confetti-fun,
  .quote-actions .btn-love-fun {
    flex: 0 0 auto;
    width: auto;
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  .venue-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .transport-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .timeline {
    padding-left: 2.2rem;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-marker {
    left: -2.2rem;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    top: 12px;
  }

  .timeline-content {
    padding: 1.3rem 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .radio-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quiz-card {
    padding: 1.8rem 1.3rem;
  }

  .quiz-item {
    padding: 0.75rem 0.5rem;
    min-height: 48px;
    align-items: flex-start;
  }

  .lightbox-modal {
    padding: 1rem;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
  }

  .lightbox-img {
    max-height: 65vh;
  }

  .lightbox-caption {
    font-size: 0.88rem;
    margin-top: 0.6rem;
  }

  .rsvp-lock-box {
    padding: 2.2rem 1.4rem;
  }

  .lock-form {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
  }

  .lock-form input {
    width: 100%;
    max-width: 320px;
  }

  .lock-form .btn {
    width: 100%;
    max-width: 320px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .rsvp-kids-callout {
    padding: 1.1rem 1.1rem;
    gap: 0.8rem;
  }
}

/* 3. Standard Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .badge-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.8rem;
    letter-spacing: 0.04em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .hero-quote-box {
    padding: 1rem 1rem;
  }

  .hero-quote-text {
    font-size: 1.05rem;
  }

  .countdown-card {
    padding: 1.1rem 0.6rem;
  }

  .countdown-grid {
    gap: 0.25rem;
  }

  .countdown-unit {
    min-width: 52px;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius-sm);
  }

  .countdown-number {
    font-size: 1.4rem;
  }

  .countdown-text {
    font-size: 0.64rem;
  }

  .countdown-colon {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .countdown-header {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-actions {
    max-width: 320px;
    gap: 0.55rem;
    margin: 0 auto 1.8rem;
  }

  .hero-actions .btn {
    padding: 0.72rem 1.15rem;
    font-size: 0.92rem;
  }

  .quote-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  .quote-actions .btn-confetti-fun,
  .quote-actions .btn-love-fun {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .program-status-banner {
    padding: 1.2rem 0.9rem;
  }

  .progress-labels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    font-size: 0.78rem;
  }

  .ceremony-meta-chips {
    justify-content: center;
    gap: 0.4rem;
  }

  .meta-tag {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
  }

  .venue-img-wrap {
    height: 190px;
  }

  .venue-card-text {
    padding: 1.1rem 1rem;
  }

  .map-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .map-actions .btn {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    padding: 0.68rem 1.1rem;
    font-size: 0.88rem;
  }

  .site-footer {
    padding: 4.5rem 0 2.5rem;
  }

  .footer-couple-names {
    font-size: 2.1rem;
  }

  .footer-wedding-details {
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .footer-wedding-quote {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .rsvp-lock-box {
    padding: 1.8rem 1rem;
  }

  .lock-icon-wrap {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }

  .rsvp-kids-callout {
    flex-direction: column;
    padding: 1rem 0.9rem;
    gap: 0.5rem;
  }
}

/* 4. Compact Mobile / Foldables (<= 360px) */
@media (max-width: 360px) {
  .countdown-unit {
    min-width: 44px;
    padding: 0.4rem 0.15rem;
  }

  .countdown-number {
    font-size: 1.2rem;
  }

  .countdown-colon {
    font-size: 0.95rem;
  }

  .timeline {
    padding-left: 1.8rem;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-marker {
    left: -1.8rem;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .hero-actions .btn {
    font-size: 0.86rem;
    padding: 0.65rem 1rem;
  }

  .quote-actions .btn-confetti-fun,
  .quote-actions .btn-love-fun {
    font-size: 0.76rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}
