/* CSS RESET + NORMALIZE */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  /* Montserrat fallback to Arial/Helvetica if not found */
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F7FAFC;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #205072;
  background: #F7FAFC;
  min-height: 100vh;
  font-size: 1rem;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.68,-0.55,.27,1.55);
}
a:hover, a:focus {
  color: #F6C601;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #205072;
  font-weight: 700;
  margin-bottom: 16px;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-top: 12px;
}
h2 {
  font-size: 2rem;
  margin-top: 20px;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: #205072;
  margin-bottom: 1.2em;
  line-height: 1.65;
}
strong {
  font-weight: 600;
  color: #205072;
}
small, em {
  font-size: 0.92em;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* ----- SITEWIDE BUTTONS ----- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #205072;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 8px;
  transition: background 0.20s, color 0.24s, box-shadow 0.20s;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(32,80,114,0.08);
  outline: none;
  margin-top: 10px;
  margin-bottom: 16px;
}
.cta-button:hover, .cta-button:focus{
  background: #F6C601;
  color: #205072;
  box-shadow: 0 4px 24px rgba(246,198,1,0.13);
}

/* ----- FLEX & SPACING ----- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(32,80,114,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  background: #fff;
  border: 2.5px solid #e7edf2;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(32,80,114,0.07);
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(32,80,114,0.10);
  border-color: #F6C601;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f5faff;
  border-radius: 18px;
  border: 2.5px solid #eaf2f8;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(32,80,114,0.06);
  transition: box-shadow 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px rgba(32,80,114,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- FEATURE & SERVICE GRIDS ---- */
.feature-grid {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature-grid>div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  border: 2.5px solid #e7edf2;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(32,80,114,0.06);
  transition: box-shadow 0.2s, border 0.2s;
}
.feature-grid>div:hover {
  border-color: #F6C601;
  box-shadow: 0 4px 18px rgba(32,80,114,0.10);
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin: 24px 0;
}
.service-cards>div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  border: 2.5px solid #e7edf2;
  padding: 24px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(32,80,114,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s, border 0.2s;
}
.service-cards>div:hover {
  border-color: #F6C601;
  box-shadow: 0 4px 18px rgba(32,80,114,0.10);
}

/* ---- HEADER ---- */
header {
  width: 100%;
  background: #205072;
  padding: 0 0;
  position: relative;
  z-index: 99;
  border-bottom: 4px solid #F6C601;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 14px 20px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8.5px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: #F6C601;
  color: #205072;
}
header nav a.cta-button {
  background: #F6C601;
  color: #205072;
  font-weight: 700;
  margin-left: auto;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  padding: 12px 24px;
  box-shadow: 0 2px 10px rgba(246,198,1,0.10);
}
header nav a.cta-button:hover, header nav a.cta-button:focus {
  background: #205072;
  color: #fff;
  border: 2px solid #F6C601;
}
header nav img {
  max-height: 36px;
  margin-right: 20px;
  vertical-align: middle;
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6C601;
  font-size: 2rem;
  position: absolute;
  top: 14px;
  right: 26px;
  z-index: 120;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(246,198,1,0.11);
}
.mobile-menu {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #205072;
  z-index: 999;
  transform: translateX(105%);
  transition: transform 0.29s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: -6px 0 28px rgba(32,80,114,0.20);
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 32px;
  font-size: 2.1rem;
  color: #F6C601;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  outline: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(246,198,1,0.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin-top: 65px;
  padding: 40px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  transition: color 0.17s, background 0.14s;;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6C601;
  color: #205072;
}

@media (max-width: 1024px) {
  header nav a.cta-button {
    margin-left: 0;
  }
}
@media (max-width: 980px) {
  .feature-grid, .service-cards {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid>div, .service-cards>div {
    flex-basis: 45%;
  }
}
@media (max-width: 850px) {
  header nav {
    gap: 12px;
  }
  .feature-grid>div, .service-cards>div {
    padding: 18px 9px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 16px;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid>div, .service-cards>div {
    flex-basis: 100%;
    margin-bottom: 18px;
    border-radius: 12px;
    padding: 18px 8px;
  }
  .container {
    padding: 0 7px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; border-radius: 12px; }
}
@media (max-width: 480px) {
  .content-wrapper {
    gap: 12px;
  }
  .quick-contact-info p {
    font-size: 1em;
    gap: 4px;
  }
  .section {
    margin-bottom: 22px;
    padding: 16px 2px;
  }
}

/* --- TABLES (Oferty) --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0 24px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(32, 80, 114, 0.06);
}
thead tr {
  background: #205072;
  color: #fff;
}
thead th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 8px;
  font-size: 1.07rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.2px;
}
tbody td {
  padding: 14px 8px;
  font-size: 1rem;
  border-bottom: 1.2px solid #e7edf2;
  color: #205072;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(odd) {
  background: #f5faff;
}
tbody td, thead th {
  min-width: 80px;
}

/* --- QUICK CONTACT --- */
.quick-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.quick-contact-info p, .quick-contact-info img {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.07rem;
}
.quick-contact-info img {
  height: 22px;
  width: 22px;
  margin-right: 6px;
}

/* --- TESTIMONIALS --- */
.testimonial-card img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.testimonial-card p {
  color: #205072;
  font-size: 1rem;
  margin-right: 8px;
}
.testimonial-card strong {
  color: #F6C601;
  font-weight: 700;
  margin-top: 0;
}


/* --- ANIMATIONS / TRANSITIONS --- */
.section, .card, .feature-grid > div, .service-cards > div, .testimonial-card {
  transition: box-shadow 0.19s cubic-bezier(.68,-0.55,.27,1.55), border 0.19s, background 0.17s;
}
.cta-button, header nav a, .mobile-nav a {
  transition: color 0.19s, background 0.19s, box-shadow 0.19s;
}

/* --- FOOTER --- */
footer {
  background: #f3f6fa;
  padding: 26px 20px;
  border-top: 4px solid #F6C601;
  margin-top: 60px;
  font-size: 0.98em;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: #205072;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 1em;
}
footer nav a:hover, footer nav a:focus {
  background: #F6C601;
  color: #205072;
}
footer address {
  color: #205072;
  font-style: normal;
  margin-top: 5px;
  font-size: 0.95em;
  letter-spacing: 0.1px;
}
footer p {
  color: #205072;
  opacity: 0.85;
  margin-bottom: 4px;
}

/* --- OFERTA: PACKAGE COMPARISON (ai table) --- */
table thead th, table tbody td {
  text-align: center;
  vertical-align: middle;
}
table thead th:first-child, table tbody td:first-child {
  text-align: left;
}

/* ---- GEOMETRY (geometric_structured visual cues) ---- */
h1, h2 {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 800;
}
.feature-grid>div, .service-cards>div, .testimonial-card, .section {
  border-radius: 18px;
  /* Strong geometric lines or slightly clipped corners (diagonal) augment here: see box-shadows/radius: shapes */
  box-shadow: 0 2px 16px rgba(32,80,114,0.06);
}
.card, .feature-grid>div, .service-cards>div {
  border-width: 2.5px;
  border-style: solid;
}

/* --- LISTS, OL --- */
ol {
  counter-reset: solarlicz-counter;
  list-style: none;
}
ol li {
  counter-increment: solarlicz-counter;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ol li::before {
  content: counter(solarlicz-counter, decimal-leading-zero) '.';
  color: #F6C601;
  background: #205072;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 5px 11px;
  margin-right: 9px;
  font-size: 1rem;
  min-width: 37px;
  display: inline-block;
  text-align: center;
}
ul {
  list-style: square inside;
}
ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}

/* --- FORM/FAKE FORM FIELD STYLES --- */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #e7edf2;
  padding: 10px 14px;
  margin-bottom: 10px;
  width: 100%;
  background: #fff;
  color: #205072;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F6C601;
}

/* --- MODALS / OVERLAYS --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1500;
  background: #205072;
  color: #fff;
  padding: 24px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 0 28px rgba(32,80,114,0.22);
  font-size: 1.04em;
}
.cookie-text {
  flex: 1 1 auto;
  max-width: 540px;
  font-size: 0.97em;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background 0.15s, color 0.14s;
}
.cookie-btn.accept {
  background: #F6C601;
  color: #205072;
  border: 2px solid #F6C601;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #205072;
  color: #fff;
  border-color: #F6C601;
}
.cookie-btn.reject {
  background: #fff;
  color: #205072;
  border: 2px solid #F6C601;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F6C601;
  color: #205072;
}
.cookie-btn.settings {
  background: none;
  color: #F6C601;
  border: 2px solid #F6C601;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6C601;
  color: #205072;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 7px;
    font-size: 0.97em;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top:0; width: 100vw; height: 100vh;
  background: rgba(32,80,114, 0.80);
  z-index: 2500;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 28px 20px 24px 28px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(32,80,114,0.23);
  width: 98%;
  max-width: 440px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #205072;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 4px 8px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f6c60133;
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 6px;
  color: #205072;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7edf2;
  padding-bottom: 8px;
  padding-top: 8px;
}
.cookie-category-label {
  font-size: 1em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #205072;
}
.cookie-toggle input {
  width: 36px;
  height: 18px;
  accent-color: #F6C601;
}
.cookie-toggle input[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 14px 5px 16px 8px;
    border-radius: 10px;
    max-width: 99vw;
  }
}

/* ---- GEOMETRIC DECORATION (Angular brand details) ---- */
.section {
  border-top: 6px solid #205072;
  border-bottom: 2.5px solid #e7edf2;
}
.section:nth-child(even) {
  border-top: 6px solid #F6C601;
}
.feature-grid>div, .service-cards>div, .testimonial-card {
  border-bottom: 3.1px solid #F6C601;
  border-radius: 3px 18px 18px 18px;
}

/* --- GEOMETRIC/STRUCTURED FONT ACCENTS --- */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-shadow: 0px 3px 16px rgba(32,80,114,0.09);
  /* Geometric, strong */
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* ---- PRINT STYLES ---- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/* ---- END ---- */
