/* ==== CSS RESET & NORMALIZE ==== */
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;
  background: #F2DDC2;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F2DDC2;
  color: #26324A;
  min-height: 100vh;
  line-height: 1.5;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: #5AA2AE; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #26324A; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li + li { margin-top: 8px; }
strong { font-weight: 600; }

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #26324A;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
p, li, ul, ol { font-size: 1rem; margin-bottom: 8px; }
.text-section h3 { font-size: 1.15rem; margin-bottom: 8px; color: #44808A; text-transform: uppercase; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ==== LAYOUT STRUCTURE ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #fff;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(38,50,74,0.07);
  border: 2px solid #EAE8E2;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(38,50,74,0.09);
  border: 2px solid #D8E3EA;
  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;
}
@media (max-width: 1024px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 32px 4px; }
}
@media (max-width: 768px) {
  .content-wrapper,
  .text-section, .card, .section, .container {
    padding: 12px;
    border-radius: 10px;
  }
  .section { padding: 22px 4px; }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ==== HEADER / NAVIGATION ==== */
header {
  background: #26324A;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 12px rgba(38,50,74,0.03);
  position: relative;
  z-index: 20;
}
.main-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: flex-start;
  min-height: 70px;
  padding: 18px 0 18px 0;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #FFF;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #F2DDC2;
  color: #26324A;
}
.main-navigation img { height: 38px; margin-right: 10px; }
.mobile-menu-toggle {
  display: none;
  background: #26324A;
  color: #F2DDC2;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active {
  background: #5AA2AE;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-navigation { gap: 16px; }
}
@media (max-width: 900px) {
  .main-navigation { gap: 4px; }
}
@media (max-width: 820px) {
  .main-navigation { gap: 0px; }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 14px;
    top: 20px;
    z-index: 52;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #26324A;
  z-index: 100;
  padding-top: 48px;
  padding-bottom: 32px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -2px 0 22px #00000020;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 16px;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F2DDC2;
  padding: 13px 34px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 10px;
  background: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.11em;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F2DDC2;
  color: #26324A;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* ==== HERO, CTA, CARDS ==== */
.cta-button {
  display: inline-block;
  background: #5AA2AE;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 44px;
  border-radius: 26px 8px 18px 8px;
  border: none;
  box-shadow: 0 2px 16px rgba(90,162,174,0.16);
  transition: background 0.21s, box-shadow 0.21s, transform 0.18s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 14px;
  outline: none;
  cursor: pointer;
}
.cta-button:hover,
.cta-button:focus {
  background: #44808A;
  box-shadow: 0 6px 16px rgba(90,162,174,0.22);
  transform: translateY(-3px) scale(1.04);
}

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 220px;
  background: #FFF;
  padding: 26px 20px 18px 20px;
  border-radius: 18px;
  border: 2.5px solid #5AA2AE22;
  box-shadow: 0 4px 18px rgba(38,50,74,0.07);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .21s, border .23s, transform .16s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 30% 10% 27% 11%/24% 45% 12% 36%;
  background: #EAF6F7;
  padding: 6px;
}
.feature h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  color: #44808A;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 24px #5AA2AE24, 0 0px 0px #fff;
  border: 2.5px solid #5AA2AE;
  transform: translateY(-2px) scale(1.025);
}
@media (max-width: 1020px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 24px; }
  .feature { align-items: flex-start; }
}

/* ==== CARDS & CARD CONTAINERS ==== */
/* (Generic, re-usable) */
.card-container { gap: 24px; }
.card { box-shadow: 0 2px 12px 0 rgba(38,50,74,0.09); border: 2px solid #D8E3EA; padding: 30px 18px; background: #FFF; border-radius: 18px; margin-bottom: 20px; position: relative; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 8px; }

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  margin-bottom: 20px;
  background: #F8F8F7;
  border-left: 6px solid #44808A;
  border-radius: 20px 32px 20px 10px;
  box-shadow: 0 2px 12px rgba(38,50,74,0.06);
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #26324A;
  margin-bottom: 0;
}
.testimonial-card h3 {
  font-size: 1rem;
  color: #44808A;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; gap: 8px; border-left-width: 3px; padding: 18px 10px; }
}

/* ==== FOOTER ==== */
footer {
  background: #26324A;
  color: #fff;
  margin-top: 60px;
  padding: 34px 0 18px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: none;
  border-bottom: 2px solid transparent;
  padding: 2px 5px 1px 5px;
  border-radius: 0;
  transition: border 0.2s, background 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2DDC2;
  border-bottom: 2px solid #F2DDC2;
}
.footer-brand {
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand img { height: 38px; filter: brightness(0) invert(1); }
.footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #f8f8f7;
}
@media (max-width: 768px) {
  footer {
    padding: 15px 0 10px 0;
    margin-top: 36px;
    gap: 8px;
  }
  .footer-contact { font-size: 0.95rem; }
}

/* ==== GENERIC BUTTONS ==== */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 12px 32px;
  border-radius: 22px 8px 18px 8px;
  background: #5AA2AE;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 6px #44808A24;
  cursor: pointer;
  transition: background 0.19s, box-shadow .18s, color .16s, transform .14s;
  outline: none;
}
button:hover, button:focus {
  background: #26324A;
  color: #F2DDC2;
  box-shadow: 0 2px 10px #44808A33;
  transform: translateY(-1px) scale(1.018);
}

/* ==== LISTS WITH ICONS ==== */
li img {
  vertical-align: middle;
  height: 1.25em;
  width: 1.25em;
  margin-right: 7px;
  margin-bottom: 2px;
  filter: none;
}

/* ==== OTHER FLEX STRUCTURES ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== FORMS & INPUTS ==== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #D8E3EA;
  border-radius: 10px;
  background: #fff;
  color: #26324A;
  padding: 12px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 2px solid #5AA2AE;
}

/* ==== ANIMATION UTILITIES ==== */
.fade-in {
  animation: fadein 0.5s ease;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #26324A;
  color: #fff;
  padding: 20px 16px 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-shadow: 0 -2px 24px rgba(38,50,74,0.07);
  z-index: 2000;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.78,.01,.39,1.21), opacity 0.29s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__message {
  flex: 1 1 auto;
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px 6px 18px 6px;
  background: #5AA2AE;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #5AA2AE18;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.22s;
}
.cookie-btn.secondary {
  background: #F2DDC2;
  color: #26324A;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #5AA2AE;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #26324A;
  color: #F2DDC2;
  border-color: #44808A;
}
.cookie-banner.closed {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 13px; padding-bottom: 13px;
  }
  .cookie-btn { padding: 8px 14px; font-size: 0.95rem; }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-overlay {
  position: fixed; top:0; left:0; width:100vw; height:100vh;
  background: rgba(38,50,74,0.75);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.38s;
}
.cookie-modal-overlay.closed {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #26324A;
  border-radius: 22px 22px 12px 12px/10px 32px 18px 32px;
  padding: 34px 26px 26px 26px;
  min-width: 320px;
  min-height: 180px;
  box-shadow: 0 6px 30px #26324A22;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  max-width: 98vw;
  max-height: 92vh;
  overflow-y: auto;
}
.cookie-modal h2 {
  color: #44808A;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal__close {
  position: absolute;
  right: 14px;
  top: 11px;
  background: none;
  color: #26324A;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #26324A;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
}
.cookie-category .category-essential {
  color: #44808A;
  font-size: 0.98em;
  font-weight: 800;
}

/* ==== GEOMETRIC DECOR & STYLE ==== */
.section {
  background: #FFF;
  border-radius: 24px 42px 20px 24px/40px 20px 32px 16px;
  box-shadow: 0 10px 40px #44808A12;
}
@media (max-width: 700px) {
  .section { border-radius: 13px 22px 13px 18px/18px 12px 17px 12px; }
}

/* ==== UTILITIES ==== */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 12px; }
.gap-2 { gap: 24px; }
.text-center { text-align: center; }

/* ==== HIDE VISUALLY ==== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==== ACCESSIBILITY ==== */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2.5px solid #44808A;
  outline-offset: 2.5px;
  border-radius: 8px;
}

/* ==== MISC ==== */
hr { border: none; border-top: 2px solid #EAE8E2; margin: 28px 0; }

/* === END OF STYLE.CSS === */
