/* TEA TIME Glogow v2 — jezyk wizualny: czerwono-granatowe pasy, kola z zabkami, kropkowane luki */
:root {
  --navy: #14285A; --navy-deep: #0E1C40; --red: #C8102E; --red-2: #D6173A; --red-deep: #A50D26;
  --cream: #FDF8F0; --cream-2: #F6EEE1; --ink: #23262F; --ink-2: #5B6070; --line: #E6DCCB;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--ink); font-family: var(--font-body); line-height: 1.7; margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---- HEADER (bialy, jak u nich) ---- */
.site-header { background: #fff; border-bottom: 1px solid #EFE6DA; backdrop-filter: none; }
.site-header .container { padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand-mark { flex: 0 0 auto; width: 48px; display: inline-flex; }
.brand-mark svg { width: 100%; height: auto; display: block; }
.brand-name { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(19px, 4.4vw, 24px);
  color: var(--navy); line-height: 1.05; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(9px, 2.1vw, 10.5px);
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 28px); list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 600; }
.site-nav a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff !important; border-radius: 999px; padding: 9px 22px; }
.nav-cta:hover { background: var(--red-deep); }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 767px) {
  nav[aria-label="Główna"] { inset: var(--header-h, 64px) 0 auto 0; justify-self: stretch; width: auto; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav li:first-child { border-top: 0; }
  .site-nav a { display: block; padding: 14px 16px; font-size: 17px; }
  .nav-cta { display: block; text-align: center; margin: 12px 8px 4px; }
}
.site-header.nav-collapsed nav[aria-label="Główna"] { inset: var(--header-h, 64px) 0 auto 0; justify-self: stretch; width: auto; }
.site-header.nav-collapsed .site-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
.site-header.nav-collapsed .site-nav li { border-top: 1px solid var(--line); }
.site-header.nav-collapsed .site-nav a { display: block; padding: 14px 16px; font-size: 17px; }
.site-header.nav-collapsed .nav-cta { display: block; text-align: center; margin: 12px 8px 4px; }

/* ---- PRZYCISKI ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px;
  text-decoration: none; font-family: var(--font-heading); font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---- DEKORACJE: kropkowany luk + ikony konturowe ---- */
.deko { position: absolute; pointer-events: none; }
.luk { width: 100%; height: auto; }
.ikona-kontur { width: 100%; height: auto; }
.deko--luk { width: clamp(120px, 16vw, 210px); right: -6px; bottom: -14px; color: rgba(255,255,255,.85); }
.deko--luk-lewo { width: clamp(120px, 16vw, 210px); left: -10px; top: -6px; right: auto; bottom: auto; color: var(--red); transform: scaleX(-1); }
.deko--czapka { width: clamp(56px, 8vw, 92px); left: -6px; top: -10px; color: #fff; }
.deko--dymek { width: clamp(58px, 8vw, 96px); right: -4px; top: -16px; color: var(--red); }
.deko--globus { width: clamp(50px, 7vw, 82px); right: -6px; top: -14px; color: #fff; }

/* ---- KOLO Z ZABKOWANA OBWODKA ---- */
.kolo { position: relative; margin: 0; aspect-ratio: 1; width: min(100%, 420px); border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 34px; }
.kolo { outline: 11px dotted currentColor; outline-offset: 12px; }
.kolo::before { content: none; }
.kolo--navy { color: var(--navy); }
.kolo--red { color: var(--red); }
.kolo.media-frame { border: 2px solid rgba(20,40,90,.18); border-radius: 50%;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.96), rgba(255,255,255,.96) 14px, rgba(246,238,225,.96) 14px, rgba(246,238,225,.96) 28px); }
.media-name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--navy); line-height: 1.5; }
.media-name em { display: block; font-family: var(--font-body); font-style: italic; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; font-weight: 400; }

/* ---- HERO (czerwony pas) ---- */
.hero-red { background-color: #C8102E; background-image: linear-gradient(120deg, var(--red-2) 0%, var(--red) 55%, var(--red-deep) 100%); color: #fff;
  padding: clamp(40px, 6vw, 84px) 0; }
.hero-red__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-red__grid { grid-template-columns: 1fr; } .hero-red__media { justify-self: center; } }
.hero-red__media { position: relative; }
.hero-red h1 { color: #fff; font-size: clamp(38px, 6.4vw, 68px); line-height: 1.05; margin: 0 0 18px; font-weight: 800; }
.eyebrow, .sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.eyebrow--light, .sec-eyebrow--light { color: rgba(255,255,255,.9); }
.hero-lead { font-size: clamp(15.5px, 1.9vw, 18px); color: rgba(255,255,255,.94); max-width: 56ch; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-ocena { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.95); margin: 0; }
.hero-ocena strong { font-family: var(--font-heading); font-size: 18px; }
.stars { color: #FFD166; letter-spacing: .05em; }

/* ---- PASY SEKCJI ---- */
.section { padding: clamp(56px, 7.5vw, 108px) 0; }
.section--white { background: #fff; }
.section--cream { background: var(--cream); }
.section--tight { padding-bottom: clamp(40px, 5vw, 70px); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.pas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(28px, 4.5vw, 70px); align-items: center; }
.pas-grid--rev { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
@media (max-width: 900px) { .pas-grid, .pas-grid--rev { grid-template-columns: 1fr; } .pas-media { justify-self: center; order: -1; } }
.pas-media { position: relative; }
.pas-copy h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; margin: 0 0 16px; }
.pas-copy p { color: var(--ink-2); max-width: 56ch; }
.pas-copy--light p { color: rgba(255,255,255,.88); }
.pas-copy .btn { margin-top: 22px; }

.lista-ptaszki { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lista-ptaszki li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); }
.lista-ptaszki li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.kroki-lista { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: k; }
.kroki-lista li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 14px 18px; }
.kroki-lista span { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: #FFD166; }
.kroki-lista strong { display: block; font-family: var(--font-heading); font-size: 16.5px; margin-bottom: 3px; }
.kroki-lista div { font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ---- NAGLOWKI SEKCJI ---- */
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 50px); text-align: center; margin-inline: auto; }
.sec-head .sec-eyebrow { margin-inline: auto; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; margin: 0 0 14px; }
.sec-lead { color: var(--ink-2); font-size: clamp(15px, 1.8vw, 17px); max-width: 58ch; margin-inline: auto; }
.section-cta { width: 100%; max-width: none; text-align: center; margin: clamp(26px, 3.5vw, 40px) 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -32px rgba(20, 40, 90, .5); }

/* ---- KURSY ---- */
.kurs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.kurs-card { padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; }
.kurs-art { margin: 0 0 16px; border-radius: 14px; overflow: hidden; background: var(--cream); aspect-ratio: 4/3; }
.kurs-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kurs-card h3 { font-size: clamp(18px, 2.2vw, 21px); margin: 0 0 10px; }
.kurs-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---- W LICZBACH (czerwony flat-lay) ---- */
.liczby { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; background: var(--red); color: #fff; }
.liczby__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.liczby::after { content: ""; position: absolute; inset: 0; background: rgba(168, 12, 40, .55); }
.liczby__in { position: relative; z-index: 1; text-align: center; }
.liczby__h2 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); margin: 0 0 clamp(28px, 4vw, 46px); font-weight: 800; }
.zakreslone { position: relative; display: inline-block; padding: 0 10px; }
.zakreslone::after { content: ""; position: absolute; left: -4%; top: -18%; width: 108%; height: 136%;
  border: 3px solid rgba(255,255,255,.9); border-radius: 50%; transform: rotate(-3deg); }
.liczby__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(18px, 3vw, 34px); }
.liczba strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(36px, 5.4vw, 60px); line-height: 1; color: #fff; }
.liczba span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.9); }

/* ---- OPINIE ---- */
.opinie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.opinia { margin: 0; padding: clamp(22px, 3vw, 30px); }
.opinia .stars { margin: 0 0 12px; font-size: 17px; color: #E8A33D; }
.opinia p { font-size: 15px; margin: 0 0 14px; }
.opinia cite { font-style: normal; font-size: 13.5px; color: var(--ink-2); }
.opinia cite em { display: block; font-size: 12px; opacity: .8; }

/* ---- KONTAKT + MAPA ---- */
.kontakt-lista { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.kontakt-lista li { border-left: 3px solid var(--red); padding-left: 16px; font-size: 15.5px; color: var(--ink-2); }
.kontakt-lista strong { display: block; font-family: var(--font-heading); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.kontakt-tel { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 3.2vw, 32px); color: var(--red); text-decoration: none; }
.mapa-wrap { position: relative; width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; aspect-ratio: 4/3; min-height: 280px; background: var(--cream-2); }
.mapa-wrap iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: 100%; border: 0; display: block; }

/* ---- FORMULARZ (granat + doodle) ---- */
.formularz-band { position: relative; overflow: hidden; background: var(--navy); padding: clamp(52px, 7vw, 92px) 0; }
.formularz-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.formularz-band::after { content: ""; position: absolute; inset: 0; background: rgba(14, 28, 64, .5); }
.formularz-band__in { position: relative; z-index: 1; }
.formularz-h2 { color: #fff; text-align: center; font-size: clamp(28px, 4.2vw, 44px); margin: 0 0 clamp(24px, 3.4vw, 38px); font-weight: 800; }
.kontakt-form { max-width: 620px; margin-inline: auto; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; box-sizing: border-box; padding: 13px 16px; font: inherit; color: #fff;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35); border-radius: 10px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,.6); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid #fff; outline-offset: 1px; }
.kontakt-form .btn { display: flex; margin: 18px auto 0; }
.form-note { font-size: 12.5px; color: rgba(255,255,255,.75); margin: 16px 0 0; line-height: 1.6; text-align: center; }

/* ---- STOPKA ---- */
.site-footer { background: #fff; color: var(--ink-2); padding: clamp(44px, 6vw, 70px) 0 28px; border-top: 1px solid #EFE6DA; }
.foot-name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 3.2vw, 32px); color: var(--navy); margin: 0 0 28px; line-height: 1.1; }
.foot-name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px;
  border-top: 1px solid #EFE6DA; padding-top: 26px; }
.foot-grid > * { min-width: 0; }
.foot-grid h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 10px;
  font-family: var(--font-body); font-weight: 700; }
.foot-grid p { margin: 0 0 8px; font-size: 14.5px; }
.foot-grid a { color: var(--navy); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-copy { margin: 26px 0 0; font-size: 12.5px; color: #8C93A5; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.mobile-cta .btn { width: 100%; }
@media (min-width: 861px) { .mobile-cta { display: none !important; } }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: .1s; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: .2s; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; } }
