/* ============================================================
   CSS RESET & NORMALIZE (Mobile-first, box-sizing, typography)
   ============================================================ */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F2EDE2;
  color: #1A4269;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a {
  color: #23968F;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #1A4269;
}
ul, ol {
  margin-left: 1.45em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1A4269;
  line-height: 1.2;
}
h1 { font-size: 2.6rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 11px; }
h4 { font-size: 1.15rem; margin-bottom: 9px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }

@media (min-width: 600px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
}


/* =====================
   STRUCTURE & LAYOUT
   ===================== */
main {
  flex: 1 0 auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}
.text-section {
  max-width: 870px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26, 66, 105, 0.07);
}
@media (max-width: 700px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #F8F9FA;
  border: 2.5px solid #E4EBF5;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1.5px 8px rgba(26,66,105,0.08);
  flex: 1 1 280px;
  min-width: 235px;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1),transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(35,150,143,0.11);
  transform: translateY(-2px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
}

.testimonial-card {
  background: #fff;
  border: 2px solid #E4EBF5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  margin-top: 12px;
  box-shadow: 0 2px 16px 0 rgba(35,150,143,.045);
  font-size: 1.125rem;
  position: relative;
  max-width: 700px;
  color: #153150;
}
.testimonial-card blockquote {
  font-size: 1.1em;
  font-style: italic;
  margin: 0;
  color: #1A4269;
  letter-spacing: 0.01em;
}
.testimonial-card p {
  margin-bottom: 0;
  font-weight: 600;
  color: #23968F;
}
.testimonial-card:before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: #23968F;
  opacity: 0.18;
  position: absolute;
  top: 18px;
  left: 15px;
  z-index: 1;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 10px;
}

/* ========================
   NAVIGATION & HEADER UI  
   ======================== */
header {
  z-index: 1002;
  background: #fff;
  box-shadow: 0 3px 34px rgba(26,66,105,0.10);
  position: sticky;
  top: 0;
  width: 100%;
  transition: box-shadow 0.19s;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 20px;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 24px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: #1A4269;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .18s, color .15s;
  letter-spacing: 0.03em;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F2EDE2;
  color: #23968F;
}

.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #23968F;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  margin-left: 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 9px 0 rgba(35,150,143,0.08);
  outline: none;
  border: 2.5px solid transparent;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A4269;
  color: #fff;
  border-color: #23968F;
  box-shadow: 0 3px 18px 0 rgba(35,150,143,0.15);
}

/* === Hamburger Button === */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #23968F;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1.45rem;
  margin: 0 16px 0 0;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1A4269;
  color: #fff;
}

@media (min-width: 980px) {
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 979px) {
  .main-nav ul,
  .main-nav .btn-primary {
    display: none;
  }
}

/* === Mobile Menu Styles === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100dvh;
  background: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.8,0,.2,1), opacity 0.17s;
  box-shadow: 1px 0 24px 0 rgba(26,66,105,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.38s cubic-bezier(.62,0,.3,1), opacity 0.24s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #23968F;
  margin: 25px 0 0 22px;
  cursor: pointer;
  z-index: 1250;
  transition: color .14s;
  align-self: flex-start;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1A4269;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  width: 100vw;
  gap: 12px;
  padding-left: 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  color: #1A4269;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 0 13px 6px;
  border-radius: 8px;
  margin-right: 12px;
  transition: color 0.16s, background 0.16s;
  width: fit-content;
  outline: none;
  margin-bottom: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2EDE2;
  color: #23968F;
}

@media (min-width: 980px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .mobile-nav a {
    font-size: 1.1rem;
    padding: 10px 0 10px 4px;
  }
}

/* === Footer ===================== */
footer {
  background: #1A4269;
  color: #fff;
  padding: 45px 0 0 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -2px 24px rgba(35,150,143,0.17);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-bottom: 24px;
}
.footer-nav {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F2EDE2;
  transition: color .16s;
  padding: 5px 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #23968F;
  text-decoration: underline;
}
.footer-contact {
  font-size: 1.01rem;
  margin-bottom: 0;
}
.footer-contact a {
  color: #23968F;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #fff;
  text-decoration: underline wavy;
}
footer img {
  width: 56px;
  margin-bottom: 6px;
}


/* ========================
   CARDS, LISTS, FAQ
   ======================== */
.faq-list {
  margin-bottom: 18px;
  padding-left: 0;
}
.faq-list h3 {
  font-size: 1.16rem;
  margin-bottom: 4px;
  color: #23968F;
  background: #F2EDE2;
  display: inline-flex;
  padding: 7px 18px 7px 10px;
  border-radius: 8px;
  margin-top: 14px;
}
.faq-list p {
  margin-left: 22px;
  margin-bottom: 7px;
}

ul {
  margin-bottom: 20px;
  padding-left: 16px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  position: relative;
  padding-left: 27px;
  line-height: 1.5;
}
ul li img {
  width: 19px;
  height: 19px;
  position: absolute;
  left: 0;
  top: 3px;
}
ul li strong {
  color: #23968F;
}
ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* =============================
   GEOMETRIC VISUAL ACCENTS
   ============================= */
section {
  position: relative;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  right: 30px; bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 22% 45% 35% 43% / 35% 37% 56% 46%;
  background: rgba(35,150,143,0.05);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 700px) {
  section:after { display: none; }
}

.card:after {
  content: '';
  position: absolute;
  right: 16px; bottom: 16px;
  width: 22px; height: 22px;
  background: #23968F;
  border-radius: 7px 16px 5px 12px / 40% 61% 40% 31%;
  opacity: .06;
  z-index: 1;
  pointer-events: none;
}

/* ==================
   BUTTONS
   ================== */
button, .btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:focus {
  outline: 2px solid #23968F;
  outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fff;
  color: #1A4269;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 -6px 25px rgba(26,66,105,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 5px solid #23968F;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 10px;
}
.cookie-banner button,
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 40px;
  border: 2px solid #23968F;
  padding: 10px 32px;
  font-size: 1.01rem;
  margin: 0 0 2px 0;
  cursor: pointer;
  font-weight: 600;
  background: #F2EDE2;
  color: #23968F;
  transition: background .18s, color .18s, border-color 0.12s;
}
.cookie-banner button.accept,
.cookie-banner .btn-cookie.accept {
  background: #23968F;
  color: #fff;
  border-color: #23968F;
}
.cookie-banner button.accept:hover,
.cookie-banner .btn-cookie.accept:hover {
  background: #1A4269;
  border-color: #1A4269;
}
.cookie-banner button.settings,
.cookie-banner .btn-cookie.settings {
  background: transparent;
  color: #23968F;
  border-color: #23968F;
}
.cookie-banner button.settings:hover,
.cookie-banner .btn-cookie.settings:hover {
  background: #F2EDE2;
  color: #1A4269;
}
.cookie-banner button.reject,
.cookie-banner .btn-cookie.reject {
  background: #fff;
  color: #1A4269;
  border-color: #23968F;
}
.cookie-banner button.reject:hover,
.cookie-banner .btn-cookie.reject:hover {
  background: #F2EDE2;
  color: #23968F;
}

@media (max-width: 540px) {
  .cookie-banner {
    padding: 16px 10px 13px 10px;
    font-size: 0.93rem;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,66,105,0.23);
  z-index: 2012;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #1A4269;
  border-radius: 20px;
  box-shadow: 0 14px 70px rgba(35,150,143,0.20);
  padding: 34px 28px;
  max-width: 440px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #23968F;
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #23968F;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  border: 2px solid #23968F;
  margin-right: 8px;
}
.cookie-modal .btns-modal {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .btn-cookie {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 100px;
  border: 2px solid #23968F;
  background: #23968F;
  color: #fff;
  transition: background .17s, color .17s;
  cursor: pointer;
}
.cookie-modal .btn-cookie:hover, .cookie-modal .btn-cookie:focus {
  background: #1A4269;
  color: #fff;
}
.cookie-modal .btn-cookie.cancel {
  background: #fff;
  color: #1A4269;
}
.cookie-modal .btn-cookie.cancel:hover, .cookie-modal .btn-cookie.cancel:focus {
  background: #F2EDE2;
  color: #23968F;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 7px;
  right: 16px;
  background: transparent;
  border: none;
  color: #23968F;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #1A4269;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
  }
  .main-nav {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  .main-nav img {
    height: 38px;
    margin-right: 10px;
  }
  .btn-primary {
    padding: 11px 20px;
    font-size: 1rem;
    margin-left: 10px;
  }
  .content-wrapper, .card, .testimonial-card {
    padding-left: 10px;
    padding-right: 10px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 15px;
    max-width: 95vw;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.45rem; }
  .main-nav {
    padding: 8px 2px;
  }
  footer .container {
    padding-bottom: 17px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* =====================
   GEOMETRIC-STRUCTURED DETAILS
   ===================== */
section, .card, .testimonial-card {
  /* subtle white angular skewed edge for geometry, using :before as accent shape */
  position: relative;
}
section:before, .card:before, .testimonial-card:before {
  /* neutral by default; only certain elements utilize shape accents: see above */
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.015em;
}

h1 {
  font-size: 2.2rem;
  background: none;
  color: #1A4269;
  line-height: 1.13;
  margin-top: 14px;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h2, h3 {
  color: #23968F;
}
.card h3, .card h4 {
  color: #1A4269;
}

.btn-primary, .cookie-banner button, .cookie-banner .btn-cookie, .cookie-modal .btn-cookie {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 100em;
}

/* ===========
  UTILITIES
  =========== */
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 auto; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.pt-2 { padding-top: 16px; }
.pb-2 { padding-bottom: 16px; }

/* ============================================
   FOCUS STATES & ACCESSIBILITY CONTRAST
   ============================================ */
a:focus,
.btn-primary:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.cookie-banner button:focus,
.cookie-modal .btn-cookie:focus,
.cookie-modal .cookie-close:focus {
  outline: 2.5px solid #23968F;
  outline-offset: 3px;
  z-index: 2;
}

/* Specific spacing and layout classes (MANDATORY) */
.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; }

/* Prevent content overlap explicitly */
.card, .testimonial-card, .card-container .card, .content-grid > * {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}

/* ===========
   FORMS (Demo)
   =========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #E4EBF5;
  border-radius: 8px;
  padding: 11px 15px;
  transition: border 0.15s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #23968F;
  outline: none;
}

/* =====================
   MISC
   ===================== */
address {
  font-style: normal;
  color: #23968F;
  font-weight: 600;
}
/* Hide decorative shapes on mobile for space */
@media (max-width: 480px) {
  .card:after,
  section:after {
    display: none;
  }
}

/* =====================
   ANIMATIONS
   ===================== */
.mobile-menu,
.cookie-modal-overlay,
.cookie-modal {
  will-change: transform, opacity;
}
.card, .btn-primary, .main-nav ul li a, .mobile-menu-toggle,
.cookie-banner button, .cookie-modal .btn-cookie, .testimonial-card {
  transition: box-shadow 0.16s cubic-bezier(0.4,0,0.2,1),
              color 0.17s, background 0.17s, transform 0.13s;
}

/* ==================================
   REMOVE ABSOLUTE (except decor), NO GRID
   ================================== */
/* NO display: grid, grid-*, columns, break-inside -- ENFORCED */
/* All layouts use only flexbox as mandated */

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