/* ═══════════════════════════════════════════════════
   SUMA WSZYSTKIEGO – Global Stylesheet
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:    #0c1f3f;
  --blue:    #1a54d4;
  --blue2:   #2563eb;
  --blue-lt: #dbeafe;
  --gray:    #6b7280;
  --gray-lt: #f4f7fc;
  --border:  #e5e9f2;
  --white:   #ffffff;
  --text:    #1e2a3a;
}

body { font-family: 'Open Sans', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TOP BAR ── */
.topbar { background: #1b2535; color: rgba(255,255,255,.8); font-size: 12.5px; padding: 7px 0; }
.topbar .inner { max-width: 1180px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-left a, .topbar-right a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; font-family: 'Montserrat', sans-serif; font-weight: 500; transition: color .2s; }
.topbar-left a:hover, .topbar-right a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .tb-cta { background: var(--blue); color: #fff !important; padding: 4px 14px; border-radius: 4px; font-weight: 600; font-size: 12px; }

/* ── HEADER ── */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.header-inner { max-width: 1180px; margin: auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.logo-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; line-height: 1; color: var(--navy); letter-spacing: .5px; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 2px; }
nav a { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #374151; padding: 6px 11px; border-radius: 6px; transition: all .18s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--blue); background: var(--blue-lt); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 7px; font-family: 'Montserrat', sans-serif; font-weight: 700; border-radius: 8px; cursor: pointer; transition: all .2s; text-decoration: none; white-space: nowrap; border: none; }
.btn-blue { background: var(--blue); color: #fff; padding: 10px 20px; font-size: 13.5px; border: 2px solid var(--blue); }
.btn-blue:hover { background: #1244b8; border-color: #1244b8; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(26,84,212,.35); }
.btn-blue-lg { padding: 13px 28px; font-size: 15px; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid #c8d3e6; padding: 11px 24px; font-size: 15px; }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); padding: 13px 28px; font-size: 15px; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.9); }
.btn-white-solid { background: #fff; color: var(--blue); padding: 13px 28px; font-size: 15px; border: 2px solid #fff; }
.btn-white-solid:hover { box-shadow: 0 6px 20px rgba(0,0,0,.15); transform: translateY(-1px); }

/* ── LAYOUT ── */
.section { padding: 72px 0; }
.section.bg-gray { background: var(--gray-lt); }
.container { max-width: 1180px; margin: auto; padding: 0 24px; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #122a5e 60%, #1a3878 100%);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-52deg, transparent, transparent 36px, rgba(255,255,255,.025) 36px, rgba(255,255,255,.025) 38px);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; font-family: 'Montserrat', sans-serif; font-weight: 500; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(28px, 3.5vw, 46px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 em { font-style: normal; color: #60a5fa; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.75; max-width: 560px; }

/* ── SECTION HEADINGS ── */
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.sec-head h2 em { font-style: normal; color: var(--blue); }
.sec-head p { font-size: 15px; color: var(--gray); max-width: 520px; margin: auto; line-height: 1.7; }
.sec-underline { width: 48px; height: 3px; background: var(--blue); border-radius: 2px; margin: 14px auto 0; }
.sec-head.left { text-align: left; }
.sec-head.left .sec-underline { margin-left: 0; }

/* ── CTA BLOCK ── */
.cta-block { background: linear-gradient(120deg, var(--navy) 0%, #0e2a5e 55%, #153272 100%); border-radius: 20px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-48deg, transparent, transparent 36px, rgba(255,255,255,.03) 36px, rgba(255,255,255,.03) 38px); }
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-block p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #0f1c31; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ft-logo-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13.5px; color: #fff; line-height: 1; white-space: nowrap; }
.ft-logo-name span { color: #60a5fa; }
.ft-brand p { font-size: 13.5px; line-height: 1.75; margin-bottom: 22px; }
.ft-socials { display: flex; gap: 9px; }
.ft-soc { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px; color: rgba(255,255,255,.6); transition: all .2s; cursor: pointer; }
.ft-soc:hover { background: var(--blue); color: #fff; }
.ft-col h4 { font-family: 'Montserrat', sans-serif; font-size: 11.5px; font-weight: 800; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 10px; }
.ft-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.6); transition: color .18s; }
.ft-col ul li a:hover { color: #fff; }
.ft-contact-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; font-size: 13.5px; }
.ft-contact-row svg { flex-shrink: 0; margin-top: 3px; opacity: .6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-size: 12.5px; }
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .18s; }
.footer-bottom a:hover { color: #fff; }
.ft-bottom-links { display: flex; gap: 18px; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-block { padding: 40px 24px; }
  .section { padding: 52px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
