/* =============================
   CSS RESET & NORMALIZE RULES
   ============================= */
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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #F5F6FA;
  color: #273750;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #23567A;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #F2B134;
  text-decoration: underline;
}
strong, b {
  font-weight: 600;
  color: #23567A;
}
em {
  font-style: italic;
}
::-webkit-input-placeholder{color: #8992a6;}
::-moz-placeholder{color: #8992a6;}
:-ms-input-placeholder{color: #8992a6;}
::placeholder{color: #8992a6;}

/* =============================
   BRAND FONTS & COLORS
   ============================= */
:root {
  --primary: #23567A;
  --secondary: #F2B134;
  --accent: #F5F6FA;
  --heading: #1E3146;
  --body: #273750;
  --muted: #8992a6;
  --border: #DFE4EC;
  --shadow: rgba(35,86,122,0.08);
  --white: #FFF;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* Typography Hierarchy */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--primary);
}
h4, .h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; margin-bottom: 14px; color: var(--body); }
ul, ol { padding-left: 18px; }
ul li, ol li {margin-bottom: 8px;}
small { font-size: 0.88rem; }

/* =============================
   LAYOUT & CONTAINER PATTERNS
   ============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.content-wrapper {
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(35,86,122,0.18);
  border-color: var(--primary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  margin-bottom: 32px;
}
.testimonial-card {
  background: var(--accent);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 8px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 72px;
  z-index: 40;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
  padding-right: 14px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  margin-left: 20px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.22s;
}
.main-nav a:hover {
  color: var(--secondary);
}
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 28px;
  border: none;
  outline: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 8px var(--shadow);
  text-align: center;
  letter-spacing: 0.2px;
  display: inline-block;
  margin-left: 16px;
  transition: background 0.16s, box-shadow 0.16s, color 0.13s;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 14px rgba(242,177,52,0.22);
}
.cta.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: #fff;
}

/* Hamburger (Mobile) Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 16px;
  cursor: pointer;
  z-index: 60;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover {
  color: var(--secondary);
}

/* =============================
   HERO, FEATURES, SERVICES, PRODUCT LIST, OFFERS, TESTIMONIALS
   ============================= */
.hero {
  padding: 40px 0 32px 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg, #F5F6FA 60%, #E9F0F6 100%);
  min-height: 270px;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p {
  color: var(--body);
  font-size: 1.13rem;
  margin-bottom: 22px;
}
.features, .filters, .services, .product-list, .offers-list {
  margin-bottom: 60px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 12px var(--shadow);
}
.features h2, .services h2,
.filters h1, .product-list h2, .offers-list h2 {
  color: var(--primary);
  margin-bottom: 18px;
}
.features ul, .services ul, .filters ul, .product-list ul, .offers-list ul {
  margin-bottom: 6px;
  font-size: 1.06rem;
  color: var(--body);
  padding-left: 22px;
}
.badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 13px;
  font-size: 0.92em;
  margin-left: 8px;
}

/* Testimonials */
.testimonials {
  border-radius: 16px;
  background: var(--white);
  margin-bottom: 60px;
  box-shadow: 0 1px 16px var(--shadow);
  padding-bottom: 20px;
}
.testimonials h2 {
  color: var(--primary);
  margin-bottom: 24px;
}
.testimonial-card p {
  font-size: 1.09em;
  font-family: 'Roboto', sans-serif;
  color: var(--body);
  font-style: italic;
  margin-bottom: 12px;
  text-align: center;
}
.testimonial-card span {
  font-size: 1em;
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px var(--shadow);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta h2 {
  color: #fff;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 32px 0 8px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-info {
  text-align: center;
  font-size: 0.96em;
  color: var(--muted);
}

/* =============================
   MOBILE MENU (HAMBURGER NAV)
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 120;
  background: rgba(39,55,80,0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.65,.05,.25,1), opacity 0.25s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 22px 26px 8px 0;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 125;
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--white);
  width: 95vw;
  max-width: 340px;
  min-height: 100vh;
  box-shadow: -2px 0 16px #1e314653;
  border-left: 6px solid var(--primary);
  padding: 42px 38px 30px 30px;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  text-decoration: none;
  border-radius: 5px;
  text-align: left;
  padding: 7px 0;
  transition: color 0.15s, background 0.17s;
}
.mobile-nav a:hover {
  color: var(--secondary);
  background: #F5F6FA;
}

/* ========== Show/Hide Mobile Navigation ============= */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--white);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 18px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 24px 20px 22px 20px;
  animation: cookieBannerIn 0.6s cubic-bezier(.39,.58,.57,1.2) 1;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--body);
  font-size: 1rem;
  max-width: 450px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
  outline: none;
  margin: 0 2px;
  box-shadow: 0 1px 4px var(--shadow);
  cursor: pointer;
}
.cookie-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21,41,61,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: fadeInCookieOverlay 0.3s both;
}
@keyframes fadeInCookieOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  padding: 36px 26px 24px 26px;
  box-shadow: 0 6px 26px rgba(35,86,122,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.25em;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 9px;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #bdd3e9;
  border-radius: 18px;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transition: background 0.19s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 100%;
  transition: transform 0.18s;
  box-shadow: 0 1px 5px var(--shadow);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.6em;
  color: var(--muted);
  position: absolute;
  top: 8px; right: 19px;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: var(--primary);
}

/* =============================
   BADGES & MISC ELEMENTS
   ============================= */
span.badge {
  font-size: 0.93em;
  font-weight: 600;
  color: var(--primary);
  background: var(--secondary);
  border-radius: 10px;
  padding: 2px 10px;
}

/* =============================
   FORMS (for contact)
   ============================= */
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  padding: 10px 13px;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-bottom: 16px;
  color: var(--body);
  font-family: 'Roboto', Arial, sans-serif;
  transition: border-color 0.15s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
}
button, input[type="submit"] {
  cursor: pointer;
}

/* =============================
   RESPONSIVE DESIGN: MOBILE FIRST
   ============================= */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
  header {
    padding: 0 12px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 800px;
  }
  .main-nav { display: none; }
  .cta.primary { display: none; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  header {
    flex-direction: row;
    min-height: 58px;
    padding: 5px 8px;
  }
  .logo img { height: 33px; }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 7px;
  }
  .hero {
    padding: 25px 0 8px 0;
    min-height: unset;
  }
  .cta {
    margin-bottom: 24px;
    padding: 14px 5px;
  }
  .features ul, .services ul, .filters ul, .product-list ul, .offers-list ul {
    font-size: 0.97rem;
    padding-left: 8px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .card { min-width: 160px; padding: 15px 10px; }
  .testimonial-card {
    padding: 14px;
    gap: 10px;
    font-size: 0.97em;
    border-left-width: 3px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 0.93em;
  }
  .section, .features, .services, .product-list, .offers-list, .testimonials {
    border-radius: 8px;
    box-shadow: 0 0.5px 5px var(--shadow);
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 8px 16px 13px;
  }
  .cookie-banner p {
    font-size: 0.96em;
    max-width: 98%;
  }
  .cookie-banner .cookie-buttons {
    gap: 8px;
  }
}

/* CRITICAL: FORCED FLEX-DIRECTION COLUMN ON MOBILE FOR TEXT-IMAGE */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}

/* =============================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================= */
.card, .testimonial-card, .section, .cta, .footer-nav a, .main-nav a, .cta.primary, .badge, .cookie-banner button {
  transition: box-shadow 0.22s, background 0.18s, color 0.13s, border-color 0.16s, transform 0.13s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.012);
}
.cta.primary:active, .cookie-banner button:active {
  transform: scale(0.96);
}

/* =============================
   ACCESSIBILITY: FOCUS STATES
   ============================= */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(242,177,52,0.23);
}

/* =============================
   Z-INDEX SAFETY FOR OVERLAYS
   ============================= */
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 2100; }
.header, header { z-index: 40; }
footer { z-index: 25; }

/* END OF CSS */
