:root {
  --sor-blue: #1b4280;
  --sor-blue-dark: #12305c;
  --sor-blue-mid: #2456a0;
  --sor-blue-soft: #e8f0fa;
  --sor-gold: #e8b923;
  --sor-gold-light: #f7df7a;
  --sor-teal: #0d6e78;
  --sor-teal-soft: #e6f5f6;
  --ink: #1c2840;
  --ink-soft: #445066;
  --muted: #667085;
  --paper: #fffdf9;
  --cream: #f7f3ea;
  --line: rgba(27, 66, 128, 0.12);
  --line-strong: rgba(27, 66, 128, 0.22);
  --shadow-sm: 0 8px 24px rgba(18, 48, 92, 0.08);
  --shadow-md: 0 18px 48px rgba(18, 48, 92, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --readable: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sor-blue-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sor-teal);
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.container--narrow {
  width: min(920px, calc(100% - 2.5rem));
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 3px solid var(--sor-gold);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--sor-blue-dark);
}

.brand-text span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sor-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 999px;
  background: var(--sor-blue-soft);
  border: 1px solid var(--line);
}

.lang-btn,
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lang-btn {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  color: var(--sor-blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.lang-btn.is-active {
  background: var(--sor-blue);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--sor-blue);
  color: white;
  box-shadow: 0 8px 20px rgba(27, 66, 128, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--sor-blue-dark);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--sor-blue-dark);
  border: 1.5px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--sor-blue);
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: min(88vh, 780px);
  background: var(--sor-blue-dark);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 185, 35, 0.18), transparent 42%),
    linear-gradient(160deg, var(--sor-blue-dark) 0%, var(--sor-blue) 55%, var(--sor-teal) 100%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--sor-gold), var(--sor-gold-light));
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--sor-gold-light);
}

.hero-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
}

.hero-headline-main {
  display: block;
  font-size: clamp(2.75rem, 5.8vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-headline-brand {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
  color: var(--sor-gold-light);
  text-wrap: nowrap;
}

.hero-tag {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sor-gold-light);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-actions .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

.hero-meta {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta-item {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
}

.hero-meta-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sor-gold-light);
}

.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.3;
  color: white;
}

.hero-photo {
  position: relative;
  min-height: 320px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 48, 92, 0.35) 0%, transparent 28%);
  pointer-events: none;
}

/* ── Sections ── */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--soft {
  background: var(--paper);
}

.section--blue {
  background: var(--sor-blue-soft);
}

.section-head {
  margin-bottom: 2.25rem;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--sor-blue-dark);
}

.section-head p {
  margin: 0.75rem auto 0;
  max-width: var(--readable);
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: 1.1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sor-gold), var(--sor-gold-light));
}

/* ── Invite ── */
.invite-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.invite-panel-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
}

.ptuj-frame-wrap {
  position: relative;
  min-height: 100%;
  background: var(--sor-blue-soft);
}

.ptuj-frame-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ptuj-frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 4px rgba(232, 185, 35, 0.45);
  pointer-events: none;
}

.ptuj-frame-wrap.is-hidden {
  display: none;
}

.venue-map-wrap {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: var(--sor-blue-soft);
}

.venue-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(18, 48, 92, 0.82));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}

.invite-copy {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.salutation {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.2vw, 2.75rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--sor-blue-dark);
}

.invite-copy p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: none;
}

.invite-copy p:last-of-type {
  margin-bottom: 0;
}

.sign-off {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--sor-gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sor-blue-dark);
}

/* ── Program ── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--sor-blue), var(--sor-teal));
}

.program-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sor-gold);
  color: var(--sor-blue-dark);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.program-card h3 {
  margin: 0 2.8rem 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--sor-blue-dark);
}

.program-day {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sor-teal);
}

.program-price {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--sor-teal-soft);
  color: var(--sor-teal);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.program-card ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sor-gold);
}

.program-card li + li {
  margin-top: 0.55rem;
}

/* ── Info ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-panel {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.info-panel h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sor-gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sor-blue-dark);
}

.info-panel p {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.info-note {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--sor-blue-dark);
  font-weight: 600;
}

.info-panel a {
  font-weight: 600;
  word-break: break-word;
}

.info-panel--payment {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--sor-blue-soft) 0%, white 55%, var(--sor-teal-soft) 100%);
  border: 2px solid var(--line-strong);
}

.payment-fees {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
}

.payment-fee-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.payment-fee-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.payment-fee-day {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sor-teal);
}

.payment-fee-title {
  font-size: 0.98rem;
  color: var(--sor-blue-dark);
  line-height: 1.45;
}

.payment-fee-price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--sor-teal);
  white-space: nowrap;
}

.payment-fee-price--free {
  color: var(--sor-blue-mid);
}

.payment-details {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.payment-details div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}

.payment-details div:last-child {
  border-bottom: 0;
}

.payment-details dt {
  margin: 0;
  font-weight: 700;
  color: var(--sor-blue-dark);
  font-size: 0.92rem;
}

.payment-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  word-break: break-word;
}

.payment-footnote,
#payment-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.payment-box {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--sor-blue-dark) 0%, var(--sor-blue) 58%, var(--sor-teal) 100%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.payment-box h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: white;
}

.payment-box p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.payment-box .payment-details div {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.payment-box .payment-details dt {
  color: var(--sor-gold-light);
}

.payment-box .payment-details dd {
  color: white;
  font-weight: 600;
}

/* ── Form ── */
.form-section {
  padding-bottom: 5rem;
}

.form-panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label,
.label-like {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sor-blue-dark);
}

.label-like {
  display: block;
  margin-bottom: 0.2rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sor-blue);
  box-shadow: 0 0 0 3px rgba(27, 66, 128, 0.12);
}

.field-error {
  min-height: 1.15rem;
  font-size: 0.84rem;
  color: #b42318;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d92d20;
}

.program-checkboxes {
  display: grid;
  gap: 0.85rem;
}

.radio-row {
  display: grid;
  gap: 0.7rem;
}

.check-card,
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.check-card--program {
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.3rem;
  border-width: 2px;
  border-color: var(--line-strong);
}

.check-card--program .check-card-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.check-card--program strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--sor-blue-dark);
}

.check-card-day {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sor-teal);
}

.check-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.check-card-header strong {
  flex: 1;
  min-width: 0;
}

.check-card-price {
  flex-shrink: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sor-teal);
  white-space: nowrap;
}

.check-card-price--free {
  color: var(--sor-blue-mid);
}

.check-card--program .check-card-desc {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: left;
}

.check-card--program input[type="checkbox"],
.check-card--program input[type="radio"] {
  flex-shrink: 0;
  order: 2;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--sor-blue);
}

.check-card--program:hover {
  border-color: var(--sor-blue-mid);
  box-shadow: var(--shadow-sm);
}

.check-card--program:has(input:checked) {
  border-color: var(--sor-blue);
  background: linear-gradient(90deg, var(--sor-blue-soft) 0%, white 100%);
  box-shadow: inset 4px 0 0 var(--sor-gold);
}

.check-card:hover,
.radio-card:hover {
  border-color: var(--sor-blue-mid);
}

.check-card:has(input:checked),
.radio-card:has(input:checked) {
  border-color: var(--sor-blue);
  background: var(--sor-blue-soft);
}

.check-card input,
.radio-card input {
  margin-top: 0.25rem;
  accent-color: var(--sor-blue);
}

.check-card--program input {
  margin-top: 0;
}

.check-card--program .check-card-content strong:only-child {
  margin-bottom: 0;
}

.check-card strong,
.radio-card strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--sor-blue-dark);
  font-size: 0.98rem;
}

.check-card span,
.radio-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent-row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 0.8rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.consent-row input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2rem 0 0;
  cursor: pointer;
}

.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sor-blue-soft), var(--sor-teal-soft));
  border: 1.5px solid var(--line);
}

.total-box span {
  font-weight: 700;
  color: var(--sor-blue-dark);
}

.total-box strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--sor-blue-dark);
}

#payment-note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--sor-gold);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-radius: 0 10px 10px 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.success-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1.5px solid rgba(13, 110, 120, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--sor-teal-soft), white);
}

.success-panel[hidden] {
  display: none !important;
}

.success-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--sor-blue-dark);
}

.success-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.success-panel pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink);
}

.sponsor-section {
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  background: linear-gradient(160deg, var(--sor-blue-dark) 0%, var(--sor-blue) 55%, var(--sor-teal) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.sponsor-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(232, 185, 35, 0.16), transparent 45%);
  pointer-events: none;
}

.sponsor-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sor-gold), var(--sor-gold-light));
}

.sponsor-section p {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.sponsor-section a {
  color: var(--sor-gold-light);
  font-weight: 700;
  text-decoration: none;
}

.sponsor-section a:hover {
  color: white;
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-photo {
    order: -1;
    min-height: 280px;
    max-height: 42vh;
  }

  .hero-panel::after {
    width: 100%;
    height: 5px;
    top: auto;
    bottom: 0;
    right: auto;
  }

  .hero-panel-inner {
    max-width: none;
  }

  .hero-lead {
    max-width: none;
    text-wrap: pretty;
  }

  .hero-headline-brand {
    text-wrap: balance;
  }

  .hero-meta-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .invite-panel-top,
  .program-grid,
  .info-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .payment-details div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .ptuj-frame-photo {
    min-height: 260px;
  }
}

@media print {
  .site-header,
  .header-actions,
  .form-section,
  .hero-actions,
  #success-panel {
    display: none !important;
  }

  body {
    background: white;
    font-size: 11pt;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .hero-panel::before,
  .hero-panel::after,
  .hero-photo::after {
    display: none;
  }

  .hero-panel {
    background: white;
    color: black;
    padding: 1rem;
  }

  .hero h1,
  .hero-headline,
  .hero-headline-main,
  .hero-headline-brand,
  .hero-meta-value,
  .hero-tag,
  .hero-kicker,
  .hero-meta-label {
    color: black !important;
  }

  .invite-panel,
  .program-card,
  .info-panel,
  .form-panel {
    box-shadow: none;
    break-inside: avoid;
  }
}
