/* =======================================================
  Srebrna Energia Premium Luxury CSS - by Professional UI Developer
  Flexbox-only | Polish Market | Gold Accent | No Grid | Mobile First
======================================================= */

/* ============ CSS RESET & BASE ============= */
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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #23272a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #195877;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD700;
  outline: none;
}

/* ========== TYPOGRAPHY =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #195877;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.14;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.15rem;
}
p, li, dt, dd, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23272a;
}
blockquote {
  font-style: italic;
  padding-left: 28px;
  border-left: 3px solid #FFD700;
  color: #23272a;
  margin-bottom: 10px;
}
strong {
  color: #195877;
  font-weight: 600;
}

/* ====== LUXURY PREMIUM COLORS as Custom Properties ====== */
:root {
  --color-primary: #195877;
  --color-secondary: #F4F8FB;
  --color-accent: #FFD700;
  --color-bg: #fff;
  --color-bg-dark: #F4F8FB;
  --color-headings: #195877;
  --color-body: #23272a;
  --color-card-bg: #fff;
  --color-card-border: #DBF1F5;
  --color-card-shadow: 0 4px 18px 0 rgba(57, 57, 57, 0.07);
  --color-btn-bg: #195877;
  --color-btn-bg-hover: #FFD700;
  --color-btn-text: #fff;
  --color-btn-text-hover: #195877;
  --color-gold: #FFD700;
}

/* ========== LAYOUT =========== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 992px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* FLEXBOX Layouts - Required Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: var(--color-card-shadow);
  border: 1px solid var(--color-card-border);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  min-width: 290px;
  max-width: 350px;
  flex: 1 1 300px;
}

.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: 24px 28px;
  background: #fff;
  border: 1px solid #DBF1F5;
  box-shadow: 0 2px 12px 0 rgba(60,52,40,.08);
  border-radius: 18px;
  margin-bottom: 20px;
  max-width: 520px;
  min-width: 290px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Additional layouts for services and testimonials */
.features-list, .services-list, .services-grid, .tips-list, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 8px;
  margin-bottom: 8px;
}
.features-list li, .services-list li, .services-grid li, .tips-list li, .benefits-list li {
  background: #fff;
  padding: 20px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(57,57,57,.05);
  border: 1px solid #DBF1F5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}
.features-list img, .services-grid img, .services-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.services-list .price, .services-grid .price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #FFD700;
  font-weight: 700;
  margin-top: auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

.rating-summary {
  text-align: center;
  font-size: 1.1rem;
  color: #195877;
  margin-top: 14px;
}

.customer-profiles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: disc inside;
  padding-left: 16px;
}

.comparison-table {
  margin-top: 24px;
}
.comparison-table table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(31,34,38,.05);
}
.comparison-table th, .comparison-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #DBF1F5;
  text-align: left;
  font-size: 1rem;
}
.comparison-table th {
  background: #F4F8FB;
  color: #195877;
  font-weight: bold;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ================= BUTTONS / CTA ================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
  border-radius: 48px;
  padding: 0.95em 2.1em;
  margin-top: 10px;
  box-shadow: 0 4px 18px 0 rgba(39,57,92,.07);
  transition: background 0.14s, color 0.14s, box-shadow 0.23s;
  position: relative;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-btn-bg-hover);
  color: var(--color-btn-text-hover);
  box-shadow: 0 6px 25px 0 rgba(39,33,13,0.12);
}

button, .button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: color .14s, background .14s;
}
button:active, .button:active {
  transform: scale(0.97);
}

/* ==================== HEADER / NAVIGATION ==================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(57,57,57,0.044);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
}
header .container {
  padding: 9px 20px 9px 20px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}
header img {
  max-height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: #195877;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  transition: color .14s;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFD700;
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    font-size: 0.99rem;
    padding: 0.88em 1.4em;
  }
}

/* MOBILE MENU BURGER */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  right: 22px;
  top: 21px;
  z-index: 100;
  background: #fff;
  color: #195877;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(57,57,57,.08);
  border: 1px solid #DBF1F5;
  transition: background .15s, color .15s, box-shadow .25s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD700;
  color: #195877;
  box-shadow: 0 4px 17px 0 rgba(234,219,18,.14);
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid #DBF1F5;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform .37s cubic-bezier(.67,.01,.18,.99), opacity .2s;
  z-index: 222;
  overscroll-behavior: contain;
  box-shadow: 0 2px 20px 0 rgba(40,40,30,.12);
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  font-size: 2.0rem;
  color: #195877;
  position: absolute;
  right: 18px;
  top: 14px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #DBF1F5;
  box-shadow: 0 1px 7px 0 rgba(57,57,57,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 224;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD700;
  background: #F4F8FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 70px 0 0 0;
  padding: 0 38px;
  gap: 18px;
}
.mobile-nav a {
  color: #195877;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 14px 0 6px 0;
  border-bottom: 1px solid #DBF1F5;
  transition: color .19s, background .12s;
  min-width: 140px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD700;
  background: #F4F8FB;
}

/* ========== MAIN ========== */
main {
  min-height: 500px;
  background: #fff;
  width: 100%;
}

/* =========== CARDS / HERO / BANNERS ========== */
.card {
  border: 1px solid #DBF1F5;
  box-shadow: 0 4px 18px 0 rgba(57,57,57,0.07);
  border-radius: 18px;
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .card {
    min-width: 200px;
    padding: 18px 10px;
  }
}

/* =========== TESTIMONIALS ========== */
.testimonial-card {
  background: #fff;
  border: 1px solid #DBF1F5;
  box-shadow: 0 2px 13px 0 rgba(60,52,40,.10);
  color: #23272a;
  border-radius: 18px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #195877;
  font-size: 1.01rem;
  margin-left: 12px;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  color: #23272a;
  font-size: 1.06rem;
}

/* ============ FAQ, CHECKLIST, DOWNLOAD ============ */
.faq, .downloads {
  background: #fcfcfc;
  border: 1px solid #DBF1F5;
  border-radius: 16px;
  padding: 18px 18px 11px 18px;
  margin-top: 18px;
}
.faq h3, .downloads h3 { color: #195877; font-size: 1.09rem; margin-bottom: 10px; }
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 13px;
  color: #195877;
}
.faq dd {
  margin-top: 2px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #23272a;
}
.downloads a {
  color: #195877;
  transition: color .17s;
}
.downloads a:hover {
  color: #FFD700;
}

/* ============ FOOTER ============= */
footer {
  background: #fff;
  border-top: 1px solid #DBF1F5;
  margin-top: 70px;
  padding-top: 34px;
  padding-bottom: 24px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: 44px;
}
.footer-nav a {
  color: #195877;
  font-size: 1.01rem;
  margin-bottom: 3px;
  opacity: 0.92;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus{ color: #FFD700; opacity: 1; }
.footer-contact {
  font-size: 1.01rem;
  color: #23272a;
  opacity: 0.95;
  line-height: 1.7;
  margin-right: 46px;
}
.newsletter-signup {
  background: #F4F8FB;
  border: 1px solid #DBF1F5;
  border-radius: 16px;
  padding: 15px 24px 13px 24px;
  max-width: 320px;
}
.newsletter-signup h3 {
  color: #195877;
  margin-bottom: 7px;
  font-size: 1.03rem;
}
.newsletter-signup p {
  font-size: 0.97rem;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .footer-contact, .newsletter-signup { margin-right: 0; }
}

/* ========== TABLES ========== */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 13px 10px;
  border: 1px solid #DBF1F5;
  text-align: left;
}
th {
  background: #F4F8FB;
  color: #195877;
}

/* ========== MAP / VIDEO placeholders ========== */
.map-embed-placeholder, .video-testimonials-placeholder {
  background: #F7FAFC;
  color: #195877;
  font-style: italic;
  border-radius: 13px;
  padding: 20px;
  text-align: center;
  border: 1px dashed #DBF1F5;
  margin: 11px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .content-wrapper, .card-container, .features-list, .services-list, .tips-list, .benefits-list, .testimonial-slider, .testimonial-grid, .container {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container, .features-list, .services-list, .tips-list, .benefits-list, .testimonial-slider, .testimonial-grid, .container {
    flex-direction: column !important;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 5px;
  }
}

/* ============ MICRO-INTERACTIONS ========== */
.card, .testimonial-card, .features-list li, .services-list li, .services-grid li {
  transition: box-shadow 0.18s, border-color 0.16s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .features-list li:hover, .services-list li:hover, .services-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(39,49,80,0.14);
  border-color: #FFD700;
  transform: translateY(-5px) scale(1.015);
}

input, select, textarea {
  border-radius: 9px;
  border: 1px solid #DBF1F5;
  padding: 10px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #FFD700;
  outline: none;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #195877;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(25,88,119,.18);
  border-top: 2.5px solid #FFD700;
  z-index: 3001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  font-size: 1rem;
  opacity: 1;
  transition: opacity .29s, transform .4s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn, .cookie-btn-primary {
  padding: 9px 19px;
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  border: none;
  outline: none;
  background: #FFD700;
  color: #195877;
  transition: box-shadow .16s, background .14s, color .14s;
  margin-bottom: 0;
  box-shadow: 0 1px 9px 0 rgba(234,210,39,.10);
  cursor: pointer;
}
.cookie-btn-primary {
  background: #195877;
  color: #fff;
  border: 2px solid #FFD700;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #FFD700;
  color: #195877;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff7da;
  color: #195877;
  box-shadow: 0 3px 15px 0 rgba(251,230,110,.05);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    font-size: 0.98rem;
    gap: 13px;
    padding: 18px 7px 22px 7px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 4000;
  background: rgba(25,88,119,.70);
  display: none;
  align-items: flex-end;
  justify-content: center;
  transition: opacity .3s, background .3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 34px 24px 24px 24px;
  max-width: 470px;
  width: 98vw;
  box-shadow: 0 9px 32px 0 rgba(25,88,119,.12);
  margin-bottom: 0;
  position: relative;
  animation: cookie-slideup .37s cubic-bezier(.77,.01,.28,1);
}
@keyframes cookie-slideup {
  0% {transform: translateY(300px);opacity: 0;}
  100% {transform: translateY(0);opacity: 1;}
}
.cookie-modal h2 {
  margin-bottom: 9px;
  color: #195877;
  font-size: 1.13rem;
}
.cookie-modal-categories {
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #DBF1F5;
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .19s;
  border: 1px solid #ccc;
}
.cookie-toggle:checked {
  background: #FFD700;
  border-color: #FFD700;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(30,30,30,0.09);
  transition: left .18s;
}
.cookie-toggle:checked:before {
  left: 17px;
  background: #FFFBE7;
}

.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-close {
  background: none;
  color: #195877;
  border: none;
  font-size: 1.7rem;
  position: absolute;
  right: 14px;
  top: 8px;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F8FB;
}

/* ========== UTILITIES ========== */
.mt-2 { margin-top: 2px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-gold { color: #FFD700; }

/* ========== SPECIAL CLASSES / ENHANCEMENTS ========== */
.pricing-table {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #DBF1F5;
  padding: 26px 22px 15px 22px;
  margin: 24px 0 0 0;
  max-width: 480px;
}
.pricing-table h3 {
  color: #195877;
  font-size: 1.09rem;
  margin-bottom: 12px;
}
.pricing-table ul {
  list-style: disc inside;
  margin-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Scrollbar for luxury touch */
body::-webkit-scrollbar {
  width: 12px;
  background: #F4F8FB;
}
body::-webkit-scrollbar-thumb {
  background: #DBF1F5;
  border-radius: 8px;
  border: 3px solid #F4F8FB;
}
body::-webkit-scrollbar-thumb:hover {
  background: #FFD700;
}

/* ========== FOCUS states for accessibility ========== */
:focus {
  outline: 2px solid #FFD700 !important;
  outline-offset: 1px;
}

/* ========== PRINT SUPPORT ========== */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cta-btn, .cookie-consent-banner, .cookie-modal-overlay { display:none!important; }
  main { padding: 0; }
}

/* Ensuring NO GRID and NO COLUMNS are used */
/* No display: grid, grid-*, columns, column-count, column-gap, break-inside anywhere in this stylesheet */
