/* Young Explorers Club / Klub Młodego Odkrywcy, creche & preschool, Blanchardstown - styles.css
   Based on the Little Ladybird build, re-skinned to the approved YEC mockup.
   One file for yec.ie and polskieprzedszkole.ie: keep both copies identical.
   The block between critical:start and critical:end is also inlined in index.html <head>.
   If you edit it here, copy it there too (see README, "Critical CSS"). */

/* critical:start */
@font-face {
  font-family: "Dosis";
  src: url("../fonts/dosis-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Polish letters (ą ć ę ł ń ś ź ż and capitals) live in small extra files. The browser fetches them only
   when a page uses one of these characters, so yec.ie never downloads them. */
@font-face {
  font-family: "Dosis";
  src: url("../fonts/dosis-latin-ext.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
/* Metric-adjusted fallbacks keep layout shift low while the web fonts swap in */
@font-face { font-family: "Dosis Fallback"; src: local("Arial Narrow"), local("Arial"); size-adjust: 92%; ascent-override: 108%; descent-override: 30%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 100%; descent-override: 35%; }

:root {
  --orange:      #F15F25;  /* CTAs, eyebrow marks, large accents (text only at 24px+ bold) */
  --orange-dark: #D24C16;  /* hover */
  --yellow:      #F9B001;  /* hero blob, bullets, tiles */
  --sky:         #FFE39F;  /* hero and closing card */
  --sky-deep:    #FFD46E;
  --cream:       #F3F1EC;  /* alternating sections */
  --cream-dark:  #E4E0D6;  /* borders */
  --ink:         #343434;  /* text, footer, calculator */
  --ink-soft:    #5B5852;  /* secondary text */
  --muted:       #8A8578;  /* decorative only: fails AA as small text on light grounds */
  --white:       #FFFFFF;
  --green:       #1F9D55;
  --blue:        #1F4FD8;
  --red:         #E22B2B;

  --bg: var(--white); --surface: var(--cream); --card: var(--white);
  --text: var(--ink); --text-2: var(--ink-soft); --line: var(--cream-dark);

  --ok-bg: #DDF1E3;   --ok-ink: #14532D;
  --soon-bg: #FCEBC9; --soon-ink: #6B4200;
  --past-bg: #FBD9DB; --past-ink: #7A0209;

  --font-head: "Dosis", "Dosis Fallback", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Nunito Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --max: 1160px;
  --gutter: 20px;
  --head: 64px;
  --radius: 22px;
  --shadow: 0 6px 18px rgba(0, 0, 0, .05);
  --section-y: 60px;
}
@media (min-width: 721px) { :root { --section-y: 88px; } }
@media (min-width: 960px) { :root { --head: 76px; } }

/* Dark mode (from the mockup): only the page grounds and text swap */
@media (prefers-color-scheme: dark) {
  :root { --bg: #1B1A17; --surface: #24221E; --card: #2C2924; --text: #F3EFE6; --text-2: #CFC8BA; --line: #3B3730; --muted: #A39D8E; --sky: #3A2E10; --sky-deep: #4A3A12; --cream: #24221E; --cream-dark: #3B3730; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
@media (min-width: 721px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
section[id], [id].anchor-alias { scroll-margin-top: var(--head); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(38px, 4.6vw + 20px, 66px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 2.2vw + 22px, 46px); }
h3 { font-size: clamp(21px, .4vw + 19px, 24px); }
h4 { font-size: 18px; }
/* Accent words use --orange-dark: plain orange fails 3:1 even for large text on --sky and --cream */
.hl { color: var(--orange-dark); }
.lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 62ch; }
@media (min-width: 721px) { .lead { font-size: 19px; } }
.measure { max-width: 66ch; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Owner placeholders (none left on the pages; kept for future use) */
.owner { background: #FFF7D6; border: 1px dashed var(--orange-dark); color: #343434; border-radius: 6px; padding: 0 6px; font-family: var(--font-body); font-size: .88em; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: normal; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); transform: translateY(-4px); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; }
.ico { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sky); color: var(--ink); }
.ico .icon { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) { :root .ico { color: var(--text); } }

/* ---------- Buttons ----------
   19px bold counts as large text, so white on --orange (3.3:1) passes WCAG AA. Keep it at 19px or more. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.1; text-decoration: none; border: 2px solid transparent; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--orange); color: #FFFFFF; }
.btn--primary:hover { background: var(--orange-dark); color: #FFFFFF; }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn--secondary:hover { background: var(--text); color: var(--bg); }
.btn--sm { min-height: 44px; padding: 0 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .btn--primary:hover { transform: translateY(-1px); }
  .btn .icon-arrow { transition: transform .2s; }
  .btn:hover .icon-arrow { transform: translateX(3px); }
}

/* ---------- Logo (placeholder wordmark until the vector arrives) ---------- */
.logo { display: flex; align-items: center; gap: 10px; flex: none; margin-right: auto; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: .95; text-decoration: none; }
.logo__word { display: grid; }
.logo .w1 { color: var(--red); } .logo .w2 { color: var(--blue); } .logo .w3 { color: var(--green); }
.logo--light .w1 { color: #FF8A8A; } .logo--light .w2 { color: #9DB8FF; } .logo--light .w3 { color: #7EDC9A; }
@media (prefers-color-scheme: dark) { :root .header .w1 { color: #FF8A8A; } :root .header .w2 { color: #9DB8FF; } :root .header .w3 { color: #7EDC9A; } }
/* Klub Młodego Odkrywcy wordmark: Klub blue, Młodego green, Odkrywcy red (sampled from the live logo) */
.logo--kmo .w1 { color: #0030F0; } .logo--kmo .w2 { color: #009030; } .logo--kmo .w3 { color: #F00000; }
.logo--kmo.logo--light .w1 { color: #9DB2FF; } .logo--kmo.logo--light .w2 { color: #6FD48A; } .logo--kmo.logo--light .w3 { color: #FF8A8A; }
@media (prefers-color-scheme: dark) { :root .header .logo--kmo .w1 { color: #9DB2FF; } :root .header .logo--kmo .w2 { color: #6FD48A; } :root .header .logo--kmo .w3 { color: #FF8A8A; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* Blur only on desktop: backdrop-filter makes the header the containing block for the fixed mobile menu */
@media (min-width: 960px) { @supports (backdrop-filter: blur(10px)) { .header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); } } }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.header__inner { height: var(--head); display: flex; align-items: center; gap: 12px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 17px; text-decoration: none; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); background: var(--surface); }
.header__phone { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.header__phone .icon { width: 18px; height: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; padding: 0; }
.icon-btn:hover { background: var(--surface); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
@media (max-width: 380px) { .logo { font-size: 18px; } .header__cta { padding: 0 14px; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1100px) { .header__phone { display: inline-flex; } }

.mobile-menu { position: fixed; inset: var(--head) 0 0 0; z-index: 49; background: var(--bg); padding: 12px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line); }
.mobile-menu ul { list-style: none; display: grid; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 22px; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sky); color: var(--ink); }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 40px 120px; }
@media (min-width: 861px) { .hero__grid { grid-template-columns: 1.05fr .95fr; padding-block: 56px 130px; } }
.hero h1, .hero .lead { color: var(--text); }
.hero .eyebrow { color: var(--text); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 26px; }
.hero__art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1.05; }
.blob { position: absolute; inset: 0; overflow: hidden; background: var(--yellow); border-radius: 58% 42% 45% 55% / 52% 48% 52% 48%; }
.blob picture, .blob img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: 0; bottom: 18px; display: flex; align-items: center; gap: 10px; margin: 0; max-width: calc(100% - 16px); padding: 12px 16px; border-radius: 16px; background: var(--card); color: var(--text); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; }
@media (min-width: 861px) { .hero__badge { left: -12px; bottom: 26px; } }
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.sun { position: absolute; right: 6%; top: 24px; width: 70px; height: 70px; border-radius: 50%; background: var(--orange); opacity: .9; box-shadow: 0 0 0 14px rgba(241, 95, 37, .15); }
/* On mobile the sun sits on the photo's top-right corner so it never covers the text */
@media (max-width: 860px) {
  .sun { display: none; }
  .hero__art::after { content: ""; position: absolute; right: 2%; top: 2%; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 10px rgba(241, 95, 37, .15); }
}
.squiggle { position: absolute; left: 3%; top: 18%; width: 60px; color: var(--orange); opacity: .5; pointer-events: none; }
@media (max-width: 1240px) { .squiggle { display: none; } }
.clouds { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 90px; }
.clouds path { fill: var(--bg); }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -58px; }
.trust ul { list-style: none; display: grid; gap: 14px; }
@media (min-width: 461px) { .trust ul { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 861px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
/* critical:end */

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--surface); }
.trust + .section { padding-top: calc(var(--section-y) - 8px); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }
.grid { display: grid; gap: 22px; }
@media (min-width: 861px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-prog { display: grid; gap: 22px; }
@media (min-width: 601px) { .grid-prog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .grid-prog { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card--cream { background: var(--surface); box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card > .ico { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; }
.card > .ico .icon { width: 26px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .card--lift { transition: transform .2s, box-shadow .2s; }
  .card--lift:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
}
.chip { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.3; padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

/* Yellow check bullets */
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 1em; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343434' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3 3 7-7'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 48px; }
@media (min-width: 861px) { .about__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.quote { position: relative; overflow: hidden; margin: 0; padding: 32px; border-radius: var(--radius); background: #343434; color: #F3EFE6; }
.quote::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--yellow); opacity: .25; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1.3; }
.quote figcaption { position: relative; margin-top: 14px; color: #CFC8BA; font-size: 15px; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.fact { padding: 16px 18px; border-radius: 16px; background: var(--surface); }
.fact b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 28px; line-height: 1; color: var(--orange-dark); }
.fact span { display: block; font-size: 14px; line-height: 1.45; color: var(--text-2); }

/* ---------- Rooms ---------- */
.room { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.room__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--sky-deep); }
.room__photo picture, .room__photo img { width: 100%; height: 100%; object-fit: cover; }
.room__photo--wobblers img { object-position: 62% 50%; }
.room__photo--toddlers img { object-position: 40% 50%; }
/* Dark text on orange: white would fail contrast at this size */
.room__age { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #1A1A1A; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; }
.room__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px 26px 26px; }
.room__body h3 { margin: 0; }
.room__body h3 .chip { margin-left: 6px; vertical-align: middle; }
.room__body > p { flex: 1; margin: 0; }
.timeline-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--font-head); font-weight: 700; font-size: 17px; text-align: left; }
.timeline-toggle:hover { border-color: var(--text); }
.timeline-toggle .icon, .faq__q .icon { width: 20px; height: 20px; transition: transform .2s; }
[aria-expanded="true"] > .icon-chevron { transform: rotate(180deg); }
.timeline { list-style: none; display: grid; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.45; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-family: var(--font-head); font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- Our day ---------- */
.programme { display: flex; flex-direction: column; gap: 10px; }
.programme h3, .programme p { margin: 0; }
.programme__tag { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.programme__tag::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: 2px; }
.programme__promise { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--text); }
.programme p:last-child { color: var(--text-2); }
.journal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 28px; }
.journal p { max-width: 60ch; margin: 0; }

/* ---------- Fees ---------- */
.scheme h3 { margin-bottom: 14px; }
.scheme dl { display: grid; gap: 10px; margin: 0; font-size: 15.5px; }
.scheme dl div { display: grid; gap: 2px; }
@media (min-width: 461px) { .scheme dl div { grid-template-columns: 88px 1fr; gap: 10px; } }
.scheme dt { font-family: var(--font-head); font-weight: 700; color: var(--text); }
.scheme dd { margin: 0; color: var(--text-2); }
.scheme a { font-weight: 700; color: var(--text); }
/* Longer Polish labels (Powszechna, Sponsorowane) need a wider label column */
@media (min-width: 461px) { .scheme--wide dl div { grid-template-columns: 112px 1fr; } }
.rates-note { margin: 18px 0 0; font-size: 14px; color: var(--text-2); text-align: center; }

.calc { margin-top: 40px; display: grid; overflow: hidden; border-radius: var(--radius); background: #343434; color: #F3EFE6; }
@media (min-width: 861px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc :focus-visible { outline-color: #FFFFFF; }
.calc__in { display: grid; gap: 18px; align-content: start; padding: 28px 22px; }
.calc__out { display: grid; gap: 14px; align-content: start; padding: 28px 22px; background: #26241F; }
@media (min-width: 721px) { .calc__in, .calc__out { padding: 34px; } }
.calc h3 { margin: 0; color: #FFFFFF; font-size: clamp(26px, 1.4vw + 18px, 32px); }
.calc__intro { margin: -8px 0 0; color: #CFC8BA; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.field input[type="date"], .field input[type="number"] { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid #6B665C; background: #26241F; color: #FFFFFF; font-size: 18px; font-variant-numeric: tabular-nums; color-scheme: dark; }
.field input:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; border-color: #FFFFFF; }
.field input:disabled { opacity: .55; }
.help { font-size: 14px; line-height: 1.5; color: #CFC8BA; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: #CFC8BA; }
.money-input input { padding-left: 32px !important; }
/* Polish number format puts € after the amount */
.money-input--after span { left: auto; right: 14px; }
.money-input--after input { padding-left: 14px !important; padding-right: 34px !important; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 15.5px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.calc__error { min-height: 1em; margin: -6px 0 0; color: #FFB3B8; font-weight: 700; font-size: 15px; }
.calc__error:empty { display: none; }

.status { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.35; }
.status::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; background: currentColor; }
.status--ok { background: var(--ok-bg); color: var(--ok-ink); }
.status--soon { background: var(--soon-bg); color: var(--soon-ink); }
.status--past { background: var(--past-bg); color: var(--past-ink); }
.status small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; }
.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.breakdown th, .breakdown td { padding: 9px 0; border-bottom: 1px dashed #5A554C; vertical-align: top; color: #E6E0D2; }
.breakdown th { text-align: left; font-weight: 600; padding-right: 12px; }
.breakdown th small { display: block; font-weight: 400; font-size: 13.5px; color: #CFC8BA; }
.breakdown td { text-align: right; font-weight: 700; white-space: nowrap; }
.breakdown tfoot th, .breakdown tfoot td { border-bottom: 0; padding-top: 14px; font-family: var(--font-head); font-weight: 700; color: #FFFFFF; }
.breakdown tfoot th { font-size: 22px; vertical-align: middle; }
.breakdown tfoot td { font-size: 38px; line-height: 1; color: var(--yellow); }
.result__future { margin: 0; padding: 10px 14px; border-radius: 12px; background: #34312A; color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.result__note { margin: 0; font-size: 14px; color: #CFC8BA; }
.calc__out .btn { justify-self: start; white-space: normal; text-align: center; }

.faq { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 961px) { .faq { grid-template-columns: .75fr 1.25fr; gap: 56px; } }
.faq__head h3 { font-size: clamp(26px, 1.4vw + 18px, 34px); }
.faq__head p { color: var(--text-2); }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq__item h4 { margin: 0; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; padding: 14px 20px; background: none; border: 0; border-radius: 16px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--text); }
.faq__a { padding: 0 20px 18px; color: var(--text-2); }
.faq__a p { margin: 0; }
.tel-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; white-space: nowrap; }

/* ---------- Parents / Famly ---------- */
.parents__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 861px) { .parents__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.phone { width: min(292px, 100%); margin: 0 auto; }
.phone__screen { overflow: hidden; border: 6px solid #343434; border-radius: 34px; background: #343434; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); aspect-ratio: 402 / 874; }
.phone__screen picture, .phone__screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-2); }
.steps { list-style: none; display: grid; gap: 18px; margin-top: 48px; counter-reset: step; }
@media (min-width: 461px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 861px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 22px; border-radius: 18px; background: var(--surface); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; background: var(--orange); color: #1A1A1A; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 44px; }
@media (min-width: 861px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: 20px; margin-bottom: 24px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; }
.contact-list h3 { margin: 6px 0 2px; font-size: 18px; }
.contact-list p { margin: 0; }
.contact-list a { font-weight: 700; }
.contact-list .sub { display: block; margin-top: 2px; font-size: 15px; color: var(--text-2); }

.map { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-align: center; }
.map__roads { position: absolute; inset: 0; opacity: .6; background:
  linear-gradient(90deg, transparent 48%, var(--line) 48%, var(--line) 52%, transparent 52%),
  linear-gradient(0deg, transparent 30%, var(--line) 30%, var(--line) 34%, transparent 34%),
  linear-gradient(35deg, transparent 60%, var(--line) 60%, var(--line) 63%, transparent 63%); }
.map__pin { position: relative; display: grid; gap: 10px; justify-items: center; max-width: 320px; padding: 20px; border-radius: 16px; background: var(--card); box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.map__pin b { font-family: var(--font-head); font-size: 19px; }
.map__pin p { margin: 0; font-size: 15px; color: var(--text-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { margin-top: 14px; }

.closing { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; margin-top: 60px; padding: 32px; border-radius: 28px; background: var(--sky); }
@media (min-width: 861px) { .closing { grid-template-columns: 1.3fr auto; gap: 28px; padding: 48px; } }
.closing::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--yellow); opacity: .5; }
.closing > * { position: relative; z-index: 1; }
.closing h2 { font-size: clamp(26px, 1.4vw + 20px, 36px); margin-bottom: 10px; }
.closing p { margin: 0; color: var(--text); }
.closing .btn { white-space: normal; text-align: center; }

/* ---------- Partners ---------- */
.partners-strip { padding-block: 44px; }
.label-caps { margin: 0 0 22px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.partners { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.partners img { height: 44px; width: auto; opacity: .75; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.partners img:hover { opacity: 1; filter: none; }
@media (prefers-color-scheme: dark) { :root .partners img { filter: grayscale(1) invert(1); } }

/* ---------- Footer ---------- */
.footer { background: #343434; color: #CFC8BA; padding-block: 56px 28px; font-size: 15.5px; }
.footer a { color: #FFFFFF; text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer :focus-visible { outline-color: #FFFFFF; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 461px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 861px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer .logo { margin-bottom: 16px; }
.footer h2 { margin-bottom: 12px; font-size: 17px; color: #FFFFFF; }
.footer ul { list-style: none; display: grid; gap: 2px; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer__note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.footer__note a { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #4A463F; font-size: 14px; color: #CFC8BA; }
.footer__bottom p { margin: 0; }

/* ---------- Sticky mobile action bar (under 720px, after the hero) ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0, 0, 0, .06); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.action-bar.is-visible { transform: none; visibility: visible; }
.action-bar .btn { min-height: 48px; padding: 0 14px; }
@media (min-width: 721px) { .action-bar { display: none; } }
@media (max-width: 720px) { .footer { padding-bottom: 96px; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 3vw + 18px, 50px); }
.legal h2 { font-size: clamp(24px, 1.2vw + 18px, 30px); margin-top: 1.6em; }
.legal h3 { font-size: 20px; margin-top: 1.4em; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal .toc { margin: 28px 0; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.legal .toc__title { margin-top: 0; font-size: 18px; }
.legal .toc ul { margin: 0; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .header, .action-bar, .mobile-menu, .map, .calc, .sun, .clouds { display: none !important; }
}
