/* ===== Misiowa Akademia v2 - playful & illustrated ===== */

:root {
  --bg: #FBFAF6;
  --bg-cream: #FDF6E8;
  --bg-sky: #E9F4FA;
  --paper: #ffffff;

  --ink: #2D3142;
  --ink-2: #555A6E;
  --ink-3: #8A8FA3;

  --line: #EBE7DD;
  --line-2: #DDD7C7;

  /* playful palette */
  --mint: #6FBA8C;
  --mint-deep: #4FA672;
  --terracotta: #E07A52;
  --terracotta-deep: #C5613D;
  --lilac: #B583C8;
  --lilac-deep: #9762AC;
  --sky: #6FB2D6;
  --sky-deep: #4F90BB;
  --sunshine: #F4C84F;
  --sunshine-deep: #DDA92D;
  --coral: #E8826F;

  --display: "Baloo 2", "Quicksand", system-ui, sans-serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 42px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(50, 40, 30, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(50, 40, 30, 0.16);
  --shadow-lg: 0 30px 60px -20px rgba(50, 40, 30, 0.24);

  --maxw: 1480px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sunshine); color: var(--ink); }

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
  line-height: 1.1;
}
h1 { font-size: clamp(40px, 6.5vw, 84px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; }
h4 { font-size: 19px; font-weight: 700; }

p { margin: 0 0 1em 0; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  background: color-mix(in oklch, var(--terracotta) 18%, var(--bg));
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.eyebrow.mint { color: var(--mint-deep); background: color-mix(in oklch, var(--mint) 18%, var(--bg)); }
.eyebrow.lilac { color: var(--lilac-deep); background: color-mix(in oklch, var(--lilac) 22%, var(--bg)); }
.eyebrow.sky { color: var(--sky-deep); background: color-mix(in oklch, var(--sky) 22%, var(--bg)); }
.eyebrow.sun { color: var(--sunshine-deep); background: color-mix(in oklch, var(--sunshine) 28%, var(--bg)); }

.eyebrow .e-dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
}

/* ===== Layout ===== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

section { padding: clamp(72px, 8vw, 120px) 0; position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { align-self: flex-start; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 6px 0 0 var(--terracotta-deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 0 var(--terracotta-deep); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--terracotta-deep); }

.btn-secondary {
  background: var(--mint);
  color: var(--paper);
  box-shadow: 0 6px 0 0 var(--mint-deep);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 0 var(--mint-deep); }
.btn-secondary:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--mint-deep); }

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn .arrow { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  transition: box-shadow 0.2s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--pad);
  min-height: 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.brand.brand-logo {
  gap: 14px;
  align-items: center;
}
.brand.brand-logo img {
  filter: drop-shadow(0 2px 6px rgba(50, 40, 30, 0.08));
}
.brand-logo .brand-img {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .brand-logo .brand-img {
    height: 44px;
  }
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--terracotta);
  display: grid; place-items: center;
  box-shadow: 0 4px 0 0 var(--terracotta-deep);
  position: relative;
  overflow: hidden;
}
.brand-mark svg { width: 28px; height: 28px; display: block; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--paper); color: var(--ink); }
.nav-links a.active { background: var(--bg-cream); color: var(--terracotta-deep); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-phone .ph-icon {
  width: 30px; height: 30px;
  background: var(--bg-cream);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--terracotta-deep);
}

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-burger span { position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100;
  padding: 24px var(--pad);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu-close { width: 44px; height: 44px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; font-size: 22px; cursor: pointer; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}


/* ===== Hero ===== */
.hero {
  padding-top: 32px;
  padding-bottom: 0;
}
.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #DCEBF4 0%, #F2F0DC 70%, #C7E5C2 100%);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 6vw, 72px) clamp(28px, 5vw, 72px);
  color: var(--ink);
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--mint-deep);
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--mint-deep); border-radius: 50%; box-shadow: 0 0 0 4px rgba(79, 166, 114, 0.25); }

.hero h1 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--terracotta-deep); }
.hero h1 .accent-mint { color: var(--mint-deep); }
.hero h1 .wavy {
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  color: var(--ink);
  font-size: clamp(17px, 1.5vw, 19px);
}

.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-aside {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}
.hero-aside-title {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat .n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  color: var(--terracotta-deep);
  line-height: 1;
}
.hero-stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* feature pills under hero */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; margin-top: 24px; }
}

.feature {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid color-mix(in oklch, var(--line) 60%, transparent);
  transition: transform 0.2s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature .ic {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature .ic.mint { background: color-mix(in oklch, var(--mint) 22%, white); color: var(--mint-deep); }
.feature .ic.terra { background: color-mix(in oklch, var(--terracotta) 20%, white); color: var(--terracotta-deep); }
.feature .ic.lilac { background: color-mix(in oklch, var(--lilac) 25%, white); color: var(--lilac-deep); }
.feature .ic.sky { background: color-mix(in oklch, var(--sky) 25%, white); color: var(--sky-deep); }
.feature .ic.sun { background: color-mix(in oklch, var(--sunshine) 35%, white); color: var(--sunshine-deep); }
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-illustration {
  position: relative;
  aspect-ratio: 4/4;
  border-radius: var(--r-xl);
  overflow: visible;
  background: linear-gradient(135deg, color-mix(in oklch, var(--sky) 30%, white) 0%, color-mix(in oklch, var(--mint) 30%, white) 100%);
}
.about-illustration-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.about-illustration-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-sticker {
  position: absolute;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--display);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}
.about-sticker.s1 { top: 20px; left: 20px; }
.about-sticker.s2 { bottom: 20px; right: 20px; }
.about-sticker .ic-circle { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }

.about-list { list-style: none; padding: 0; margin: 28px 0 0 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  font-size: 15.5px;
  color: var(--ink-2);
  align-items: start;
}
.about-list .check {
  width: 28px; height: 28px;
  background: color-mix(in oklch, var(--mint) 25%, white);
  color: var(--mint-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.about-list b { color: var(--ink); font-weight: 600; }

/* ===== Groups (colored tiles like reference) ===== */
.groups { background: var(--bg-cream); }
.group-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .group-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .group-tiles { grid-template-columns: 1fr; } }

.group-tile {
  border-radius: var(--r-lg);
  padding: 28px;
  color: white;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.group-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.group-tile.mint { background: linear-gradient(160deg, var(--mint) 0%, var(--mint-deep) 100%); }
.group-tile.terra { background: linear-gradient(160deg, var(--terracotta) 0%, var(--terracotta-deep) 100%); }
.group-tile.lilac { background: linear-gradient(160deg, var(--lilac) 0%, var(--lilac-deep) 100%); }
.group-tile.sky { background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%); }

.group-tile .blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  filter: blur(2px);
}
.group-tile .blob.b1 { width: 160px; height: 160px; top: -50px; right: -40px; }
.group-tile .blob.b2 { width: 90px; height: 90px; bottom: 40px; left: -30px; }

.group-tile .tile-emblem {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.22);
  border-radius: 18px;
  display: grid; place-items: center;
  position: relative;
  z-index: 1;
}
.group-tile .tile-age {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.group-tile h3 {
  color: white;
  font-weight: 600;
  font-size: 32px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.group-tile p {
  font-size: 14.5px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.group-tile .tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.4) 0 8px, transparent 8px 18px);
  position: relative;
  overflow: hidden;
}
.news-img.mint { background-color: color-mix(in oklch, var(--mint) 35%, white); }
.news-img.terra { background-color: color-mix(in oklch, var(--terracotta) 35%, white); }
.news-img.lilac { background-color: color-mix(in oklch, var(--lilac) 35%, white); }
.news-img.sky { background-color: color-mix(in oklch, var(--sky) 35%, white); }
.news-img.sun { background-color: color-mix(in oklch, var(--sunshine) 45%, white); }
.news-img-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink-2);
}
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px;
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink-3);
}
.news-meta .pill {
  padding: 4px 10px;
  background: var(--bg-cream);
  color: var(--terracotta-deep);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-body h4 { font-size: 21px; font-weight: 500; line-height: 1.25; }
.news-body p { font-size: 14.5px; color: var(--ink-2); }
.news-more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--terracotta-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Countdown ===== */
.countdown {
  background: linear-gradient(135deg, var(--sky) 0%, var(--mint) 100%);
  color: white;
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.countdown::before, .countdown::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.countdown::before { width: 240px; height: 240px; top: -80px; left: -60px; }
.countdown::after { width: 180px; height: 180px; bottom: -60px; right: 8%; }

.countdown-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .countdown-inner { grid-template-columns: 1fr; text-align: center; } }

.countdown h2 { color: white; font-weight: 600; }
.countdown p { color: rgba(255,255,255,0.92); font-size: 17px; }

.countdown-digits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cd-cell {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 18px 8px;
  text-align: center;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.cd-cell .cd-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.cd-cell .cd-l {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}

/* ===== Schedule ===== */
.schedule { background: var(--bg-cream); }
.schedule-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.day-tabs {
  display: inline-flex;
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 6px;
  gap: 4px;
  border: 1.5px solid var(--line);
}
.day-tab {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.day-tab.active { background: var(--terracotta); color: white; box-shadow: 0 3px 0 var(--terracotta-deep); }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .schedule-grid { grid-template-columns: 1fr; } }

.sched-row {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: start;
  border: 1.5px solid var(--line);
}
.sched-row .time {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--terracotta-deep);
  background: color-mix(in oklch, var(--terracotta) 12%, white);
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
}
.sched-row h5 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); }
.sched-row p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-2);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%238A8FA3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 0;
  border-color: var(--terracotta);
  background: white;
}
.contact-form textarea { min-height: 110px; resize: vertical; font-family: var(--sans); }
.form-success {
  background: color-mix(in oklch, var(--mint) 22%, white);
  color: var(--mint-deep);
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1.5px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.contact-info-card .ic-big {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
}
.contact-info-card h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px 0;
}
.contact-info-card p { font-size: 15.5px; color: var(--ink); }
.contact-info-card a { color: inherit; }
.contact-info-card a:hover { color: var(--terracotta-deep); }

.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: var(--bg-sky);
}
.map svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  left: 52%; top: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pin-pulse {
  position: absolute;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.4;
  animation: pinPulse 1.8s ease-out infinite;
  bottom: 0;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}
.pin-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1;
}
.pin-label {
  background: white;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h5 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sunshine);
  margin: 0 0 16px 0;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
footer a:hover { color: white; }
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: white;
}
.footer-tag { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 320px; line-height: 1.5; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background 0.15s;
}
.footer-socials a:hover { background: var(--terracotta); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  font-family: var(--display);
  font-weight: 400;
}

.muted { color: var(--ink-2); }


/* ===== Section title - variants ===== */

/* Ensure all t-* labels hug their content even when used inside a flex-column .section-head */
.t-star, .t-num, .t-diamond, .t-squiggle, .t-bar, .t-script, .t-ticker {
  align-self: flex-start;
  max-width: max-content;
}

/* A. Star badge (hero) - bouncy pill with icon */
.t-star {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  background: white;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  color: var(--terracotta-deep);
  box-shadow: 0 4px 0 rgba(0,0,0,0.08);
  letter-spacing: 0.01em;
}
.t-star .t-star-ic {
  width: 24px; height: 24px;
  background: var(--sunshine);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
}
.t-star .t-star-ic svg { width: 14px; height: 14px; }

/* B. Numbered with rule (about) - "01 ──── INFORMACJE" */
.t-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.t-num b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--terracotta-deep);
  letter-spacing: 0;
}
.t-num .rule { width: 48px; height: 1.5px; background: var(--line-2); border-radius: 1px; }

/* C. Diamond outline (groups) - ◇ outlined chip */
.t-diamond {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 14px;
  border: 1.5px dashed var(--lilac);
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--lilac-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: color-mix(in oklch, var(--lilac) 8%, var(--bg-cream));
}
.t-diamond::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--lilac);
  transform: rotate(45deg);
}

/* D. Squiggle underline - unified label style across sections */
.t-squiggle {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--mint-deep);
  padding-bottom: 12px;
  letter-spacing: 0.04em;
  position: relative;
}
.t-squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'><path d='M0 4 Q 10 0 20 4 T 40 4 T 60 4 T 80 4' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") repeat-x;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'><path d='M0 4 Q 10 0 20 4 T 40 4 T 60 4 T 80 4' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") repeat-x;
  -webkit-mask-size: 60px 8px;
          mask-size: 60px 8px;
}
.t-squiggle.terra { color: var(--terracotta-deep); }
.t-squiggle.lilac { color: var(--lilac-deep); }
.t-squiggle.sky   { color: var(--sky-deep); }
.t-squiggle.sun   { color: var(--sunshine-deep); }
.t-squiggle.mint  { color: var(--mint-deep); }
.t-squiggle.white { color: white; }

/* E. Vertical bar (news) - | tracked text with arrow tail */
.t-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.t-bar::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--sky-deep);
  border-radius: 4px;
}
.t-bar::after {
  content: "↘";
  font-weight: 600;
  font-size: 14px;
  color: var(--sky-deep);
  margin-left: 4px;
}

/* F. Handwritten italic (contact) - relaxed, friendly */
.t-script {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Baloo 2", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--terracotta-deep);
  position: relative;
}
.t-script::before {
  content: "✎";
  font-style: normal;
  font-size: 18px;
  color: var(--sunshine-deep);
}

/* G. Pulse ticker (countdown) - for use on colored bg */
.t-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}
.t-ticker .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sunshine);
  box-shadow: 0 0 0 0 rgba(244, 200, 79, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 200, 79, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(244, 200, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 200, 79, 0); }
}

/* tweak hero-eyebrow → use t-star look (replace pill style) */
