/* =========================================================
   Gynekologická ambulancia — main stylesheet
   Design system: Accessible & Ethical, white + telenová #24B46D
   Typography: Figtree (UI) / Noto Sans (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600&display=swap');

:root {
  --green:        #24B46D;
  --green-dark:   #1E9A5C;
  --green-soft:   #E8F7EF;
  --green-tint:   #F4FBF7;

  --ink:          #0F172A;
  --ink-soft:     #334155;
  --muted:        #64748B;
  --line:         #E2E8F0;
  --line-soft:    #F1F5F9;
  --bg:           #FFFFFF;
  --bg-soft:      #FAFBFC;

  --danger:       #DC2626;
  --warn:         #D97706;

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow:       0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg:    0 24px 48px -16px rgba(15,23,42,.12), 0 8px 16px -8px rgba(15,23,42,.08);

  --font-ui:      'Figtree', system-ui, sans-serif;
  --font-body:    'Noto Sans', system-ui, sans-serif;

  --max:          1180px;
  --gap:          24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}
a:hover { color: var(--green); }

/* Focus ring — accessibility CRITICAL */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

button { font-family: var(--font-ui); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

@media (max-width: 720px) {
  section { padding: 48px 0; }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}

.brand-name { line-height: 1.2; }
.brand-sub  { font-size: .78rem; color: var(--muted); font-weight: 500; }

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover { color: var(--green-dark); }

@media (max-width: 760px) {
  .nav { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(circle at 85% 10%, var(--green-soft), transparent 55%),
    radial-gradient(circle at 10% 90%, var(--green-tint), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .82rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 { margin-bottom: 16px; }
.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.hours-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hours-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .94rem;
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  border-bottom: 1px dashed var(--line-soft);
  transition: background .25s ease;
}
.hours-mini-row:last-child { border-bottom: 0; }
.hours-mini-row.is-special {
  background: var(--green-soft);
  border-bottom-color: transparent;
}
.hours-mini-row.is-special .hours-mini-day,
.hours-mini-row.is-special .hours-mini-val {
  color: var(--green-dark);
}
.hours-mini-day { color: var(--muted); font-weight: 500; }
.hours-mini-val { color: var(--ink); font-family: var(--font-ui); font-weight: 600; }

.hero-card.has-special {
  border-color: var(--green);
  box-shadow: 0 24px 48px -16px rgba(36,180,109,.18), 0 8px 16px -8px rgba(36,180,109,.12);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--green-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.btn-soft {
  background: var(--green-soft);
  color: var(--green-dark);
}
.btn-soft:hover:not(:disabled) {
  background: #D8F0E3;
  color: var(--green-dark);
}

.btn-danger {
  background: #fff;
  color: var(--danger);
  border-color: var(--line);
}
.btn-danger:hover:not(:disabled) { border-color: var(--danger); }

.btn-sm { min-height: 36px; padding: 0 14px; font-size: .85rem; }

/* =========================================================
   Section heading
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* =========================================================
   About cards
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.about-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.about-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.about-card p  { font-size: .95rem; margin: 0; }

/* =========================================================
   Hours table (full)
   ========================================================= */
.hours-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.hours-table th {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--bg-soft);
}
.hours-table td {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--ink);
}
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .day-label { color: var(--ink); font-weight: 600; width: 32%; }

.slot-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  margin-right: 6px;
}
.slot-pill.is-special {
  background: var(--green);
  color: #fff;
}
.day-closed { color: var(--muted); font-weight: 500; }

.hours-legend {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  font-size: .88rem;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--green);
  margin-right: 6px;
  vertical-align: -2px;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.service-name {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.service-meta {
  font-size: .85rem;
  color: var(--muted);
}
.service-price {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
  white-space: nowrap;
}

/* =========================================================
   Booking widget
   ========================================================= */
.booking-section {
  background:
    linear-gradient(180deg, transparent, var(--green-tint) 80%);
}

.booking-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stepper {
  display: flex;
  gap: 8px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  overflow-x: auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
}
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.step.is-active { color: var(--ink); }
.step.is-active .step-num {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.step.is-done .step-num {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
}

.step-pane {
  display: none;
  padding: 32px 36px 36px;
}
.step-pane.is-active { display: block; }

@media (max-width: 640px) {
  .step-pane { padding: 24px 20px 28px; }
}

.step-pane h3 { margin-bottom: 6px; }
.step-pane .pane-sub {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Service list (in booking) */
.svc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.svc-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.svc-option:hover { border-color: var(--green); background: var(--green-tint); }
.svc-option.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
}
.svc-option input { position: absolute; left: -9999px; }
.svc-option .svc-name { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.svc-option .svc-meta { font-size: .85rem; color: var(--muted); }
.svc-option .svc-price {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--green-dark);
}

/* Patient type selector (booking step 1) */
.ptype-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 620px) {
  .ptype-list { grid-template-columns: repeat(3, 1fr); }
}
.ptype-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.ptype-option:hover { border-color: var(--green); background: var(--green-tint); }
.ptype-option.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
}
.ptype-option input { position: absolute; left: -9999px; }
.ptype-option .ptype-name { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.ptype-option .ptype-meta { font-size: .85rem; color: var(--muted); }
.ptype-option .ptype-check {
  margin-left: auto;
  color: var(--green);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease;
}
.ptype-option.is-selected .ptype-check { opacity: 1; transform: scale(1); }

/* Date picker */
.date-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.date-chip {
  flex: 1 1 150px;
  min-width: 140px;
  padding: 18px 16px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  background: #fff;
  text-align: left;
  font-family: var(--font-ui);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

/* AVAILABLE: green tint background */
.date-chip.is-free {
  background: var(--green-soft);
  border-color: rgba(36,180,109,.35);
}
.date-chip.is-free:hover {
  border-color: var(--green);
  background: #D8F0E3;
}
.date-chip.is-free.is-selected {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 6px 16px -6px rgba(36,180,109,.45);
}
.date-chip.is-free.is-selected .date-day,
.date-chip.is-free.is-selected .date-num,
.date-chip.is-free.is-selected .date-month,
.date-chip.is-free.is-selected .date-status {
  color: #fff;
}

/* FULL: red tint background, not clickable */
.date-chip.is-full {
  background: #FEF2F2;
  border-color: #FCA5A5;
  cursor: not-allowed;
}
.date-chip.is-full .date-num { color: #B91C1C; }
.date-chip.is-full .date-status { color: var(--danger); }

/* CLOSED: muted */
.date-chip.is-closed {
  background: var(--bg-soft);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: .65;
}
.date-chip.is-closed .date-num { color: var(--muted); }

.date-day {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.date-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.05;
}
.date-month {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.date-status {
  font-size: .76rem;
  font-weight: 600;
  margin-top: 8px;
  color: var(--green-dark);
}

/* Mini calendar (booking step 2) */
.mini-cal {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.mc-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.mc-head span {
  text-align: center;
  padding: 12px 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.mc-day {
  position: relative;
  min-height: 62px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background .15s ease, transform .12s ease;
}
.mc-day:nth-child(7n) { border-right: 0; }
.mc-num { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.mc-slots { font-size: .64rem; font-weight: 700; color: var(--green-dark); }

.mc-day.mc-empty { background: var(--bg-soft); cursor: default; }
.mc-day.mc-empty .mc-num { color: #CBD5E1; }

.mc-day.mc-soon { background: var(--bg-soft); cursor: not-allowed; }
.mc-day.mc-soon .mc-num { color: #94A3B8; }

.mc-day.mc-closed { background: var(--bg-soft); cursor: not-allowed; }
.mc-day.mc-closed .mc-num { color: #CBD5E1; }

.mc-day.mc-free { background: var(--green-soft); }
.mc-day.mc-free:hover { background: #D8F0E3; }
.mc-day.mc-free .mc-num { color: var(--green-dark); }
.mc-day.mc-free.is-selected { background: var(--green); box-shadow: inset 0 0 0 2px var(--green-dark); }
.mc-day.mc-free.is-selected .mc-num,
.mc-day.mc-free.is-selected .mc-slots { color: #fff; }

.mc-day.mc-full { background: #FEF2F2; cursor: not-allowed; }
.mc-day.mc-full .mc-num { color: #B91C1C; }

.mc-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-ui);
}
.mini-cal { width: 100%; }
.mc-day { min-height: 68px; }
.mc-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 4px;
  vertical-align: -2px;
  margin-right: 6px;
}
.mc-dot.free { background: var(--green-soft); border: 1px solid var(--green); }
.mc-dot.full { background: #FEF2F2; border: 1px solid #FCA5A5; }
.mc-dot.soon { background: var(--bg-soft); border: 1px solid var(--line); }

.mc-hint {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Time slots */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}
.slot-btn {
  padding: 12px 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.slot-btn:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--green-tint);
}
.slot-btn.is-selected {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.slot-btn.is-special {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}
.slot-btn.is-special.is-selected {
  background: var(--green);
  color: #fff;
}
.slot-btn:disabled,
.slot-btn.is-taken {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* Form fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 48px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-hint { font-size: .8rem; color: var(--muted); }

/* Summary card */
.summary {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.summary-row:last-child { border-bottom: 0; }
.summary-key { color: var(--muted); font-size: .92rem; }
.summary-val { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}
.step-actions.center { justify-content: center; }

/* Success state */
.success-pane { text-align: center; padding: 40px 24px; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.success-pane h3 { font-size: 1.5rem; }

/* =========================================================
   Contact / footer
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-card h4 { margin-bottom: 6px; font-size: 1rem; }
.contact-card p  { margin: 0; font-size: .94rem; }

footer {
  border-top: 1px solid var(--line-soft);
  padding: 32px 0;
  color: var(--muted);
  font-size: .9rem;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.version-tag {
  font-family: var(--font-ui);
  font-size: .72rem;
  color: #111111;
  letter-spacing: .02em;
}

/* =========================================================
   Utilities
   ========================================================= */
.lang-pill {
  display: inline-block;
  padding: 2px 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .78rem;
  border-radius: 999px;
  margin-right: 6px;
}

.bg-soft { background: var(--bg-soft); }

.note {
  background: var(--green-tint);
  border: 1px solid rgba(36,180,109,.25);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.error-msg {
  color: var(--danger);
  font-size: .88rem;
  margin-top: 6px;
}

/* GDPR consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.consent:hover { border-color: var(--green); }
.consent:has(input:checked) {
  background: var(--green-tint);
  border-color: var(--green);
}
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
}
.consent span {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.consent .req { color: var(--danger); font-weight: 700; }
.consent:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

/* Registračný checkbox (krok 2) */
.reg-wrap { margin-bottom:16px; }
.reg-toggle { display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg-soft); cursor:pointer; transition:border-color .15s, background .15s; }
.reg-toggle:hover { border-color:var(--green); }
.reg-toggle.is-on { border-color:var(--green); background:var(--green-soft); }
.reg-toggle input { margin-top:3px; width:18px; height:18px; accent-color:var(--green); flex-shrink:0; }
.reg-toggle .reg-text strong { display:block; font-family:var(--font-ui); font-size:.95rem; color:var(--ink); }
.reg-toggle .reg-text small { display:block; color:var(--muted); font-size:.82rem; margin-top:2px; line-height:1.4; }
/* Počítadlo poznámky */
.note-count { text-align:right; font-size:.78rem; color:var(--muted); margin-top:4px; }

/* Zvýraznenie nevyplneného / chybného poľa vo formulári */
input.is-invalid, textarea.is-invalid, select.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.15) !important;
}
.consent.is-invalid { color: var(--danger); }
.consent.is-invalid input { outline: 2px solid var(--danger); outline-offset: 2px; }
