/* --- RESET & BASE --- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F7F9;
  color: #222E3A;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #31506C;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #F48644;
}
ul, ol {
  margin: 0 0 1.5em 2em;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
hr {
  border: 0;
  height: 1px;
  background: #e5e9ee;
}

/* --- GENERAL CLASSES & CONTAINERS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(49,80,108,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(49,80,108,0.12);
  margin-bottom: 20px;
  padding: 24px 20px;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(49,80,108,0.18);
  transform: translateY(-4px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F3F7F9;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(49,80,108,0.06);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  color: #222E3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #31506C;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #F48644;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, blockquote, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #222E3A;
  border-left: 6px solid #F48644;
  margin: 0 0 12px 0;
  padding: 8px 20px 8px 18px;
  background: #fff;
  border-radius: 12px 28px 28px 12px;
  box-shadow: 0 2px 12px 0 rgba(49,80,108,0.04);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #31506C;
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav > a {
  margin-right: 28px;
}
nav img {
  height: 48px;
  width: auto;
}
nav ul {
  display: flex;
  list-style: none;
}
nav ul li a {
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.001em;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background .19s, color .25s;
}
nav ul li a:hover, nav ul li a:focus {
  color: #F48644;
  background: rgba(255,255,255,0.10);
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  background: #F48644;
  color: #fff !important;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 14px 32px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(244,134,68,0.18);
  cursor: pointer;
  margin-left: 28px;
  transition: background 0.2s, transform 0.17s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ff6f00;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(244,134,68,0.23);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  z-index: 201;
  transition: color 0.25s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #F48644;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 380px;
  height: 100vh;
  background: #31506C;
  color: #fff;
  box-shadow: -8px 0 32px rgba(49,80,108,0.24);
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.6,-0.1,.4,1);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 18px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F48644;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 2px;
  border-radius: 6px;
  transition: background .19s, color .22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.13);
  color: #F48644;
}

/* --- HERO & FEATURES --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 206px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(49,80,108,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 18px;
  gap: 10px;
  transition: box-shadow .22s, transform .2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 18px 0 rgba(244,134,68,0.13);
  transform: scale(1.03);
}
.feature-grid h3 {
  color: #31506C;
}
.feature-grid img {
  width: 36px;
  height: auto;
  margin-bottom: 8px;
}

/* --- TESTIMONIALS --- */
.testimonial-card span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #31506C;
  display: inline-block;
  margin-right: 10px;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 2px;
}
.testimonial-card blockquote {
  background: #fff;
  color: #222E3A;
}

/* --- LISTS WITH ICONS --- */
ul li img, .contact-details img, .footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- FOOTER --- */
footer {
  background: #222E3A;
  color: #fff;
  padding: 48px 0 22px 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
footer .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 34px 48px;
  justify-content: space-between;
  width: 100%;
}
footer a {
  color: #fff;
  font-weight: 700;
  transition: color .19s;
}
footer a:hover, footer a:focus {
  color: #F48644;
}
footer ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #F3F7F9;
}
footer img {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}

/* --- SPECIAL BOXES, TAGS, DETAILS --- */
.material-advice, .recommended-brands, .tool-tips, .cookie-settings-info {
  background: #FFEEDF;
  color: #44403C;
  font-weight: 700;
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 1rem;
  margin: 18px 0 16px 0;
  box-shadow: 0 2px 9px 0 rgba(244,134,68,0.06);
}
.trend-highlights, .tips-boxes {
  background: #31506C;
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 20px 0 10px 0;
  box-shadow: 0 2px 12px 0 rgba(49,80,108,0.08);
}
.trend-highlights h3, .tips-boxes h3 {
  color: #F48644;
  margin-bottom: 8px;
}
.trend-highlights ul, .tips-boxes ul {
  color: #fff;
}
.next-steps-info ul {
  margin: 0 0 10px 20px;
}
.next-steps-info ul li {
  list-style-type: disc;
  margin-bottom: 5px;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1150px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 180px;
  }
}
@media (max-width: 950px) {
  nav ul {
    gap: 13px;
  }
  .feature-grid, .content-grid {
    gap: 13px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}
@media (max-width: 850px) {
  .feature-grid {
    gap: 8px;
  }
  .content-wrapper {
    padding: 0;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 10px;
  }
  nav ul, nav > a, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    margin-left: auto;
    z-index: 2050;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    margin-bottom: 0;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
  }
  .section {
    padding: 28px 7px;
  }
  section {
    padding: 28px 7px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .footer-contact, .contact-details {
    font-size: 0.95rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  .container {
    padding: 0 4px;
  }
  .card, .feature-grid > div, .section {
    padding: 14px 5px;
    border-radius: 10px;
  }
}

/* --- TRANSITION EFFECTS & INTERACTIONS --- */
.card, .feature-grid > div, .cta-btn, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.19s;
}
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .22s, color .17s, transform .18s;
}
button:focus, .cta-btn:focus, a:focus {
  outline: 2px solid #F48644;
  outline-offset: 1.5px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #31506C;
  color: #fff;
  z-index: 2300;
  box-shadow: 0 -2px 20px rgba(49,80,108,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 15px 18px 15px;
  gap: 14px;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-fade-in 0.38s cubic-bezier(.6,-0.1,.4,1);
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 5px 10px 0 0;
  padding: 9px 20px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  min-width: 142px;
  box-shadow: 0 2px 8px 0 rgba(49,80,108,0.10);
}
.cookie-accept {
  background: #F48644;
  color: #fff;
  margin-right: 10px;
  transition: background 0.18s;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #ff6f00;
}
.cookie-reject {
  background: #fff;
  color: #31506C;
  border: 1.5px solid #F48644;
  transition: background 0.18s, color 0.13s;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F48644;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #F48644;
  margin-right: 0;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F48644;
  color: #fff;
}

@keyframes cookie-fade-in {
  from {opacity:0; transform: translateY(50px)}
  to {opacity:1; transform: translateY(0)}
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,46,58,0.90);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .33s cubic-bezier(.6,-0.1,.4,1);
}
@keyframes modal-fade-in {
  from {opacity:0}
  to {opacity:1}
}
.cookie-modal {
  background: #fff;
  color: #222E3A;
  border-radius: 24px;
  max-width: 97vw;
  width: 400px;
  box-shadow: 0 12px 48px 0 rgba(49,80,108,0.18);
  padding: 34px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  animation: cookie-modal-in .3s cubic-bezier(.6,-0.1,.4,1);
}
@keyframes cookie-modal-in {
  0% {transform: scale(0.90); opacity:0;}
  100% {transform: scale(1); opacity:1;}
}
.cookie-modal h3 {
  color: #31506C;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}
.cookie-category label {
  cursor: pointer;
  color: #222E3A;
  font-size: 1.05rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #F48644;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #bcbcbc;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 22px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(49,80,108,0.10);
  padding: 10px 20px;
  cursor: pointer;
}
.cookie-modal .cookie-accept {
  background: #F48644;
  color: #fff;
}
.cookie-modal .cookie-reject {
  color: #31506C;
  border: 1.5px solid #F48644;
  background: #fff;
}
.cookie-modal .cookie-settings {
  background: transparent;
  color: #31506C;
  border: 2px solid #31506C;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 17px;
  background: none;
  border: none;
  color: #31506C;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.21s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #F48644;
}

/* --- SCROLLBAR (modern look) --- */
body::-webkit-scrollbar {
  width: 13px;
  background: #F3F7F9;
}
body::-webkit-scrollbar-thumb {
  background: #CFE5F9;
  border-radius: 13px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #F48644;
}

/* --- GEOMETRIC ACCENTS --- */
.card::before, .feature-grid > div::before, .testimonial-card::before {
  content: "";
  display: block;
  position: absolute;
  top: -18px; right: -26px;
  width: 44px;
  height: 44px;
  background: #F4864455;
  z-index: 0;
  border-radius: 20px 50% 30px 60px;
  filter: blur(2px);
  opacity: 0.24;
  pointer-events: none;
}
.card::before {
  background: #F48644aa;
  width: 39px; height: 39px;
  top: -12px; right: -18px;
}
.testimonial-card::before {
  background: #F4864440;
  left: -18px; right: auto;
  top: -8px;
  width: 34px; height: 34px;
  border-radius: 60px 20px 60px 20px;
}

/* --- Z-INDEX HIGHER TOAST LAYER FOR COOKIE, HEADER, MOBILE MENU --- */
header {z-index:1100;}
.mobile-menu {z-index:2100;}
.cookie-consent-banner {z-index:2300;}
.cookie-modal-overlay {z-index:2500;}

/* --- BUTTON RESET --- */
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #CFE5F9;
  padding: 8px 11px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 0 2px 6px 0 rgba(49,80,108,0.07);
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F48644;
  outline: none;
}

/* --- CARD and GRID RESPONSIVE REFINEMENTS --- */
@media (max-width: 600px) {
  .card, .feature-grid > div {
    padding: 13px 5px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    padding: 12px 6px;
  }
  .footer-contact, .contact-details {
    font-size: 0.92rem;
  }
  .cookie-modal {
    width: 97vw;
    padding: 22px 8px 16px 12px;
    border-radius: 14px;
  }
  h1 {
    font-size: 1.13rem;
  }
}

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