/* ---- CSS RESET & BASE STYLES ---- */
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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #252F3F;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
a {
  color: #5EC7D6;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.7,0,.3,1);
}
a:hover, a:focus, a:active {
  color: #252F3F;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

/* ---- TYPOGRAPHY ---- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #252F3F;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #252F3F;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #252F3F;
  margin-bottom: 12px;
  line-height: 1.3;
}
p,li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #252F3F;
  font-weight: 400;
}
.subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  h1, .hero h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }
  p, li { font-size: 1.07rem; }
}

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 8px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- NAVIGATION ---- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E9E6E1;
  box-shadow: 0 1px 8px rgba(30,30,40,.03);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  justify-content: space-between;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: #252F3F;
  border-radius: 8px;
  padding: 8px 16px;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:hover, .main-nav > a.active {
  background: #5EC7D6;
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: 8px;
}

/* ---- PRIMARY BUTTON ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 28px;
  color: #fff!;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(30,30,40,.08);
  letter-spacing: 0.6px;
  transition: background 0.18s, color 0.18s, box-shadow .21s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #5EC7D6;
  color: #252F3F;
  box-shadow: 0 4px 18px rgba(30,100,140,.12);
  outline: none;
}

/* ---- BURGER MENU ---- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  color: #252F3F;
  border: none;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 12px;
  margin-left: auto;
  transition: background 0.15s;
  z-index: 1052;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E9E6E1;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px rgba(30,30,40,.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.7,0,.3,1);
  z-index: 1100;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 30px 30px 10px 0;
  background: none;
  color: #252F3F;
  border: none;
  cursor: pointer;
  padding: 6px 15px;
  border-radius: 9px;
  transition: background .15s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #5EC7D6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 32px;
  margin-top: 30px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #252F3F;
  padding: 14px 0;
  border-radius: 6px;
  transition: background .13s, color .13s;
  background: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  background: #5EC7D6;
}

/* Hide nav and toggle appropriately */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
  .main-nav {
    display: flex!important;
  }
}

/* ---- HERO SECTION ---- */
.hero {
  background: #5EC7D6;
  color: #252F3F;
  padding: 68px 0 60px 0;
  box-shadow: 0 8px 40px rgba(30,40,80,.06);
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(30,30,80,.12);
}
.hero .subtitle, .hero p {
  color: #E9E6E1;
  font-weight: 500;
}
.hero .btn-primary {
  margin-top: 25px;
  background: #fff;
  color: #252F3F;
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: #252F3F;
  color: #fff;
}

/* ---- FEATURE GRID & FLEXBOX PATTERNS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(30,40,80,.08);
  padding: 24px 22px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s cubic-bezier(.91,.01,.35,.99), box-shadow 0.18s;
  border: 2.8px solid #E9E6E1;
}
.feature-grid > div:hover {
  transform: translateY(-5px) scale(1.013);
  box-shadow: 0 8px 34px 0 rgba(30,50,100,.12);
  border-color: #5EC7D6;
  z-index: 2;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* ---- CARD PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,40,80,.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #252F3F;
  border-radius: 18px;
  box-shadow: 0 3px 20px rgba(30,72,120,.12);
  margin-bottom: 24px;
  border-left: 7px solid #5EC7D6;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.07rem;
  color: #252F3F;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #252F3F;
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- CTA SECTION ---- */
.cta {
  background: #252F3F;
  color: #fff;
  padding: 65px 0 65px 0;
  box-shadow: 0px 7px 32px rgba(30,40,80,.13);
  border-radius: 0 0 28px 28px;
  text-align: center;
}
.cta h2 {
  color: #E9E6E1;
  margin-bottom: 18px;
}
.cta p {
  color: #fff;
  font-weight: 500;
  margin-bottom: 32px;
}
.cta .btn-primary {
  background: #5EC7D6;
  color: #252F3F;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #fff;
  color: #252F3F;
}

/* ---- CONTACT INFO ---- */
.contact-info {
  background: #E9E6E1;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0 0 0;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #252F3F;
  box-shadow: 0 2px 12px rgba(30,40,80,.05);
  font-weight: 600;
}
.contact-info a {
  color: #5EC7D6;
}

/* ---- FOOTER ---- */
footer {
  background: #252F3F;
  color: #fff;
  padding: 40px 0 26px 0;
  box-shadow: 0 -2px 20px rgba(30,40,80,.07);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #5EC7D6;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 6px 12px;
  transition: color 0.16s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #252F3F;
  background: #5EC7D6;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  opacity: 0.8;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}

/* ---- SPACING & ALIGNMENT ---- */
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; }

/* ---- TABLES, FORMS ---- */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border: 1px solid #E9E6E1; }

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .card-container, .feature-grid, .content-grid {
    gap: 17px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 16px 13px 15px 13px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none!important;
  }
  .container {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card { padding: 15px 7px; }
  .section, section {margin-bottom: 38px; padding: 22px 4px;}
  .content-wrapper.text-section {padding: 0 2px;}
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cta {
    padding: 36px 0;
    border-radius: 0 0 18px 18px;
  }
}

/* ---- MICRO-INTERACTIONS, HOVERS ---- */
.btn-primary, .main-nav > a, .footer-nav a, .mobile-nav a, .mobile-menu-close {
  transition: color 0.2s, background 0.18s, box-shadow 0.19s, transform 0.13s;
}
.feature-grid > div, .card, .testimonial-card {
  transition: border 0.18s, box-shadow 0.19s, transform 0.17s;
}
.btn-primary:active {
  transform: scale(0.97);
}
.feature-grid > div:active {
  transform: scale(.985);
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #252F3F;
  color: #fff;
  padding: 22px 32px;
  box-shadow: 0 -6px 30px rgba(30,60,100,.14);
  z-index: 2001;
  gap: 30px;
  transition: transform 0.36s cubic-bezier(.82,.03,.35,.98), opacity .36s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__desc {
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  max-width: 560px;
}
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 15px;
}
.cookie-banner button {
  padding: 10px 22px;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  margin: 0;
}
.cookie-banner .accept {
  background: #5EC7D6;
  color: #252F3F;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #E9E6E1;
  color: #252F3F;
}
.cookie-banner .settings {
  background: #fff;
  color: #252F3F;
  border: 2px solid #5EC7D6;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #5EC7D6;
  color: #fff;
}
.cookie-banner .reject {
  background: #E9E6E1;
  color: #252F3F;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #252F3F;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 13px 10px 18px 13px;
  }
}

/* COOKIE PREFERENCE MODAL ----*/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,40,80,0.65);
  z-index: 2002;
  display: flex;
  justify-content: center; align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.23s cubic-bezier(.7,0,.3,1);
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #252F3F;
  max-width: 400px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(30,50,80,.16);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookieIn .41s cubic-bezier(.72,0,.27,1);
}
@keyframes cookieIn {
  0% { transform: scale(.92) translateY(100px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #252F3F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border-radius: 8px;
}
.cookie-category input[type=checkbox] {
  accent-color: #5EC7D6;
  width: 20px; height: 20px;
  cursor: pointer;
  margin: 0;
}
.cookie-category label {
  color: #252F3F;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-category .category-essential {
  color: #b0afac;
  font-style: italic;
  font-size: .98rem;
  margin-left: 2px;
}
.cookie-modal .modal-actions {
  display: flex; gap: 15px; justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.cookie-modal .accept-settings {
  background: #5EC7D6;
  color: #252F3F;
}
.cookie-modal .accept-settings:hover,
.cookie-modal .accept-settings:focus {
  background: #252F3F;
  color: #fff;
}
.cookie-modal .close-settings {
  background: #E9E6E1;
  color: #252F3F;
}
.cookie-modal .close-settings:hover {
  background: #5EC7D6;
  color: #fff;
}

/* ---- ACCESSIBILITY: FOCUS VISIBLE ---- */
:focus-visible {
  outline: 2.5px solid #5EC7D6;
  outline-offset: 2px;
}

/* ---- VISUAL DECOR: GEOMETRIC/SHADOWS ---- */
.feature-grid > div::before {
  content: '';
  display: none;
  /* Decorative geometric accents could be added here */
}

/* ---- FORM ELEMENTS (for contact or future forms) ---- */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 2px solid #E9E6E1;
  border-radius: 9px;
  padding: 10px 15px;
  margin-bottom: 16px;
  color: #252F3F;
  background: #fff;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #5EC7D6;
  outline: none;
}

button {
  font-family: inherit;
}

/* ---- HIDE SCROLLBAR ON MOBILE MENU ---- */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- PRINT ----------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
