/* ========= CSS RESET & NORMALIZATION ========= */
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;
}
body {
  min-height: 100vh;
  background-color: #F3F4F8;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24467B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.24s;
}
a:hover, a:focus {
  color: #193159;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
}

/* ========== BRAND FONTS & BOLD TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #24467B;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
.subtitle {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #24467B;
  margin-bottom: 24px;
  font-weight: 500;
}
strong, b {
  font-weight: 700;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(36, 70, 123, 0.07);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 20px;
  }
}

/* ========== HEADER & NAV ========== */
header {
  background: #24467B;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,70,123,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 40px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  position: relative;
  padding: 0 2px 2px 2px;
  transition: color 0.25s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #A9CACF;
}
.cta.primary {
  background: #A9CACF;
  color: #24467B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 32px;
  border-radius: 40px;
  margin-left: 28px;
  box-shadow: 0 2px 6px rgba(36,70,123,0.09);
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #24467B;
  box-shadow: 0 4px 24px rgba(36,70,123,0.15);
}
.mobile-menu-toggle {
  display: none;
  background: #A9CACF;
  color: #24467B;
  font-size: 2rem;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(36,70,123,0.05);
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  margin-left: 20px;
  z-index: 1101;
}
.mobile-menu-toggle:active {
  background: #24467B;
  color: #fff;
}

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

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #24467B;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.8,.04,.2,1);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  font-size: 2.3rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 1202;
  padding: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 8px;
  padding: 10px 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A9CACF;
  color: #24467B;
}

/* ========== HERO & FEATURE SECTIONS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    padding: 20px 0;
    margin-bottom: 36px;
  }
}
.feature-grid, .service-cards, .product-categories-grid, .testimonial-slider, .service-detailed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .product-categories-grid, .testimonial-slider, .service-detailed-list {
    gap: 16px;
  }
}
.feature, .service-card, .product-category, .service-detail {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 24px 16px;
  box-shadow: 0 2px 14px rgba(36, 70, 123, 0.09);
  transition: box-shadow 0.24s, transform 0.18s;
  position: relative;
}
.feature img, .service-card img, .product-category img, .service-detail img {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.feature h3, .service-card h3, .product-category h3, .service-detail h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #24467B;
  text-align: center;
}
.feature p, .service-card p, .product-category p, .service-detail p {
  text-align: center;
  color: #222;
  font-size: 1rem;
  margin-bottom: 10px;
}
.service-card .service-price, .service-detail .service-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #24467B;
  letter-spacing: 1px;
  margin-top: 10px;
}
/* Card hover */
.feature:hover, .service-card:hover, .product-category:hover, .service-detail:hover {
  box-shadow: 0 8px 32px rgba(36, 70, 123, 0.15);
  transform: translateY(-6px) scale(1.022);
  z-index: 2;
}

.text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-section ul, .advantages-list {
  margin-left: 24px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  color: #24467B;
}
.advantages-list li {
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 1.08rem;
}

/* ========== TESTIMONIALS & STAR RATING ========== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 7px rgba(36,70,123,0.07);
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card p {
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.testimonial-author {
  color: #24467B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(36,70,123,0.13);
  transform: translateY(-4px);
  cursor: default;
}
/* Star rating */
.star-rating-average {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.star-rating-average img {
  height: 24px;
  width: 24px;
  display: inline-block;
}
.star-rating-average span {
  margin-left: 10px;
  color: #24467B;
  font-weight: 700;
  font-size: 1.1rem;
}

.guarantee-snippet {
  background: #A9CACF;
  color: #24467B;
  border-radius: 12px;
  padding: 18px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 22px;
  box-shadow: 0 0 12px rgba(169,202,207,0.15);
}

/* ========== CTA STYLES ========== */
.cta {
  background: #24467B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 13px 40px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 2px 12px rgba(36,70,123,0.08);
  margin-top: 18px;
  margin-bottom: 12px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
}
.cta:hover, .cta:focus {
  background: #A9CACF;
  color: #24467B;
  box-shadow: 0 4px 24px rgba(36,70,123,0.16);
  transform: scale(1.03);
}

/* ========== CARDS, FLEXBOX PATTERNS (MANDATORY) ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(36, 70, 123, 0.06);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FAQ ACCORDION ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(36,70,123,0.08);
  padding: 18px 20px;
  transition: box-shadow 0.18s;
  margin-bottom: 12px;
}
.faq-item h3 {
  color: #24467B;
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 1.03rem;
  color: #222;
}
.faq-item:hover {
  box-shadow: 0 4px 18px rgba(36,70,123,0.14);
}

/* ========== FOOTER ========== */
footer {
  background: #24467B;
  color: #fff;
  padding: 42px 0 0 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A9CACF;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  height: 38px;
}
.brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #A9CACF;
  font-weight: 700;
  text-align: center;
}
.footer-contact {
  font-size: 0.97rem;
  color: #EAF0F6;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.footer-social img {
  width: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.23s;
}
.footer-social img:hover {
  filter: brightness(1.3) invert(0.6) sepia(1) saturate(4) hue-rotate(174deg);
}
.footer-legal {
  width: 100%;
  text-align: center;
  padding: 18px 0 6px 0;
  color: #A9CACF;
  font-size: 0.97rem;
  border-top: 1px solid #3C5983;
  margin-top: 36px;
  letter-spacing: 0.4px;
}

@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-menu {flex-direction: row;gap:16px;}
  .footer-contact {margin-top: 8px;}
}
@media (max-width: 600px) {
  .footer-social {margin-bottom:16px;}
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #24467B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  z-index: 1400;
  box-shadow: 0 -2px 18px rgba(36,70,123,0.19);
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-slidein 0.6s cubic-bezier(.8,.04,.1,1);
}
@keyframes cookie-slidein {
  from {transform: translateY(100%);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner__info {
  font-size: 1rem;
  flex: 2 1 420px;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex: 0 0 auto;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner__btn--accept {
  background: #A9CACF;
  color: #24467B;
  margin-right: 6px;
}
.cookie-banner__btn--accept:focus, .cookie-banner__btn--accept:hover {
  background: #fff;
  color: #24467B;
}
.cookie-banner__btn--reject {
  background: #fff;
  color: #24467B;
  border: 2px solid #A9CACF;
}
.cookie-banner__btn--reject:focus, .cookie-banner__btn--reject:hover {
  background: #A9CACF;
  color: #24467B;
}
.cookie-banner__btn--setting {
  background: #24467B;
  color: #A9CACF;
  border: 1.5px solid #A9CACF;
}
.cookie-banner__btn--setting:focus, .cookie-banner__btn--setting:hover {
  background: #A9CACF;
  color: #24467B;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 11px;
    justify-content: flex-start;
  }
  .cookie-banner__info {margin-right: 0;}
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  width: 95vw;
  max-width: 410px;
  background: #fff;
  color: #24467B;
  border-radius: 24px;
  box-shadow: 0 10px 52px 0 rgba(36,70,123,0.21);
  z-index: 1600;
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: modal-bounce 0.48s cubic-bezier(.6, -.06, .15, 1.4);
}
@keyframes modal-bounce {
  0% { opacity:0; transform:translate(-50%,-60%) scale(0.9); }
  70% { opacity:1; transform:translate(-50%,-52%) scale(1.02); }
  100% { opacity:1; transform:translate(-50%,-50%) scale(1); }
}
.cookie-modal__close {
  align-self: flex-end;
  font-size: 2rem;
  color: #24467B;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: -16px;
  margin-right: -6px;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #A9CACF;
}
.cookie-modal__title {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #24467B;
  margin-bottom: 8px;
}
.cookie-modal__cat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
}
.cookie-modal__cat-name {
  font-weight: 700;
  flex: 1 1 80px;
  font-size: 1.15rem;
}
.cookie-modal__cat-desc {
  font-size: 0.98rem;
  color: #3C5983;
}
.cookie-modal__cat-switch {
  margin-left: auto;
  margin-right: 0;
}
/* Simple switch style */
.cookie-modal__cat-switch input[type=checkbox] {
  accent-color: #24467B;
  width: 22px;
  height: 22px;
  margin: 0 0 0 10px;
}
.cookie-modal__cat-switch[disabled], .cookie-modal__cat-switch input[disabled] {
  pointer-events: none;
  opacity: 0.49;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal__actions .cookie-modal__save {
  background: #A9CACF;
  color: #24467B;
}
.cookie-modal__actions .cookie-modal__save:focus, .cookie-modal__actions .cookie-modal__save:hover {
  background: #24467B;
  color: #fff;
}
.cookie-modal__actions .cookie-modal__cancel {
  background: #fff;
  color: #24467B;
  border: 2px solid #A9CACF;
}
.cookie-modal__actions .cookie-modal__cancel:focus, .cookie-modal__actions .cookie-modal__cancel:hover {
  background: #A9CACF;
  color: #24467B;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 12px 8px;
  }
  .cookie-modal__title { font-size: 1.17rem;}
  .cookie-modal__actions {flex-direction: column; align-items: stretch; gap:6px;}
}

/* ========== GENERAL RESPONSIVE ADJUSTMENTS ========== */
@media (max-width:1200px){
  .container{max-width:960px;}
}
@media (max-width:960px){
  .container{max-width:98vw;}
  .feature, .service-card, .product-category, .service-detail{max-width: 100%;}
}
@media (max-width:768px){
  h1{font-size:2rem;}
  h2{font-size:1.45rem;}
  h3{font-size:1.17rem;}
  .cta, .cta.primary{padding:10px 25px;font-size:1rem;}
}
@media (max-width:600px){
  .container{padding:0 6px;}
  .feature,.service-card,.product-category,.service-detail{
    padding:16px 8px;
    min-width:180px;
  }
}

/* ========== COLORS & GEOMETRIC SHAPES (MODERN BOLD ACCENTS) ========== */
.section {
  background: #fff;
}
.feature, .service-card, .product-category, .service-detail, .faq-item {
  border: 3px solid #A9CACF;
  box-shadow: 0 2px 18px rgba(36,70,123,0.06);
}
.guarantee-snippet {
  border: 2.5px solid #24467B;
  border-style: dashed;
}
.cta, .cta.primary, .cookie-banner__btn, .cookie-modal__actions button {
  box-shadow: 0 2px 16px rgba(36,70,123,0.07);
}

/* ========== UTILITY CLASSES ========== */
.mt-8 {margin-top: 8px !important;}
.mb-8 {margin-bottom: 8px !important;}
.mt-16 {margin-top: 16px !important;}
.mb-16 {margin-bottom: 16px !important;}
.mt-20 {margin-top: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}

/* ========== FOCUS ACCESSIBILITY ========== */
a:focus, button:focus, input:focus, .cta:focus, .cta.primary:focus {
  outline: 2.5px solid #A9CACF;
  outline-offset: 2px;
  box-shadow: 0 0 5px #A9CACF33;
}

/* ========== GEOMETRIC/BOLD ELEMENTS (ICON DECORATION IF NEEDED) ========== */
/* SVG icons are expected to be bold/solid style. If needed, add geometric accent shapes via ::before/::after here. */

/* ========== END ========== */
