/* == CSS RESET & NORMALIZATION == */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #101931;
  color: #f1f6fa;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
a { color: #1cb5a3; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #31ffe2; outline: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  color: inherit;
}
button { cursor: pointer; }

/* == VARIABLES & FONTS == */
:root {
  --color-primary: #16325c;
  --color-secondary: #1cb5a3;
  --color-accent: #f1f6fa;
  --color-bg-darker: #101931;
  --color-neon: #01fff4;
  --color-gradient-1: #183c6a;
  --color-gradient-2: #005ae2;
  --color-gradient-3: #1cb5a3;
  --color-error: #ff2c6d;
  --radius: 14px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-main: 0 4px 24px 0 rgba(0,14,35,0.17), 0 1.5px 8px 0 rgba(28,181,163,0.18);
  --shadow-card: 0 2px 16px 0 rgba(24,60,106,0.14);
  --shadow-hover: 0 4px 32px 0 rgba(1,255,244,0.13);
  --border-card: 1.5px solid rgba(28,181,163,0.10);
  --transition-main: 0.22s cubic-bezier(.82,-0.01,.28,1);
}

@media (max-width: 768px) {
  html { font-size: 15px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
}

/* == GLOBAL LAYOUT CONTAINER == */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* == HEADER / NAVIGATION == */
header {
  width: 100%;
  background: var(--color-gradient-1);
  box-shadow: var(--shadow-main);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 24px;
  position: relative;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--color-accent);
  position: relative;
  padding: 5px 0;
  transition: color var(--transition-main);
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-neon));
  border-radius: 4px;
  transition: width .23s;
  margin-top: 2.5px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-neon);
}
.btn-primary {
  background: linear-gradient(90deg, #1cb5a3 40%, #01fff4 100%);
  color: #101931;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(1,255,244,0.22);
  border: none;
  outline: none;
  transition: box-shadow .21s, filter .18s, background .18s, color .18s;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-left: 22px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #01fff4 0%, #1cb5a3 74%);
  filter: brightness(1.09);
  color: #173259;
  box-shadow: 0 6px 32px 0 rgba(1,255,244,0.25);
}

/* == MOBILE NAVIGATION == */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-secondary);
  border: none;
  padding: 4px 12px;
  margin-left: 24px;
  border-radius: 8px;
  z-index: 25;
  transition: background var(--transition-main);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(1, 255, 244, 0.11);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #12172cfa;
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.73,.04,.4,1.01);
  box-shadow: 4px 0 40px 0 rgba(1,255,244,0.16);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-neon);
  background: none;
  border: none;
  margin: 18px 20px 10px 0;
  padding: 2px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(1,255,244,0.17);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 24px 34px;
}
.mobile-nav a {
  font-size: 1.19rem;
  font-family: var(--font-display);
  color: #f1f6fa;
  padding: 7px 0 7px 4px;
  transition: color 0.18s;
  border-radius: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-neon);
  background: rgba(1,255,244,0.07);
}

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* == HERO SECTION == */
.hero {
  background: linear-gradient(100deg, var(--color-primary) 65%, #23608e 100%, #05e9d3 120%);
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--color-neon);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: 0.5px;
  font-weight: 800;
  text-shadow: 0 4px 18px #01334c9a;
}
.hero p {
  font-size: 1.22rem;
  color: var(--color-accent);
  margin-bottom: 28px;
  max-width: 650px;
}

/* == SECTIONS & FLEXBOX LAYOUTS == */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 240px;
  background: rgba(16, 25, 49, 0.87);
  border: var(--border-card);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow .19s, border .19s, background .19s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(1,255,244,0.14);
  border-color: #1cb5a3aa;
  background: #182b4e;
  z-index: 2;
}
.feature-grid img {
  height: 36px;
  width: 36px;
  filter: drop-shadow(0 0 10px #1cb5a380);
}
.feature-grid h3 {
  color: var(--color-neon);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  text-shadow: 0 0 7px #01fff435;
}
.feature-grid p {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #161e38;
  border: var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, border 0.18s, background 0.18s;
}
.card:hover {
  border-color: #1cb5a3cc;
  box-shadow: var(--shadow-hover);
  background: #182b4e;
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* == PRICING TABLE == */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  background: rgba(28,181,163,0.06);
  border-radius: 14px;
  overflow: hidden;
  font-size: 1.02rem;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
}
.pricing-table th {
  background: #15294c;
  color: #01fff4;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
}
.pricing-table tr {
  border-bottom: 1.5px solid #1cb5a317;
  background: transparent;
}
.pricing-table tr:last-child {
  border-bottom: none;
}
.pricing-table td {
  color: var(--color-accent);
}

/* == TESTIMONIALS == */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f1f6fa;
  color: #102140;
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: 0 2px 18px 0 #01286a14;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 20px;
  margin-right: 20px;
  min-width: 250px;
  max-width: 430px;
  font-size: 1.04rem;
  transition: box-shadow .17s, border .17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 #1cb5a333;
  border-left: 4px solid var(--color-neon);
}
.testimonial-card p {
  color: #102140;
  font-size: 1.08rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: #19315e;
  letter-spacing: 0.14px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* == TABLE STYLES (for hours, etc) == */
.hours-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  margin: 14px 0;
  font-size: 1.01rem;
  color: var(--color-accent);
}
.hours-table td {
  padding: 9px 10px;
}

/* == List and UL Styling == */
ul, ol {
  padding-left: 19px;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 1.04rem;
  position: relative;
  padding-left: 0px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 3.5px;
  background: linear-gradient(90deg, #1cb5a3 60%, #01fff4 100%);
  margin-right: 9px;
  position: relative;
  top: -1px;
}
ol li {
  counter-increment: custom;
  list-style: none;
}
ol {
  counter-reset: custom;
}
ol li:before {
  content: counter(custom) '.';
  color: #1cb5a3;
  font-weight: 600;
  margin-right: 8px;
}

/* == HEADINGS / TYPOGRAPHY == */
h1, .h1 {
  font-family: var(--font-display);
  color: #01fff4;
  font-size: 2.45rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}
h2, .h2 {
  font-family: var(--font-display);
  color: #1cb5a3;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: var(--font-body);
  color: #f1f6fa;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.07rem;
  color: #1cb5a3;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-weight: 600;
}
p {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 1.07rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

/* == LINKS & BUTTON ANIMATION == */
a, .btn-primary {
  transition: color 0.19s, background 0.20s, box-shadow 0.18s;
}
.btn-primary:active {
  filter: brightness(0.97);
  box-shadow: 0 2px 10px 0 #1cb5a340;
}

/* == TIMELINE & PROCESS ICONS (jak-to-dziala) == */
.process-icons {
  display: flex;
  flex-direction: row;
  gap: 26px;
  justify-content: flex-start;
  margin: 21px 0 7px 0;
}
.process-icons img {
  width: 38px; height: 38px;
  background: #19325b;
  border-radius: 10px;
  padding: 7px;
  box-shadow: 0 1px 10px 0 #01fff430;
  transition: background 0.22s;
}
.process-icons img:hover {
  background: #01fff430;
}
.timeline {
  margin-top: 32px;
  background: rgba(28,181,163,0.10);
  border-radius: 13px;
  padding: 18px 24px;
  font-size: 1.09rem;
  box-shadow: 0 4px 12px 0 #01fff420;
  color: #1cb5a3;
  font-family: var(--font-display);
  font-weight: 500;
}
.timeline h2 {
  font-size: 1.19rem; margin-bottom: 6px;
}
.timeline p { color: #1cb5a3; margin-bottom: 0; }

/* == FOOTER == */
footer {
  background: #15294c;
  padding: 38px 0 0 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 20px;
  padding-bottom: 32px;
  border-top: 2.5px solid #1cb5a324;
}
.footer-logo img {
  height: 54px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #01fff4;
  font-family: var(--font-display);
  font-size: 1.06rem;
  opacity: 0.89;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #e0fcfa;
}
.footer-contact, .footer-hours {
  font-size: 0.98rem;
  color: #f1f6fa;
  font-family: var(--font-body);
  opacity: 0.89;
  margin-top: 11px;
  max-width: 340px;
}
.footer-contact img { height: 1.10em; margin-right: 6px; vertical-align: middle; }

/* == CARD COMPONENTS (content cards) == */
.value-comparison, .pricing-explanations, .contact-personal-assistance, .map-address {
  background: #182b4e;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 #01fff424;
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #1cb5a3;
  font-family: var(--font-display);
}
.value-comparison h2 { color: #01fff4; }
.contact-personal-assistance h2 { margin-bottom: 7px; color: #01fff4; }

/* == FORM INPUTS (if present in other pages) == */
input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid #1cb5a340;
  background: #192e4d;
  color: #f1f6fa;
  font-size: 1rem;
  margin-bottom: 18px;
  outline: none;
  box-shadow: 0 1px 7px 0 #1cb5a322;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.4px solid var(--color-neon);
}

/* == MAP ADDRESS AREA == */
.map-address {
  background: #132046;
  border-left: 4px solid #1cb5a3;
  padding: 13px 17px;
  border-radius: 8px;
  color: #1cb5a3;
  margin-top: 13px;
  font-size: 1.03rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.map-address img { height: 25px; }

/* == RESPONSIVE == */
@media (max-width: 1100px) {
  .feature-grid > div, .testimonial-card {
    min-width: 220px;
    max-width: 99vw;
  }
}
@media (max-width: 870px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper, .feature-grid {
    flex-direction: column;
  }
  .feature-grid {
    gap: 18px;
  }
  .testimonial-card { margin-right: 0; }
  .footer-nav, .footer-contact, .footer-hours {
    margin-top: 7px;
    max-width: 96vw;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 7px;
  }
  .feature-grid > div,
  .card,
  .testimonial-card {
    min-width: 170px;
    padding: 18px 13px;
    font-size: 0.97rem;
  }
  .hero {
    padding: 20px 0;
    min-height: 230px;
  }
  section {
    padding: 22px 4px;
    margin-bottom: 33px;
  }
  .footer-logo img { height: 38px; }
}
@media (max-width: 540px) {
  .footer-logo img { height: 32px; }
  .footer-nav { gap: 8px; }
}

/* == COOKIE CONSENT BANNER == */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #17325c;
  color: #f1f6fa;
  z-index: 200;
  box-shadow: 0 -2px 20px #1cb5a33b;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 22px 40px 22px 30px;
  font-size: 1.05rem;
  transition: transform 0.36s, opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-consent-banner p {
  color: #f1f6fa;
  font-size: 1.04rem;
  margin: 0 0 0 0;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #101931;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 9px 22px;
  border-radius: var(--radius);
  border: none;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #1cb5a341;
  transition: background .16s, color .18s, box-shadow .13s, filter .13s;
}
.cookie-btn.reject {
  background: #ff2c6d;
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: #01fff4;
  border: 1.2px solid #01fff4;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.13);
  box-shadow: 0 3px 13px 0 #01fff432;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 8px 13px 10px;
    gap: 11px;
    font-size: 0.97rem;
  }
  .cookie-buttons {
    gap: 10px;
  }
}

/* == COOKIE CONSENT MODAL == */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 205;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,25,49,0.81);
  opacity: 1;
  pointer-events: all;
  transition: opacity .24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #f1f6fa;
  color: #1cb5a3;
  padding: 35px 30px 28px 30px;
  border-radius: 14px;
  min-width: 330px;
  max-width: 96vw;
  box-shadow: 0 6px 42px #16325c61;
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: modalSlideIn .35s cubic-bezier(.78,-.23,.34,1.37);
}
@keyframes modalSlideIn {
  0% { transform: translateY(80px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #16325c;
  margin-bottom: 9px;
}
.cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 19px; height: 19px;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #16325c;
  font-weight: 500;
}
.cookie-category.essential label {
  color: #16325c;
  opacity: 0.67;
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  padding: 8px 20px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  color: var(--color-error);
  border: none;
  font-size: 1.55rem;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s;
  border-radius: 8px;
  z-index: 6;
  padding: 2px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffd4eb4e;
}

/* == MISC == */
::-webkit-input-placeholder { color: #b4bfcf; }
::-moz-placeholder { color: #b4bfcf; }
:-ms-input-placeholder { color: #b4bfcf; }
::placeholder { color: #b4bfcf; }

@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    padding: 19px 7px 12px 9px;
    font-size: 0.93rem;
  }
}

/* == ACCESSIBILITY/FOCUS == */
:focus {
  outline: 2px solid #1cb5a3;
  outline-offset: 2px;
}

/* Prevent absolute positioning for content cards (only ok for .cookie-modal-close, decorative) */
/* No display: grid, grid-* or column-* anywhere in this stylesheet */
