/* ==== CSS 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, 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-size: 16px;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #232046;
  background: #fff;
  min-height: 100vh;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
a {
  color: #17A2B8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232046;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}
strong {
  font-weight: 600;
}

/* ==== TYPOGRAPHY ====*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #232046;
  line-height: 1.12;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25em;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 0.15em;
  font-weight: 600;
}
p {
  font-size: 1.125rem;
  margin-bottom: 1.2em;
  color: #2d2d37;
}

/* Spacing scale: 8, 16, 24, 32, 40, 48, 60 */

/* ==== GENERAL CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ==== LAYOUT SECTIONS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* Specific .section class for mandatory spacing rule */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  max-width: 760px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(35,32,70,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px 0 rgba(23,162,184,0.13);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.features-grid > div {
  flex: 1 1 250px;
  min-width: 200px;
  background: #FAF8F1;
  border-radius: 12px;
  box-shadow: 0px 2px 10px 0 rgba(35,32,70,0.07);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.features-grid img {
  width: 38px;
  margin-bottom: 12px;
  opacity: 0.95;
}

/* ==== TESTIMONIAL CARDS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #FAF8F1;
  box-shadow: 0 2px 8px 0 rgba(35,32,70,0.07);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 1.125rem;
  color: #232046;
}
.testimonial-card strong {
  color: #17A2B8;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card div:last-child {
  letter-spacing: 2px;
  color: #F4B400;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

/* ==== NAVIGATION BAR ==== */
header {
  background: #fff;
  border-bottom: 1px solid #F2F3F7;
  position: relative;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
}
header nav a {
  color: #232046;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #17A2B8;
}
header nav img {
  height: 36px;
  width: auto;
  margin-right: 18px;
}
.cta-primary {
  background: #17A2B8;
  color: #fff !important;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.09rem;
  margin-left: 8px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px 0 rgba(23,162,184,0.08);
  border: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #232046;
  color: #fff !important;
  box-shadow: 0 6px 20px 0 rgba(35,32,70,0.08);
  text-decoration: none;
}

/* ==== MAP PLACEHOLDER ==== */
.map-placeholder {
  background: #F7F7FA;
  border-radius: 10px;
  padding: 32px 20px;
  color: #BAB7D2;
  text-align: center;
  margin: 16px 0;
  font-size: 1.05rem;
}

/* ==== FOOTER ==== */
footer {
  background: #FAF8F1;
  border-top: 1px solid #ECECEC;
  color: #232046;
  padding: 32px 0 16px;
}
footer .container {
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
footer nav a {
  color: #7C7A97;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 4px 0;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #232046;
}
footer img {
  height: 32px;
  width: auto;
  opacity: 0.89;
}

/* ==== BUTTONS ==== */
button, .button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 10px 25px;
  background: #232046;
  color: #fff;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.2s;
  font-weight: 600;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #17A2B8;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #232046;
  position: absolute;
  right: 20px;
  top: 12px;
  z-index: 111;
  cursor: pointer;
  padding: 6px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ECECF6;
  color: #17A2B8;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,32,70, 0.99);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.44,0,0.56,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #17A2B8;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 38px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.7;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #17A2B8;
  color: #fff !important;
}

/* ==== Cookie Consent Banner & Modal ==== */
.cookie-banner {
  position: fixed;
  width: 100vw;
  left: 0;
  bottom: 0;
  background: #232046;
  color: #fff;
  box-shadow: 0 -2px 24px 0 rgba(35,32,70,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 20px;
  z-index: 999;
  font-size: 1rem;
  animation: slideInUp 0.4s cubic-bezier(0.47, 0, 0.75, 0.72);
}
@keyframes slideInUp {
  from { transform: translateY(48px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .cookie-accept {
  background: #17A2B8;
  color: #fff;
  border-radius: 18px;
  font-weight: 600;
  padding: 8px 20px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  transition: background 0.17s;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #1190a4;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #232046;
  border: 1px solid #F2F2F5;
  border-radius: 18px;
  font-weight: 600;
  padding: 8px 20px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #ECECF6;
  color: #17A2B8;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #FAF8F1;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: underline;
  font-size: 0.99rem;
  padding: 8px 12px;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  transition: color 0.2s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #17A2B8;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  background: rgba(35,32,70,0.75);
  z-index: 1500;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.32s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #232046;
  padding: 36px 28px 28px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 36px 0 rgba(35,32,70,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: pop 0.24s;
}
@keyframes pop {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: #232046;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  font-size: 1rem;
}
.cookie-modal-label {
  flex-grow: 1;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #17A2B8;
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  font-weight: 700;
  color: #17A2B8;
  margin-right: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top:16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #232046;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #17A2B8;
  background: #F0F2F8;
}

/* ==== LISTS ==== */
ul li, ol li {
  margin-bottom: 0.7em;
  font-size: 1.09rem;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  footer .content-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .features-grid {
    gap: 20px;
  }
  .features-grid > div {
    min-width: 170px;
    padding: 24px 14px;
  }
  .content-grid {
    gap: 12px;
  }
  .testimonial-card {
    padding: 16px 14px;
    font-size: 1rem;
  }
  footer .content-wrapper {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-section, .content-grid, section, .section {
    padding-left: 0;
    padding-right: 0;
    gap: 16px;
  }
  .features-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    width: 98%;
    min-width: unset;
    padding: 18px 9px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 11px 8px;
  }
  section, .section {
    padding: 26px 0;
    margin-bottom: 32px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    padding: 14px 10px;
  }
}

@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .testimonial-card,
  .card,
  .features-grid > div {
    padding: 10px 5px;
  }
  .cookie-banner {
    font-size: 0.93rem;
  }
  .cookie-modal {
    min-width: 92vw;
    padding: 14px 6vw 20px 6vw;
  }
}

/* ==== ANIMATIONS ==== */
.cta-primary, .button, button {
  transition: background 0.16s, color 0.15s, box-shadow 0.15s, transform 0.17s;
}
.cta-primary:active, .button:active, button:active {
  transform: translateY(1px) scale(0.98);
}
.testimonial-card {
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(35,32,70,0.1);
  transform: translateY(-2px) scale(1.01);
}
.features-grid > div {
  transition: box-shadow 0.18s, transform 0.11s;
}
.features-grid > div:hover {
  box-shadow: 0 10px 32px 0 rgba(23,162,184,0.08);
  transform: translateY(-3px) scale(1.02);
}

/* ==== ACCESSIBILITY ==== */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 3px solid #17A2B8;
  outline-offset: 1.5px;
  border-radius: 4px;
}

/* ---- Hide scroll on modal open ---- */
body.cookie-modal-open {
  overflow: hidden;
}

/* ==== UTILITIES & EXTRAS ==== */
.hide {display: none !important;}
.text-center {text-align: center;}
.bg-primary { background: #232046 !important; color: #fff !important; }
.bg-accent  { background: #FAF8F1 !important; color: #232046 !important; }
.mt-32 { margin-top:32px !important; }

/* ==== END OF CSS ==== */
