/* Úloha ciclesonidu v léčbě asthma bronchiale 11/2026 - společný styl pro index.php a prsmfr.php */
:root {
  --brand: #D9232A;
  --brand-dark: #A8161C;
  --brand-soft: #FDECEC;
  --ink: #1A1A1A;
  --text: #333A42;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F7F7F8;
  --card: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px rgba(20, 20, 20, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- HERO (hotel Akcent + červený blok s názvem jako v pozvánce) ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  background: #111 url('tophdr.jpg') center 40% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 14, .85) 0%, rgba(10, 10, 14, .55) 50%, rgba(10, 10, 14, .2) 100%),
    linear-gradient(0deg, rgba(10, 10, 14, .55) 0%, rgba(10, 10, 14, 0) 45%);
}
.hero-nav, .hero-body { position: relative; z-index: 1; }
.hero-nav { padding: 22px 0; }
.hero-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-logo { height: 40px; width: auto; }
.hero-body { flex: 1; display: flex; align-items: center; padding: 16px 0 96px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFD5D7;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.hero-title {
  width: fit-content;
  background: var(--brand);
  padding: 22px 30px 20px;
  max-width: min(720px, 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 54px); font-weight: 800; }
.hero-meta { font-size: 18px; color: rgba(255, 255, 255, .92); margin-top: 10px; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 600px; margin: 26px 0 30px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(217, 35, 42, .35);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #FFC2C5; outline-offset: 2px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .5); box-shadow: none; padding: 10px 20px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }

/* ---------- přehled ---------- */
.facts { margin-top: -40px; position: relative; z-index: 2; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 22px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-label { font-size: 13px; color: var(--muted); }
.fact-value { font-size: 18px; font-weight: 700; color: var(--ink); }
.fact-value.accent { color: var(--brand); }
.fact-address { display: block; font-size: 13px; color: var(--muted); text-decoration: none; margin-top: 2px; }
.fact-address:hover { color: var(--brand-dark); text-decoration: underline; }

/* ---------- obsah ---------- */
.main { padding: 72px 0 88px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin: 0 0 32px; }

.timeline { list-style: none; margin: 0 0 40px; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.time { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); padding: 2px 10px; margin-bottom: 6px; }
.timeline h3 { font-size: 19px; font-weight: 700; }
.timeline p { margin: 4px 0 0; color: var(--muted); }
.timeline .speaker { color: var(--text); }

.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 28px; }
.note p { margin: 0 0 10px; }
.note p:last-child { margin: 0; }

/* ---------- registrační karta ---------- */
.card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; }
.reg-card { position: sticky; top: 24px; scroll-margin-top: 24px; }
.card h2 { font-size: 24px; font-weight: 800; }
.card-sub { color: var(--muted); margin: 6px 0 24px; font-size: 15px; }
.event-box { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; font-size: 15px; }
.event-box b { color: var(--ink); display: block; }
.event-address { display: block; font-size: 13px; color: var(--muted); }

.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 16px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(217, 35, 42, .15); }
.field input.is-invalid { border-color: #B91C1C; box-shadow: 0 0 0 4px rgba(185, 28, 28, .12); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* past na roboty */

.form-error { display: none; color: #B91C1C; background: #FEF2F2; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.form-error.is-visible { display: block; }

.gdpr { margin-top: 18px; font-size: 12px; color: var(--muted); }
.gdpr summary { cursor: pointer; color: var(--brand-dark); }
.gdpr p { text-align: justify; line-height: 1.5; font-size: 11px; }

/* ---------- potvrzení (prsmfr.php) ---------- */
.hero-compact { min-height: 300px; }
.hero-compact .hero-body { padding-bottom: 72px; }
.hero-compact .hero-title { padding: 16px 24px 14px; }
.hero-compact h1 { font-size: clamp(24px, 3.6vw, 38px); }
.confirm { margin-top: -56px; position: relative; z-index: 2; padding-bottom: 88px; }
.confirm .card { max-width: 720px; margin: 0 auto; }
.confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.summary { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.summary th, .summary td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary th { width: 40%; color: var(--muted); font-weight: 500; padding-right: 16px; }
.summary td { color: var(--ink); font-weight: 600; }
.notice { border-radius: 12px; padding: 14px 18px; background: var(--brand-soft); color: var(--ink); margin: 0 0 24px; }
.notice.warn { background: #FFF7ED; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-muted { color: var(--muted); font-size: 15px; }

/* ---------- patička ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #FFC2C5; }
.footer p { margin: 0 0 6px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* ---------- responzivita ---------- */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 48px; }
  .reg-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { min-height: 500px; }
  .hero::after { background: linear-gradient(0deg, rgba(10, 10, 14, .9) 0%, rgba(10, 10, 14, .5) 100%); }
  .hero-logo { height: 32px; }
  .hero-title { padding: 16px 18px 14px; }
  .hero-meta, .hero-lead { font-size: 16px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .fact:first-child { border-top: 0; }
  .main { padding: 56px 0 64px; }
  .card { padding: 24px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
