/* ============ Fantozoo — wspólny arkusz stylów ============ */
:root {
  --navy: #0F4C81;
  --navy-dark: #0B3A63;
  --blue: #2E86C1;
  --sky: #EAF4FB;
  --orange: #FF7A2F;
  --ink: #1A2433;
  --muted: #5B6B7B;
  --white: #FFFFFF;
  --line: #E3E9EF;
  --shadow: 0 8px 24px rgba(15,76,129,0.08);
  --shadow-lg: 0 16px 44px rgba(15,76,129,0.12);
  --radius-card: 16px;
  --radius-btn: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--navy); line-height: 1.2; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px;
  padding: 14px 28px; border-radius: var(--radius-btn);
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--blue); }
.btn-outline:hover { background: var(--sky); }
.btn-ghost-light { background: #fff; color: var(--navy); }
.btn-ghost-light:hover { background: var(--sky); }
.btn .ic { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--blue);
  transition: gap .18s ease, color .18s ease;
}
.link-arrow:hover { gap: 10px; color: var(--navy); }

.ic { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 26px; color: var(--navy); letter-spacing: -0.01em;
  display: inline-flex; align-items: center;
}
.wordmark .dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.62em; height: 0.62em; border-radius: 50%;
  border: 3px solid var(--blue); margin: 0 0.02em;
  position: relative; top: 0.06em;
}
.wordmark.light { color: #fff; }
.wordmark.light .dot { border-color: #6FB4E6; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: 16px; transition: color .15s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy); }
.phone .ic { width: 18px; height: 18px; color: var(--blue); }
.phone:hover { color: var(--blue); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--navy); padding: 6px; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 24px; border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  background-color: #dbe8f3;
  background-image: repeating-linear-gradient(135deg, rgba(15,76,129,0.07) 0 14px, rgba(15,76,129,0.02) 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.ph span {
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; letter-spacing: 0.03em; color: rgba(15,76,129,0.62);
  background: rgba(255,255,255,0.72); padding: 6px 12px; border-radius: 7px; text-align: center;
}

/* ---------- Generic card ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 30px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); padding: 56px 0 60px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--line); }
.page-hero h1 { font-size: 44px; font-weight: 700; margin-bottom: 16px; text-wrap: balance; max-width: 760px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 640px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #fff; padding: 64px 0 28px; }
.footer-news {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card); padding: 28px 32px; margin-bottom: 52px;
}
.footer-news h3 { color: #fff; font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.footer-news p { color: #BBD4EA; font-size: 15px; }
.news-form { display: flex; gap: 10px; }
.news-form input {
  font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 13px 18px; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);
  color: #fff; min-width: 240px;
}
.news-form input::placeholder { color: #9FC0DC; }
.news-form input:focus { outline: none; border-color: #6FB4E6; background: rgba(255,255,255,0.16); }

.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand p { color: #BBD4EA; font-size: 15px; margin: 16px 0 22px; max-width: 280px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease;
}
.socials a:hover { background: var(--blue); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #BBD4EA; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { color: #9FC0DC; font-size: 13px; line-height: 1.6; }
.wiw-badge { display: inline-flex; align-items: center; gap: 7px; color: #BBD4EA; font-size: 13px; }
.wiw-badge .ic { width: 16px; height: 16px; color: #6FB4E6; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-right .phone, .nav-right .btn { display: none; }
  .hamburger { display: block; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-news { grid-template-columns: 1fr; }
  .news-form input { min-width: 0; flex: 1; }
}

@media (max-width: 600px) {
  section { padding: 48px 0; }
  .wrap { padding: 0 20px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 17px; }
  .section-head h2 { font-size: 26px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .news-form { flex-direction: column; align-items: stretch; }
  .news-form input { width: 100%; }
  .news-form .btn { width: 100%; justify-content: center; }
}
