/* ------------------------------------------------------------
   Lucent Kurier - Geometric Structured Style
   Modern, Flex-only, Mobile-First Responsive CSS
   No CSS Grid. No Multi-columns. Only Flex
-------------------------------------------------------------*/
/* --- 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, 
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 {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  height: 100%;
  min-height: 100vh;
  background: #fff;
  color: #183153;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #29A19C;
  outline: none;
}
ul, ol {
  padding-left: 2em;
}
strong, b {
  font-weight: 700;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 18px;
  text-align: left;
}
th {
  background: #f7fafd;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #183153;
}
td {
  background: #fff;
  border-bottom: 1px solid #DDE9F6;
  font-size: 1rem;
}

/* --- Brand Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #183153;
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, table, .pricing-table { margin-bottom: 16px; }
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Base Containers --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
section {
  margin-bottom: 60px !important;
  padding: 40px 0 0 0;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}

/* --- Hero Section --- */
.hero {
  min-height: 330px;
  padding: 64px 0 32px 0;
  background: linear-gradient(120deg, #183153 85%, #29A19C 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero h1, .hero p { color: #fff; }
.hero .btn-primary { margin-top: 24px; }
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* --- Geometric Grids and Feature/Service Layouts --- */
.feature-grid, .service-list, .process-steps, .step-guide, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-wrapper.process-steps {flex-direction: column;}
.feature-grid > div, .service-list > div, .process-steps > div, .step-guide > div {
  background: #fff;
  border: 2px solid #DDE9F6;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(24,49,83,0.06);
  padding: 28px 22px 22px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 330px;
  align-items: center;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, border-color .2s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-list > div:hover, .process-steps > div:hover, .step-guide > div:hover {
  box-shadow: 0 6px 32px rgba(24,49,83,0.14);
  border-color: #29A19C;
}
.feature-grid img, .service-list img, .process-steps img, .step-guide img {
  margin-bottom: 10px;
  width: 48px;
  height: 48px;
  background: #29A19C0D;
  border-radius: 10px;
  padding: 8px;
}

/* --- Card Container Utilities --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #fff;
  border: 2px solid #DDE9F6;
  box-shadow: 0 2px 8px rgba(24,49,83,0.09);
  padding: 30px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: #29A19C;
  box-shadow: 0 4px 16px rgba(24,49,83,0.16);
}

.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;
}

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

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #F7FAFD;
  color: #212B36;
  border: 2px solid #DDE9F6;
  border-radius: 16px;
  padding: 30px 26px 20px 26px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 350px;
  font-size: 1.06rem;
  box-shadow: 0 2px 12px rgba(24,49,83,0.09);
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #183153;
  margin-top: 6px;
}
.testimonial-card img {
  margin: 0 2px 0 0;
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* --- Spacing for Cards/Sections --- */
section > .container, footer > .container {
  margin-bottom: 20px;
}
.content-wrapper > *, .feature-grid > *, .service-list > *, .process-steps > *, .testimonial-grid > * {
  margin-bottom: 20px;
}

/* --- CTA Buttons --- */
.btn-primary, .btn-secondary {
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.33;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.17s, box-shadow 0.17s, border 0.15s;
  box-shadow: 0 2px 6px rgba(41,161,156,0.07);
  margin-top: 10px;
  display: inline-block;
}
.btn-primary {
  background: #29A19C;
  color: #fff;
  border: 2px solid #29A19C;
}
.btn-primary:hover, .btn-primary:focus {
  background: #183153;
  color: #fff;
  border-color: #183153;
}
.btn-secondary {
  background: #fff;
  color: #29A19C;
  border: 2px solid #29A19C;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #29A19C;
  color: #fff;
  box-shadow: 0 2px 12px rgba(24,49,83,0.13);
}

/* --- Pricing Table --- */
.pricing-table thead th {
  background: #29A19C11;
  color: #183153;
  font-size: 1.1rem;
  border-bottom: 2px solid #29A19C;
}
.pricing-table tbody td {
  font-size: 1rem;
  color: #183153;
}
.pricing-table tbody tr:nth-child(even) td {
  background: #f5fafd;
}

/* --- List Styles --- */
ul.benefits-list {
  list-style: '◆ ';
  margin-bottom: 18px;
  color: #183153;
  font-size: 1.05rem;
}
ul.benefits-list li { margin-bottom: 7px; }
ul li, ol li {
  margin-bottom: 8px;
}

/* --- Header --- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(24,49,83,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
header a img {
  max-height: 38px;
  width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #183153;
  border-bottom: 2.5px solid transparent;
  padding: 8px 10px 8px 10px;
  border-radius: 3px;
  transition: border-bottom 0.17s, background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2.5px solid #29A19C;
  color: #29A19C;
  background: #F7FAFD;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #183153;
  cursor: pointer;
  display: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #DDE9F6;
}

/* --- Mobile Navigation Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,49,83,0.93);
  z-index: 1010;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.76,0,.24,1.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1050;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-close:hover { background: #29A19C44; }
.mobile-nav {
  margin-top: 85px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 30px 30px 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 13px 8px 13px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.12s, border-bottom 0.12s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #29A19C;
  border-bottom: 2.5px solid #29A19C;
}

/* --- Footer --- */
footer {
  background: #f7fafd;
  border-top: 2px solid #dde9f6;
  padding: 34px 0 18px 0;
  color: #183153;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #183153;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.12s, color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  border-bottom: 2px solid #29A19C;
  color: #29A19C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact img { height: 16px; width: 16px; margin-right: 2px; vertical-align: middle; }

/* --- FAQ and List Styles --- */
.faq-list, .faq-snippet {
  background: #fff;
  border-radius: 14px;
  border: 2px solid #dde9f6;
  padding: 30px 24px;
  box-shadow: 0 2px 10px rgba(24,49,83,0.05);
}
.faq-list h3, .faq-snippet h3 { color: #29A19C; margin-top: 15px; }
.faq-list p, .faq-snippet p { margin-bottom: 12px; }

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #183153;
  color: #fff;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 20px 32px 18px 32px;
  box-shadow: 0 -4px 16px rgba(24,49,83,0.12);
  font-size: 1.05rem;
  animation: fadeInUpCookie 0.36s cubic-bezier(.6,0,.4,1) 0s 1;
}
@keyframes fadeInUpCookie {
  from { opacity:0; transform: translateY(36px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-consent-banner .cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  border-radius: 6px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  background: #29A19C;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.18s, color 0.14s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #183153;
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  color: #183153;
  border: 2px solid #29A19C;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #29A19C33;
  color: #183153;
}
.cookie-btn-settings {
  background: #183153;
  border: 2px solid #29A19C;
  color: #fff;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #29A19C;
  color: #fff;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  min-width: 320px;
  max-width: 98vw;
  background: #fff;
  color: #183153;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(24,49,83,0.22);
  z-index: 2100;
  padding: 38px 40px 26px 40px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.27s cubic-bezier(.7,0,.2,1) 0s 1;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity:0; transform: translate(-50%,-42%) scale(0.93); }
  to { opacity:1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: #183153;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F7FAFD;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  min-width: 130px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #183153;
}
.cookie-category input[type="checkbox"] {
  accent-color: #29A19C;
  outline: 2px solid #29A19C11;
  width: 20px; height: 20px;
  margin-right: 7px;
}
.cookie-category .cookies-always-on {
  font-size: 0.96rem;
  color: #29A19C;
  font-weight: bold;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 28px;
  top: 24px;
  background: none;
  border: none;
  color: #29A19C;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #29A19C11;
}

/* --- Forms --- */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 2px solid #DDE9F6;
  border-radius: 8px;
  padding: 12px 16px;
  background: #f7fafd;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.14s, box-shadow 0.14s;
  color: #183153;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #29A19C;
  box-shadow: 0 2px 8px rgba(41,161,156,0.07);
  outline: none;
}

/* --- Responsive Layouts --- */
@media (max-width: 1150px) {
  .container { max-width: 100%; }
}
@media (max-width: 990px) {
  .main-nav, .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .service-list > div, .process-steps > div {
    min-width: 175px;
    max-width: 100%;
    flex: 1 1 175px;
  }
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .btn-primary { margin-top: 16px; }
  .container { padding: 0 7vw; }
  .feature-grid, .service-list, .process-steps, .card-container, .testimonial-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 96vw;
    min-width: 0;
  }
  .text-image-section, .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav { justify-content: flex-start; gap: 10px; }
  .footer-contact { font-size: 0.98rem; }
  .hero {
    padding: 45px 0 22px 0;
    min-height: 190px;
  }
  section { padding: 26px 0 0 0; }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  .container { padding: 0 3vw; }
  .hero h1 { font-size: 1.28rem; }
  .hero {
    padding: 24px 0 12px 0;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 7vw;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 20px 7vw 16px 7vw;
  }
  .cookie-consent-banner {
    font-size: 0.98rem;
    padding: 12px 8px 11px 8px;
    flex-direction: column;
    gap: 10px 0;
  }
  .cookie-modal {
    padding: 22px 10px 14px 10px;
  }
  .mobile-menu-close { right: 16px; top: 16px; font-size: 1.7rem; }
  .mobile-nav { padding: 30px 10vw 0 11vw; }
}

/* --- Micro-interactions & Utility Classes --- */
[tabindex]:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #29A19C;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #8DA5BF; }
::-moz-placeholder { color: #8DA5BF; }
:-ms-input-placeholder { color: #8DA5BF; }
::placeholder { color: #8DA5BF; opacity:1; }

.fade-in {
  animation: fadeIn 0.4s cubic-bezier(.6,0,.4,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Custom Scrollbar for Geometric Feel --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #d2e6f3;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #29A19C7a;
}

/* --- Hide scrollbar on mobile nav overlay --- */
.mobile-menu {
  overflow-y: auto;
}

/* --- Make All Cards/Sections Visibly Separated --- */
section, .card, .testimonial-card, .faq-list, .faq-snippet {
  box-sizing: border-box;
  margin-bottom: 60px;
}
section:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0 !important;
}

/* --- Make Sure Nothing Overlaps On Any Size --- */
section, header, footer, .container, .content-wrapper, .feature-grid, .service-list, .testimonials {
  z-index: 1;
}
.mobile-menu, .cookie-consent-banner, .cookie-modal {
  z-index: 1000;
}

/* --- Accessible focus for buttons and links --- */
a:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #29A19C;
  outline-offset: 2px;
}

/* --- Utility: Hide Element --- */
.hide { display: none !important; }

/* --- Print Styles --- */
@media print {
  .mobile-menu, .cookie-consent-banner, header, footer { display: none !important; }
}
