/* =======================================================
   EnergiField Tłumaczenia - style.css (gradient_modern)
   ======================================================= */

/* 1. CSS RESET + BASE ----------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
a, img, ul, ol, li, table, thead, tbody, tfoot, tr, th, td, form, fieldset,
legend, label, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #16445C;
  font-size: 16px;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #26A69A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #16445C;
}
:focus {
  outline: 2px solid #26A69A;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 68, 92, 0.08);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid #F5F7FA;
}
th {
  background: #EAF4F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}
/* 2. TYPOGRAPHY ------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #16445C;
  font-weight: 700;
  line-height: 1.17;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  margin-top: 24px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-top: 20px;
  font-weight: 600;
}
.text-section h2, .text-section h3 {
  margin-top: 16px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
/* 3. CONTAINERS + FLEX SPACING --------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(22,68,92,0.07);
}
/* 4. HERO (Landing Banner Gradient) ---------------------- */
.hero {
  background: linear-gradient(90deg, #26A69A 0%, #16445C 92%);
  color: #fff;
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  box-shadow: 0 8px 32px rgba(22,68,92,0.15);
  overflow: visible;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 0 36px 0;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 10px;
}
.hero p {
  color: #F5F7FA;
  font-size: 1.17rem;
  max-width: 620px;
}
/* 5. NAVIGATION ------------------------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(22,68,92,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 80px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #16445C;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #EAF4F6;
  color: #26A69A;
}
nav a.cta {
  background: linear-gradient(90deg, #26A69A 30%, #16445C 88%);
  color: #fff;
  padding: 10px 26px;
  font-weight: 600;
  border-radius: 16px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(38,166,154,0.13);
  transition: transform 0.16s, box-shadow 0.2s;
}
nav a.cta:hover, nav a.cta:focus {
  background: #16445C;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(22,68,92,0.09);
}
header img {
  height: 30px;
  margin-right: 18px;
  vertical-align: middle;
}
/* 6. MOBILE NAVIGATION ----------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.24rem;
  color: #16445C;
  cursor: pointer;
  z-index: 105;
  margin-left: 12px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #26A69A;
}
.mobile-menu {
  display: none;
}
.mobile-menu[aria-expanded="true"],
.mobile-menu.open {
  display: flex;
}
/* Overlay background for the menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 110;
  background: linear-gradient(101deg, #16445C 66%, #26A69A 100%);
  box-shadow: 0 0 32px rgba(22,68,92,0.17);
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 22px 22px 22px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 115;
  cursor: pointer;
  transition: color 0.18s;
  padding: 8px 12px;
  border-radius: 6px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #EAF4F6;
  background: rgba(38,166,154,0.19);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 16px 0 12px 0;
  border-bottom: 1px solid rgba(250,250,250,0.15);
  display: block;
  border-radius: 0;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: rgba(250,250,250,0.05);
  color: #EAF4F6;
}
@media (max-width: 1100px) {
  nav a:not(.cta) {
    font-size: 0.98rem;
  }
}
@media (max-width: 950px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Hide on desktop, show on mobile */
@media (min-width: 951px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* 7. FOOTER ---------------------------------------------- */
footer {
  background: linear-gradient(90deg, #F5F7FA 60%, #EAF4F6 100%);
  padding: 36px 0 18px 0;
  color: #16445C;
  font-size: 1rem;
  box-shadow: 0 -2px 12px rgba(22,68,92,0.03);
  margin-top: 40px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
footer nav {
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: #26A69A;
  font-size: 1rem;
  border-radius: 5px;
  padding: 4px 10px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: #16445C;
  background: #EAF4F6;
}
footer span {
  font-size: 0.98rem;
  color: #16445C;
  opacity: 0.75;
  letter-spacing: 0.015em;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 6px;
  }
}
/* 8. FEATURE GRID, CARD, FLEX COMPONENTS ----------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #EAF4F6;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(22,68,92,.04);
  padding: 26px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, background .18s;
}
.feature-grid > div:hover {
  background: #26A69A30;
  box-shadow: 0 8px 24px rgba(22,68,92,0.11);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(22,68,92,0.05);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(22,68,92,0.11);
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
}

/* 9. TESTIMONIAL CARD ------------------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(22,68,92,0.07);
  margin-bottom: 24px;
  margin-top: 12px;
  border-left: 7px solid #26A69A;
  transition: box-shadow 0.17s, border-left 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(22,68,92,0.12);
  border-left: 7px solid #16445C;
}
.testimonial-card p {
  color: #16445C;
  font-size: 1.06rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #26A69A;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-info img {
  width: 22px;
  height: 22px;
}
.testimonial-info span:last-child {
  color: #16445C;
  font-weight: 400;
  font-size: 0.97rem;
}
/* Adequate contrast for testimonials */
.testimonial-card,
.testimonial-card p,
.testimonial-info span:last-child {
  color: #16445C !important;
}
/* 10. BUTTONS / CTAs ------------------------------------- */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #26A69A 20%, #16445C 85%);
  color: #fff !important;
  border: none;
  border-radius: 16px;
  padding: 14px 36px;
  font-size: 1.10rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 4px;
  box-shadow: 0 2px 12px rgba(38,166,154,0.13);
  transition: box-shadow 0.15s, background 0.19s, transform 0.13s;
  position: relative;
  z-index: 5;
  text-shadow: 0 2px 4px rgba(22,68,92,0.08);
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #16445C 10%, #26A69A 95%);
  box-shadow: 0 8px 28px rgba(22,68,92,0.13);
  transform: translateY(-3px) scale(1.04);
}
button.cta {
  outline: none;
}
/* 11. FAQ-LIST (Pricing Page) ---------------------------- */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.faq-list > div {
  flex: 1 1 260px;
  background: #EAF4F6;
  border-radius: 13px;
  padding: 18px 22px 12px 22px;
  box-shadow: 0 2px 10px rgba(22,68,92,.05);
  margin-bottom: 20px;
}
.faq-list h3 {
  font-size: 1.06rem;
  font-weight: 500;
  margin-top: 0;
}
.faq-list p {
  font-size: 0.98rem;
  margin-bottom: 0;
}
/* 12. UTILITY & LAYOUT CLASSES --------------------------- */
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul,
.text-section ol {
  margin-top: 6px;
  margin-bottom: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 13. COOKIE BANNER & MODAL ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #16445C 67%, #26A69A 100%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  z-index: 2000;
  box-shadow: 0 -2px 22px rgba(22, 68, 92, 0.21);
  font-size: 1rem;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  flex: 1 1 430px;
  margin-right: 18px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 9px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .17s, color .18s, box-shadow 0.11s;
  background: #EAF4F6;
  color: #16445C;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(38,166,154,0.08);
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #26A69A 25%, #16445C 98%);
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #16445C;
}
.cookie-banner button.settings {
  background: #26A69A;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.93);
}
/* COOKIE MODAL ------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(22,68,92, 0.38);
  z-index: 2010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeIn 0.38s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  padding: 32px 24px 22px 24px;
  box-shadow: 0 8px 48px rgba(22,68,92,.16);
  position: relative;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUpModal 0.31s cubic-bezier(.43,.9,.39,.98);
}
@keyframes slideUpModal {from{transform: translateY(40px); opacity: 0;}to{transform: translateY(0); opacity: 1;}}
.cookie-modal h2 {
  color: #16445C;
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #16445C;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #26A69A;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  margin-right: 2px;
}
.cookie-modal .close-cookie-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #26A69A;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  transition: color 0.17s;
  padding: 5px 9px;
  border-radius: 5px;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus { color: #16445C; background: #EAF4F6; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 18px;
}
@media (max-width: 600px) {
  .section {
    padding: 24px 7px;
    margin-bottom: 38px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px 16px 10px;
    font-size: 0.96rem;
    gap: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-modal {
    padding: 22px 8px 12px 8px;
  }
}
/* 14. RESPONSIVE LAYOUTS --------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid > div {
    flex-basis: 47%;
    min-width: 190px;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    padding: 18px 12px 14px 18px;
  }
  .faq-list > div {
    flex-basis: 100%;
    padding: 13px 10px 8px 10px;
  }
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 7px;
  }
  .hero .content-wrapper {
    padding: 22px 0;
  }
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 16px 12px;
  }
  .cta {
    padding: 12px 16px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    max-width: 97vw;
  }
  .hero {
    min-height: 185px;
    border-radius: 0 0 18px 18px;
  }
}

/* 15. MISC. UI COMPONENTS ------------------------------- */
ul li img, ol li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 21px;
  height: 21px;
}
section ul,
section ol {
  margin-bottom: 16px;
}
main {
  padding-bottom: 38px;
}
/* Highlight for table rows */
table tbody tr:hover {
  background: #EAF4F6;
}
/* 16. VISUAL HIERARCHY SPACING --------------------------- */
section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .container, .section, .content-wrapper { max-width: 100% !important; }
}

/* --- END EnergiField Tłumaczenia gradient_modern CSS --- */
