/* Svatebníček – úvodní stránka. Koncept: svatba, elegance, klid. Krém a šampaň, růže #b4536b jen jako akcent. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 300 500; font-display: swap; src: url(/fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 300 500; font-display: swap; src: url(/fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbf8f4; --bg2: #f4ede4; --surface: #ffffff; --ink: #231b1e; --ink2: #4a3f43; --muted: #73666a; --line: #e7ddd2;
  --accent: #b4536b; --accent-text: #9c4259; --accent-ink: #ffffff; --accent-soft: #f3e1e3; --gold: #b08d57;
  --serif: Fraunces, 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1160px; --r: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141012; --bg2: #1c1619; --surface: #221b1e; --ink: #f4ece6; --ink2: #d9ccc5; --muted: #a8999c; --line: #342a2e;
    --accent: #e08aa0; --accent-text: #e08aa0; --accent-ink: #1a1013; --accent-soft: #3a2229; --gold: #d2b07a; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin: 0; font-variation-settings: 'opsz' 144; color: var(--ink); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; font-variation-settings: 'opsz' 36; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 18px auto 0; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Tlačítka */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font: 600 1rem/1 var(--sans); text-decoration: none; border: 1px solid var(--ink);
  transition: transform .2s ease, background-color .2s ease, color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink2); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* Navigace */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; font-variation-settings: 'opsz' 36; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a, .lang { text-decoration: none; color: var(--muted); font-size: .94rem; transition: color .2s; }
.nav nav a:hover, .lang:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; color: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 350; letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink2); max-width: 31em; margin-top: 26px; line-height: 1.55; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.continue { margin-top: 10px; font-size: .95rem; }
.continue a { color: var(--accent-text); text-decoration: none; font-weight: 600; }

.hero-art { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: -10% -20% -10% -10%; background:
  radial-gradient(42% 46% at 58% 42%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 70%),
  radial-gradient(36% 40% at 40% 70%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-phone { position: relative; width: min(64%, 300px); z-index: 1; }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); font-size: .9rem; color: var(--ink2); box-shadow: 0 14px 30px -18px rgba(60,30,35,.35); white-space: nowrap; }
.chip.c1 { left: 0; top: 5%; } .chip.c2 { right: -2%; top: 46%; } .chip.c3 { left: 4%; bottom: 14%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); } .dot.ok { background: #3f9a62; } .dot.gold { background: var(--gold); }

/* Rámeček iPhonu (CSS) */
.phone { margin: 0; position: relative; padding: 3.4%; border-radius: 15.5% / 7.2%; background: linear-gradient(145deg, #3a3a3d, #121214 40%, #2a2a2d);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.12), 0 30px 60px -18px rgba(60,30,35,.35), 0 12px 24px -12px rgba(60,30,35,.25); }
.phone::after { content: ''; position: absolute; top: 5.1%; left: 50%; width: 30%; height: 3.1%; transform: translateX(-50%); background: #050505; border-radius: 999px; }
.phone img { width: 100%; border-radius: 12.4% / 5.8%; background: var(--bg2); }
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1.5px rgba(255,255,255,.1), 0 30px 70px -20px rgba(0,0,0,.7); } }

/* Telefon, který listuje obrazovkami */
.phone.cycle { display: grid; }
.phone.cycle .screen { grid-area: 1 / 1; }
.phone.cycle .screen img { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .phone.cycle .screen { opacity: 0; animation: screen 21s infinite; }
  .phone.cycle .s0 { animation-delay: 0s; } .phone.cycle .s1 { animation-delay: 3.5s; } .phone.cycle .s2 { animation-delay: 7s; }
  .phone.cycle .s3 { animation-delay: 10.5s; } .phone.cycle .s4 { animation-delay: 14s; } .phone.cycle .s5 { animation-delay: 17.5s; }
  .phone.cycle .s0 { opacity: 1; animation-name: screen0; }
  .chip { animation: float 7s ease-in-out infinite; } .chip.c2 { animation-delay: -2.3s; } .chip.c3 { animation-delay: -4.6s; }
}
@media (prefers-reduced-motion: reduce) { .phone.cycle .screen:not(.s0) { visibility: hidden; } }
@keyframes screen { 0% { opacity: 0; transform: translateY(10px); } 3%, 16.6% { opacity: 1; transform: none; } 19.6%, 100% { opacity: 0; } }
@keyframes screen0 { 0%, 16.6% { opacity: 1; transform: none; } 19.6%, 97% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Větvičky (SVG linky, dokreslí se) */
.sprig { position: absolute; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .75; pointer-events: none; }
.sprig-hero-l { width: 130px; height: 240px; left: -10px; bottom: 6%; transform: rotate(-14deg); }
.sprig-story { width: 110px; height: 200px; right: 2%; top: -40px; transform: rotate(18deg); }
.sprig-card { position: absolute; width: 60px; height: 110px; right: 14px; top: 10px; transform: rotate(16deg); opacity: .6; }
.sprig-start-l { width: 140px; height: 250px; left: 4%; top: 18%; transform: rotate(-10deg); }
.sprig-start-r { width: 120px; height: 220px; right: 5%; bottom: 10%; transform: scaleX(-1) rotate(-12deg); }
.anim .sprig.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.4,.1,.2,1); }
.anim .sprig.draw.in { stroke-dashoffset: 0; }

/* Fotky */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit { position: absolute; right: 20px; bottom: 14px; margin: 0; font-size: .75rem; color: rgba(255,255,255,.8); letter-spacing: .04em; }
.credit-dark { text-align: right; font-size: .78rem; color: var(--muted); margin-top: 14px; }
.band { position: relative; height: clamp(380px, 62vh, 640px); overflow: hidden; display: grid; place-items: center; }
.band-img { position: absolute; inset: -12% 0; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,14,.15), rgba(20,12,14,.45)); }
.band-quote { position: relative; margin: 0; padding: 0 24px; text-align: center; color: #fff; font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em; font-variation-settings: 'opsz' 144; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.band-quote em { font-style: italic; }

/* Příběh */
.story { position: relative; overflow-x: clip; padding: clamp(80px, 11vw, 160px) 0; }
.story-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.big { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 350; }
.big em { font-style: italic; font-weight: 300; color: var(--accent); }
.story-text p { font-size: 1.14rem; color: var(--ink2); line-height: 1.7; }
.story-text p + p { margin-top: 20px; }

/* Rozvržení textu a obrázku */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.split.flip > :first-child { order: 2; }
.f-copy { max-width: 31em; }
.f-copy h2 { margin-bottom: 22px; }
.f-copy > p:not(.kicker) { font-size: 1.12rem; color: var(--ink2); line-height: 1.68; }
.f-copy .muted-p, .f-copy .small-note { margin-top: 18px; font-size: 1rem !important; color: var(--muted) !important; }
.f-art { position: relative; display: flex; justify-content: center; padding: 16px 0; }
.f-art::before { content: ''; position: absolute; inset: -6% -4%; pointer-events: none; background: radial-gradient(48% 46% at 50% 52%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 72%); }
.flip .f-art::before { background: radial-gradient(48% 46% at 50% 52%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%); }
.f-art > div { width: min(70%, 310px); position: relative; }
.f-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* Snoubenci */
.couple { background: var(--bg2); }
.couple-art { position: relative; padding: 0; }
.couple-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; }
.activity { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(60,30,35,.45); max-width: 330px; }
.activity p { margin: 0; font-size: .92rem; color: var(--ink2); line-height: 1.35; }
.activity b { color: var(--ink); font-weight: 600; }
.activity.a1 { left: -7%; top: 28px; } .activity.a2 { right: -5%; bottom: 20px; }
.avatar { flex: none; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; font-size: .82rem;
  background: var(--accent-soft); color: var(--accent-text); }
.avatar.b { background: color-mix(in srgb, var(--gold) 22%, var(--surface)); color: color-mix(in srgb, var(--gold) 60%, var(--ink)); }

/* Rodiny */
.family-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.family-phone { width: min(56%, 270px); margin-left: 34%; }
.invite { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-3deg); z-index: 2; width: min(62%, 320px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 30px 60px -30px rgba(60,30,35,.45); }
.invite-h { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-variation-settings: 'opsz' 36; }
.invite-h b { font-weight: 500; color: var(--accent-text); }
.invite-sub { margin: 4px 0 16px; font-size: .82rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.invite ul { list-style: none; margin: 0; padding: 0; }
.invite li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.invite li b { font-weight: 600; font-size: .98rem; }
.invite li small { grid-column: 2; color: var(--muted); font-size: .84rem; }
.tick { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; background: #3f9a62; position: relative; margin-top: 2px; }
.tick::after { content: ''; position: absolute; left: 6px; top: 5px; width: 8px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }

/* Sdílení – tmavý pás */
.share { background: #1d1518; color: #f4ece6; padding: clamp(90px, 11vw, 160px) 0; }
.share h2, .share h3 { color: #f4ece6; }
.share .kicker { color: #e8a2b4; }
.share .big em { color: #e8a2b4; }
.share .sub { color: #b9aaae; margin-left: 0; }
.share-head { max-width: 820px; }
.roles { list-style: none; margin: 64px 0 0; padding: 0; }
.roles li { display: grid; grid-template-columns: 90px 300px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); }
.roles li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.r-n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.6rem; color: #d2b07a; }
.roles h3 { font-size: 1.5rem; }
.roles p { color: #c9bcb6; font-size: 1.04rem; }

/* Mozaika fotek */
.mosaic { padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 5vw, 80px); }
.mosaic h2 { max-width: 15em; margin: 0 auto 56px; }
.mosaic-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 20px; align-items: center; }
.mosaic-grid > div { border-radius: 24px; overflow: hidden; }
.mosaic-grid > div > div { height: 100%; }
.m1 { aspect-ratio: 2 / 3; } .m2 { aspect-ratio: 4 / 3.2; } .m3 { aspect-ratio: 2 / 3; margin-top: 80px; }
.mosaic-grid img { transform: scale(1.08); }

/* Drobnosti */
.more { padding: clamp(70px, 9vw, 130px) 0; }
.more-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.more-grid li { padding: 28px 0; border-top: 1px solid var(--line); }
.more-grid svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.more-grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.more-grid p { color: var(--muted); font-size: .98rem; }

/* Jak začít */
.how { background: var(--bg2); padding: clamp(80px, 10vw, 140px) 0; }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { padding: 8px 40px 0; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.num { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 22px; font-variation-settings: 'opsz' 144; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* Cena */
.price { padding: clamp(80px, 10vw, 140px) 0; }
.price-head { text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 56px auto 0; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 36px; background: var(--surface); }
.plan.accent { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.amount { font-family: var(--serif); font-size: 2.1rem; letter-spacing: -0.02em; margin: 14px 0 14px; font-variation-settings: 'opsz' 144; }
.plan p:last-child { color: var(--muted); font-size: .98rem; }

/* Založení */
.start { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background: var(--bg2); }
.create { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); position: relative; }
.create .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: end; }
.create .row > div { min-width: 0; }
.create label { display: block; font-size: .86rem; color: var(--muted); margin: 16px 0 6px; }
.create input { width: 100%; max-width: 100%; font: 1rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.create input[type=date] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; text-align: left; }
.create input[type=date]::-webkit-date-and-time-value { text-align: left; }
.create input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.create .hint { font-size: .86rem; color: var(--muted); margin-top: 8px; min-height: 1.3em; }
.create .error { color: #c0392b; font-size: .92rem; margin-top: 10px; }
.create .actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.create .actions .btn { flex: none; }
.create .actions small { color: var(--muted); }

/* Otázky */
.faq { padding: clamp(80px, 10vw, 130px) 0; }
.qa { margin-top: 48px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; font-variation-settings: 'opsz' 36; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--ink2); padding: 0 40px 24px 0; }

/* Patička */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 32px; align-items: center; }
.foot-in > p:not(.copy) { color: var(--muted); font-size: .92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: .92rem; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .copy { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }

/* Odhalení při rolování (třídu .anim přidá app.js jen bez „omezit pohyb“) */
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .roles li.reveal, .anim .more-grid li.reveal, .anim .steps li.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
[data-speed] { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; } .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; } .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hero-phone { animation: rise 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Tablet */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav-end { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .ctas { justify-content: center; }
  .story-in, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .f-copy { max-width: 36em; }
  .roles li { grid-template-columns: 60px 1fr; }
  .roles li p { grid-column: 2; }
  .activity.a1 { left: 0; } .activity.a2 { right: 0; }
}
/* Telefon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .nav-in { padding-left: 20px; padding-right: 20px; }
  .nav-in { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .nav-end .btn { display: none; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 2.9rem); }
  .ctas .btn { width: 100%; }
  .hero-phone { width: 66%; }
  .chip { font-size: .8rem; padding: 8px 12px; }
  .chip.c1 { left: -2%; top: 1%; } .chip.c2 { right: -3%; top: 50%; } .chip.c3 { left: 0; bottom: 8%; }
  .sprig-hero-l, .sprig-start-l { display: none; }
  .band { height: 420px; }
  .story-text p { font-size: 1.05rem; }
  .sprig-story { width: 64px; height: 118px; right: -4px; top: -84px; opacity: .55; }
  .f-art > div { width: 72%; }
  .couple-art { padding-bottom: 110px; }
  .activity { max-width: 92%; } .activity.a1 { left: 0; top: auto; bottom: 56px; } .activity.a2 { right: 0; bottom: 0; }
  .family-art { min-height: 0; flex-direction: column; gap: 0; }
  .invite { position: relative; left: auto; top: auto; transform: rotate(-2deg); width: 92%; margin-bottom: -40px; }
  .family-phone { margin: 0 auto; width: 70%; }
  .roles li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .roles li p { grid-column: 1; }
  .mosaic-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .m2 { grid-column: 1 / -1; order: -1; } .m3 { margin-top: 0; }
  .more-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 44px; }
  .steps li, .steps li:first-child { border-left: 0; padding: 0; }
  .num { font-size: 2.8rem; margin-bottom: 12px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px; }
  .create .row { grid-template-columns: 1fr; }
  .create .actions .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
  summary { font-size: 1.12rem; }
}
@media (min-width: 641px) and (max-width: 960px) { .more-grid { grid-template-columns: 1fr 1fr; } }

/* Podmínky 2.0: zaškrtávátko souhlasu při založení svatby (zvýraznění, když chybí) */
.create label.terms-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px -12px 0; padding: 10px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.45; color: var(--ink2); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.create .terms-check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--accent); }
.create .terms-check a { color: var(--accent-text); }
.create .terms-check small { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.create .terms-check.bad { background: color-mix(in srgb, #c0392b 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #c0392b 50%, transparent); animation: terms-shake .32s ease; }
@media (prefers-color-scheme: dark) { .create .error { color: #ff8a80; } .create .terms-check.bad { background: color-mix(in srgb, #ff8a80 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #ff8a80 50%, transparent); } }
@keyframes terms-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .create .terms-check.bad { animation: none; } }
