/* ========================================================================
   Czysty Wybór: "elegant_classic" SCSS-inspired CSS (NO GRID/COLUMNS!)
   ======================================================================== */
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  background: #f6f7f8;
  color: #23322E;
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-color: #f6f7f8;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Montserrat', 'Lora', Georgia, serif;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #21546A;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, ul, ol, blockquote {
  margin-top: 0;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 23px;
}
a {
  color: #21546A;
  text-decoration: underline;
  transition: color 0.2s cubic-bezier(0.3,0.5,0.7,1);
}
a:hover, a:focus {
  color: #40b37d;
}
blockquote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.13rem;
  font-style: italic;
  color: #21546A;
  border-left: 3px solid #40b37d;
  margin-left: 0;
  margin-right: 0;
  padding: 12px 24px 12px 18px;
  background: #f0f5f3;
}
hr {
  border: none;
  border-top: 1px solid #e3e7e7;
  margin: 32px 0;
}

/* Typography scale for consistency */
.tagline {
  font-size: 1.23rem;
  color: #437587;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  margin-bottom: 32px;
}

.confirmation-message {
  font-size: 1.2rem;
  color: #21546A;
  margin: 20px 0;
  padding: 12px 0;
}
.next-steps ul {
  margin-bottom: 0;
}

/* =====================================================================
   LAYOUTS & CONTAINERS (ALL FLEXBOX!)
   ===================================================================== */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(33, 84, 106, 0.06);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
    border-radius: 0 0 14px 14px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #f8fbfa;
  border-radius: 12px;
  padding: 28px 22px 20px 22px;
  min-width: 270px;
  flex: 1 1 320px;
  box-shadow: 0 1px 6px rgba(33,84,106,0.07);
  transition: box-shadow 0.25s cubic-bezier(0.3,0.5,0.7,1);
  border: 1px solid #e0e4e4;
}
.card:hover, .card:focus-within {
  box-shadow: 0 2px 14px 1px rgba(33,84,106,0.15);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 22px;
  background: #fff;
  border-radius: 13px;
  border: 1px solid #e1e3e2;
  box-shadow: 0 1px 8px 0 rgba(33,84,106,0.10);
  margin-bottom: 20px;
  min-width: 280px;
  flex: 1 1 280px;
}
.testimonial-meta {
  margin-top: 8px;
  color: #21546A;
  font-size: 0.97rem;
  font-style: italic;
  letter-spacing: 0.01em;
  font-family: 'Lora', Georgia, serif;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  color: #23322E;
  background: #f5f8f7;
  border-radius: 10px;
  padding: 10px 15px 10px 6px;
}
.feature-list img {
  width: 24px;
  height: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #f8fbfa;
  border-radius: 9px;
  border: 1px solid #e0e4e4;
  box-shadow: 0 1px 5px 0 rgba(33, 84, 106, 0.06);
  padding: 24px 20px 20px 20px;
  min-width: 230px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  transition: box-shadow 0.23s cubic-bezier(0.33,0.56,0.77,1);
}
.service-card:hover {
  box-shadow: 0 2px 14px 1px rgba(64,179,125,0.13);
}
.price {
  font-family: 'Montserrat', 'Lora', Georgia, serif;
  font-weight: 700;
  color: #40b37d;
  font-size: 1.07rem;
  margin-top: 9px;
}

/* FAQ */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e7eae6;
  font-size: 1.03rem;
}
.faq-list li:last-child {
  border-bottom: none;
}

.value-proposition ul,
.checklist-items,
.company-listings,
.step-list,
.tips ul,
.do-and-dont ul {
  margin: 0 0 20px 0;
  padding-left: 19px;
}

.do-and-dont ul {
  list-style: none;
  padding-left: 0;
}
.do-and-dont li {
  margin-bottom: 7px;
  font-size: 0.99rem;
}

.company-listings li {
  margin-bottom: 7px;
  font-size: 1.07rem;
}

.how-steps {
  list-style-type: decimal;
  margin: 0 0 20px 20px;
  padding-left: 16px;
}
.how-steps li {
  margin-bottom: 9px;
  font-size: 1.04rem;
}

.comparison-table {
  margin-top: 15px;
  margin-bottom: 24px;
}
.comparison-table table, .service-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  background: #fff;
  border-radius: 7px;
}
.comparison-table th, .comparison-table td, .service-pricing-table th, .service-pricing-table td {
  border: 1px solid #e1e3e2;
  padding: 11px 10px;
  text-align: left;
}
.comparison-table th, .service-pricing-table th {
  background: #f0f5f3;
  color: #21546A;
  font-family: 'Montserrat', 'Lora', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.03rem;
}
.comparison-table td, .service-pricing-table td {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.97rem;
  color: #23322E;
}

/* Newsletter, Social, Contact Info (in footer) */
.newsletter-signup {
  background: #f2f5f3;
  border-radius: 10px;
  padding: 25px 19px 22px 19px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.newsletter-signup h3 {
  margin-bottom: 5px;
  color: #21546A;
}
.social-links {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 16px 0 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.97rem;
}
.contact-info {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  color: #526268;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-info address {
  font-style: normal;
  margin-bottom: 0;
}

/* Responsive Flexbox Footer */
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 40px;
  border-radius: 13px 13px 0 0;
  background: #fff;
  box-shadow: 0 -1px 16px 0 rgba(33, 84, 106, 0.06);
}
footer {
  background: transparent;
  margin-top: 40px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    padding: 28px 10px 24px 10px;
  }
}

/* =====================================================================
   HEADER & NAVIGATION (Flex Only!)
   ===================================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(33,84,106,0.09);
  padding: 0;
  position: sticky;
  z-index: 50;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Lora', Georgia, serif;
  color: #21546A;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
  transition: color 0.19s cubic-bezier(0.33,0.56,0.77,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: #40b37d;
}
/main-nav a.active {
  font-weight: bold;
  color: #40b37d;
  border-bottom: 2px solid #40b37d;
/}

/* HIDE MOBILE MENU TOGGLE BY DEFAULT (SHOW ON MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: #f2f5f3;
  border: none;
  color: #21546A;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #40b37d;
  color: #fff;
  outline: none;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== MOBILE SLIDEOUT MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #f5f8f7;
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.3,0.72,0.26,1);
  box-shadow: -2px 0 30px 0 rgba(33, 84, 106, 0.14);
  padding: 0 0 0 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #21546A;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 11px 19px 7px 15px;
  align-self: flex-end;
  margin-top: 16px;
  margin-bottom: 10px;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #40b37d;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 26px 22px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Lora', Georgia, serif;
  color: #21546A;
  font-size: 1.07rem;
  text-decoration: none;
  padding: 13px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #40b37d;
  color: #fff;
}

/* Hide menu on desktop */
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay background for mobile menu (add with JS if needed) */
.mobile-menu-backdrop {
  position: fixed;
  background: rgba(33, 84, 106, 0.17);
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-family: 'Montserrat', 'Lora', Georgia, serif;
  font-size: 1.06rem;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  text-decoration: none;
  transition: background 0.19s, color 0.21s, box-shadow 0.18s;
  cursor: pointer;
  margin: 4px 0;
  letter-spacing: 0.01em;
  outline: none;
  box-shadow: 0 1px 5px 0 rgba(33,84,106,0.11);
}
.btn-primary {
  background: #21546A;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #40b37d;
  color: #fff;
}
.btn-secondary {
  background: #f7f7f7;
  color: #21546A;
  border: 1px solid #40b37d;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #40b37d;
  color: #fff;
  border-color: #21546A;
}
.btn-accent {
  background: #40b37d;
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
  background: #21546A;
  color: #fff;
}
.btn:active {
  opacity: 0.90;
}

/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================================== */
.cookie-banner {
  position: fixed;
  z-index: 100001;
  left: 0; bottom: 0;
  width: 100%;
  background: rgba(255,255,255,0.99);
  box-shadow: 0 -2px 12px 0 rgba(64,179,125,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 10px 19px 10px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.03rem;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  animation: slidein-banner 0.53s cubic-bezier(0.4,0.66,0.22,1);
}
@keyframes slidein-banner {
  0%{opacity:0;transform:translateY(100%);} 100%{opacity:1;transform:none;}
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
  color: #23322E;
  max-width: 700px;
}
.cookie-banner .btn {
  min-width: 110px;
  margin-left: 8px;
}
.cookie-banner .btn + .btn {
  margin-left: 9px;
}

.cookie-modal {
  position: fixed;
  z-index: 100010;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,84,106,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadein-modal 0.38s;
}
@keyframes fadein-modal {
  0%{opacity:0;} 100%{opacity:1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 410px;
  width: 98vw;
  padding: 34px 30px 28px 30px;
  box-shadow: 0 6px 22px 0 rgba(33,84,106,0.20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  margin-top: 0;
  font-size: 1.28rem;
  color: #21546A;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 23px;
  top: 18px;
  background: none;
  border: none;
  color: #21546A;
  font-size: 2.0rem;
  cursor: pointer;
  transition: background 0.16s;
  border-radius: 50%;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #40b37d;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 13px;
  margin-bottom: 18px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #21546A;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: #40b37d;
  width: 17px; height: 17px;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #21546A;
}

/* For visually distinguished essential cookies toggles */
.cookie-category input[type=checkbox][disabled] + label {
  color: #ccc;
  text-decoration: underline dotted;
}

@media (max-width: 715px) {
  .cookie-modal-content {
    max-width: 95vw;
    padding: 20px 10px 14px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.96rem;
    padding: 15px 3vw;
  }
  .cookie-banner .btn {
    min-width: 88px;
    font-size: 0.99rem;
  }
}

/* === Hide banner/modal when needed (for JS) === */
.cookie-banner.hide {
  opacity: 0; pointer-events: none; transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0; pointer-events: none; transition: opacity 0.19s;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 680px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 7px; }
  .section { padding: 20px 3px; }
  .card,
  .service-card,
  .testimonial-card {
    min-width: unset;
    flex: 1 1 90vw;
    padding: 18px 8vw 16px 8vw;
  }
  .newsletter-signup {
    max-width: 99vw;
    padding: 16px 4vw 12px 4vw;
  }
}

@media (max-width: 520px) {
  .feature-list,
  .service-cards,
  .testimonial-slider, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .card, .service-card, .testimonial-card {
    padding: 15px 2vw 13px 2vw;
  }
  .card-content { gap: 3px; }
  .footer-nav { gap: 7px; font-size: 0.94rem; }
  .contact-info { gap: 4px; font-size: 0.92rem; }
  .tagline { font-size: 1.06rem; }
  .btn { font-size: 0.97rem; padding: 11px 19px; }
}

/* =====================================================================
   ELEGANT EFFECTS
   ===================================================================== */
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.23s cubic-bezier(0.33,0.56,0.77,1), border-color 0.19s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 18px 3px rgba(33,84,106,0.14);
  border-color: #40b37d;
}
.btn, .card, .service-card, .testimonial-card {
  will-change: box-shadow, transform;
  transition-property: box-shadow, background, color, border-color, transform;
}

/* Subtle hover effect for links in main content */
.section a:not(.btn):hover, .section a:not(.btn):focus {
  text-shadow: 0 2px 14px #40b37d22;
}

/* Make link tap areas large for mobile nav */
.mobile-nav a {
  touch-action: manipulation;
  min-height: 44px;
  display: block;
  font-size: 1.18rem;
}

/* Accessibility: Focus state */
:focus-visible {
  outline: 2px solid #40b37d;
  outline-offset: 2px;
  box-shadow: 0 2px 12px 0 #21546a1C;
}

/* END */