/* Spoločné štýly pre web a stránky organizátora. */
:root {
  --ink: #1D1B2F;
  --coral: #C8412E;
  --blush: #F7E3DC;
  --champagne: #F2E8D2;
  --paper: #FFFCF8;
  --muted: #5E5A6E;
  --body: #4A4658;
  --line: #E4DCD3;
  --field: #CFC6BC;
  --ok: #2F7D6B;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--coral); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
/* Ručný akcent v nadpisoch — kurzíva Fraunces ako na kartičkách a v logu. */
h1 em, h2 em { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.hero h1 em { color: var(--coral); }
h2 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.08; }
h3 { font-size: 21px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 28px; }
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--body); }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 19px; font-weight: 400; color: var(--coral); }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.link { font-weight: 600; font-size: 17px; }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 12px; font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-coral { background: var(--coral); color: var(--paper); }
.btn-coral:hover { background: #B23826; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 600; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Navigácia */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -0.04em; }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 16px; font-weight: 500; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--coral); }
@media (max-width: 760px) { .nav nav a:not(.btn):not(.account) { display: none; } }
.nav nav a.account { font-weight: 600; }

/* Úvod */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 40px 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.ticks li::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--coral); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: center; padding: 16px 0; }
.hero-card { transform: rotate(-6deg); box-shadow: 0 18px 40px rgba(29,27,47,.16); border-radius: 4px; overflow: hidden; line-height: 0; }
.phone { width: 236px; height: 470px; margin-left: -48px; padding: 14px; border-radius: 40px; background: var(--ink); transform: rotate(4deg); box-shadow: 0 24px 50px rgba(29,27,47,.25); position: relative; z-index: 1; }
.phone-screen { height: 100%; border-radius: 28px; background: var(--paper); padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-head { border-radius: 8px; background: var(--blush); padding: 16px 8px; text-align: center; font-family: 'Fraunces', serif; font-style: italic; font-size: 22px; }
.ph-btn { height: 42px; border-radius: 8px; background: var(--coral); color: var(--paper); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ph-grid i { aspect-ratio: 1; border-radius: 3px; position: relative; background: radial-gradient(90% 70% at 72% 18%, rgba(255,246,230,.75), transparent 60%), linear-gradient(195deg, var(--a) 0 45%, var(--b)); }
.ph-grid i.more { background: var(--ink); color: var(--paper); font-style: normal; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ph-note { margin: 0; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 14px; color: var(--body); text-align: center; }
.ph-toast { margin-top: auto; padding: 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; text-align: center; }
@media (max-width: 560px) { .phone { width: 200px; height: 400px; margin-left: -70px; } .hero-card { zoom: .8; } }

/* Pásy */
.band { padding-block: 88px; }
.band > .wrap { display: flex; flex-direction: column; gap: 28px; }
.band-blush { background: var(--blush); }
.band-champagne { background: var(--champagne); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-coral { background: var(--coral); color: var(--paper); padding-block: 72px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.steps li { background: var(--paper); border-radius: 4px; border-top: 3px solid var(--ink); padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.steps p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.num { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 46px; line-height: 1; font-weight: 400; color: var(--coral); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 14px; }
.cards-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.cards-row .card-slot { width: 100%; aspect-ratio: 420 / 594; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 22px rgba(29,27,47,.10); container-type: inline-size; }
.card-zoom { line-height: normal; }
.cards-row .card-zoom { zoom: calc(100cqw / 420px); }
@supports not (width: 1cqw) { .cards-row .card-zoom { zoom: .42; } }
.hero-card .card-zoom { zoom: .62; }

.features { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px !important; }
.features p { margin: 8px 0 0; color: #E4DCD3; line-height: 1.55; font-size: 16px; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price { background: var(--paper); border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.price-hi { background: var(--ink); color: var(--paper); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--blush); color: var(--ink); }
.amount { margin: 0; font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.price ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.85; color: var(--body); flex-grow: 1; }
.price-hi ul { color: #E4DCD3; }
.price-hi .btn-outline { border-color: var(--paper); color: var(--paper); }

details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-size: 19px; font-weight: 600; cursor: pointer; }
details p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); }

.cta { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 640px; font-size: clamp(30px, 3.6vw, 40px); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px 40px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }
.brand-sm { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; color: var(--ink); }

/* Aplikácia (organizátor) */
.app { max-width: 560px; margin: 0 auto; padding: 16px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.app-wide { max-width: 1160px; padding-inline: 24px; }  /* rovnaká šírka ako hlavička a úvodná stránka */
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-top .brand { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input { height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--field); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--coral); }
.pill { height: 48px; border-radius: 10px; border: 1px solid var(--field); background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.pill[aria-pressed="true"] { border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
.error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #FBE3DE; color: #8E2A1B; font-size: 14px; }
.muted { color: var(--muted); }
.card-box { border-radius: 10px; padding: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; z-index: 50; border-radius: 10px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.app-nav { display: flex; gap: 6px; }
.app-nav a { padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.app-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.dev-box { padding: 14px; border-radius: 10px; background: #FFF1C2; color: #4A3A00; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.dev-box a { font-weight: 700; word-break: break-all; }
.ov-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.ov-row figure { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; }
.ov-row img { width: 100%; border-radius: 6px; box-shadow: 0 10px 24px rgba(29,27,47,.14); background: var(--champagne); aspect-ratio: 4/5.6; object-fit: cover; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; counter-reset: plan; }
.plan-grid article { padding-top: 16px; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 8px; counter-increment: plan; }
.plan-grid article::before { content: counter(plan, decimal-leading-zero); font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 17px; color: var(--coral); }
@media (max-width: 900px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-grid p { margin: 0; color: var(--body); line-height: 1.5; font-size: 16px; }
.brand-sm { text-decoration: none; }
