@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input { font: inherit; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; }
  img { max-width: 100%; height: auto; }
  summary { cursor: pointer; }
}

@layer base {
  :root {
    --navy: #101827;
    --navy-light: #162133;
    --blue: #2563eb;
    --blue-light: #5795ff;
    --focus-color: #2563eb;
    --ink: #111827;
    --muted: #526174;
    --pale: #f1f5f9;
    --line: #dce3ec;
    --white: #f8fafc;
    color: var(--ink);
    background: var(--navy);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
  }
  body { min-width: 320px; font-size: 16px; line-height: 1.65; }
  ::selection { color: #fff; background: #2456bb; }
  :focus-visible { outline: 3px solid var(--focus-color); outline-offset: 5px; border-radius: 2px; }
  h1, h2, h3 { line-height: 1.15; font-weight: 600; }
  h2 { font-size: clamp(32px, 3.3vw, 44px); letter-spacing: -.045em; }
  h3 { font-size: 21px; letter-spacing: -.025em; }
  a, summary { -webkit-tap-highlight-color: transparent; }
  .text-blue { color: var(--blue-light); }
  .skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 20px; color: #fff; background: var(--blue); transform: translateY(-160%); }
  .skip-link:focus { transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
}

@layer layout {
  .container, .hero-highlights { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
  .section { padding: 80px 0; }
  .section-intro { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 36px; }
  .section-intro > * { min-width: 0; }
  .intro-description { max-width: 355px; color: var(--muted); font-size: 15px; line-height: 1.85; padding-bottom: 4px; }
  .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 1.4; letter-spacing: .16em; font-weight: 650; margin-bottom: 23px; }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
}

@layer components {
  .site-header, .hero, .contact-section, .site-footer { --focus-color: #5795ff; }
  .site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid #ffffff12; position: sticky; top: 0; z-index: 30; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 86px; }
  .brand { display: inline-flex; flex-direction: column; flex-shrink: 0; line-height: 1; width: fit-content; }
  .brand-word { display: flex; align-items: baseline; font-size: 29px; font-weight: 800; letter-spacing: -.07em; }
  .brand-word > span { color: var(--blue-light); }
  .brand-word i { display: block; width: 4px; height: 4px; margin-left: 4px; background: var(--blue-light); }
  .brand-tagline { margin-top: 8px; font-size: 7px; letter-spacing: .28em; text-transform: uppercase; color: #b4c0d0; }
  .desktop-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 22px; }
  .desktop-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #c2cbd8; transition: color .18s; }
  .desktop-nav a:hover { color: #fff; }
  .header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; border: 1px solid #ffffff2c; border-radius: 4px; padding: 10px 18px; font-size: 14px; white-space: nowrap; transition: background .18s, border-color .18s; }
  .header-cta:hover { background: #ffffff09; border-color: #7d9dcd; }
  .mobile-menu { display: none; }
  .hero { color: var(--white); background: var(--navy); position: relative; overflow: clip; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 10px; align-items: center; padding-top: 66px; padding-bottom: 66px; }
  .hero-copy { position: relative; z-index: 1; min-width: 0; }
  .hero-eyebrow { color: #aebdd2; font-size: 10px; margin-bottom: 26px; letter-spacing: .18em; }
  .eyebrow-mark { width: 7px; height: 7px; background: var(--blue); box-shadow: 0 0 0 4px #2563eb1c; }
  h1 { font-size: clamp(50px, 5.6vw, 78px); font-weight: 620; line-height: 1.04; letter-spacing: -.055em; }
  .hero-title-accent { display: block; }
  .hero-description { max-width: 440px; font-size: 16px; line-height: 1.75; color: #b1bfd0; margin-top: 24px; margin-bottom: 30px; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 12px 21px; font-size: 15px; font-weight: 600; border-radius: 4px; border: 1px solid transparent; transition: background .18s, border-color .18s, transform .18s; }
  .button-primary { background: var(--blue); color: #fff; }
  .button-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
  .button-secondary { border-color: #ffffff3d; color: #fff; }
  .button-secondary:hover { background: #ffffff0a; border-color: #91a3bd; }
  .button-text { color: #dce4ee; padding-inline: 10px; gap: 9px; }
  .button-text:hover { color: var(--blue-light); }
  .hero-visual { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; }
  .hero-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, #2563eb0f, transparent 65%); pointer-events: none; }
  .hero-visual img { width: 115%; max-width: none; margin-left: -4%; position: relative; }
  .hero-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin-block: 0; padding: 22px 0; border-top: 1px solid #ffffff1c; color: var(--white); }
  .hero-highlights li { min-width: 0; padding-inline: 24px; }
  .hero-highlights li:first-child { padding-left: 0; }
  .hero-highlights li + li { border-left: 1px solid #ffffff1c; }
  .hero-highlights strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
  .hero-highlights span { display: block; margin-top: 4px; color: #b1bfd0; font-size: 13px; line-height: 1.6; }
  .services-section { background: var(--pale); }
  .service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
  .service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 7px; padding: 28px 27px 23px; display: flex; flex-direction: column; position: relative; transition: border-color .2s, transform .2s; }
  .service-card:hover { border-color: #a1bff5; transform: translateY(-3px); }
  .card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
  .icon-tile { display: grid; place-items: center; width: 49px; height: 49px; color: var(--blue); background: #eef4ff; border: 1px solid #e0eaff; border-radius: 6px; }
  .service-card h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.035em; }
  .card-description { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 16px; }
  .process-section { background: #fff; }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 36px 0 0; }
  .step-track { display: flex; align-items: center; gap: 15px; color: #6d8fbd; margin-bottom: 24px; }
  .step-number { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 50%; background: #f0f5ff; color: var(--blue); font-size: 14px; font-weight: 600; line-height: 1; border: 1px solid #d7e4fd; }
  .step-line { flex-grow: 1; height: 1px; background: #dfe6ef; }
  .step-track > svg { flex-shrink: 0; }
  .steps h3 { font-size: 17px; letter-spacing: -.025em; margin-bottom: 12px; }
  .steps p { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 260px; }
  .faq-section { background: var(--pale); }
  .faq-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 90px; }
  .faq-heading > p:last-child { margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
  .faq-list { border-top: 1px solid #cdd7e5; }
  .faq-item { border-bottom: 1px solid #cdd7e5; }
  .faq-item summary { display: flex; gap: 18px; align-items: center; list-style: none; min-height: 80px; padding-block: 19px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item h3 { font-size: 16px; font-weight: 550; letter-spacing: -.015em; line-height: 1.5; }
  .faq-toggle { display: grid; place-items: center; margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; color: #536783; }
  .faq-item summary:hover .faq-toggle { color: var(--blue); }
  .faq-item[open] .faq-toggle { transform: rotate(45deg); color: var(--blue); }
  .faq-item > p { padding: 0 42px 25px 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
  .contact-section { padding-block: 80px; background: var(--navy); color: var(--white); border-bottom: 1px solid #ffffff14; }
  .contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 85px; align-items: center; }
  .contact-grid > * { min-width: 0; }
  .contact-section .eyebrow { color: #aebdd2; }
  .contact-section h2 { font-size: clamp(34px, 3.65vw, 48px); }
  .contact-description { color: #b1bfd0; font-size: 16px; line-height: 1.75; margin-top: 24px; margin-bottom: 27px; }
  .contact-meta { margin-top: 13px; font-size: 15px; color: #b1bfd0; }
  .contact-row { padding-block: 20px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #ffffff20; }
  .contact-row > span:nth-child(2) { min-width: 0; }
  .contact-icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; background: #1b2b45; border: 1px solid #2b4264; border-radius: 7px; color: #79aaff; }
  .contact-label { display: block; font-size: 9px; color: #b1bfd0; letter-spacing: .14em; margin-bottom: 5px; }
  .contact-row strong { display: block; font-size: clamp(16px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
  .contact-row > svg:last-child { color: var(--blue-light); margin-left: auto; flex-shrink: 0; }
  .contact-row[href]:hover strong { color: #a2c4ff; }
  .contact-status { display: block; margin-top: 6px; color: #b1bfd0; font-size: 13px; line-height: 1.6; }
  .contact-preparation { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: #aab8cb; font-size: 15px; line-height: 1.75; }
  .contact-preparation > svg { flex-shrink: 0; }
  .contact-pending { border: 1px solid #ffffff1f; padding: 27px 30px; border-radius: 6px; background: #ffffff03; }
  .contact-pending-icon { color: var(--blue-light); display: block; margin-bottom: 20px; }
  .contact-pending h3 { font-size: 21px; margin-bottom: 11px; }
  .contact-pending p { font-size: 15px; color: #b1bfd0; line-height: 1.75; max-width: 300px; }
  .dev-notice { padding: 16px; background: #17263b; border: 1px dashed #6394d1; border-radius: 4px; margin-top: 20px; font-size: 12px; color: #c0d6f5; }
  .dev-notice p { margin-block: 8px; }
  .dev-notice code { font-size: 10px; }
  .site-footer { background: #0d1421; color: #a4b1c3; }
  .footer-main { display: flex; align-items: center; padding-block: 38px; gap: 68px; }
  .brand-footer .brand-word { color: #f8fafc; font-size: 25px; }
  .brand-footer .brand-tagline { font-size: 6px; }
  .footer-main > p { font-size: 10px; line-height: 1.9; color: #96a6bc; }
  .back-top { display: flex; align-items: center; gap: 16px; min-height: 44px; margin-left: auto; font-size: 10px; }
  .back-top svg { transform: rotate(-90deg); }
  .back-top:hover { color: #fff; }
  .footer-bottom { border-top: 1px solid #ffffff0e; display: flex; justify-content: space-between; align-items: start; gap: 25px; padding-block: 20px; color: #92a1b6; font-size: 9px; }
  .footer-bottom > span:last-child { font-size: 8px; letter-spacing: .12em; }
  .legal-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 20px; max-width: 55%; overflow-wrap: anywhere; }
  .legal-details a { text-decoration: underline; text-underline-offset: 3px; }
}

@layer responsive {
  @media (min-width: 1500px) { .hero-grid { padding-block: 76px; } }
  @media (max-width: 1100px) {
    .container, .hero-highlights { width: calc(100% - 64px); }
    .header-inner { gap: 20px; }
    .desktop-nav { gap: 22px; margin-right: 10px; }
    .hero-grid { padding-block: 55px; }
    .hero-visual img { width: 108%; margin-left: 0; }
    .service-card { padding: 23px 21px; }
    .service-card h3 { font-size: 19px; }
    .faq-grid { gap: 55px; }
    .contact-grid { gap: 45px; }
  }
  @media (max-width: 900px) and (min-width: 641px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
    .steps p { max-width: none; }
  }
  @media (max-width: 800px) {
    .container, .hero-highlights { width: calc(100% - 48px); }
    .section { padding-block: 64px; }
    .header-inner { min-height: 76px; gap: 16px; }
    .brand-word { font-size: 26px; }
    .brand-tagline { font-size: 6px; }
    .desktop-nav { display: none; }
    .header-cta { margin-left: auto; padding: 10px 15px; gap: 10px; }
    .mobile-menu { display: block; }
    .mobile-menu summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; list-style: none; width: 44px; height: 44px; border: 1px solid #ffffff25; border-radius: 4px; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary > span { width: 17px; height: 1px; background: #d5deec; }
    .mobile-menu[open] summary > span:first-child { transform: translateY(3px) rotate(45deg); }
    .mobile-menu[open] summary > span:last-child { transform: translateY(-3px) rotate(-45deg); }
    .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 15px 24px 22px; background: #121e30; border-bottom: 1px solid #334155; box-shadow: 0 20px 25px #0003; }
    .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 14px 0; border-bottom: 1px solid #ffffff12; font-size: 15px; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 0; padding-block: 50px; }
    h1 { font-size: 45px; }
    .hero-description { font-size: 15px; }
    .button { padding: 12px 16px; font-size: 14px; }
    .hero-visual img { width: 110%; margin-left: -3%; }
    .hero-highlights li { padding-inline: 16px; }
    .section-intro { gap: 30px; margin-bottom: 32px; }
    .intro-description { max-width: 270px; }
    h2 { font-size: 34px; }
    .eyebrow { font-size: 9px; margin-bottom: 18px; }
    .service-grid { gap: 12px; }
    .service-card { padding: 20px 16px; }
    .card-top { margin-bottom: 25px; }
    .service-card h3 { font-size: 17px; }
    .card-description { font-size: 15px; }
    .steps { gap: 20px; }
    .steps h3 { font-size: 17px; line-height: 1.4; }
    .step-track { gap: 9px; }
    .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 35px; }
    .faq-heading h2 { font-size: 30px; }
    .faq-item summary { gap: 12px; }
    .faq-item > p { padding-right: 5px; }
    .contact-section { padding-block: 64px; }
    .contact-section h2 { font-size: 34px; }
    .contact-pending { padding: 24px; }
  }
  @media (max-width: 640px) {
    :root { scroll-padding-top: 88px; }
    .container, .hero-highlights { width: calc(100% - 40px); }
    .section { padding-block: 48px; }
    .header-inner { min-height: 72px; gap: 10px; }
    .brand-word { font-size: 25px; }
    .header-cta { padding: 10px 11px; gap: 7px; }
    .header-cta svg { width: 13px; height: 13px; }
    .mobile-menu summary { width: 40px; height: 44px; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 32px; }
    .hero-eyebrow { font-size: 9px; margin-bottom: 23px; }
    h1 { font-size: clamp(44px, 10.7vw, 65px); }
    .hero-description { max-width: 420px; margin-top: 20px; margin-bottom: 24px; }
    .button { min-height: 48px; padding-inline: 17px; }
    .actions { gap: 10px; }
    .hero-visual { margin: 35px auto 0; width: min(100%, 410px); }
    .hero-visual img { width: 100%; margin: -5px 0 -12px; }
    .hero-highlights { grid-template-columns: 1fr; padding-block: 6px; }
    .hero-highlights li { padding: 14px 0; }
    .hero-highlights li + li { border-left: 0; border-top: 1px solid #ffffff1c; }
    .section-intro { display: block; margin-bottom: 28px; }
    h2 { font-size: 33px; }
    .intro-description { max-width: 420px; margin-top: 20px; padding: 0; }
    .eyebrow { margin-bottom: 18px; font-size: 9px; gap: 10px; }
    .service-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 25px; }
    .card-top { margin-bottom: 25px; }
    .service-card h3 { font-size: 23px; }
    .steps { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
    .steps li { position: relative; padding: 0 0 27px 66px; min-height: 112px; }
    .steps li:last-child { min-height: auto; padding-bottom: 0; }
    .step-track { position: absolute; top: -3px; left: 0; bottom: 0; width: 43px; margin: 0; align-items: start; }
    .step-number { position: relative; z-index: 1; }
    .step-line { position: absolute; left: 21px; top: 43px; bottom: 3px; width: 1px; height: auto; }
    .steps li:last-child .step-line { display: none; }
    .step-track > svg { display: none; }
    .steps h3 { font-size: 18px; margin-bottom: 9px; }
    .steps p { max-width: 360px; }
    .faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .faq-heading h2 { font-size: 33px; }
    .faq-heading > p:last-child { margin-top: 17px; }
    .faq-heading > p:last-child br { display: none; }
    .faq-item summary { min-height: 78px; gap: 13px; }
    .faq-item > p { padding-right: 22px; }
    .contact-section { padding-block: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-section h2 { font-size: 34px; }
    .contact-description { font-size: 15px; margin-top: 20px; margin-bottom: 23px; }
    .contact-row { padding-block: 19px; }
    .contact-row strong { font-size: clamp(16px, 4.8vw, 25px); }
    .contact-pending { padding: 25px; }
    .contact-pending p { max-width: none; }
    .contact-preparation { margin-top: 17px; }
    .footer-main { flex-wrap: wrap; gap: 23px; padding-block: 30px; }
    .footer-main > p { margin-left: auto; font-size: 9px; }
    .back-top { width: 100%; margin: 0; justify-content: space-between; border-top: 1px solid #ffffff10; padding-top: 10px; }
    .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: 9px; padding-block: 18px; }
    .footer-bottom .legal-details { order: 3; width: 100%; max-width: none; justify-content: start; }
  }
}

/* WordPress: pasek administratora i treść dodatkowych stron. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar #wpadminbar { position: fixed; }
.content-page { background: #f8fafc; min-height: 55vh; padding: 64px 0; }
.content-page h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 28px; }
.content-page article + article { margin-top: 40px; padding-top: 32px; border-top: 1px solid #dce3ec; }
.entry-content { max-width: 780px; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content a, .content-page .entry-title a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content .wp-block-image img { max-width: 100%; height: auto; }
.content-page .page-numbers { display: inline-block; padding: 8px 12px; }
.content-page .button-primary { color: #fff; }
.entry-read-more { display: inline-block; margin-top: 18px; color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 46px); } }
