/* RESET & BASE TYPOGRAPHY  */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f7f7f7;
  color: #1a4263;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1a4263;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #eead35;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 0.5em;
}
li + li {
  margin-top: 12px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1a4263;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
@media (min-width:768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
p {
  margin-bottom: 18px;
}
strong { font-weight: 700; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,66,99,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* HEADER */
header {
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: #f7f7f7;
  box-shadow: 0 1px 8px rgba(26,66,99,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1a4263;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 3px 6px;
  border-radius: 5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #eead35;
  background: #e8eff7;
}
.btn {
  min-width: 124px;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 8px;
}
.btn-primary {
  background: #1a4263;
  color: #fff;
  box-shadow: 0 2px 14px rgba(26,66,99,0.10);
}
.btn-primary:hover, .btn-primary:focus {
  background: #eead35;
  color: #1a4263;
}
.btn-secondary {
  background: #eead35;
  color: #1a4263;
  box-shadow: 0 2px 8px rgba(26,66,99,0.08);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1a4263;
  color: #fff;
}

/*--- MOBILE NAVIGATION ---*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a4263;
  background: none;
  border: none;
  margin-left: 20px;
  cursor: pointer;
  z-index: 1101;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,66,99,0.12);
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 60px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #1a4263;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  padding: 4px 6px;
  margin-bottom: 20px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1a4263;
  border-radius: 6px;
  padding: 10px 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e8eff7;
  color: #eead35;
}
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*--- HERO & CTA ---*/
.hero {
  background: linear-gradient(110deg, #e8eff7 65%, #f7f7f7 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 24px;
}
.hero .container {
  align-items: stretch;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 992px) {
  .hero .content-wrapper {
    max-width: 60%;
  }
}
.cta {
  background: #e8eff7;
  border-radius: 20px;
  margin-top: 30px;
  padding: 40px 20px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2 {
  color: #1a4263;
  margin-bottom: 10px;
}

/*--- FEATURES / CARDS / FLEX LAYOUTS ---*/
.features, .values, .services, .about-section, .contact-info {
  margin-bottom: 60px;
}
.features ul,
.services-list,
.values ul,
.purchase-steps ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features ul li, .values ul li, .services-list li, .purchase-steps ul li, .contact-info ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #1a4263;
}
.features ul li img, .contact-info ul li img {
  width: 32px;
  height: 32px;
}
.category-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.category-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 2px 14px rgba(26,66,99,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.category-grid > div:hover, .category-grid > div:focus {
  box-shadow: 0 4px 24px rgba(26,66,99,0.13);
  transform: translateY(-2px) scale(1.025);
}
.category-grid img {
  width: 40px;
  height: 40px;
}
@media (max-width: 1023px) {
  .category-grid {
    gap: 18px;
  }
  .category-grid > div {
    min-width: 140px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .category-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.card-container {
  gap: 24px;
}
.card {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(26,66,99,0.09);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 26px 20px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(26,66,99,0.15);
  transform: translateY(-3px) scale(1.01);
}
.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;
  }
  .cta, .hero {
    padding: 24px 0 18px 0;
  }
}

/*--- BLOG LIST ---*/
.blog-list .article-teaser {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(26,66,99,0.07);
  transition: box-shadow 0.16s, transform 0.14s;
}
.blog-list .article-teaser:hover {
  box-shadow: 0 4px 24px rgba(26,66,99,0.13);
  transform: translateY(-2px);
}
.categories-overview {
  margin-top: 22px;
  background: #e8eff7;
  border-radius: 8px;
  padding: 14px 18px 10px 18px;
}
.categories-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: disc inside;
  margin-top: 8px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .categories-overview ul {
    flex-direction: column;
    gap: 8px;
    padding-left: 18px;
  }
}

/*--- TESTIMONIALS ---*/
.testimonials {
  margin-bottom: 60px;
  background: #e8eff7;
  border-radius: 18px;
  padding: 40px 0;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 14px;
  padding: 20px 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,66,99,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 520px;
  color: #1a4263;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 500;
}
.testimonial-meta span {
  color: #eead35;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }
  .testimonial-card {
    flex: 1 1 320px;
    margin-right: 16px;
    max-width: 390px;
  }
}
@media (max-width: 767px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 10px;
  }
}

/*--- CONTACT INFO ---*/
.contact-info {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,66,99,0.08);
  margin-bottom: 60px;
  padding: 32px 0;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 20px 0;
}
.contact-info ul li img {
  width: 28px;
  height: 28px;
}
.opening-hours, .map {
  margin-top: 16px;
  color: #30475c;
}
.opening-hours h3 {
  margin-bottom: 4px;
}

/*--- FOOTER ---*/
footer {
  background: #1a4263;
  color: #fff;
  padding: 40px 0 30px 0;
  margin-top: 40px;
}
footer .container {
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #eead35;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.contact-footer img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.footer-branding img {
  width: 36px;
  height: 36px;
}
@media (max-width:768px) {
  footer .container {
    gap: 18px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 13px;
    font-size: 0.98rem;
  }
  .footer-branding {
    flex-direction: column;
    gap: 4px;
    font-size: 0.93rem;
  }
}

/*--- SEARCH BAR (INSTRUMENTY) ---*/
.search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 14px;
  gap: 7px;
}
.search-bar input[type='text'] {
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid #b6c9d6;
  background: #fff;
  font-size: 1rem;
  min-width: 180px;
  outline: none;
  margin-right: 8px;
  transition: border 0.16s;
}
.search-bar input[type='text']:focus {
  border: 1.5px solid #1a4263;
}
.search-bar button {
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #1a4263;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s;
}
.search-bar button:hover, .search-bar button:focus {
  background: #eead35;
  color: #1a4263;
}
@media (max-width:640px) {
  .search-bar {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .search-bar input[type='text'], .search-bar button {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }
}

/*--- LEGAL SECTION/TEXT BLOCKS ---*/
.legal-section, .thanks-section {
  background: #fff;
  border-radius: 14px;
  padding: 40px 16px;
  margin-bottom: 50px;
  box-shadow: 0 2px 8px rgba(26,66,99,0.04);
}
.legal-section h1, .thanks-section h1 {
  margin-bottom: 20px;
}
.text-section {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  margin-top: 6px;
  margin-bottom: 16px;
  gap: 10px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
}
@media (max-width:600px) {
  .legal-section, .thanks-section {
    padding: 20px 4px;
    margin-bottom: 24px;
  }
}

/*--- MODAL/OVERLAY STYLES ---*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1a4263;
  box-shadow: 0 -2px 16px rgba(26,66,99,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 1rem;
  z-index: 2000;
  gap: 16px;
  animation: cookieBannerIn 0.46s cubic-bezier(.36,1.01,.68,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn, .cookie-banner .cookie-settings-btn {
  padding: 8px 16px;
  font-size: 0.98rem;
  border-radius: 16px;
}
.cookie-banner .btn {
  box-shadow: none;
}
.cookie-banner .btn-primary {
  background: #1a4263;
  color: #fff;
}
.cookie-banner .btn-primary:hover {
  background: #eead35;
  color: #1a4263;
}
.cookie-banner .btn-secondary {
  background: #eead35;
  color: #1a4263;
}
.cookie-banner .btn-secondary:hover {
  background: #1a4263;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  border: 1.5px solid #b6c9d6;
  color: #1a4263;
  transition: border 0.16s, background 0.16s, color 0.16s;
}
.cookie-banner .cookie-settings-btn:hover {
  border: 1.5px solid #1a4263;
  background: #e8eff7;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8px;
    font-size: 0.98rem;
  }
}

/*--- COOKIE MODAL ---*/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,66,99,0.27);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.3s cubic-bezier(.4,0,.2,1) 1;
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1a4263;
  border-radius: 14px;
  width: 96vw;
  max-width: 410px;
  padding: 32px 30px 28px 30px;
  box-shadow: 0 6px 40px rgba(26,66,99,0.21);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #e8eff7;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 8px;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 44px;
  height: 24px;
  position: absolute;
  left: 0; top: 0;
}
.cookie-modal .cookie-toggle span {
  display: block;
  width: 24px;
  height: 24px;
  background: #1a4263;
  border-radius: 50%;
  transition: transform 0.16s, background 0.16s;
  transform: translateX(0);
}
.cookie-modal .cookie-toggle input:checked + span {
  background: #eead35;
  transform: translateX(20px);
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  color: #1a4263;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
  z-index: 4001;
}
.cookie-modal .btn-modal {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #1a4263;
  color: #fff;
  margin-right: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal .btn-modal:hover, .cookie-modal .btn-modal:focus {
  background: #eead35;
  color: #1a4263;
}
@media (max-width:480px) {
  .cookie-modal {
    padding: 18px 7px 14px 7px;
    font-size: 0.96rem;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
}

/*--- UTILITIES & MICROINTERACTIONS ---*/
.fade-in {
  animation: fadeInEffect 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .btn, .btn-modal, .cookie-settings-btn {
    transition: background 0.17s, color 0.17s, box-shadow 0.13s, border 0.13s;
  }
  .card, .category-grid > div, .blog-list .article-teaser {
    transition: box-shadow 0.18s, transform 0.14s;
  }
}

/*--- SPACING HELPERS FOR CARDS, FLEXLAYOUTS ---*/
.card, .category-grid > div, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- REMOVE GRID/COLUMNS USAGE: ONLY FLEXBOX IS USED ---*/
/* All layout containers above use display: flex */

/* SCROLLBAR STYLING for webkit */
::-webkit-scrollbar {
  width: 8px;
  background: #e8eff7;
}
::-webkit-scrollbar-thumb {
  background: #b6c9d6;
  border-radius: 8px;
}

/*--- END ---*/
