/* ------ 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,
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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
strong {
  font-weight: 600;
}

/* ------ TYPOGRAPHY ------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #111;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #191919;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #222;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1rem;
  }
  body {
    font-size: 15px;
  }
}

/* ------ COLORS ------ */
:root {
  --color-primary: #24517A;
  --color-secondary: #FFB900;
  --color-accent: #F4F6FA;
  --color-bg: #fff;
  --color-black: #111;
  --color-gray-1: #222;
  --color-gray-2: #444;
  --color-gray-3: #888;
  --color-gray-4: #eee;
  --color-gray-5: #f6f6f6;
  --color-border: #dbdbdb;
  --color-link: #24517A;
  --color-link-hover: #FFB900;
  --shadow-main: 0 4px 16px 0 rgba(0,0,0,0.10);
  --shadow-strong: 0 8px 24px 0 rgba(30,30,30,0.14);
}

/* ------ LAYOUT CONTAINERS ------ */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ------ HEADER & NAV ------ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,30,30,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #191919;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--color-link-hover);
}
nav a.cta {
  background: #000;
  color: #fff;
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 18px;
  transition: background 0.17s, color 0.17s, box-shadow 0.21s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.11);
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 4px 18px rgba(36,81,122,0.19);
}
header img {
  height: 40px;
  width: auto;
  margin-right: 24px;
}
@media (max-width: 1023px) {
  nav {
    gap: 14px;
  }
  nav a.cta {
    margin-left: 6px;
    padding: 9px 17px;
  }
}

/* ------ MOBILE MENU ------ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #191919;
  margin-left: 18px;
  transition: color 0.2s;
  padding: 8px 12px;
  z-index: 31;
  border-radius: 6px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-link-hover);
  background: var(--color-gray-5);
}
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 105;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.86, 0, 0.07, 1);
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.17);
  display: flex;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 18px 0 0 18px;
  font-size: 2rem;
  color: #222;
  background: none;
  border: none;
  padding: 7px 15px;
  border-radius: 6px;
  align-self: flex-start;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-gray-4);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 36px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #191919;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.2s;
  border-radius: 6px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-link-hover);
  background: var(--color-gray-5);
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------ MAIN SECTIONS ------ */
main {
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  position: relative;
  z-index: 1;
}
.section, section {
  width: 100%;
  background: transparent;
}

/* ------ CARD CONTAINERS & CARDS ------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: #fff;
  color: #191919;
  border-radius: 10px;
  box-shadow: var(--shadow-main);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 20px;
  min-width: 260px;
  min-height: 154px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px) scale(1.02);
}

/* ------ FLEX GRIDS & LISTS ------ */
.features-grid, .products-preview-grid, .services-preview-grid, .categories-grid, .stats-grid, .promotions-list, .blog-list, .product-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div, .products-preview-grid > div, .services-preview-grid > div, .categories-grid > div, .stats-grid > div, .promotions-list > div, .blog-list > div, .product-listing > div {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-main);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.features-grid > div:hover, .products-preview-grid > div:hover, .services-preview-grid > div:hover, .categories-grid > div:hover, .stats-grid > div:hover, .promotions-list > div:hover, .blog-list > div:hover, .product-listing > div:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.012);
  background: var(--color-accent);
}
@media (max-width: 900px) {
  .features-grid, .products-preview-grid, .services-preview-grid, .categories-grid, .stats-grid, .promotions-list, .blog-list, .product-listing {
    gap: 18px;
  }
  .features-grid > div, .products-preview-grid > div, .services-preview-grid > div, .categories-grid > div, .stats-grid > div, .promotions-list > div, .blog-list > div, .product-listing > div {
    min-width: 120px;
    padding: 16px 10px;
  }
}
@media (max-width: 768px) {
  .features-grid, .products-preview-grid, .services-preview-grid, .categories-grid, .stats-grid, .promotions-list, .blog-list, .product-listing {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .products-preview-grid > div, .services-preview-grid > div, .categories-grid > div, .stats-grid > div, .promotions-list > div, .blog-list > div, .product-listing > div {
    min-width: unset;
    width: 100%;
  }
}

.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, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* ------ CARD CONTENT ------ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ------ TESTIMONIALS ------ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  background: #fff;
  border-left: 5px solid #191919;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  min-width: 270px;
  max-width: 360px;
  color: #191919;
  transition: border-color 0.19s;
}
.testimonial-card p {
  font-size: 1.04rem;
  font-style: italic;
  color: #101213;
  margin-bottom: 6px;
  letter-spacing: 0.002em;
}
.testimonial-card div {
  font-size: 0.99rem;
  color: #24517A;
  font-weight: 500;
  margin-top: 2px;
}
.testimonial-card:hover {
  border-left: 5px solid var(--color-secondary);
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* ------ CTAS, BUTTONS & LINKS ------ */
.cta, a.cta, button.cta {
  display: inline-block;
  background: #111;
  color: #fff !important;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 1.5px 7px rgba(36,81,122,0.12);
  margin-top: 12px;
  text-align: center;
  border: none;
  outline: none;
  transition: background 0.20s, color 0.17s, box-shadow 0.23s, transform 0.15s;
  cursor: pointer;
  position: relative;
}
.cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: #111;
  box-shadow: 0 4px 22px rgba(36,81,122,0.14);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ PROMOTION BANNER ------ */
.promotion-banner {
  width: 100%;
  background: #222;
  color: #fff;
  border-radius: 12px;
  padding: 28px 18px;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 22px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  letter-spacing: 0.01em;
}

/* ------ BLOG FEATURED ------ */
.featured-tip {
  background: #fafbfc;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-main);
}
.featured-tip h3 {
  color: #24517A;
}

/* ------ FAQ ------ */
.faq {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq > div {
  background: #fafbfc;
  border-radius: 6px;
  padding: 14px 18px;
}
.faq strong {
  color: #24517A;
  margin-bottom: 3px;
  display: block;
}

/* ------ PAGINATION, FILTERS ------ */
.pagination {
  margin-top: 25px;
  font-weight: 500;
  color: #222;
  font-size: 1rem;
}
.filters {
  margin-bottom: 22px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: #444;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.filters strong {
  color: #222;
}

/* ------ THANK YOU MESSAGE ------ */
.thank-you-message {
  padding: 14px 0 7px;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: #24517A;
}

/* ------ CONTACT DATA ------ */
.contact-data {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.contact-data > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  color: #111;
}
@media (max-width: 700px) {
  .contact-data {
    flex-direction: column;
    gap: 13px;
  }
}

/* ------ FOOTER ------ */
footer {
  background: #111;
  color: #fff;
  padding: 54px 0 28px 0;
  letter-spacing: 0.01em;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer img {
  max-height: 39px;
  margin-bottom: 15px;
}
footer nav {
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
  color: #eee;
}
footer nav a {
  color: #eee;
  font-size: 1rem;
  transition: color 0.2s;
  margin-bottom: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: #FFB900;
}
footer .contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-size: 0.96rem;
}
footer .contact > img {
  height: 15px;
}
footer .contact > span {
  margin-left: 7px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 10px;
  }
  footer nav {
    margin: 2px 0 16px 0;
  }
}

/* ------ COOKIES BANNER (BOTTOM FIXED) ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  background: #222;
  color: #fff;
  box-shadow: 0 -2px 22px rgba(0,0,0,0.10);
  padding: 20px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1.03rem;
  transition: transform 0.25s cubic-bezier(0.86, 0, 0.07, 1);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 22px;
  padding: 7px 22px;
  margin-left: 0;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #fff;
  color: #222;
  transition: background 0.21s, color 0.19s;
  box-shadow: 0 1.5px 8px rgba(30,30,30,0.09);
}
.cookie-banner button.accept {
  background: var(--color-secondary);
  color: #111;
}
.cookie-banner button.accept:hover {
  background: #fff200;
  color: #111;
}
.cookie-banner button.reject {
  background: #fff;
  color: #111;
  border: 1px solid #222;
}
.cookie-banner button.reject:hover {
  background: #222;
  color: #fff;
}
.cookie-banner button.settings {
  background: #111;
  color: #fff;
}
.cookie-banner button.settings:hover {
  background: #333;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* ------ COOKIES PREFERENCES MODAL ------ */
.cookie-modal {
  position: fixed;
  z-index: 140;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,40,40,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #222;
  border-radius: 16px;
  max-width: 360px;
  width: 92%;
  padding: 30px 28px;
  box-shadow: 0 7px 33px 0 rgba(30,30,30,0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: #222;
  font-size: 1.7rem;
  padding: 3px 10px;
  border-radius: 5px;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #eee;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-category strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
}
.cookie-category .cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #ddd;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  margin-left: 18px;
}
.cookie-category .cookie-switch.enabled {
  background: var(--color-secondary);
}
.cookie-category .cookie-switch:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  transition: left 0.19s;
}
.cookie-category .cookie-switch.enabled:after {
  left: 18px;
}
.cookie-category input[type='checkbox'] {
  display: none;
}

/* ------ UTILITY ------ */
.mb-20 {
  margin-bottom: 20px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.text-center {
  text-align: center !important;
}
.bg-dark {
  background: #111 !important;
  color: #fff !important;
}
.bg-light {
  background: #fafbfc !important;
}
.rounded {
  border-radius: 12px !important;
}
.shadow {
  box-shadow: var(--shadow-main) !important;
}

/* ------ SPACING AND ALIGNMENT (MANDATORY CLASSES) ------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ MONOCHROME-SOPHISTICATED VISUAL EMPHASIS ------ */
/* Dramatic contrast, white section backgrounds, black card headers, clean borderless look, subtle box-shadows + slight grays */
.section {
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.04);
  border-radius: 22px;
}
.cta, a.cta, button.cta {
  background: #111;
  color: #fff;
}
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ------ ANIMATIONS & HOVERS ------ */
a, button, .cta {
  transition: color 0.2s, background 0.2s, box-shadow 0.22s, transform 0.13s;
}
.card, .features-grid>div, .products-preview-grid>div, .services-preview-grid>div,
.categories-grid>div, .stats-grid>div, .promotions-list>div, .product-listing>div {
  transition: box-shadow 0.16s, transform 0.13s;
}
.cta:active {
  filter: brightness(0.96);
  transform: scale(0.98);
}

/* ------ RESPONSIVE UTILITIES ------ */
@media (max-width: 480px) {
  .section {
    padding: 16px 3px;
  }
  main, .container {
    padding: 0 0 !important;
  }
  footer .container {
    padding: 0 3px;
  }
}
