/* Fundament wizualny Nord Vibe */
:root {
  --nvg-night: #0c1d2a;
  --nvg-night-soft: #173142;
  --nvg-teal: #2ea89b;
  --nvg-teal-dark: #218277;
  --nvg-coral: #ef7d5c;
  --nvg-ink: #17232b;
  --nvg-muted: #63717a;
  --nvg-mist: #eef4f3;
  --nvg-paper: #ffffff;
  --nvg-line: #d7e1df;
  --nvg-success: #1f765c;
  --nvg-error: #a53c36;
  --nvg-shadow-sm: 0 8px 24px rgba(12, 29, 42, .08);
  --nvg-shadow-lg: 0 24px 60px rgba(12, 29, 42, .16);
  --nvg-radius-sm: 12px;
  --nvg-radius-md: 20px;
  --nvg-radius-lg: 30px;
  --nvg-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nvg-header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nvg-header-height) + 18px); }
body { margin: 0; font-family: var(--nvg-font); color: var(--nvg-ink); background: var(--nvg-paper); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.nvg-page { padding-top: var(--nvg-header-height); overflow-x: hidden; }
.nvg-page--privacy { padding-top: 0; background: var(--nvg-mist); }
.nvg-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.nvg-skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; border-radius: 8px; background: var(--nvg-paper); color: var(--nvg-night); transform: translateY(-150%); transition: transform .2s ease; }
.nvg-skip-link:focus { transform: translateY(0); }

/* Nagłówek i nawigacja */
.nvg-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nvg-header-height); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(215,225,223,.8); backdrop-filter: blur(14px); }
.nvg-header--static { position: static; }
.nvg-header__inner { min-height: var(--nvg-header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nvg-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.03em; }
.nvg-brand__mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--nvg-night) 0 58%, var(--nvg-teal) 58% 100%); box-shadow: 0 7px 18px rgba(12,29,42,.18); font-size: .92rem; }
.nvg-brand__name { font-size: 1.22rem; }
.nvg-nav { display: none; }
.nvg-nav__list, .nvg-mobile-nav__list, .nvg-footer__links ul { list-style: none; margin: 0; padding: 0; }
.nvg-nav__list { display: flex; align-items: center; gap: 24px; }
.nvg-nav__list a { position: relative; padding: 9px 0; color: var(--nvg-night-soft); font-size: .93rem; font-weight: 700; }
.nvg-nav__list a::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; background: var(--nvg-teal); transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.nvg-nav__list a:hover::after, .nvg-nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nvg-menu-button { display: inline-grid; gap: 5px; width: 45px; min-height: 42px; place-content: center; border: 1px solid var(--nvg-line); border-radius: 12px; background: var(--nvg-paper); cursor: pointer; }
.nvg-menu-button__line { width: 22px; height: 2px; border-radius: 10px; background: var(--nvg-night); transition: transform .25s ease, opacity .25s ease; }
.nvg-menu-button[aria-expanded="true"] .nvg-menu-button__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nvg-menu-button[aria-expanded="true"] .nvg-menu-button__line:nth-child(2) { opacity: 0; }
.nvg-menu-button[aria-expanded="true"] .nvg-menu-button__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nvg-mobile-nav { position: absolute; top: var(--nvg-header-height); left: 0; width: 100%; background: var(--nvg-paper); border-bottom: 1px solid var(--nvg-line); box-shadow: var(--nvg-shadow-sm); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
.nvg-mobile-nav[data-nvg-state="open"] { opacity: 1; visibility: visible; transform: translateY(0); }
.nvg-mobile-nav__list { width: min(100% - 40px, 620px); margin: 0 auto; padding: 12px 0 20px; }
.nvg-mobile-nav__list a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--nvg-line); font-weight: 750; }
.nvg-back-link { font-weight: 750; color: var(--nvg-teal-dark); }

/* Hero */
.nvg-hero { position: relative; padding: 64px 0 72px; background: linear-gradient(135deg, #f7faf9 0%, #edf5f3 68%, #e7f1ef 100%); }
.nvg-hero::before { content: ""; position: absolute; width: 360px; height: 360px; top: -150px; left: -130px; border-radius: 50%; border: 70px solid rgba(46,168,155,.08); }
.nvg-hero__layout { position: relative; display: grid; align-items: center; gap: 42px; }
.nvg-hero__content { max-width: 650px; }
.nvg-eyebrow { margin: 0 0 12px; color: var(--nvg-teal-dark); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.nvg-hero h1 { margin: 0; max-width: 720px; color: var(--nvg-night); font-size: clamp(2.55rem, 8vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.nvg-hero__lead { max-width: 620px; margin: 24px 0 0; color: var(--nvg-muted); font-size: clamp(1.03rem, 2vw, 1.22rem); }
.nvg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nvg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; border: 2px solid transparent; border-radius: var(--nvg-radius-sm); font-weight: 820; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.nvg-button:hover { transform: translateY(-2px); }
.nvg-button:focus-visible, .nvg-menu-button:focus-visible, input:focus-visible, textarea:focus-visible, .nvg-table-wrap:focus-visible { outline: 3px solid rgba(239,125,92,.38); outline-offset: 3px; }
.nvg-button--primary { color: white; background: var(--nvg-teal-dark); box-shadow: 0 10px 25px rgba(33,130,119,.24); }
.nvg-button--primary:hover { background: var(--nvg-night); box-shadow: 0 13px 30px rgba(12,29,42,.22); }
.nvg-button--outline { color: var(--nvg-night); border-color: var(--nvg-night); background: transparent; }
.nvg-button--outline:hover { color: white; background: var(--nvg-night); }
.nvg-hero__benefits { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: var(--nvg-night-soft); font-size: .9rem; font-weight: 720; }
.nvg-benefit { display: inline-flex; align-items: center; gap: 8px; }
.nvg-benefit svg { width: 23px; height: 23px; fill: none; stroke: var(--nvg-coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nvg-hero__visual { position: relative; margin: 0; padding: 9px; border-radius: var(--nvg-radius-lg); background: linear-gradient(145deg, rgba(46,168,155,.85), rgba(239,125,92,.72)); box-shadow: var(--nvg-shadow-lg); }
.nvg-hero__visual img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: calc(var(--nvg-radius-lg) - 7px); }
.nvg-hero__visual figcaption { position: absolute; right: 22px; bottom: 20px; max-width: 260px; padding: 9px 13px; border-radius: 10px; color: white; background: rgba(12,29,42,.82); font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); }

/* Sekcje wspólne */
.nvg-section { padding: 82px 0; }
.nvg-section--mist { background: var(--nvg-mist); }
.nvg-section--deep { color: #dfe9e7; background: linear-gradient(145deg, var(--nvg-night), #102c3d); }
.nvg-section__heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.nvg-section__heading h2, .nvg-contact__intro h2, .nvg-privacy h1 { margin: 0; color: var(--nvg-night); font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.04em; }
.nvg-section__heading > p:last-child { margin: 15px auto 0; color: var(--nvg-muted); }
.nvg-section__heading--light h2 { color: white; }
.nvg-section__heading--light > p:last-child { color: #b9cbc8; }

/* Karty produktów */
.nvg-products { display: grid; gap: 24px; }
.nvg-product { overflow: hidden; border: 1px solid rgba(215,225,223,.95); border-radius: var(--nvg-radius-md); background: var(--nvg-paper); box-shadow: var(--nvg-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.nvg-product:hover { transform: translateY(-6px); box-shadow: var(--nvg-shadow-lg); }
.nvg-product__media { position: relative; overflow: hidden; background: #e9eeed; }
.nvg-product__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .55s ease; }
.nvg-product:hover .nvg-product__media img { transform: scale(1.035); }
.nvg-tag { position: absolute; top: 14px; right: 14px; padding: 7px 11px; border-radius: 999px; color: white; font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.nvg-tag--teal { background: var(--nvg-teal-dark); }
.nvg-tag--coral { background: var(--nvg-coral); }
.nvg-tag--night { background: var(--nvg-night); }
.nvg-product__body { display: flex; flex-direction: column; min-height: 275px; padding: 23px; }
.nvg-product h3 { margin: 0; color: var(--nvg-night); font-size: 1.24rem; }
.nvg-product p { margin: 10px 0 16px; color: var(--nvg-muted); font-size: .92rem; }
.nvg-product__price { margin-top: auto; color: var(--nvg-teal-dark); font-size: 1.28rem; font-weight: 880; }
.nvg-button--card { width: 100%; margin-top: 16px; color: white; background: var(--nvg-night); }
.nvg-button--card:hover { background: var(--nvg-coral); }

/* Jakość, usługi i opinie */
.nvg-features, .nvg-service-grid, .nvg-reviews { display: grid; gap: 22px; }
.nvg-feature { padding: 26px; border-left: 4px solid var(--nvg-teal); border-radius: 0 var(--nvg-radius-md) var(--nvg-radius-md) 0; background: #f8fbfa; }
.nvg-feature__icon { display: inline-block; margin-bottom: 28px; color: var(--nvg-coral); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.nvg-feature h3, .nvg-service h3 { margin: 0 0 9px; color: var(--nvg-night); font-size: 1.24rem; }
.nvg-feature p, .nvg-service p { margin: 0; color: var(--nvg-muted); }
.nvg-service { padding: 28px; border: 1px solid var(--nvg-line); border-radius: var(--nvg-radius-md); background: var(--nvg-paper); box-shadow: var(--nvg-shadow-sm); }
.nvg-service__symbol { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border-radius: 14px; color: white; background: var(--nvg-teal-dark); font-size: 1.3rem; font-weight: 900; }
.nvg-payments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nvg-payments span { padding: 5px 9px; border: 1px solid var(--nvg-line); border-radius: 8px; color: var(--nvg-night); background: #f7faf9; font-size: .72rem; font-weight: 850; }
.nvg-review { margin: 0; padding: 28px; border-radius: var(--nvg-radius-md); background: var(--nvg-paper); box-shadow: var(--nvg-shadow-sm); }
.nvg-review__stars { color: var(--nvg-coral); letter-spacing: .11em; }
.nvg-review blockquote { margin: 17px 0; color: var(--nvg-night-soft); font-size: 1.02rem; }
.nvg-review figcaption { color: var(--nvg-muted); font-size: .9rem; font-weight: 780; }

/* Tabela rozmiarów */
.nvg-sizing { display: grid; gap: 26px; align-items: center; }
.nvg-sizing__notes { display: grid; gap: 15px; }
.nvg-note { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--nvg-radius-md); background: rgba(255,255,255,.055); }
.nvg-note h3 { margin: 0 0 8px; color: white; }
.nvg-note p { margin: 0; color: #b9cbc8; }
.nvg-table-wrap { overflow-x: auto; border-radius: var(--nvg-radius-md); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.nvg-table { width: 100%; min-width: 470px; border-collapse: collapse; color: var(--nvg-ink); background: white; }
.nvg-table caption { padding: 16px 18px; color: white; background: var(--nvg-teal-dark); text-align: left; font-weight: 820; }
.nvg-table th, .nvg-table td { padding: 15px 18px; border-bottom: 1px solid var(--nvg-line); text-align: left; }
.nvg-table thead { background: #e8f1ef; }
.nvg-table tbody tr:last-child td { border-bottom: 0; }
.nvg-table tbody tr:hover { background: #f5f9f8; }

/* Kontakt */
.nvg-contact { background: linear-gradient(180deg, white, #f2f7f6); }
.nvg-contact__layout { display: grid; gap: 34px; align-items: start; }
.nvg-contact__intro > p:not(.nvg-eyebrow) { max-width: 570px; color: var(--nvg-muted); }
.nvg-contact__details { margin-top: 25px; padding: 18px 20px; border-left: 4px solid var(--nvg-coral); border-radius: 0 14px 14px 0; background: white; box-shadow: var(--nvg-shadow-sm); }
.nvg-contact__details p { margin: 4px 0; }
.nvg-contact a { color: var(--nvg-teal-dark); font-weight: 730; }
.nvg-form { display: grid; gap: 17px; padding: 25px; border: 1px solid var(--nvg-line); border-radius: var(--nvg-radius-lg); background: white; box-shadow: var(--nvg-shadow-lg); }
.nvg-form__selection { padding: 11px 13px; border-radius: 10px; color: var(--nvg-night); background: rgba(46,168,155,.13); font-size: .9rem; }
.nvg-field { display: grid; gap: 7px; }
.nvg-field label, .nvg-check label { color: var(--nvg-night); font-size: .9rem; font-weight: 760; }
.nvg-field label span { color: var(--nvg-muted); font-weight: 500; }
.nvg-field input, .nvg-field textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbd8d5; border-radius: 11px; color: var(--nvg-ink); background: #fbfdfc; transition: border-color .2s ease, box-shadow .2s ease; }
.nvg-field textarea { resize: vertical; min-height: 125px; }
.nvg-field input:focus, .nvg-field textarea:focus { border-color: var(--nvg-teal); box-shadow: 0 0 0 4px rgba(46,168,155,.11); }
.nvg-field [aria-invalid="true"] { border-color: var(--nvg-error); }
.nvg-check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; }
.nvg-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--nvg-teal-dark); }
.nvg-form__submit { width: 100%; }
.nvg-form__message { padding: 12px 14px; border-radius: 11px; font-weight: 730; }
.nvg-form__message[data-nvg-tone="success"] { color: #155642; background: #dff3eb; }
.nvg-form__message[data-nvg-tone="error"] { color: #7f2d29; background: #f9e4e1; }

/* Stopka */
.nvg-footer { padding: 58px 0 0; color: #c5d3d1; background: var(--nvg-night); }
.nvg-footer__grid { display: grid; gap: 34px; }
.nvg-brand--footer { color: white; }
.nvg-footer__brand > p { max-width: 360px; }
.nvg-footer address { color: #9fb2af; font-style: normal; line-height: 1.8; }
.nvg-footer a:hover { color: white; }
.nvg-footer__links h2, .nvg-footer__legal h2 { margin: 0 0 14px; color: white; font-size: 1rem; }
.nvg-footer__links li { margin: 8px 0; }
.nvg-footer__legal { display: grid; align-content: start; gap: 9px; }
.nvg-footer__legal p { margin: 0; color: #9fb2af; }
.nvg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.nvg-footer__bottom p { margin: 0; }
.nvg-footer--compact { padding-top: 0; }
.nvg-footer--compact .nvg-footer__bottom { margin-top: 0; }

/* Strona prywatności */
.nvg-privacy { padding: 68px 0 88px; }
.nvg-privacy__content { max-width: 900px; padding: clamp(24px, 6vw, 62px); border-radius: var(--nvg-radius-lg); background: white; box-shadow: var(--nvg-shadow-lg); }
.nvg-privacy__updated { margin-bottom: 28px; color: var(--nvg-muted); font-size: .9rem; }
.nvg-privacy__section { padding: 25px 0; border-top: 1px solid var(--nvg-line); }
.nvg-privacy__section h2 { margin: 0 0 10px; color: var(--nvg-night); font-size: 1.35rem; }
.nvg-privacy__section p { margin: 0; }
.nvg-privacy__section ul { margin: 12px 0 0; padding-left: 22px; }
.nvg-privacy a:not(.nvg-button) { color: var(--nvg-teal-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) {
  .nvg-products { grid-template-columns: repeat(2, 1fr); }
  .nvg-features, .nvg-service-grid, .nvg-reviews { grid-template-columns: repeat(3, 1fr); }
  .nvg-footer__grid { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (min-width: 900px) {
  .nvg-nav { display: block; }
  .nvg-menu-button, .nvg-mobile-nav { display: none; }
  .nvg-hero { padding: 76px 0 86px; }
  .nvg-hero__layout { grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); }
  .nvg-products { grid-template-columns: repeat(4, 1fr); }
  .nvg-sizing { grid-template-columns: .8fr 1.25fr; }
  .nvg-contact__layout { grid-template-columns: .85fr 1.15fr; gap: 70px; }
  .nvg-form { padding: 34px; }
}

@media (max-width: 639px) {
  :root { --nvg-header-height: 70px; }
  .nvg-shell { width: min(100% - 28px, 1180px); }
  .nvg-section { padding: 64px 0; }
  .nvg-hero { padding: 45px 0 58px; }
  .nvg-hero__layout { gap: 34px; }
  .nvg-actions .nvg-button { width: 100%; }
  .nvg-hero__benefits { display: grid; }
  .nvg-hero__visual figcaption { position: static; max-width: none; margin-top: 8px; border-radius: 10px 10px 18px 18px; }
  .nvg-form { padding: 20px; border-radius: var(--nvg-radius-md); }
  .nvg-footer { padding-top: 48px; }
  .nvg-footer__bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
