/* estateo — design system
   Premium, Apple-like: generous whitespace, large tight typography, soft depth, glass header,
   motion that reveals content (never blocks it). Mobile first. */

:root {
  --brand: #5C2D91;          /* papieski fiolet: the key brand colour */
  --brand-600: #4A2276;
  --brand-700: #3A1A5E;
  --brand-400: #7B4BB0;
  --brand-200: #D9C8EC;
  --brand-100: #EEE6F6;
  --brand-50: #F7F3FB;
  --papal: #522A80;          /* the background of the team photos */
  --papal-deep: #2A1245;
  --marta: #5E9E2E;          /* Marta's green: almost never */
  --marta-100: #EAF5E1;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: #E5E5EA;
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --dark: #1C0C30;
  --danger: #D70015;
  --ok: #248A3D;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(17, 12, 34, .04), 0 12px 32px rgba(17, 12, 34, .07);
  --shadow-lg: 0 2px 6px rgba(17, 12, 34, .05), 0 30px 70px rgba(17, 12, 34, .14);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand-100); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography ------------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
.display { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; line-height: 1.02; font-weight: 800; }
.h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; font-weight: 800; }
.h2 { font-size: clamp(28px, 3.8vw, 48px); letter-spacing: -.03em; font-weight: 750; }
.h3 { font-size: clamp(21px, 2.2vw, 28px); }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.grad-text { background: linear-gradient(100deg, var(--brand) 0%, #9B6AD6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons ---------------------------------------------------------------------------------- */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--b); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.01em; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; box-shadow: 0 8px 22px color-mix(in srgb, var(--b) 30%, transparent); white-space: nowrap; text-align: center; }
.btn:hover { color: #fff; background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--b) 36%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #D2D2D7, var(--shadow); }
.btn-dark { --b: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover { background: #F2F2F2; color: var(--ink); }
.btn .ico { width: 18px; height: 18px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header ----------------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: rgba(0, 0, 0, .07); background: rgba(255, 255, 255, .82); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; line-height: 1; flex-shrink: 0; }
.logo img { height: 24px; width: auto; }
.footer .logo img { height: 28px; }
.logo:hover { color: var(--brand-600); }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover, .nav a.on { color: var(--ink); background: rgba(0, 0, 0, .05); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; color: var(--ink); transition: background .2s; border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.header .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: none; display: none; }
.menu-toggle { display: inline-flex; }
.mobile-nav { display: none; position: fixed; inset: 64px 0 0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); z-index: 49; padding: 18px 22px 40px; overflow-y: auto; }
.mobile-nav.open { display: block; animation: fadeIn .25s var(--ease); }
.mobile-nav a { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
/* The button keeps the button look (white on purple), not the big menu link style */
.mobile-nav a.btn { display: flex; color: #fff; font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.01em; padding: 0 32px; border-bottom: 0; }

@media (min-width: 1200px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header .btn { display: inline-flex; }
}
/* Links stay on one line; tighter on small laptops so all eight fit */
.nav a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) { .nav { gap: 0; margin-left: 4px; } .nav a { padding: 8px 9px; font-size: 14.5px; } }

/* Sections --------------------------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(70% 100% at 85% 0%, #4A2276 0%, transparent 60%), var(--dark); color: #F5F5F7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted, .section-dark .lead { color: #A1A1A6; }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .h2 { margin-top: 12px; }
.section-head .lead { margin: 18px 0 0; }
.row-between { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Hero ------------------------------------------------------------------------------------- */
/* Papal purple stage; the team photo has the same purple background, so it melts into the section. */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--papal); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 15% 30%, rgba(123, 75, 176, .55), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(42, 18, 69, .55)); }
.hero h1 { margin: 18px 0 0; color: #fff; }
.hero .eyebrow { color: #D9C8EC; }
.hero .lead { margin: 22px 0 0; max-width: 540px; color: rgba(255, 255, 255, .84); }
.hero .grad-text { background: linear-gradient(100deg, #E9DBFF, #B892EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn { --b: #fff; background: #fff; color: var(--brand); box-shadow: 0 12px 30px rgba(20, 6, 40, .35); }
.hero .btn:hover { background: #F3EDFA; color: var(--brand-600); }
.hero .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.proof strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.proof span { font-size: 14px; color: var(--muted); }
.hero .proof span { color: rgba(255, 255, 255, .7); }
.float { animation: float 7s ease-in-out infinite; }
.float.b-delay { animation-delay: -3.5s; }


/* Marquee of trust ------------------------------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: var(--display); font-weight: 650; font-size: 18px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: "✦"; color: var(--brand-400); font-size: 13px; }

/* Video (Marta holding the screen) -------------------------------------------------------- */
.video-stage { position: relative; display: grid; gap: 36px; align-items: center; }
.video-frame { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(70% 90% at 70% 20%, #7C46B0, #2A1240 70%); aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); cursor: pointer; isolation: isolate; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.video-frame:hover img { transform: scale(1.03); opacity: 1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-frame.is-playing { cursor: auto; }
.video-frame.is-playing .play, .video-frame.is-playing img { display: none; }
.play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); cursor: pointer; z-index: 2; }
.play::before { content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .5); animation: pulse 2.4s var(--ease) infinite; }
.play svg { width: 30px; height: 30px; margin-left: 5px; color: var(--brand); }
.video-frame:hover .play { transform: scale(1.07); }

@media (min-width: 980px) { .video-stage { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* Cards ------------------------------------------------------------------------------------ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px 24px 26px; }
.card-soft { background: var(--bg-soft); box-shadow: none; }

.product-card { display: flex; flex-direction: column; color: var(--ink); height: 100%; }
.product-card:hover { color: var(--ink); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-50), #fff); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-media .tag { position: absolute; left: 14px; top: 14px; }
.product-card .card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.product-card .excerpt { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 750; font-size: 21px; letter-spacing: -.02em; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.price-net { color: var(--muted); font-size: 13px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(8px); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.tag-brand { background: var(--brand); color: #fff; }
.tag-green { background: var(--brand-100); color: var(--brand-600); box-shadow: none; }
.tag-soft { background: var(--brand-100); color: var(--brand); box-shadow: none; }
.tag-dark { background: var(--ink); color: #fff; }

/* Horizontal scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 22px 30px; margin: 0 -22px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 720px) { .scroller { grid-auto-columns: minmax(290px, 40%); } }
@media (min-width: 1100px) { .scroller { grid-auto-columns: calc((100% - 60px) / 4); } }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--bg-soft); cursor: pointer; font-size: 18px; transition: background .2s; }
.scroller-nav button:hover { background: var(--line); }

/* Events */
.event-card { display: grid; grid-template-columns: 78px 1fr; gap: 18px; align-items: start; padding: 22px; color: var(--ink); }
.event-card:hover { color: var(--ink); }
.date-tile { border-radius: 18px; background: var(--brand-50); color: var(--brand); text-align: center; padding: 12px 6px; line-height: 1.05; }
.date-tile b { display: block; font-family: var(--display); font-size: 30px; letter-spacing: -.04em; }
.date-tile span { font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.date-tile.soon { background: var(--bg-soft); color: var(--muted); }
.date-tile.soon b { font-size: 17px; padding: 6px 0; }
.event-card h3 { font-size: 18px; line-height: 1.3; margin: 2px 0 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.seats { font-weight: 650; color: #B25000; }

/* Live (YouTube) */
.live-card { display: grid; gap: 0; overflow: hidden; color: #fff; background: #17121F; }
.live-card:hover { color: #fff; }
.live-card .thumb { position: relative; aspect-ratio: 16 / 9; }
.live-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: #FF2D55; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #fff; animation: blink 1.2s infinite; }
.live-card .thumb .live-dot, .live-card .thumb .tag { position: absolute; left: 14px; top: 14px; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 64px; padding: 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .08); text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #A1A1A6; }

/* Bento (why estateo) */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bento .card { padding: 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.bento h3 { font-size: 22px; margin-bottom: 10px; }
.bento p { margin: 0; color: var(--muted); font-size: 15.5px; }
.bento .icon, .icon-cards .icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 28px; }
.bento .icon svg, .icon-cards .icon svg { width: 26px; height: 26px; }
.icon-cards .card { padding: 28px; }
.icon-cards .card h3 { margin: 0 0 8px; font-size: 19px; }
.icon-cards .card p { margin: 0; color: var(--muted); }
.bento .feature { background: linear-gradient(145deg, var(--brand) 0%, var(--papal-deep) 100%); color: #fff; }
.bento .feature h3 { color: #fff; font-size: 30px; }
.bento .feature p { color: rgba(255, 255, 255, .78); }
.bento .feature .icon { background: rgba(255, 255, 255, .14); color: #fff; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento .wide { grid-column: span 2; } .bento .tall { grid-row: span 2; } }

/* Team */
.person { text-align: left; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--brand-100), var(--bg-soft)); display: grid; place-items: center; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .initials { font-family: var(--display); font-weight: 800; font-size: 54px; color: var(--brand); letter-spacing: -.04em; opacity: .7; }
.person h3 { font-size: 20px; margin: 16px 0 4px; }
.person .role { font-size: 14.5px; color: var(--brand); font-weight: 600; }
.person p { font-size: 14.5px; color: var(--muted); margin: 10px 0 0; }

/* Categories */
.cat-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 26px; color: var(--ink); background: var(--bg-soft); border-radius: var(--radius); transition: background .3s, transform .45s var(--ease); }
.cat-card:hover { color: var(--ink); background: var(--brand-50); transform: translateY(-4px); }
.cat-card h3 { font-size: 21px; }
.cat-card p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.cat-card .count { font-size: 13px; font-weight: 650; color: var(--brand); }

/* Articles */
.article-card { color: var(--ink); display: block; }
.article-card:hover { color: var(--ink); }
.article-card .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); margin-bottom: 18px; display: grid; place-items: center; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.04); }
.article-card .thumb .ph { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--brand); opacity: .35; letter-spacing: -.05em; }
.article-card h3 { font-size: 20px; line-height: 1.3; margin: 8px 0; }
.article-card p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(40px, 6vw, 80px); background: radial-gradient(80% 120% at 85% 0%, #7B4BB0 0%, transparent 60%), linear-gradient(140deg, var(--brand) 0%, var(--papal-deep) 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-band .marta-cta { position: absolute; right: -10px; bottom: -10px; width: min(34%, 330px); pointer-events: none; }

/* Forms ------------------------------------------------------------------------------------ */
.field { display: block; margin: 0 0 16px; }
.field > span, .label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 7px; color: var(--ink-2); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input:not([type]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid #D2D2D7; background: #fff; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.err-msg { display: block; color: var(--danger); font-size: 13.5px; margin-top: 6px; }
.two { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 12px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.segmented { display: inline-flex; padding: 4px; background: var(--bg-soft); border-radius: 999px; gap: 4px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin: 0 0 18px; }
.alert-ok { background: #E8F6EC; color: #1D6B33; }
.alert-err { background: #FFF0F0; color: var(--danger); }
.alert-info { background: var(--brand-50); color: var(--brand-600); }

/* Product page ----------------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "›"; margin-right: 8px; opacity: .6; }
.p-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); position: relative; }
.p-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; background: radial-gradient(45% 60% at 80% 10%, rgba(124, 70, 176, .12), transparent 70%); pointer-events: none; }
.p-grid { position: relative; display: grid; gap: 34px; }
.p-media { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--brand-50); aspect-ratio: 4 / 3; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-media .video-frame { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; }
.p-title { margin: 14px 0 0; }
.p-subtitle { margin: 16px 0 0; }
.buybox { margin-top: 26px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.buybox .price { font-size: 38px; letter-spacing: -.035em; }
.buybox .omnibus { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.buybox-actions { display: grid; gap: 10px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #D2D2D7; border-radius: 999px; height: 50px; overflow: hidden; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.qty input { width: 42px; text-align: center; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.assurances { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 999px; background: var(--brand-100); color: var(--brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.legal-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.event-facts { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 15px; }
.event-facts div { display: flex; gap: 10px; align-items: center; }
.event-facts svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.sale-timer { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #FFF4E5; color: #8A4B00; font-size: 14px; font-weight: 600; }
@media (min-width: 980px) {
  .p-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: start; }
  .p-side { position: sticky; top: 92px; }
}

.blocks > section:nth-child(even of .block) { background: var(--bg-soft); }
.block { padding: clamp(56px, 8vw, 110px) 0; }
.block-soft { background: var(--bg-soft); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 1.6em 0 .6em; letter-spacing: -.03em; color: var(--ink); }
.prose h3 { font-size: 23px; margin: 1.5em 0 .5em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--brand); }
.prose strong, .prose b { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); font-size: 20px; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.lead-in > p:first-child { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }

.benefits { display: grid; gap: 18px; }
.benefit { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.benefit .num { font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--brand); }
.benefit h3 { font-size: 19px; margin: 10px 0 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .benefits.three { grid-template-columns: repeat(3, 1fr); } }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 650; font-size: 19px; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); font-size: 16.5px; }

.testimonial { padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.testimonial .who { margin-top: 18px; font-size: 14px; color: var(--muted); }
.testimonial .who b { color: var(--ink); }

.guarantee { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--brand-50); }
.guarantee .seal { width: 110px; height: 110px; border-radius: 999px; background: #fff; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; color: var(--brand); box-shadow: var(--shadow); line-height: 1.1; font-size: 14px; }
@media (min-width: 760px) { .guarantee { grid-template-columns: auto 1fr; } }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0, 0, 0, .07); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 14px; padding: 0; }
.sticky-buy .name { font-weight: 650; font-size: 14.5px; line-height: 1.2; display: none; }
.sticky-buy .price { font-size: 19px; }
.sticky-buy form { margin-left: auto; }
.sticky-buy .btn { min-height: 46px; }
@media (min-width: 760px) { .sticky-buy .name { display: block; flex: 1; } .sticky-buy form { margin-left: 0; } }

/* Cart & checkout -------------------------------------------------------------------------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); }
.checkout-grid { display: grid; gap: 28px; padding-bottom: 80px; }
@media (min-width: 980px) { .checkout-grid { grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; } .summary { position: sticky; top: 90px; } }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); margin-bottom: 20px; }
.panel h2 { font-size: 21px; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.panel h2 .step { width: 28px; height: 28px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; display: grid; place-items: center; flex: none; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--brand-50); }
.line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item .name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.line-item .sub { font-size: 13px; color: var(--muted); }
.line-item .amount { font-weight: 650; text-align: right; white-space: nowrap; }
.totals { display: grid; gap: 8px; padding-top: 14px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .vat-rows { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }
.totals .vat-rows small { font-size: 12px; opacity: .8; margin-left: 4px; }
.discount { color: var(--ok); }
.bump { position: relative; border: 2px dashed var(--brand-400); background: var(--brand-50); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; }
.bump .ribbon { position: absolute; top: -12px; left: 18px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .03em; }
.bump label { display: grid; grid-template-columns: auto 64px 1fr; gap: 14px; align-items: center; cursor: pointer; }
.bump input { width: 26px; height: 26px; accent-color: var(--brand); }
.bump img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.bump strong { display: block; font-size: 16px; }
.bump p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-methods span { padding: 5px 10px; border-radius: 8px; background: var(--bg-soft); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.empty { text-align: center; padding: 60px 20px; }
.empty .marta-empty { width: 180px; margin: 0 auto 20px; }

/* Thank-you */
.thanks { text-align: center; padding: clamp(50px, 8vw, 100px) 0 40px; }
.check-anim { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 999px; background: var(--brand-100); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.check-anim svg { width: 46px; height: 46px; color: var(--brand); stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .25s var(--ease) forwards; }

/* Account */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 24px; }
.tabs a { padding: 9px 16px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tabs a.on { background: var(--ink); color: #fff; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }

/* Footer ----------------------------------------------------------------------------------- */
.footer { background: var(--bg-soft); padding: 72px 0 36px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 14px; font-family: var(--font); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer .about { grid-column: 1 / -1; max-width: 380px; }
.footer .about p { margin: 14px 0 0; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 999px; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.socials a:hover { transform: translateY(-2px); color: var(--brand); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer .about { grid-column: auto; } }

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.newsletter input[type=email] { flex: 1 1 220px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid #D2D2D7; background: #fff; }

/* Cookie banner ---------------------------------------------------------------------------- */
/* Cookie bar: full width at the bottom, the main choice big and clear; "Tylko niezbędne" always one click away (RODO). */
.consent { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: 22px 24px calc(22px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 3px solid var(--brand); box-shadow: 0 -18px 50px rgba(20, 10, 40, .16); font-size: 15px; color: var(--ink-2); display: none; }
.consent.show { display: block; animation: rise .5s var(--ease); }
.consent-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.consent-text { flex: 1; min-width: 0; }
.consent h3 { font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.consent p { margin: 0; line-height: 1.55; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; flex: 0 0 auto; max-width: 520px; }
.consent .btn { min-height: 48px; padding: 0 20px; font-size: 15px; box-shadow: none; white-space: normal; line-height: 1.2; }
.consent .consent-all { min-height: 54px; padding: 0 30px; font-size: 16px; box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 32%, transparent); }
.consent .btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--brand) 28%, #d9d6e0); }
.consent .btn-ghost:hover { background: color-mix(in srgb, var(--brand) 6%, #fff); color: var(--brand); }
.consent .opts { display: none; margin: 12px 0 0; gap: 18px; flex-wrap: wrap; }
.consent.custom .opts { display: flex; }
@media (max-width: 899px) {
  .consent { padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); font-size: 14px; }
  .consent-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent h3 { font-size: 17px; }
  .consent .row { max-width: none; justify-content: stretch; }
  .consent .row .btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; font-size: 14px; }
  .consent .row .consent-all { flex: 1 1 100%; min-height: 52px; font-size: 16px; }
}

/* Modal (video) */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(8, 6, 12, .82); backdrop-filter: blur(10px); }
.modal.open { display: grid; animation: fadeIn .3s var(--ease); }
.modal-box { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 100px rgba(0, 0, 0, .5); }
.modal-box iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 24px; cursor: pointer; }

/* Motion ----------------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal-scale.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-scale { opacity: 1; transform: none; }
}

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.pagination .active span { background: var(--ink); color: #fff; }
.consent.custom [data-save] { display: inline-flex !important; }
.consent.custom [data-consent="custom"] { display: none; }
.empty h2, .panel.empty h2 { justify-content: center; }

/* Marta: a few standalone appearances, never part of a UI element */
.marta-side { position: relative; }
.marta-peek { position: absolute; z-index: 3; right: -18px; bottom: -46px; width: 30%; max-width: 210px; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(28, 12, 48, .2)); }
@media (max-width: 720px) { .marta-peek { width: 34%; right: -6px; bottom: -34px; } }

/* Team portraits (transparent) on a soft purple stage */
.person .photo { background: linear-gradient(180deg, var(--brand-100) 0%, var(--brand-50) 100%); align-items: end; }
.person .photo img { object-fit: contain; object-position: center bottom; }
.person .photo .initials { place-self: center; }
.person .company-logo { display: block; height: 30px; width: auto; margin-top: 14px; opacity: .85; }
/* One person (an author, one trainer): a wide card, portrait beside the bio */
.grid-1 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .person-solo .person { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 44px; align-items: center; max-width: 940px; }
  .person-solo .person h3 { margin-top: 0; font-size: 26px; }
  .person-solo .person p { font-size: 16px; }
}
.about-duo { border-radius: 28px; overflow: hidden; background: var(--papal); }
.about-duo img { width: 100%; height: auto; display: block; }

.hero > .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero > .wrap .lead { color: rgba(255, 255, 255, .84); }
.person .photo img { object-fit: cover; object-position: 50% 6%; transform: scale(1.02); }
.person .company-logo { height: 34px; opacity: 1; }

/* Checkout: NIP lookup in the VAT register */
.nip-row { display: flex; gap: 8px; }
.nip-row input { flex: 1; }
.nip-row .btn { min-height: 52px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.nip-status { display: block; margin-top: 7px; color: var(--muted); }
.nip-status.ok { color: var(--ok); }
.nip-status.warn { color: #B25000; }
.nip-status.loading { color: var(--brand); }
.field.filled input { background: var(--brand-50); transition: background 1.2s; }
.field > .nip-row { display: flex; font-weight: 400; margin: 0; }
.field > .nip-status { display: block; font-weight: 400; margin: 7px 0 0; color: var(--muted); }
.field > .nip-status.ok { color: var(--ok); }
.field > .nip-status.warn { color: #B25000; }
.field > .nip-status.loading { color: var(--brand); }

/* Home hero: light stage, the cut-out duo stands in front of a papal purple arch and fades out at the bottom */
.home-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 8% 20%, rgba(123, 75, 176, .10), transparent 70%); }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 2; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.home-hero-grid { display: grid; align-items: end; }
.home-hero-copy { position: relative; z-index: 3; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 96px); }
.home-hero h1 { margin: 18px 0 0; max-width: 620px; font-size: clamp(38px, 4.4vw, 64px); }
.home-hero .grad-text { background: linear-gradient(100deg, var(--brand), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lead { margin: 22px 0 0; max-width: 540px; }
.home-hero-proof { display: flex; flex-wrap: wrap; gap: 22px 40px; margin-top: 40px; }
.home-hero-proof strong { color: var(--brand); }
.home-hero-visual { position: relative; align-self: end; display: flex; justify-content: center; height: clamp(380px, 52vh, 560px); padding-bottom: clamp(28px, 4vw, 64px); box-sizing: border-box; }
.home-hero-arch { position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 0; width: min(84%, 500px); height: 82%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand) 55%, var(--papal) 100%); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.home-hero-arch::before { content: ""; position: absolute; inset: 14px 14px 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .28); border-bottom: 0; }
.home-hero-duo { position: relative; z-index: 1; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); transform: translateY(14px); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.is-loaded .home-hero-duo { transform: none; opacity: 1; }
.name-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 13px; line-height: 1.2; }
.name-chip b { display: block; font-size: 14.5px; }
.name-chip i { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; flex: none; }
.home-hero .name-chip { z-index: 3; color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: 0 12px 30px rgba(28, 12, 48, .14), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.home-hero .name-chip span { color: var(--muted); }
.home-hero .name-chip i { background: var(--brand); color: #fff; }
.name-chip.a { left: 0; bottom: 16%; }
.name-chip.b { right: 0; bottom: 30%; }
@media (min-width: 980px) {
  .home-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; min-height: min(84vh, 760px); }
  .home-hero-copy { align-self: center; }
  .home-hero-visual { height: min(84vh, 760px); }
}
@media (max-width: 979px) {
  .home-hero-visual { order: -1; margin-top: 20px; }
  .home-hero-copy { padding-top: 8px; }
  .home-hero::after { height: 60px; }
  .name-chip span { display: none; }
  .name-chip.a { left: 2%; bottom: 10%; }
  .name-chip.b { right: 2%; bottom: 18%; }
  .name-chip { font-size: 12px; padding: 6px 10px 6px 6px; }
  .name-chip b { font-size: 13px; }
  .name-chip i { width: 26px; height: 26px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .home-hero-duo { transition: none; transform: none; opacity: 1; } }

/* Marta next to a question band (product pages, articles) and in the knowledge base header */
.ask-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--brand-50); }
.ask-band .ask-copy { max-width: 620px; }
.ask-band .ask-copy p { margin: 8px 0 0; }
.ask-band .newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-band .newsletter input[type=email] { flex: 1; min-width: 200px; }
.ask-marta { flex: none; width: min(26%, 220px); height: auto; margin: -60px 0 -40px; pointer-events: none; }
.page-head-marta .wrap { position: relative; min-height: 250px; }
.page-head-marta h1 { max-width: 74%; }
.head-marta { position: absolute; right: 0; bottom: -20px; width: min(20%, 220px); height: auto; pointer-events: none; }
@media (max-width: 720px) {
  .ask-band { flex-direction: column; align-items: flex-start; }
  .ask-marta { width: 130px; margin: 0; align-self: flex-end; }
  .page-head-marta .wrap { min-height: 0; }
  .head-marta { position: static; display: block; width: 120px; margin: 0 0 6px auto; }
  .page-head-marta h1 { max-width: none; }
}

/* Announcement bar (panel: Narzędzia sprzedaży) */
.announce { background: var(--papal-deep); color: #fff; font-size: 14px; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce-timer { font-variant-numeric: tabular-nums; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(92vw, 520px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); transition: opacity .4s, transform .4s; }
.toast.hide { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }

/* Welcome discount pop-up */
.offer-pop { width: min(92vw, 460px); border: 0; border-radius: 28px; padding: 34px 30px 30px; box-shadow: 0 40px 100px rgba(28, 12, 48, .35); color: var(--ink); }
.offer-pop::backdrop { background: rgba(28, 12, 48, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.offer-pop[open] { animation: pop-in .45s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.offer-pop h2 { margin: 8px 0 10px; }
.offer-pop form { display: grid; gap: 12px; margin-top: 18px; }
.offer-pop input[type=email] { min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid #D2D2D7; font-size: 16px; }
.offer-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--bg-soft); font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.offer-code { display: block; width: 100%; margin: 14px 0; padding: 16px; border: 2px dashed var(--brand-400); border-radius: 18px; background: var(--brand-50); color: var(--brand); font: 800 26px/1 var(--display); letter-spacing: .08em; cursor: copy; }
.offer-code.copied::after { content: " ✓"; }
@media (prefers-reduced-motion: reduce) { .offer-pop[open] { animation: none; } }

/* One-time offer after payment */
.oto { margin: 0 0 24px; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 2px var(--brand-400), var(--shadow); }
.oto-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.oto-timer { font-size: 14px; color: var(--muted); }
.oto-timer b { color: var(--brand); font-variant-numeric: tabular-nums; }
.oto-body { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.oto-body:not(:has(img)) { grid-template-columns: 1fr; }
.oto-img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.oto h2 { margin: 0 0 8px; }
.oto-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.oto-price strong { font: 800 28px/1 var(--display); color: var(--brand); }
.oto-price s { color: var(--muted); }
.oto-actions { display: grid; gap: 10px; margin-top: 20px; }
.oto-actions .btn { width: 100%; }
.link-btn { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 15px; }
@media (max-width: 560px) { .oto-body { grid-template-columns: 1fr; } .oto-img { width: 100%; } }

/* Social proof (real orders) and free shipping progress */
.proof-line { display: grid; gap: 6px; margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); }
.proof-line span { display: flex; align-items: center; gap: 8px; }
.proof-line svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.proof-line .few { color: #B25000; font-weight: 600; }
.proof-line .few svg { color: #B25000; }
.free-ship { display: grid; gap: 8px; margin: 4px 0 6px; font-size: 14.5px; }
.free-ship span { display: flex; align-items: center; gap: 8px; }
.free-ship svg { width: 18px; height: 18px; color: var(--brand); }
.free-ship i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), var(--brand-100) var(--p)); }

/* Courses (LMS) */
.course-summary { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.course-summary .btn { margin-left: auto; }
.course-progress { --p: 0%; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--brand) var(--p), var(--brand-100) 0); position: relative; }
.course-progress::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.course-progress span { position: relative; font: 800 17px/1 var(--display); color: var(--brand); }
.course-progress.small-ring { width: 56px; height: 56px; margin-bottom: 14px; }
.course-progress.small-ring::before { inset: 6px; }
.course-progress.small-ring span { font-size: 14px; }
.cert-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, var(--brand-50), #fff); }
.cert-panel h2 { margin-bottom: 6px; }
.lesson-row { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.lesson-row:hover .lesson-title { color: var(--brand); }
.lesson-row.locked { color: var(--muted); cursor: default; }
.lesson-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand-50); color: var(--brand); }
.lesson-dot svg { width: 15px; height: 15px; }
.lesson-row.done .lesson-dot { background: var(--brand); color: #fff; }
.lesson-row.locked .lesson-dot { background: var(--bg-soft); color: var(--muted); }
.lesson-title { flex: 1; font-weight: 500; }
.lesson-title small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.lesson-layout { display: grid; gap: 32px; padding-top: clamp(20px, 3vw, 40px); padding-bottom: 80px; }
.lesson-video { position: relative; aspect-ratio: 16/9; margin-top: 18px; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.lesson-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lesson-side { align-self: start; }
.lesson-list { display: grid; gap: 2px; font-size: 14.5px; }
.lesson-list a { padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; }
.lesson-list a:hover { background: var(--bg-soft); }
.lesson-list a.on { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.lesson-list a.done::before { content: "✓ "; color: var(--brand); }
.lesson-list a.locked { color: var(--muted); pointer-events: none; }
.lesson-module { margin: 14px 12px 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
@media (min-width: 1000px) {
  .lesson-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .lesson-side { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; }
}
/* Curriculum on the course product page */
.curriculum .lesson-row { cursor: default; }
.curriculum .lesson-row.preview { cursor: pointer; }
.curriculum .tag { margin-left: 8px; }

/* Review form: stars right to left so :checked ~ label lights up the lower ones */
.review-form { display: grid; gap: 16px; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 38px; line-height: 1; color: var(--brand-100); cursor: pointer; transition: color .15s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #F5A524; }
.stars input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 6px; }
.review-stars { color: #F5A524; letter-spacing: 2px; }

/* Omnibus: lowest price of the last 30 days next to every price */
.omnibus { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.card-omnibus { display: block; margin-top: 4px; font-size: 12px; }

/* Shop: the nearest training, highlighted */
.spotlight { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); padding: clamp(18px, 2.5vw, 28px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, var(--brand-50), #fff 60%); box-shadow: 0 0 0 2px var(--brand-100), var(--shadow); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.spotlight:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--brand-400), var(--shadow); }
.spotlight-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.spotlight h2 { margin: 12px 0; }
.spotlight-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; color: var(--ink-2); font-size: 15px; }
.spotlight-facts span { display: inline-flex; align-items: center; gap: 6px; }
.spotlight-facts svg { width: 17px; height: 17px; color: var(--brand); }
.spotlight-facts .few { color: #B25000; font-weight: 600; }
.spotlight-price strong { font: 800 30px/1 var(--display); letter-spacing: -.03em; }
@media (min-width: 860px) { .spotlight { grid-template-columns: minmax(260px, 380px) 1fr; } }

/* Product graphics are square artworks with text: always shown whole (1:1), never cropped */
.product-card .product-media { aspect-ratio: 1; }
.product-card .product-media img { object-fit: cover; }
.p-media { aspect-ratio: 1; }
.p-media img { object-fit: contain; }

/* Team portraits are trimmed at the top of the head: leave air above it, never crop the head */
.person .photo { display: block; padding-top: 9%; }
.person .photo img { display: block; object-fit: cover; object-position: 50% 0; transform: none; }

/* Community banner: Marta in her own column, centred, whole */
.cta-band-marta { display: grid; gap: 24px; align-items: center; }
.cta-band-marta .marta-cta { position: static; justify-self: center; width: clamp(170px, 22vw, 290px); height: auto; filter: drop-shadow(0 24px 30px rgba(20, 6, 40, .35)); }
@media (min-width: 860px) { .cta-band-marta { grid-template-columns: 1fr minmax(220px, 34%); } }

/* Atmosphere --------------------------------------------------------------------------------
   Quiet depth instead of decoration: soft light orbs that drift slowly behind content (added by
   site.js to heroes, soft and dark sections and CTA bands), a fine grain on purple surfaces,
   headings revealed word by word. No pointer-following effects (out of fashion, Adam 2026-10-05). Everything is
   transform/opacity only, paused off screen and switched off for prefers-reduced-motion. */
.atmo { position: absolute; inset: -14% 0; z-index: -1; overflow: hidden; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.atmo i { position: absolute; display: block; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--c) 0%, transparent 66%); opacity: 0; transform: translate3d(0, 0, 0); transition: opacity 2.2s var(--ease); animation: orb-drift var(--t, 26s) ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.atmo.on i { opacity: var(--o, .5); animation-play-state: running; }
.atmo .grain { inset: 0; width: auto; height: auto; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; animation: none; opacity: 0; }
.atmo.on .grain { opacity: .16; }
@keyframes orb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(var(--dx), var(--dy), 0) scale(1.08); }
  100% { transform: translate3d(calc(var(--dx) * -.6), calc(var(--dy) * .7), 0) scale(.95); }
}
.home-hero, .section-soft, .section-dark, .cta-band, .bento .feature, .spotlight-card { position: relative; isolation: isolate; }
.section-soft, .section-dark { overflow: hidden; }

.cat-card { position: relative; overflow: hidden; }

/* Headings: words rise from behind a mask; headings with styled parts sharpen from a soft blur */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.js .split .wi { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1s var(--ease); transition-delay: calc(var(--wd, 0s) + var(--i, 0) * 45ms); }
.js .split.in .wi, .js .in .split .wi { transform: none; }
.js .soften { opacity: 0; filter: blur(10px); transform: translate3d(0, 14px, 0); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--wd, 0s); }
.js .soften.in, .js .in .soften { opacity: 1; filter: none; transform: none; }
.grad-text { background-size: 200% 100% !important; animation: grad-shift 9s ease-in-out infinite alternate; }
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Primary buttons: a slow sheen on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost::after, .btn-light::after { background: linear-gradient(110deg, transparent 35%, rgba(123, 75, 176, .10) 50%, transparent 65%); }

/* Eyebrows get a small glowing dot */
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); vertical-align: middle; }
.eyebrow:has(.ico)::before { display: none; }

/* "Why estateo" on a deep stage: glass cards over slow light */
.section-benefits { background: radial-gradient(60% 80% at 10% 0%, rgba(92, 45, 145, .55), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(82, 42, 128, .45), transparent 60%), var(--dark); }
.section-benefits .eyebrow { color: #CDB3EE; }
.section-benefits .bento .card:not(.feature) { background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #F5F5F7; backdrop-filter: blur(6px); }
.section-benefits .bento .card:not(.feature) h3 { color: #fff; }
.section-benefits .bento .card:not(.feature) p { color: rgba(245, 245, 247, .62); }
.section-benefits .bento .icon { background: rgba(255, 255, 255, .07); color: #D9C8EC; }
.section-benefits .bento .feature { box-shadow: 0 30px 80px rgba(10, 2, 24, .5), inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* Video frame: a soft halo behind it */
.marta-side .video-frame, .video-stage .video-frame { box-shadow: 0 40px 90px -30px rgba(92, 45, 145, .55), var(--shadow-lg); }

/* Footer: the wordmark as a quiet watermark */
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: "estateo"; position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%); z-index: -1; font-family: var(--display); font-weight: 800; letter-spacing: -.06em; font-size: clamp(120px, 22vw, 340px); line-height: 1; color: transparent; background: linear-gradient(180deg, rgba(92, 45, 145, .07), rgba(92, 45, 145, 0) 85%); -webkit-background-clip: text; background-clip: text; white-space: nowrap; pointer-events: none; }

/* Reading progress on articles */
.read-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand-400), var(--brand)); }

@media (prefers-reduced-motion: reduce) {
  .atmo i { animation: none; }
  .js .split .wi, .js .soften { transform: none; opacity: 1; filter: none; }
  .grad-text { animation: none; }
}

/* Sub-page headers: the arch from the home page, as a fine outline on the right */
.hero > .wrap { position: relative; }
.hero::after { content: ""; position: absolute; z-index: -1; right: max(4vw, calc((100vw - var(--wrap)) / 2 - 40px)); bottom: 0; width: clamp(260px, 30vw, 440px); height: 86%; border-radius: 999px 999px 0 0; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .2); border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
@media (max-width: 760px) { .hero::after { width: 62vw; right: -18vw; opacity: .6; } }

/* Marta in the arch of purple sub-page headers (KLUB, Mentoring, O nas): one per page, never lost on phones */
.hero-with-marta { --arch-w: clamp(260px, 30vw, 440px); --arch-r: max(4vw, calc((100vw - var(--wrap)) / 2 - 40px)); }
.hero-with-marta .wrap { position: static; }
.hero-marta { position: absolute; z-index: 1; top: 57%; translate: 0 -50%; right: calc(var(--arch-r) + (var(--arch-w) - var(--marta-w)) / 2); --marta-w: clamp(190px, 21vw, 320px); width: var(--marta-w); height: auto; pointer-events: none; filter: drop-shadow(0 26px 34px rgba(20, 6, 40, .4)); }
.hero-with-marta h1, .hero-with-marta .lead { max-width: min(740px, 60vw); }
@media (max-width: 860px) {
  .hero-with-marta h1, .hero-with-marta .lead { max-width: none; }
  .hero-marta { position: relative; top: auto; translate: none; right: auto; display: block; width: 150px; margin: 0 0 4px auto; }
}

/* Marta next to a section heading on the home page (products, knowledge base) */
.section-marta { width: clamp(96px, 11vw, 160px); height: auto; margin: 0 0 -26px auto; align-self: end; pointer-events: none; filter: drop-shadow(0 16px 20px rgba(40, 16, 70, .16)); }
@media (max-width: 720px) { .section-marta { order: -1; margin: 0 0 -8px auto; } }

/* Shop: the highlighted product on a papal purple stage (chosen in the panel or the nearest training) */
.spotlight { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(70% 90% at 90% 0%, rgba(184, 146, 234, .45), transparent 60%), linear-gradient(140deg, var(--brand) 0%, var(--papal) 45%, var(--papal-deep) 100%); box-shadow: 0 30px 70px -20px rgba(42, 18, 69, .55); }
.spotlight:hover { color: #fff; box-shadow: 0 40px 80px -20px rgba(42, 18, 69, .65); }
.spotlight h2 { color: #fff; }
.spotlight .tag { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.spotlight-facts { color: rgba(255, 255, 255, .85); }
.spotlight-facts svg { color: #D9C8EC; }
.spotlight-facts .few { color: #FFD08A; }
.spotlight-text { color: rgba(255, 255, 255, .78); margin: 0; }
.spotlight-price { color: #fff; margin-top: 14px; }
.spotlight-price .small { color: rgba(255, 255, 255, .7); }
.spotlight .omnibus { color: rgba(255, 255, 255, .6); font-size: 12.5px; margin: 6px 0 0; }
.spotlight .btn { background: #fff; color: var(--brand); box-shadow: 0 12px 30px rgba(20, 6, 40, .35); }
.spotlight-img img { box-shadow: 0 24px 50px -16px rgba(10, 2, 24, .6); }

/* Product landing --------------------------------------------------------------------------
   Purple stage for flagship products (panel: Landing i lejek), sticky section navigation,
   "what you get" from the product's data, the estateo path, the next step, the closing offer. */
.p-hero-purple { color: #fff; overflow: hidden; isolation: isolate; background: radial-gradient(55% 70% at 85% 0%, rgba(184, 146, 234, .42), transparent 62%), radial-gradient(45% 60% at 0% 100%, rgba(123, 75, 176, .45), transparent 60%), linear-gradient(160deg, var(--papal) 0%, #3E1F66 55%, var(--papal-deep) 100%); padding-bottom: clamp(56px, 8vw, 110px); }
.p-hero-purple::before { display: none; }
.p-hero-purple .crumbs, .p-hero-purple .crumbs a { color: rgba(255, 255, 255, .7); }
.p-hero-purple .crumbs a:hover { color: #fff; }
.p-hero-purple h1 { color: #fff; }
.p-hero-purple .p-subtitle { color: rgba(255, 255, 255, .82); }
.p-hero-purple .tag-soft { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.p-hero-purple .event-facts { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); }
.p-hero-purple .event-facts svg { color: #D9C8EC; }
.p-hero-purple .p-media { box-shadow: 0 40px 90px -30px rgba(10, 2, 24, .75), 0 0 0 1px rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .06); }
.p-hero-purple .buybox { color: var(--ink); box-shadow: 0 30px 80px -24px rgba(10, 2, 24, .6); }
.p-hero-purple .buybox .qty input { color: var(--ink); }
.p-hero-purple .p-side > .flex .tag-brand { background: #fff; color: var(--brand); }

.p-nav { position: sticky; top: 64px; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.p-nav .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.p-nav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.p-nav-links::-webkit-scrollbar { display: none; }
.p-nav-links a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); transition: background .2s, color .2s; }
.p-nav-links a.active { background: var(--brand-50); color: var(--brand); }
/* Hover only with a real pointer: on phones a tapped link kept :hover and two items lit up */
@media (hover: hover) { .p-nav-links a:hover { background: var(--brand-50); color: var(--brand); } }
.p-nav-buy { display: none; align-items: center; gap: 14px; }
.p-nav-buy .price { font-size: 19px; }
.p-nav-buy .btn { min-height: 40px; padding: 0 20px; font-size: 14.5px; }
@media (min-width: 980px) { .p-nav-buy { display: flex; } .sticky-buy { display: none; } }
.block-anchor, #co-dostajesz, #program-kursu, #opinie, #sciezka, #cena { scroll-margin-top: 130px; }

.get-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .get-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (min-width: 1000px) { .get-grid { grid-template-columns: repeat(3, 1fr); } }
.get-section { padding-bottom: 0; }
#cena { padding-top: 24px; }
.get-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.get-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.get-ico svg { width: 22px; height: 22px; }
.get-item h3 { font-size: 17px; margin: 2px 0 4px; }
.get-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .path { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.path-step a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px; border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.path-step a:hover { transform: translateY(-3px); color: var(--ink); }
@media (min-width: 900px) {
  .path-step { position: relative; padding: 0 8px; }
  .path-step:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 44px; right: -8px; width: 16px; height: 2px; background: var(--brand-200); }
}
.path-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--display); background: var(--brand-50); color: var(--brand); }
.path-step b { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.path-step span:not(.path-num) { font-size: 14px; color: var(--muted); }
.path-step em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.path-step.is-current a { background: linear-gradient(150deg, var(--brand), var(--papal-deep)); color: #fff; box-shadow: 0 24px 50px -18px rgba(42, 18, 69, .6); }
.path-step.is-current .path-num { background: rgba(255, 255, 255, .16); color: #fff; }
.path-step.is-current span:not(.path-num) { color: rgba(255, 255, 255, .78); }

.next-step { display: grid; gap: 22px; align-items: center; padding: clamp(18px, 2.5vw, 26px); border-radius: calc(var(--radius) + 4px); background: linear-gradient(135deg, var(--brand-50), #fff 70%); box-shadow: 0 0 0 1px var(--brand-100), var(--shadow); color: var(--ink); transition: transform .4s var(--ease); }
.next-step:hover { transform: translateY(-3px); color: var(--ink); }
.next-step h2 { margin: 8px 0; }
.next-step p { margin: 0 0 10px; }
.next-img img { width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
@media (min-width: 720px) { .next-step { grid-template-columns: 180px 1fr; } }

.offer-band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 34px; color: #fff; background: radial-gradient(70% 100% at 100% 0%, rgba(184, 146, 234, .45), transparent 60%), linear-gradient(140deg, var(--brand) 0%, var(--papal) 50%, var(--papal-deep) 100%); }
.offer-band h2 { color: #fff; margin: 10px 0 16px; }
.offer-band .eyebrow { color: #D9C8EC; }
.offer-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offer-points li { display: flex; gap: 10px; color: rgba(255, 255, 255, .86); }
.offer-points li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .16); }
.offer-buy { padding: 26px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 30px 70px -24px rgba(10, 2, 24, .6); }
.offer-price { font: 800 40px/1 var(--display); letter-spacing: -.035em; }
.offer-price s { font-size: 18px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.offer-net { color: var(--muted); font-size: 14px; margin-top: 6px; }
.offer-buy .omnibus { font-size: 12.5px; color: var(--muted); margin: 6px 0 16px; }
.offer-few { margin: 10px 0 0; text-align: center; color: #B25000; font-weight: 600; font-size: 14px; }
@media (min-width: 900px) { .offer-band { grid-template-columns: 1.2fr .8fr; } }

/* Marta: the real alligator (home band and /marta) */
.marta-band-grid { display: grid; gap: 28px; align-items: center; }
.marta-band-art { display: grid; place-items: center; }
.marta-band-art img { width: min(100%, 380px); height: auto; filter: drop-shadow(0 26px 34px rgba(20, 6, 40, .22)); }
@media (min-width: 900px) { .marta-band-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.marta-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.marta-facts div { padding: 16px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); }
.marta-facts b { display: block; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; color: var(--brand); }
.marta-facts span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.marta-photo { margin: 0; }
.marta-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.marta-photo-tall img { aspect-ratio: 4 / 5; max-height: 640px; }
.marta-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.marta-year { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.04em; color: var(--brand); margin-bottom: 6px; }
.marta-years .card { padding: 24px; }

/* Article: text with products beside it (sticky on desktop, under the text on phones) */
.article-layout { max-width: 820px; }
.article-layout.has-aside { max-width: 1220px; display: grid; gap: 8px 64px; }
.article-cover { aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-aside { padding-bottom: 40px; }
.article-aside-inner { display: grid; gap: 14px; }
@media (min-width: 1024px) {
  .article-layout.has-aside { grid-template-columns: minmax(0, 1fr) 330px; }
  .article-aside { padding-top: clamp(36px, 5vw, 64px); }
  .article-aside-inner { position: sticky; top: 92px; }
}
.product-mini { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-mini:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--brand-100), var(--shadow); }
.product-mini-img { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.product-mini-img img { width: 100%; height: 100%; object-fit: contain; }
.product-mini-body { display: grid; gap: 3px; align-content: start; min-width: 0; }
.product-mini-body b { font-family: var(--display); font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-mini-price .price { font-size: 17px; }
.product-mini .omnibus { font-size: 11.5px; margin: 0; }
.product-mini .link-arrow { font-size: 14px; }
.aside-consult { display: block; padding: 14px 16px; border-radius: var(--radius); background: var(--brand-50); color: var(--ink-2); font-size: 14.5px; }
.aside-consult b { color: var(--brand); }

/* Quick chat: a round button bottom right; on phones it offers the chat or a call */
.qc { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 15px; }
body:has(.sticky-buy.show) .qc { bottom: 86px; }
.qc-fab { display: inline-flex; align-items: center; gap: 8px; height: 56px; min-width: 56px; padding: 0 20px 0 17px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(92, 45, 145, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; }
.qc-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(92, 45, 145, .42); }
.qc-fab .ico { width: 24px; height: 24px; }
.qc-badge { position: absolute; top: -4px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--danger); color: #fff; font-size: 12px; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.qc.is-open .qc-fab { display: none; }
.qc-choice { display: flex; flex-direction: column; gap: 8px; animation: rise .35s var(--ease); }
.qc-opt { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 600 15px/1.1 var(--font); box-shadow: var(--shadow-lg); cursor: pointer; text-decoration: none; justify-content: flex-start; }
.qc-opt .ico { width: 20px; height: 20px; color: var(--brand); }
.qc-panel { width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100dvh - 32px)); display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .35s var(--ease); }
.qc-panel[hidden], .qc-choice[hidden] { display: none; }
.qc-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--brand); color: #fff; }
.qc-head div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.qc-head strong { font-size: 16px; }
.qc-head span { font-size: 13px; line-height: 1.4; opacity: .85; }
.qc-x { border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.qc-body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-soft); min-height: 110px; overscroll-behavior: contain; }
.qc-msg { display: flex; }
.qc-msg > div { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.qc-msg small { display: block; margin-top: 3px; font-size: 11px; opacity: .65; }
.qc-me { justify-content: flex-end; }
.qc-me > div { background: var(--brand); color: #fff; border-radius: 16px; border-bottom-right-radius: 5px; }
.qc-start { display: grid; gap: 8px; padding: 12px 16px 6px; }
.qc-start input, .qc-start textarea, .qc-send textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 15px/1.4 var(--font); background: #fff; color: var(--ink); resize: none; }
.qc-start input:focus, .qc-start textarea:focus, .qc-send textarea:focus { outline: 2px solid var(--brand-200); border-color: var(--brand-400); }
.qc-start .btn { min-height: 44px; }
.qc-start .tiny { margin: 0; font-size: 12px; }
.qc-send { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.qc-send[hidden], .qc-start[hidden] { display: none; }
.qc-send .btn { min-height: 44px; width: 44px; padding: 0; flex: none; }
.qc-call { display: block; padding: 10px 16px 14px; font-size: 13px; color: var(--muted); text-align: center; text-decoration: none; }
.qc-call strong { color: var(--brand); }
@media (max-width: 559px) {
  .qc { right: 12px; bottom: 12px; }
  .qc-label { display: none; }
  .qc-fab { padding: 0; width: 56px; justify-content: center; }
  body:has(.consent.show) .qc { display: none; }
  .qc.is-open { left: 12px; }
  .qc-panel { width: 100%; max-height: calc(100dvh - 24px); }
  .qc-start input, .qc-start textarea, .qc-send textarea { font-size: 16px; } /* no zoom on focus in iOS */
}
@media (prefers-reduced-motion: reduce) { .qc-panel, .qc-choice { animation: none; } .qc-fab { transition: none; } }
@media (min-width: 760px) { .qc-call { display: none; } }

/* Referral card: account and thank-you page */
.referral { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.referral > * { min-width: 0; }
.referral h2 { margin: 0 0 6px; }
.referral p { margin: 0; }
.referral-link { display: flex; gap: 8px; }
.referral-link input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 15px var(--font); color: var(--ink-2); background: var(--bg-soft); }
.referral-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.referral-btns .btn, .referral-link .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
@media (min-width: 860px) { .referral { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 32px; } }

/* Account: several files of one product under its name */
.files-row { display: block; }
.file-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.file-line .btn { flex: none; min-height: 40px; padding: 0 16px; font-size: 14px; }

/* "W garniturze na budowie": video cards that open the film in the modal */
.vid-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--dark); box-shadow: var(--shadow); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.vid-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(92, 45, 145, .92); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.vid-play .ico { width: 26px; height: 26px; margin-left: 3px; }
.vid-card, .vid-hero { color: inherit; text-decoration: none; display: block; }
.vid-card:hover .vid-thumb img, .vid-hero:hover .vid-thumb img { transform: scale(1.04); }
.vid-card:hover .vid-play, .vid-hero:hover .vid-play { transform: scale(1.08); }
.vid-ep { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.vid-title { display: block; margin-top: 4px; font-weight: 650; font-size: 17px; line-height: 1.35; color: var(--ink); }
.vid-hero { display: grid; gap: 18px; }
.vid-hero .vid-title { font-size: clamp(22px, 2.6vw, 32px); font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; }
.vid-hero .vid-play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.vid-hero .vid-play .ico { width: 34px; height: 34px; }
@media (min-width: 900px) { .vid-hero { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 36px; } .garnitur .scroller { grid-auto-columns: minmax(270px, calc((100% - 60px) / 4)); } }
.section-dark .vid-title { color: #fff; }
.vid-grid { display: grid; gap: 34px 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.header .btn-projects { gap: 7px; border: 1.5px solid var(--brand-200); color: var(--brand); background: #fff; }
.header .btn-projects:hover { background: var(--brand-50); border-color: var(--brand-400); color: var(--brand-700); }
.header .btn-projects .ico { width: 17px; height: 17px; }

/* "Nasze projekty": developments of the group */
.proj-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); height: 100%; }
a.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proj-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
a.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-stage { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--ink); }
.proj-stage-investors { background: var(--brand); color: #fff; }
.proj-stage-construction { color: var(--brand); }
.proj-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.proj-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.proj-loc .ico { width: 15px; height: 15px; }
.proj-name { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.proj-sum { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.proj-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.proj-facts span { padding: 5px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 12.5px; font-weight: 600; }
.proj-progress { display: block; margin-top: auto; padding-top: 8px; }
.proj-progress-lbl { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.proj-progress-lbl b { color: var(--ink); }
.proj-bar { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.proj-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-400), var(--brand)); }
.proj-link { margin-top: 6px; font-weight: 650; font-size: 14.5px; color: var(--brand); }
.proj-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.projects .scroller { grid-auto-columns: minmax(280px, 82%); }
@media (min-width: 900px) { .projects .scroller { grid-auto-columns: calc((100% - 40px) / 3); } }
.proj-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; max-width: 900px; }
.proj-stats div { display: flex; flex-direction: column; gap: 2px; }
.proj-stats b { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.proj-stats span { font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .proj-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Live online training: the participant's join page */
.live-when { display: flex; align-items: center; gap: 18px; }
.live-join .hero-cta .btn { gap: 8px; }
.seat-row { align-items: flex-start; gap: 16px; }
.seat-form { margin-top: 8px; }
.seat-form summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.seat-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.seat-fields .input { flex: 1 1 200px; min-height: 42px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; gap: 6px; }
.btn-sm .ico { width: 16px; height: 16px; }

/* Projects page: stages at a glance, the project to work on together as a wide card with a contact box */
.proj-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proj-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 10px 9px 16px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .2s, color .2s; }
.proj-jump a:hover { background: var(--brand); color: #fff; }
.proj-jump b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; }
.proj-jump a:hover b { background: #fff; color: var(--brand); }
.proj-feature-list { display: grid; gap: 26px; }
.proj-feature { display: grid; gap: 26px; align-items: stretch; }
.proj-feature-cta { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: var(--radius); background: var(--brand-50); }
.proj-feature-cta .h3 { margin: 0 0 8px; }
@media (min-width: 900px) {
  .proj-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .proj-feature .proj-card { flex-direction: row; }
  .proj-feature .proj-img { aspect-ratio: auto; width: 52%; min-height: 300px; flex: none; }
}
/* Home hero: the developments link under the buttons */
.hero-projects { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--brand); text-decoration: none; }
.hero-projects:hover { text-decoration: underline; }
.hero-projects .ico { width: 18px; height: 18px; }
