/* Registrační landing page Klub Můj dům (TW 37479042)
   CSS převzaté z dodaného HTML prototypu; stránka je standalone (globální styly
   webu se na ní dequeue-ují ve functions.php). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.klubreg-page {
  font-family: 'Outfit', system-ui, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:root {
  --pink:      #E8225F;
  --pink-dark: #C41B52;
  --pink-bg:   rgba(232,34,95,0.08);
  --dark:      #111827;
  --body:      #374151;
  --muted:     #9CA3AF;
  --border:    #E5E7EB;
  --light:     #F9FAFB;
  --white:     #FFFFFF;
  --green:     #059669;
  --green-bg:  #F0FDF4;
  --green-bd:  #86EFAC;
  --radius:    14px;
  --shadow:    0 1px 4px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.05), 0 12px 48px rgba(0,0,0,0.13);
}

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

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 44px; width: auto; display: block; }
.header-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  transition: color .2s;
}
.header-link:hover { color: var(--pink); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #f4f6f9 0%, #fdf0f3 100%);
  padding: 52px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 56px;
  align-items: start;
}

/* ─── FORM CARD ──────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  position: sticky;
  top: 88px;
}

/* Server-side validation errors */
.server-errors {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.server-errors p { font-size: 13px; color: #B91C1C; margin: 0 0 4px; }
.server-errors p:last-child { margin-bottom: 0; }

/* Step indicator */
.step-indicator {
  display: inline-flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 0;
}
.step-node { display: flex; align-items: center; gap: 8px; }
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: all .3s ease;
  flex-shrink: 0;
}
.step-circle.active   { background: var(--pink);  color: #fff; }
.step-circle.done     { background: var(--green); color: #fff; }
.step-circle.upcoming { background: var(--border); color: var(--muted); }
.step-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.step-label.active { color: var(--dark); }
.step-connector {
  width: 48px; height: 2px;
  background: var(--border);
  margin: 0 12px;
  transition: background .3s;
  flex-shrink: 0;
}
.step-connector.done { background: var(--green); }

/* Steps */
.step { display: none; }
.step.visible { display: block; }

.step-heading { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.step-desc { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--body); margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none;
}
.form-group input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232,34,95,0.12);
}
.form-group input.has-error { border-color: #EF4444; }
.field-error { font-size: 12px; color: #EF4444; margin-top: 4px; display: none; }
.field-error.visible { display: block; }

/* Choice cards */
.choice-section { margin-bottom: 22px; }
.choice-label { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.choice-grid { display: flex; flex-direction: column; gap: 8px; }
.choice-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: all .2s; user-select: none;
}
.choice-card:hover  { border-color: var(--pink); background: var(--pink-bg); }
.choice-card.selected { border-color: var(--pink); background: var(--pink-bg); }
.choice-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0; transition: all .2s; position: relative;
}
.choice-card.selected .choice-radio { border-color: var(--pink); background: var(--pink); }
.choice-card.selected .choice-radio::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px; background: #fff;
  border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.choice-text { font-size: 15px; font-weight: 500; color: var(--dark); }
.choice-text small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }

/* Qualification banners */
.qual-banner { border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; display: none; }
.qual-banner.show { display: flex; gap: 14px; align-items: flex-start; }
.qual-banner.success { background: var(--green-bg); border: 1.5px solid var(--green-bd); }
.qual-banner.info    { background: #EFF6FF; border: 1.5px solid #BFDBFE; }
.qual-banner-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.qual-banner.success h4 { color: #166534; }
.qual-banner.info    h4 { color: #1E40AF; }
.qual-banner-body p  { font-size: 13px; color: var(--body); line-height: 1.5; }

/* Address divider */
.address-divider {
  font-size: 14px; font-weight: 700; color: var(--dark);
  padding: 16px 0 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* Buttons */
.btn-pink {
  display: block; width: 100%;
  padding: 15px 24px;
  background: var(--pink); color: #fff; border: none;
  border-radius: 10px;
  font-size: 16px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .2s, transform .1s, box-shadow .2s;
  text-align: center; letter-spacing: -.01em; text-decoration: none;
}
.btn-pink:hover { background: var(--pink-dark); box-shadow: 0 4px 20px rgba(232,34,95,0.28); }
.btn-pink:active { transform: translateY(1px); }
.btn-pink:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.btn-ghost {
  background: none; border: none;
  font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; font-family: inherit; padding: 0;
  transition: color .2s; display: inline-flex; align-items: center; gap: 4px;
}
.btn-ghost:hover { color: var(--dark); }

.step-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.step-nav.end { justify-content: flex-end; }

/* Checkboxes */
.form-checkbox { margin-top: 14px; }
.form-checkbox label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 11px; color: var(--body); cursor: pointer; line-height: 1.5;
  hyphens: none; -webkit-hyphens: none;
}
.form-checkbox label span { display: block; }
.form-checkbox input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--pink);
}
.form-checkbox a { color: var(--pink); text-decoration: none; }
.form-checkbox a:hover { text-decoration: underline; }

.form-foot {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; font-size: 13px; color: var(--muted);
}

/* Thank you */
.thankyou-wrap { text-align: center; padding: 12px 0; }
.thankyou-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.thankyou-icon svg { stroke: var(--green); }
.thankyou-wrap h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.thankyou-wrap > p { font-size: 15px; color: var(--body); margin-bottom: 24px; line-height: 1.6; }
.thankyou-list {
  background: var(--light); border-radius: 10px;
  padding: 18px 22px; text-align: left; margin-bottom: 22px;
}
.thankyou-list h5 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.thankyou-list ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.thankyou-list li {
  font-size: 14px; color: var(--body);
  display: flex; align-items: flex-start; gap: 8px;
}
.thankyou-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.btn-pink-inline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 30px; border-radius: 10px;
  background: var(--pink); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.btn-pink-inline:hover { background: var(--pink-dark); box-shadow: 0 4px 20px rgba(232,34,95,0.28); color: #fff; }

/* ─── BENEFITS PANEL ─────────────────────────── */
.benefits-panel { padding-top: 6px; }
.panel-eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pink); margin-bottom: 12px;
}
.panel-title {
  font-size: 36px; font-weight: 900; color: var(--dark);
  margin-bottom: 10px; line-height: 1.15;
}
.panel-subtitle {
  font-size: 16px; color: var(--body);
  margin-bottom: 36px; max-width: 420px; line-height: 1.6;
}

/* Featured card */
.feat-card {
  background: linear-gradient(135deg,#E8225F 0%,#B91C4A 100%);
  border-radius: var(--radius); padding: 26px 28px;
  display: flex; gap: 18px; align-items: center;
  margin-bottom: 30px; position: relative; overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  top: -60px; right: -40px;
  pointer-events: none;
}
.feat-body { flex: 1; position: relative; z-index: 1; }
.feat-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 20px;
  margin-bottom: 10px; text-transform: uppercase;
}
.feat-card h3 { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.feat-card p  { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.5; }
.feat-img { width: 100px; flex-shrink: 0; position: relative; z-index: 1; }
.feat-img-placeholder {
  width: 100px; height: 130px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.feat-img-placeholder span {
  font-size: 10px; color: rgba(255,255,255,0.7); font-weight: 700;
  text-align: center; line-height: 1.3;
}
.feat-cover-img {
  display: block; width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Benefit list */
.benefits-list { display: flex; flex-direction: column; gap: 20px; }
.benefit-row { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--white); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.benefit-row h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.benefit-row p  { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ─── TRUST BAR ──────────────────────────────── */
.trust-bar { background: var(--dark); padding: 28px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500;
}
.trust-item svg { opacity: .7; flex-shrink: 0; }

/* ─── FEATURE ROWS ──────────────────────────── */
.feature-rows { padding: 48px 0; background: var(--white); }
.feature-rows .sec-header { margin-bottom: 16px; text-align: center; }
.feature-rows .sec-title { font-size: 28px; font-weight: 900; }
.feature-rows .sec-eyebrow { font-weight: 700; color: var(--pink); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:first-of-type { padding-top: 24px; }
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.feature-row-text {
  display: flex; flex-direction: column; justify-content: center;
  align-self: center;
}
.feature-row-eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--pink); margin-bottom: 12px;
}
.feature-row-text h3 {
  font-size: 22px; font-weight: 800; color: var(--dark);
  line-height: 1.25; margin-bottom: 12px; max-width: 400px;
}
.feature-row-text p {
  font-size: 14px; color: var(--body); line-height: 1.65; max-width: 400px;
}
.feature-row-visual {
  display: flex; align-items: center; justify-content: center;
  background: #f4f5f7;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-height: 380px;
}
.feature-row-visual img {
  width: 100%; max-width: 380px;
  object-fit: contain; display: block;
}
/* Reverse layout for even rows */
.feature-row.reverse .feature-row-text { order: 2; }
.feature-row.reverse .feature-row-visual { order: 1; }
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature-row.reverse .feature-row-text { order: 1; }
  .feature-row.reverse .feature-row-visual { order: 2; }
}

/* ─── HOW IT WORKS ───────────────────────────── */
.how-it-works { padding: 80px 0; background: var(--light); }
.how-it-works .sec-header { text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.6% + 20px); right: calc(16.6% + 20px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.how-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.how-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px; font-weight: 900; color: var(--pink);
  box-shadow: 0 0 0 6px var(--light);
}
.how-step.highlight .how-num {
  background: var(--pink); color: #fff; border-color: var(--pink);
}
.how-step h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.how-step p  { font-size: 15px; color: var(--body); line-height: 1.6; }
.how-tag {
  display: inline-block;
  margin-top: 12px;
  background: var(--pink-bg); color: var(--pink);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.how-step.highlight .how-tag { background: var(--green-bg); color: var(--green); }

/* ─── FINAL CTA ───────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #111827 100%);
  padding: 80px 0;
}
.final-cta-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.final-cta h2 { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.final-cta p  { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 36px; line-height: 1.6; }
.final-cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 17px 36px; border-radius: 10px;
  background: var(--pink); color: #fff;
  font-size: 17px; font-weight: 800; text-decoration: none; font-family: inherit;
  transition: background .2s, box-shadow .2s, transform .1s;
}
.btn-cta-main:hover { background: var(--pink-dark); box-shadow: 0 6px 24px rgba(232,34,95,.35); color: #fff; }
.btn-cta-main:active { transform: translateY(1px); }
.final-note { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 20px; }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer { background: var(--dark); padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo img { height: 36px; opacity: .75; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .benefits-panel { order: -1; }
  .panel-title { font-size: 28px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 720px) {
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .feat-card { flex-direction: column; }
  .feat-img { width: 80px; }
  .trust-inner { gap: 24px; }
  .panel-title { font-size: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .final-cta h2 { font-size: 26px; }
}
