/* 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,
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,
main, 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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F4FAFD;
  color: #132039;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F4FAFD;
  color: #22303B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1854A0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3CC68A;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  box-shadow: none;
}
:focus-visible {
  outline: 2px solid #1854A0;
}

/* GEOMETRIC STRUCTURED AESTHETIC ------------------------------------------------- */
:root {
  --primary: #1854A0;
  --secondary: #3CC68A;
  --accent: #F4FAFD;
  --dark: #162032;
  --text: #22303B;
  --muted: #7F95B0;
  --surface: #fff;
  --radius: 16px;
  --shadow: 0 2px 16px 0 rgba(24,84,160,0.10);
  --gap-xs: 8px;
  --gap-s: 16px;
  --gap: 20px;
  --gap-m: 24px;
  --gap-lg: 32px;
  --transition: 0.28s cubic-bezier(0.45,0.01,0.5,1);
}

/* Container & Structural ----------------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  max-width: 730px;
}

/* Spacing Patterns (MANDATORY) ------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.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;
}

/* HEADINGS & TYPOGRAPHY ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1854A0;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.12;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 18px;
  font-stretch: expanded;
  font-variation-settings: 'wdth' 120;
}
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 500;
}
p, li, span, dd {
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.17rem;
  }
}

/* Buttons -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px 0 rgba(24,84,160,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button.primary {
  background: var(--primary);
  color: #fff;
}
.button.secondary {
  background: var(--secondary);
  color: #fff;
}
.button:focus-visible, .button:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
  background: #13467e;
}
.button:hover, .button:active {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(24,84,160,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVIGATION ============================================================== */
header {
  background: var(--surface);
  border-bottom: 2px solid #e0e9f2;
  box-shadow: 0 1px 10px 0 rgba(24,84,160,0.03);
  z-index: 150;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  height: auto;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.04em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.main-nav a img {
  display: block;
  max-height: 38px;
}
@media (max-width: 1020px) {
  nav.main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  nav.main-nav a {
    font-size: 0.99rem;
    padding: 8px 6px;
  }
}

/* MOBILE NAVIGATION --------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 103;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(24,84,160,0.06);
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 820px) {
  nav.main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F4FAFD;
  box-shadow: -2px 0 16px rgba(24,84,160,0.18);
  transform: translateX(-100%);
  transition: transform var(--transition);
  z-index: 1221;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 28px 24px 32px 24px;
  overflow-y: auto;
  height: 100vh;
  width: 100vw;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--primary);
  letter-spacing: 0.06em;
  padding: 13px 0;
  border-bottom: 1px solid #e7f1fb;
  transition: color 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}
@media (max-width: 820px) {
  .mobile-menu {
    width: 100vw;
  }
}

/* HERO & CTA ---------------------------------------------------------------------- */
.text-section > h1, .text-section > h2 {
  background: none;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.text-section p, .text-section ul, .text-section a {
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.text-section a {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.18s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--primary);
  text-decoration: underline;
}

/* CARD & GEOMETRIC PATTERNS ------------------------------------------------------- */
.card, .product-card, .testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 24px 20px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.product-card {
  border-left: 8px solid var(--primary);
  border-bottom: 3px solid var(--secondary);
  padding: 20px 20px 18px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  background: #fafdff;
  margin-right: 20px;
}
.product-card strong {
  color: var(--primary);
  font-weight: 700;
}
@media (max-width:600px){
  .product-card{margin-right:0;}
}

.card {
  border: 1.7px solid #e4eefc;
  padding: 28px 26px;
}
.card::after {
  content: "";
  display: block;
  width: 28px;
  height: 6px;
  background: var(--secondary);
  border-radius: 4px;
  margin-top: 18px;
}

ul li img, .card img, .feature-item img {
  max-height: 26px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ul li, .feature-item, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text);
  padding: 10px 0;
  line-height: 1.5;
}

/* Flex Gaps for Card & Sections */
.content-wrapper > * {
  margin-bottom: 17px;
}
.content-wrapper > *:last-child { margin-bottom: 0; }
.card-container > * { margin-bottom: 0; } /* Gap is handled by flex gap */

/* TESTIMONIAL CARD --------------------------------------------------------------- */
.testimonial-card {
  border-left: 6px solid var(--secondary);
  border-right: 3px solid var(--primary);
  background: #FAFEFF;
  margin-bottom: 20px;
  box-shadow: 0 4px 32px 0 rgba(24,84,160,0.07);
  color: #1A242E;
  position: relative;
  flex-direction: column;
  min-width: 0;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #1A242E;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 7px;
}
.testimonial-rating {
  font-size: 1.16rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.testimonial-name, .testimonial-card span {
  font-family: inherit;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}
/* Ensure contrast for testimonial content */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #FAFEFF;
  color: #1A242E;
}

/* FAQ STYLES --------------------------------------------------------------------- */
dl {
  margin-bottom: 24px;
}
dl dt {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
dl dd {
  margin-bottom: 18px;
  margin-left: 30px;
  font-size: 1.02rem;
  color: var(--text);
}
.quick-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 6px;
}
.quick-links a {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.17s;
}
.quick-links a:hover, .quick-links a:focus {
  color: var(--primary);
}

/* FORM/CONTACT & LOCATION ADDRESS ------------------------------------------------ */
.location-address, .footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 1rem;
  color: #1D2B38;
}
.location-address img, .footer-contact img {
  max-height: 18px; margin-right: 4px;
}

/* FOOTER ========================================================================= */
footer {
  background: #e9f7fc;
  color: var(--primary);
  margin-top: 48px;
  padding: 32px 0 16px 0;
  border-top: 2px solid #deeaf5;
  font-size: 1rem;
  line-height: 1.7;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
.footer-links a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact, .footer-hours {
  color: #185499;
  font-size: 0.99rem;
}
.footer-contact img {
  margin-right: 2px;
}

/* Responsive FOOTER */
@media (max-width:700px){
  footer .container{
    padding:0 8px;
    gap: 7px;
    font-size:0.95rem;
  }
  .footer-links {gap: 7px;}
}

/* PRIVACY AGREEMENT IN REVIEWS  -----------------------------------------------  */
.privacy-agreement {
  background: #f6ffff;
  border-left: 5px solid var(--secondary);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.99rem;
  color: #175187;
  margin: 12px 0 0 0;
}
.privacy-agreement a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
}

/* Cookie Consent (BANNER + MODAL) ============================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -1px 14px rgba(24,84,160,0.14);
  border-top: 3px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 18px;
  z-index: 2500;
  font-size: 1rem;
  transition: transform var(--transition), opacity var(--transition);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1;
  color: var(--dark);
  margin-right: 12px;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  box-shadow: 0 1px 4px 0 rgba(24,84,160,0.07);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .reject {
  background: #eef8fc;
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #a5d6c3;
  color: var(--primary);
}
.cookie-banner .settings {
  background: none;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #e2f9f2;
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 10px;
  }
  .cookie-banner__actions {gap:6px;}
}

/* Cookie Modal ------------------------------------------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(24,84,160,0.11);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 52px rgba(24,84,160,0.14);
  max-width: 98vw;
  width: 100%;
  max-width: 410px;
  padding: 40px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-popin 0.37s cubic-bezier(.5,-0.23,.3,1.39) both;
}
@keyframes cookie-popin {
  from {transform: scale(.89) translateY(60px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.3px solid #e5eefa;
  padding: 9px 0;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.55;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 19px;
  border-radius: 10px;
  background: #f0f5fa;
  outline: none;
  position: relative;
  box-shadow: 0 1px 3px rgba(24,84,160,0.06);
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
  position: absolute;
  left: 1px; top: 1px;
  box-shadow: 0 1.5px 3px rgba(24,84,160,0.16);
}
.cookie-toggle:checked:before {
  transform: translateX(15px);
}
.cookie-modal .button {
  width: 100%;
  margin-top: 16px;
  background: var(--primary);
}
.cookie-modal .button:hover,.cookie-modal .button:focus{background: var(--secondary);}
.cookie-modal .cookie-categories small{
  color: #587295;
  font-size: 0.94rem;
  font-weight: 400;
}

/* RESPONSIVE DESIGN -------------------------------------------------------------- */
@media (max-width: 990px) {
  .container{
    max-width: 96vw;
  }
  .section {padding: 28px 6px; margin-bottom: 44px;}
  .content-wrapper {gap: 16px;}
}
@media (max-width: 768px) {
  .container{
    padding: 0 4px;
    max-width: 99vw;
  }
  .section {
    padding: 20px 4px;
    margin-bottom: 30px;
  }
  .content-wrapper {
    gap: 13px;
    padding: 0;
  }
  .content-grid, .card-container, .feature-item, .footer-links {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card, .card, .product-card {
    padding: 15px 10px 13px 13px;
  }
}

/* VISUAL GEOMETRIC ACCENTS -------------------------------------------------------- */
hr, .accent-bar {
  background: var(--primary);
  height: 3px;
  border-radius: 2px;
  border: none;
  margin: 24px 0;
}

/* MICRO-INTERACTIONS & TRANSITIONS ------------------------------------------------- */
.card, .testimonial-card, .product-card, .button, .cookie-banner, .cookie-banner button, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border var(--transition), transform var(--transition), outline var(--transition);
}
.card:hover, .testimonial-card:hover, .product-card:hover {
  box-shadow: 0 6px 32px 0 rgba(60,198,138, 0.13);
  transform: translateY(-4px) scale(1.012);
}

@media (hover: hover) {
  .card:hover, .testimonial-card:hover, .product-card:hover {
    box-shadow: 0 10px 44px 0 rgba(24,84,160,0.17);
  }
}

/* FONT IMPORTS (web safe fallback if missing) ------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Roboto:wght@400;500;700&display=swap');

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