/* Beauty4Pros Education & Events — design system
   Palette taken from the Beauty4Pros brand (magenta 4, graphite wordmark), softened into a warm editorial look. */
:root {
  --magenta: #ce0f69;
  --magenta-600: #b00d5a;
  --magenta-100: #ffe3f0;
  --blush: #fff1f7;
  --rose: #f6c8dc;
  --ink: #241b27;
  --ink-2: #4a4150;
  --muted: #7b7280;
  --line: #eadfe6;
  --cream: #fbf7f4;
  --white: #fff;
  --gold: #b98a4e;
  --ok: #1f8a5b;
  --warn: #b7791f;
  --danger: #c0392b;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(36, 27, 39, .06), 0 4px 14px rgba(36, 27, 39, .05);
  --shadow: 0 2px 4px rgba(36, 27, 39, .05), 0 18px 48px rgba(36, 27, 39, .10);
  --shadow-lg: 0 30px 80px rgba(36, 27, 39, .18);
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--magenta-600); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(206, 15, 105, .45); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--magenta); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.6em; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 600 .95rem/1 var(--font-body); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; text-decoration: none; letter-spacing: .01em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(206, 15, 105, .32); color: var(--fg); background: var(--magenta-600); border-color: var(--magenta-600); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 28px rgba(36, 27, 39, .25); }
.btn--light { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--blush); color: var(--magenta); border-color: var(--blush); box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.btn--sm { padding: .65em 1.15em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.15em 2em; font-size: 1.02rem; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn--danger { --bg: var(--danger); border-color: var(--danger); }
.link-arrow { font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #e9dfe8; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--rose); }
.topbar .dot { color: var(--magenta); margin: 0 .5em; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 244, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(234, 223, 230, .9); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 34px; width: auto; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand small { font: 600 .68rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--magenta); border-left: 1.5px solid var(--line); padding-left: 14px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: .55em .95em; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover, .nav a.is-active { background: var(--magenta-100); color: var(--magenta); }
.nav .account { margin-left: 8px; display: inline-flex; align-items: center; gap: .55em; background: var(--ink); color: #fff; padding: .6em 1.1em; }
.nav .account:hover { background: var(--magenta); color: #fff; }
.nav .account .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; margin: auto; border-radius: 2px; transition: .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ---------- Flash ---------- */
.flash { margin: 18px auto 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; }
.flash--success { background: #e9f8f0; border-color: #bfe8d3; color: #14633f; }
.flash--error { background: #fdeceb; border-color: #f4c4c0; color: #8c2217; }
.flash--info { background: var(--blush); border-color: var(--rose); color: #7a0d3d; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(900px 500px at 88% -10%, rgba(206, 15, 105, .16), transparent 60%),
  radial-gradient(700px 420px at -5% 30%, rgba(246, 200, 220, .55), transparent 60%), var(--cream); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -160px; width: 560px; height: 560px; background: url("../img/dragonfly.svg") no-repeat center / contain; opacity: .06; pointer-events: none; transform: rotate(-12deg); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font: 700 .74rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--magenta); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--magenta); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 500; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--magenta); font-weight: 500; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; margin-bottom: 34px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero .proof div { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.hero .proof strong { font: 600 1.05rem/1.3 var(--font-display); color: var(--ink); }

.spot { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); color: #fff; aspect-ratio: 4/4.6; display: flex; align-items: flex-end; isolation: isolate; transform: rotate(1.2deg); transition: transform .4s ease; }
.spot:hover { transform: rotate(0) translateY(-6px); }
.spot .cover { position: absolute; inset: 0; z-index: -2; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 27, 39, 0) 30%, rgba(36, 27, 39, .92) 100%); }
.spot-body { padding: 28px; width: 100%; }
.spot h2 { color: #fff; font-size: 1.85rem; margin: 8px 0 14px; }
.spot a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: #f0e6ee; margin-bottom: 18px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 8px 12px; text-align: center; min-width: 58px; }
.countdown b { display: block; font: 600 1.35rem/1.1 var(--font-display); }
.countdown span { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.spot-badge { position: absolute; top: 20px; left: 20px; z-index: 3; }

/* ---------- Hero collage (shown when no event is featured) ---------- */
.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-left: auto; width: 100%; }
.collage .ph { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--rose); }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.collage:hover .ph img { transform: scale(1.04); }
.collage .a { inset: 0 0 24% 18%; border-radius: 160px 160px 28px 28px; }
.collage .b { left: 0; top: 22%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--cream); }
.collage .c { right: -2%; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid var(--cream); border-radius: 24px; }
.collage .float { position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .88rem; line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.collage .float small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.collage .float .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--magenta-100); display: grid; place-items: center; flex: none; }
.collage .f1 { left: 4%; bottom: 14%; } .collage .f2 { right: 2%; top: 8%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.collage::before { content: ""; position: absolute; inset: 8% 6% 4% 10%; background: radial-gradient(circle, rgba(206, 15, 105, .22), transparent 68%); filter: blur(30px); z-index: -1; }

/* ---------- Chips / pills ---------- */
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .38em .9em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 .7rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.chip--magenta { background: var(--magenta); color: #fff; }
.chip--ink { background: var(--ink); color: #fff; }
.chip--soft { background: var(--magenta-100); color: var(--magenta); box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill--ok { background: #e9f8f0; color: var(--ok); }
.pill--warn { background: #fff4de; color: var(--warn); }
.pill--bad { background: #fdeceb; color: var(--danger); }
.pill--grey { background: #f1ecf0; color: var(--muted); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: #fff; }
.section--blush { background: var(--blush); }
.section--ink { background: var(--ink); color: #eee3ec; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; margin: 0; }
.section-head p { color: var(--muted); max-width: 34em; margin: 10px 0 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 34px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: .6em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: .18s; }
.tab:hover { border-color: var(--magenta); color: var(--magenta); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters form { margin-left: auto; display: flex; gap: 10px; }
.input, .select, .textarea { width: 100%; font: 500 .96rem/1.3 var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: .85em 1em; transition: border-color .15s, box-shadow .15s; appearance: none; }
.textarea { min-height: 100px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23241b27' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.4em; }
.input:hover, .select:hover, .textarea:hover { border-color: #d6c6d1; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(206, 15, 105, .12); }
.filters .input { min-width: 220px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; display: flex; flex-direction: column; border: 1px solid rgba(234, 223, 230, .7); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card .media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ink); }
.card .media .cover, .card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media .cover, .card:hover .media img { transform: scale(1.06); }
.card .badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.date-badge { position: absolute; bottom: -1px; right: 18px; z-index: 2; background: #fff; border-radius: 16px 16px 0 0; padding: 10px 16px 8px; text-align: center; min-width: 66px; }
.date-badge b { display: block; font: 600 1.6rem/1 var(--font-display); color: var(--magenta); }
.date-badge span { font: 700 .66rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .meta { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: .9rem; margin-bottom: 18px; }
.card .meta div { display: flex; gap: 10px; align-items: center; }
.ico { width: 16px; height: 16px; flex: none; stroke: var(--magenta); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 600 1.35rem/1 var(--font-display); }
.price small { font: 500 .78rem/1 var(--font-body); color: var(--muted); display: block; margin-bottom: 4px; letter-spacing: .06em; text-transform: uppercase; }
.avatar-sm { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.avatar-sm img, .avatar-sm .ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--magenta-100); }
.card--cancelled { opacity: .7; }

.cover { background: linear-gradient(135deg, #3a1d3a 0%, #7a1146 48%, #ce0f69 100%); position: relative; overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 0; background: url("../img/dragonfly.svg") no-repeat 85% 20% / 60% auto; opacity: .18; filter: invert(1); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover:has(img)::before { display: none; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .num { font: 500 3rem/1 var(--font-display); color: var(--rose); margin-bottom: 14px; font-style: italic; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* ---------- Instructors ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person { text-align: center; }
.person .photo { width: 100%; aspect-ratio: 1; border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; background: var(--magenta-100); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person h3 { font-size: 1.2rem; margin-bottom: 2px; }
.person p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--rose); }
.faq summary { cursor: pointer; font: 600 1.05rem/1.4 var(--font-display); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--magenta); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.band { border-radius: 32px; padding: 64px; background: linear-gradient(120deg, var(--ink) 0%, #4a1535 55%, var(--magenta) 140%); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; background: url("../img/dragonfly.svg") no-repeat center / contain; filter: invert(1); opacity: .1; }
.band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; margin: 0 0 8px; }
.band p { margin: 0; color: #eadbe6; max-width: 32em; }

/* ---------- Event page ---------- */
.ev-hero { position: relative; color: #fff; isolation: isolate; padding: 70px 0 150px; background: var(--ink); overflow: hidden; }
.ev-hero .cover { position: absolute; inset: 0; z-index: -2; }
.ev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 27, 39, .96) 0%, rgba(36, 27, 39, .84) 55%, rgba(36, 27, 39, .58) 100%); }
.crumbs { font-size: .85rem; color: #d9cad6; margin-bottom: 28px; }
.crumbs a { color: #fff; opacity: .85; } .crumbs a:hover { opacity: 1; color: var(--rose); }
/* Hero cover: full width of the picture is always visible (only top/bottom may be trimmed on wide screens) */
.ev-hero .cover img { object-position: center 30%; }
@media (max-width: 900px) { .ev-hero .cover img { object-fit: contain; object-position: center top; } }
.ev-hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); color: #fff; font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 500; max-width: 17em; margin: 14px 0 16px; }
.ev-hero .sub { font-size: 1.2rem; color: #ecdfe9; max-width: 34em; margin-bottom: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 38px; }
.fact { display: flex; gap: 12px; align-items: center; }
.fact .ico { stroke: var(--rose); width: 22px; height: 22px; }
.fact small { display: block; font: 600 .66rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #cdb9c9; }
.fact b { font-weight: 600; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; margin-top: -90px; position: relative; z-index: 2; padding-bottom: 80px; }
.ev-main { padding-top: 110px; }
.panel { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid rgba(234, 223, 230, .7); margin-bottom: 28px; }
.panel h2 { font-size: 1.7rem; font-weight: 500; margin-bottom: 18px; }
.prose p, .prose li { color: var(--ink-2); }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--magenta); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--magenta-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ce0f69' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 2px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--magenta), var(--rose)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--magenta); }
.tl-time { font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); margin-bottom: 6px; }
.tl-item h4 { font-size: 1.12rem; margin-bottom: 4px; }
.tl-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.host { display: flex; gap: 24px; align-items: center; }
.host img, .host .ph { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; background: var(--magenta-100); }
.host h3 { margin-bottom: 2px; }
.host .role { color: var(--magenta); font-weight: 600; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.place { display: flex; gap: 18px; align-items: flex-start; }
.place .pin { width: 48px; height: 48px; border-radius: 14px; background: var(--magenta-100); display: grid; place-items: center; flex: none; }
.place .pin .ico { width: 24px; height: 24px; }

.buy { position: sticky; top: 100px; align-self: start; margin-top: 0; }
.buy-card { background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(234, 223, 230, .8); }
.buy-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.buy-card .from { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.meter { height: 7px; border-radius: 99px; background: #f1e8ee; overflow: hidden; margin: 6px 0 4px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose), var(--magenta)); border-radius: 99px; transition: width .6s ease; }
.meter-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.tk { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color .15s, background .15s; }
.tk.has-qty { border-color: var(--magenta); background: var(--blush); }
.tk.is-off { opacity: .55; background: #faf6f8; }
.tk .info { flex: 1; min-width: 0; }
.tk .name { font-weight: 700; line-height: 1.3; }
.tk .desc { font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.tk .p { font: 600 1.15rem/1 var(--font-display); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; color: var(--ink); border-radius: 50%; }
.qty button:hover { color: var(--magenta); background: var(--magenta-100); }
.qty input { width: 32px; text-align: center; border: 0; font: 700 .95rem var(--font-body); background: none; padding: 0; -moz-appearance: textfield; color: var(--ink); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 16px; padding-top: 18px; border-top: 1px dashed var(--line); }
.buy-total b { font: 600 1.8rem/1 var(--font-display); }
.buy-links { display: flex; justify-content: center; gap: 22px; margin-top: 18px; font-size: .88rem; }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: .8rem; color: var(--muted); }
.mobile-buy { display: none; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 0 40px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--muted); }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-2); font-size: .78rem; }
.steps .done b, .steps .now b { background: var(--magenta); color: #fff; }
.steps .now { color: var(--ink); }
.steps hr { width: 40px; border: 0; border-top: 1.5px solid var(--line); margin: 0 6px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 44px; align-items: start; }
.co h2 { font-size: 1.55rem; font-weight: 500; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--ink-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.seat { border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 16px; background: #fcfafb; }
.seat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; }
.seat-head span { font-weight: 500; color: var(--muted); font-size: .86rem; }
.copy-link { background: none; border: 0; color: var(--magenta); font: 600 .84rem var(--font-body); cursor: pointer; padding: 0; }
.pay-opt { display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; cursor: pointer; transition: .15s; background: #fff; }
.pay-opt:hover { border-color: #d6c6d1; }
.pay-opt:has(input:checked) { border-color: var(--magenta); background: var(--blush); box-shadow: 0 0 0 4px rgba(206, 15, 105, .08); }
.pay-opt input { accent-color: var(--magenta); width: 20px; height: 20px; }
.pay-opt .lbl { flex: 1; font-weight: 700; }
.pay-opt .lbl small { display: block; font-weight: 500; color: var(--muted); }
.pay-logo { height: 24px; width: auto; }
.summary { position: sticky; top: 100px; background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.summary h2 { font-size: 1.4rem; }
.sum-event { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.sum-event .cover { width: 76px; height: 76px; border-radius: 16px; flex: none; }
.sum-event b { display: block; font: 600 1.05rem/1.25 var(--font-display); }
.sum-event small { color: var(--muted); }
.sum-line { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: .94rem; }
.sum-line.total { font: 600 1.45rem/1 var(--font-display); padding-top: 18px; margin-top: 12px; border-top: 1px solid var(--line); }
.sum-line .neg { color: var(--ok); }
.promo { display: flex; gap: 8px; margin: 18px 0 6px; }
.promo .input { padding: .7em .9em; text-transform: uppercase; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 20px 0; }
.checkbox input { accent-color: var(--magenta); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.errors { background: #fdeceb; border: 1px solid #f4c4c0; color: #8c2217; border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; }
.errors ul { margin: 6px 0 0; padding-left: 1.1em; }
.hold { display: flex; gap: 10px; align-items: center; background: var(--blush); border-radius: 12px; padding: 12px 14px; font-size: .86rem; color: #7a0d3d; margin-top: 16px; }
.tagline { font-size: .78rem; color: var(--ok); font-weight: 700; letter-spacing: .04em; }

/* ---------- Thanks / tickets ---------- */
.thanks { max-width: 880px; margin: 0 auto; }
.check-badge { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--magenta), #ff5aa0); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 16px 40px rgba(206, 15, 105, .35); animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.check-badge svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ticket { display: grid; grid-template-columns: 1fr 200px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 20px; position: relative; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.ticket::before, .ticket::after { content: ""; position: absolute; right: 188px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); }
.ticket::before { top: -12px; } .ticket::after { bottom: -12px; }
.ticket .main { padding: 28px 32px; border-right: 2px dashed var(--line); }
.ticket .main small { font: 700 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.ticket .main h3 { font-size: 1.35rem; margin-bottom: 14px; }
.ticket .qr { padding: 24px 20px; text-align: center; background: var(--blush); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ticket .qr svg { width: 140px; height: 140px; background: #fff; padding: 8px; border-radius: 14px; }
.ticket .qr code { font: 700 .72rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; word-break: break-all; }
.ticket.is-void { opacity: .55; filter: grayscale(1); }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .94rem; }
.table th { font: 700 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.order-card { display: flex; gap: 22px; padding: 22px; background: #fff; border-radius: 20px; border: 1px solid var(--line); margin-bottom: 16px; align-items: center; transition: box-shadow .2s, transform .2s; }
.order-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.order-card .cover { width: 120px; height: 96px; border-radius: 14px; flex: none; }
.order-card .grow { flex: 1; min-width: 0; }
.order-card h3 { font-size: 1.2rem; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--magenta); color: #fff; padding: 72px 0 28px; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.footer img { height: 38px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 18px; }
.footer h4 { color: #fff; font: 700 .76rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: #fff; display: block; padding: 4px 0; font-size: .94rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .cols p { color: rgba(255, 255, 255, .92); }
.footer .legal { color: rgba(255, 255, 255, .9); display: flex; justify-content: space-between; padding-top: 24px; font-size: .84rem; gap: 12px; flex-wrap: wrap; }

.empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--rose); }
.empty h3 { font-size: 1.5rem; }
.err-page { text-align: center; padding: 110px 0; }
.err-page .code { font: 500 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--rose); font-style: italic; }

/* ---------- Login modal ---------- */
.modal { border: 0; padding: 0; border-radius: 28px; box-shadow: var(--shadow-lg); width: min(440px, calc(100vw - 32px)); background: #fff; color: var(--ink); }
.modal::backdrop { background: rgba(36, 27, 39, .62); backdrop-filter: blur(6px); }
.modal[open] { animation: rise .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-card { padding: 38px 34px 30px; position: relative; }
.modal-card h2 { font-size: 1.75rem; font-weight: 500; margin-bottom: 6px; }
.modal-logo { height: auto; margin-bottom: 22px; }
.modal-x { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--blush); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-x:hover { background: var(--magenta-100); color: var(--magenta); }
.modal-links { text-align: center; font-size: .9rem; margin: 18px 0 0; }
.pw { position: relative; }
.pw .input { padding-right: 4.4em; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--magenta); font: 700 .8rem var(--font-body); cursor: pointer; padding: .5em .7em; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .spot { aspect-ratio: 16/11; transform: none; }
  .collage { margin: 0 auto; max-width: 480px; }
  .ev-layout, .co { grid-template-columns: 1fr; }
  .ev-main { padding-top: 40px; }
  .ev-layout { margin-top: -60px; gap: 0; }
  .buy { position: static; order: -1; margin-bottom: 8px; }
  .summary { position: static; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 40; margin-left: 0; }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav a { padding: .9em 1em; font-size: 1.05rem; }
  .nav .account { justify-content: center; margin: 8px 0 0; }
  .brand small { display: none; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .filters form { margin-left: 0; width: 100%; }
  .filters .input { min-width: 0; flex: 1; }
  .band { padding: 36px 26px; }
  .checks, .row2, .row3 { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .host { flex-direction: column; align-items: flex-start; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket .main { border-right: 0; border-bottom: 2px dashed var(--line); }
  .order-card { flex-direction: column; align-items: stretch; }
  .order-card .cover { width: 100%; height: 160px; }
  .people { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(36, 27, 39, .12); align-items: center; justify-content: space-between; gap: 16px; }
  .footer .cols { grid-template-columns: 1fr; }
  .ev-hero { padding: 40px 0 110px; }
}
@media print { .topbar, .header, .footer, .mobile-buy, .btn { display: none !important; } body { background: #fff; } }
