/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0073c8;
  --blue-dark:   #144196;
  --blue-deeper: #0a2e6e;
  --navy:        #001e41;
  --navy-2:      #00162e;
  --blue-light:  #e0f0fb;
  --blue-pale:   #f0f7fd;
  --blue-mid:    #b3d9f5;
  --gray-1:      #f4f7fb;
  --gray-2:      #e2eaf3;
  --gray-3:      #b0c4d8;
  --text:        #001e41;
  --text-muted:  #4a6480;
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 16px rgba(0,115,200,.10);
  --shadow-md:   0 6px 32px rgba(0,115,200,.16);
  --transition:  .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 80px 0; }
.bg-light { background: var(--gray-1); }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header p { color: var(--text-muted); max-width: 580px; margin: 12px auto 0; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-pale);
  text-decoration: none;
}

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  border-color: var(--blue);
  padding: 9px 20px;
}
.btn-nav:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* ============================================================
   LOGO
   ============================================================ */
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img  { display: block; height: 32px; width: auto; }
.footer-logo { display: block; height: 28px; width: auto; margin-bottom: 16px; }

.footer-event-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.footer-event-badge img { flex-shrink: 0; border-radius: 8px; }
.footer-event-badge div { display: flex; flex-direction: column; gap: 2px; }
.footer-event-badge strong { color: var(--white); font-size: .88rem; }
.footer-event-badge span { color: rgba(255,255,255,.5); font-size: .78rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 90, 160, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .05em;
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: #7ec8f0;
  letter-spacing: .2em;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: rgba(255,255,255,.8);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a3a6e;
  overflow: hidden;
  padding-top: 68px;
}

/* Hero – venue aerial photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-venue.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 1;
  z-index: 0;
}

/* Gradient overlay – jen lehce ztmaví foto pro čitelnost textu */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(0, 30, 80, .72) 0%,
      rgba(0, 30, 80, .45) 55%,
      rgba(0, 30, 80, .15) 100%),
    linear-gradient(to top,
      rgba(0, 20, 60, .55) 0%,
      transparent 45%);
  z-index: 1;
}

/* Subtle texture on top */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 60px 24px;
}

.hero-scroll { z-index: 3; }

/* ============================================================
   R LANGUAGE BADGES & ELEMENTS
   ============================================================ */

/* R logo badge – large (hero) */
.r-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #276DC3;
  color: #fff;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.1rem;
  font-style: italic;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Hero R banner */
.hero-r-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.95);
  font-size: .92rem;
  font-weight: 500;
  max-width: 480px;
}

/* Intro R info box */
.r-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #eef5fd;
  border: 1px solid #b3d0f0;
  border-left: 4px solid #276DC3;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 20px 0 24px;
}
.r-logo-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #276DC3;
  color: #fff;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1rem;
  font-style: italic;
  border-radius: 5px;
  margin-top: 1px;
}
.r-info-box div { display: flex; flex-direction: column; gap: 3px; }
.r-info-box strong { font-size: .9rem; color: var(--navy); }
.r-info-box span { font-size: .85rem; color: var(--text-muted); }

/* R tag in program days */
.r-tag {
  display: inline-block;
  background: #276DC3;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .04em;
}

/* Audience R card */
.audience-item--r {
  border-color: #b3d0f0;
  background: #f0f7ff;
}
.r-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #276DC3;
  color: #fff;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.4rem;
  font-style: italic;
  border-radius: 8px;
}

/* Event logo in hero */
.hero-event-logo {
  margin-bottom: 20px;
}
.hero-event-logo img {
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  border-radius: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.45);
  color: #ffffff;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.hero h1,
.hero-title {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-year {
  color: #FFD54F;
  font-weight: 800;
}

.hero-claim {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
  max-width: 620px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-outline.hero-btn {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-outline.hero-btn:hover { border-color: var(--white); background: rgba(255,255,255,.07); }

.hero .btn-outline {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.35);
}
.hero .btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,.07);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.35);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   INTRO
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.intro-text h2 { margin-bottom: 16px; }
.intro-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.intro-text .btn { margin-top: 8px; }

.intro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card-feature {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon.green {
  background: var(--blue-pale);
  color: var(--blue);
}

.card-feature h3 { font-size: .95rem; }
.card-feature p { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-2);
  transition: box-shadow var(--transition);
}
.audience-item:hover { box-shadow: var(--shadow); }

.audience-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.audience-item h4 { color: var(--dark); }
.audience-item p { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   PROGRAM
   ============================================================ */
.program-structure {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.program-day-type {
  position: sticky;
  top: 88px;
}

.day-block {
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 8px;
}
.day-block.morning { background: var(--blue-pale); border-left: 4px solid var(--blue); }
.day-block.afternoon { background: #f8f4e8; border-left: 4px solid #c8a020; }

.day-time {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.day-block.afternoon .day-time { color: #8a6a10; }
.day-block h4 { margin-bottom: 8px; }
.day-block p { font-size: .9rem; color: var(--text-muted); }

.day-divider {
  text-align: center;
  padding: 10px 0;
  font-size: .82rem;
  color: var(--text-muted);
  position: relative;
}
.day-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 100%;
  background: var(--gray-2);
  z-index: -1;
}

.program-days { display: flex; flex-direction: column; gap: 14px; }

.program-day {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.program-day:hover { box-shadow: var(--shadow); }
.program-day.friday { border-color: var(--blue-mid); background: var(--blue-pale); }

.day-label {
  min-width: 110px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
}
.day-label span {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.day-content { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   SPEAKERS
   ============================================================ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.speaker-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.speaker-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.speaker-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.speaker-avatar--photo {
  background: var(--gray-2);
}

.speaker-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.speaker-role {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.speaker-card p { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   VENUE
   ============================================================ */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.venue-address {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.venue-text p { color: var(--text-muted); margin-bottom: 20px; }

.venue-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venue-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--text);
}
.venue-features li svg { color: var(--blue); flex-shrink: 0; }

.venue-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; }
.map-embed { height: 100%; }
.map-embed iframe { display: block; height: 100%; min-height: 340px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--blue);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--gray-2);
}
.pricing-header h3 { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.pricing-header p { font-size: .85rem; color: var(--text-muted); }

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin: 8px 0 4px;
}
.price span { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); }

.pricing-features {
  list-style: none;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.pricing-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { margin: 0 28px 28px; width: calc(100% - 56px); }

.pricing-note {
  text-align: center;
  font-size: .88rem;
  color: var(--text-muted);
}
.pricing-note a { color: var(--green); }

/* ============================================================
   REGISTRATION
   ============================================================ */
.registration { background: var(--navy); }
.registration .section-label { background: rgba(0,115,200,.20); color: #7ec8f0; }
.registration h2 { color: var(--white); }

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.reg-info p { color: rgba(255,255,255,.65); margin-bottom: 28px; line-height: 1.75; }

.reg-highlights { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

.reg-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .92rem;
}
.reg-highlight svg { color: #7ec8f0; flex-shrink: 0; margin-top: 2px; }

.contact-block p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
  font-size: .95rem;
  transition: color var(--transition);
  text-decoration: none;
}
.contact-link:hover { color: #7ec8f0; text-decoration: none; }
.contact-link svg { color: #7ec8f0; }

/* FORM */
.reg-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.reg-form { display: flex; flex-direction: column; gap: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-2);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,115,200,.12);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #c0392b;
}

.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236b7a55' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.field-error { display: block; font-size: .8rem; color: #c0392b; margin-top: 4px; min-height: 18px; }

.checkbox-group { margin-bottom: 16px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--blue);
  cursor: pointer;
}
.checkbox-label a { color: var(--blue); }

#submitBtn { margin-top: 8px; }
#submitBtn:disabled { opacity: .65; cursor: not-allowed; }

.loading-dots span {
  animation: blink 1.2s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

.form-success {
  text-align: center;
  padding: 24px 0;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 12px; }
.form-success p { color: var(--text-muted); }

.form-error-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #c0392b;
  font-size: .9rem;
  margin-top: 12px;
}
.form-error-msg svg { flex-shrink: 0; margin-top: 1px; }
.form-error-msg a { color: #c0392b; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; max-width: 240px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: var(--white); font-size: .9rem; margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #7ec8f0; }

.footer-contact h4 { color: var(--white); font-size: .9rem; margin-bottom: 12px; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  margin-bottom: 10px;
}
.footer-contact svg { color: #7ec8f0; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact a:hover { color: #7ec8f0; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .program-structure { grid-template-columns: 1fr; }
  .program-day-type { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .day-divider { display: none; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  h2 { font-size: 1.7rem; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    padding: 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 99;
  }
  .nav.open a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: block; }

  .hero-content { padding: 40px 24px; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .intro-cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .program-day-type { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .reg-grid { grid-template-columns: 1fr; gap: 40px; }
  .reg-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .audience-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .program-day { flex-direction: column; gap: 6px; }
}

/* ============================================================
   TWO-STEP FORM
   ============================================================ */

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color .3s;
}
.step-item.active span { color: var(--blue); }
.step-item.done span   { color: #16a34a; }

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-2);
  background: var(--white);
  color: var(--gray-3);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.step-item.active .step-dot {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(0,115,200,.15);
}
.step-item.done .step-dot {
  border-color: #16a34a;
  background: #16a34a;
  color: var(--white);
}
.step-item.done .step-dot::before { content: '✓'; }
.step-item.done .step-dot { font-size: 0; }
.step-item.done .step-dot::before { font-size: 0.9rem; }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-2);
  margin: 0 12px;
  margin-bottom: 22px;
  transition: background .3s;
  max-width: 80px;
}

.step-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.label-optional {
  font-size: 0.8rem;
  color: var(--gray-3);
  font-weight: 400;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-3);
  margin-top: 12px;
}

/* Back button */
.btn-back {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  padding: 8px;
  transition: color .2s;
}
.btn-back:hover { color: var(--navy); }

/* Participation cards */
.participation-group { margin-bottom: 20px; }
.participation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.participation-card {
  position: relative;
  cursor: pointer;
}
.participation-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pcard-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px 10px;
  border: 2px solid var(--gray-2);
  border-radius: var(--radius);
  background: var(--white);
  transition: all .2s;
  cursor: pointer;
}
.pcard-inner:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}
.participation-card.selected .pcard-inner,
.participation-card input:checked ~ .pcard-inner {
  border-color: var(--blue);
  background: var(--blue-pale);
  box-shadow: 0 0 0 3px rgba(0,115,200,.12);
}
.pcard-icon { font-size: 1.5rem; line-height: 1; }
.pcard-inner strong {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 700;
}
.pcard-inner span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pcard-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
  white-space: nowrap;
}

/* 4-column participation cards */
.participation-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 600px) {
  .participation-cards--4 { grid-template-columns: 1fr 1fr; }
}

/* Capacity alert */
.capacity-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8e1;
  border: 1px solid #f59e0b;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: #92400e;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.capacity-alert svg { stroke: #f59e0b; flex-shrink: 0; }
.capacity-alert strong { color: #92400e; }

/* 4-col pricing grid */
.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Price unit (Kč/den) smaller */
.price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.75;
}

@media (max-width: 500px) {
  .participation-cards { grid-template-columns: 1fr; }
  .pcard-inner { flex-direction: row; text-align: left; gap: 12px; padding: 12px 14px; }
  .pcard-icon { font-size: 1.2rem; }
}

/* ============================================================
   HERO THEMES
   ============================================================ */
.hero-themes {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-themes span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-theme-dot {
  color: #FFD54F !important;
  font-size: 1.2rem !important;
}

/* ============================================================
   THREE PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--blue);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-card--featured {
  border-top-color: #0ea47a;
}
.pillar-card:last-child {
  border-top-color: #e05a7a;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon--stats { background: rgba(0,115,200,.1); }
.pillar-icon--stats svg { stroke: var(--blue); }
.pillar-icon--geo   { background: rgba(14,164,122,.12); }
.pillar-icon--geo svg { stroke: #0ea47a; }
.pillar-icon--bio   { background: rgba(224,90,122,.1); }
.pillar-icon--bio svg { stroke: #e05a7a; }

.pillar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-3);
  margin-bottom: 6px;
}
.pillar-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.pillar-pain {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-2);
}
.pillar-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-topics li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pillar-topics li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.pillar-card--featured .pillar-topics li::before { color: #0ea47a; }
.pillar-card:last-child .pillar-topics li::before { color: #e05a7a; }

.pillars-note {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  max-width: 680px;
  margin: 36px auto 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--gray-1);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.pillars-note svg { stroke: var(--blue); flex-shrink: 0; }

@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* Day theme tags */
.day-theme {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.day-theme--stats  { background: rgba(0,115,200,.1);  color: var(--blue); }
.day-theme--geo    { background: rgba(14,164,122,.1); color: #0a7a5a; }
.day-theme--bio    { background: rgba(224,90,122,.1); color: #b03060; }
.day-theme--project { background: rgba(255,213,79,.2); color: #92660a; }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background: var(--navy);
  padding: 28px 0;
}
.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 40px;
  gap: 4px;
}
.proof-item strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}
.proof-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .proof-items { gap: 8px; }
  .proof-divider { display: none; }
  .proof-item { padding: 8px 20px; }
  .proof-item strong { font-size: 1.5rem; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--blue-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.15;
  font-family: Georgia, serif;
}
.testimonial-quote {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   VENUE PHOTOS
   ============================================================ */
.venue-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.venue-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow-sm);
}
.venue-photo:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
@media (max-width: 768px) {
  .venue-photos { grid-template-columns: repeat(2, 1fr); }
  .venue-photo { height: 160px; }
}

/* ============================================================
   PRICING GUARANTEE
   ============================================================ */
.pricing-guarantees {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.pricing-guarantee {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, rgba(0,115,200,.07), rgba(0,115,200,.03));
  border: 1px solid rgba(0,115,200,.18);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.pricing-guarantee svg {
  stroke: var(--blue);
  flex-shrink: 0;
}
.pricing-guarantee strong {
  display: block;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 2px;
}
.pricing-guarantee span {
  color: var(--text-muted);
  font-size: 0.87rem;
}
.pricing-guarantee--money {
  background: linear-gradient(90deg, rgba(34,197,94,.08), rgba(34,197,94,.03));
  border-color: rgba(34,197,94,.25);
}
.money-back-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.pricing-guarantee--money strong {
  color: #15803d;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.faq-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.faq-cta p {
  color: var(--text-muted);
  font-size: 1rem;
}
@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}
