/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233242;
  background-color: #F1E7DA;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* TYPOGRAPHY */
h1, .display {
  font-family: 'Lora', Cambria, Times New Roman, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #233242;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Lora', Cambria, Times New Roman, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #233242;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  position: relative;
}
h3 {
  font-family: 'Lora', Cambria, Times New Roman, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #233242;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
address {
  font-style: normal;
  line-height: 1.6;
}

strong {
  font-weight: 700;
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(35,50,66,0.05);
  border-bottom: 2px solid #AAC7D8;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  color: #233242;
  position: relative;
}
nav a:not(.cta):hover, nav a:not(.cta):focus {
  background: #AAC7D8;
  color: #233242;
}
nav a.cta {
  background: #233242;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(35,50,66,0.05);
  padding: 7px 22px;
  margin-left: 12px;
  position: relative;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
nav a.cta:hover, nav a.cta:focus {
  background: #AAC7D8;
  color: #233242;
  box-shadow: 0 2px 16px rgba(35,50,66,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid #AAC7D8;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #233242;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, border 0.2s;
  z-index: 301;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #AAC7D8;
  border-color: #233242;
  color: #233242;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F1E7DA;
  box-shadow: 0 0 24px 0 rgba(35,50,66,0.14);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.7,.17,.34,1.07);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 28px 20px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: 2px solid #233242;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  color: #233242;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border 0.18s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #AAC7D8;
  border-color: #AAC7D8;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Lora', Cambria, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #233242;
  background: #fff;
  padding: 15px 28px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  min-width: 220px;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #AAC7D8;
  color: #233242;
}

@media (min-width: 1000px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}
@media (max-width: 999px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MAIN CONTENT FLEX PATTERNS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(35,50,66,0.10);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 4px solid #AAC7D8;
}
.feature-grid img {
  height: 42px;
  width: auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35,50,66,0.08);
  padding: 28px 18px 22px 18px;
  flex: 1 1 300px;
  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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(35,50,66,0.11);
  margin-bottom: 24px;
  position: relative;
  flex-wrap: wrap;
  flex-direction: column;
  min-width: 0;
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #233242;
  margin-bottom: 8px;
  line-height: 1.6;
}
.testimonial-card span {
  color: #46607D;
  font-size: 0.99rem;
  font-weight: 600;
}
.star-rating {
  color: #F5C048;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-top: 4px;
}

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

ul, ol {
  padding-left: 24px;
  list-style: disc inside none;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li strong {
  font-size: 1rem;
}

/* BUTTONS */
.cta, button, input[type="submit"] {
  font-family: 'Lora', Cambria, serif;
  font-weight: bold;
  background: #233242;
  color: #fff;
  padding: 10px 32px;
  border: none;
  border-radius: 16px;
  font-size: 1.15rem;
  display: inline-block;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px 0 rgba(35,50,66,0.10);
  transition: background 0.20s, box-shadow 0.16s, color 0.18s, border 0.16s;
  position: relative;
}
.cta:hover, .cta:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #AAC7D8;
  color: #233242;
  box-shadow: 0 4px 20px rgba(35,50,66,0.19);
}

/* LINKS */
a:hover, a:focus {
  text-decoration: underline;
  color: #1d2531;
}

/* FOOTER */
footer {
  background: #233242;
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer nav a {
  color: #AAC7D8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 16px;
  transition: background 0.15s, color 0.15s;
  border-radius: 8px;
}
footer nav a:hover, footer nav a:focus {
  background: #AAC7D8;
  color: #233242;
}
footer p {
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* GEOMETRIC STRUCTURED VISUALS */
.section {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(35,50,66,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
/* Add subtle angular stripe to the left side as a geometric accent */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: #AAC7D8;
  border-radius: 24px 0 0 24px;
  z-index: 1;
}
.section > .container, .section > .container > .content-wrapper {
  position: relative;
  z-index: 2;
}

.feature-grid > div, .card, .testimonial-card {
  border: 2px solid #AAC7D8;
  outline: 0;
}

/* FORMATTING/UTILITIES */
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div {
    max-width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .testimonial-card {
    padding: 14px 8px;
    gap: 12px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    min-height: 60px;
    padding-left: 8px;
    padding-right: 8px;
  }
  header img {
    height: 32px;
  }
  .mobile-nav a {
    min-width: unset;
    font-size: 1.05rem;
    padding: 12px 16px;
  }
}
@media (max-width: 500px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  section, .section {
    padding: 12px 0;
  }
}

/* SPACING UTILITY CLASSES */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-32 { margin-top: 32px; }
.pt-20 { padding-top: 20px; }
.pt-32 { padding-top: 32px; }

/* MICRO-INTERACTIONS */
.cta, button, .mobile-menu-toggle, .mobile-menu-close, .feature-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.16s, border-color 0.18s, background 0.16s, color 0.16s;
}
.cta:active, button:active {
  transform: scale(0.98);
}
.feature-grid > div:hover, .card:hover {
  border-color: #233242;
  box-shadow: 0 6px 32px rgba(35,50,66,0.13);
}
.testimonial-card:hover {
  border-color: #233242;
  box-shadow: 0 6px 36px #AAC7D866;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #233242;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 20px 20px;
  box-shadow: 0 -2px 24px 0 rgba(35,50,66,0.10);
  z-index: 600;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.37s cubic-bezier(.7,.17,.34,1.07), opacity 0.15s;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cookie-banner .cookie-banner__text {
  flex: 1 1 130px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
  margin-right: 18px;
  letter-spacing: 0.01em;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings {
  padding: 8px 20px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 2px 10px 0 rgba(161, 183, 204, 0.08);
}
.cookie-banner .accept {
  background: #AAC7D8;
  color: #233242;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #233242;
  border: 1.5px solid #AAC7D8;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #AAC7D8;
  color: #233242;
}
.cookie-banner .cookie-settings {
  background: #233242;
  color: #AAC7D8;
  border: 1.5px solid #AAC7D8;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #AAC7D8;
  color: #233242;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px;
    gap: 14px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(1);
  background: #fff;
  color: #233242;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(35,50,66,0.18);
  z-index: 1001;
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transition: opacity 0.24s, transform 0.24s;
}
.cookie-modal.inactive {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-60%) scale(0.94);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #233242;
  margin-bottom: 12px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .category-label {
  font-size: 1.07rem;
  color: #233242;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cookie-modal .category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #AAC7D8;
}
.cookie-modal .essential {
  color: #46607D;
  font-size: 0.96rem;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}
.cookie-modal button {
  padding: 8px 22px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal .close-cookie-modal {
  background: none;
  color: #233242;
  font-size: 1.5rem;
  position: absolute;
  right: 18px; top: 12px;
  border: 1.5px solid #AAC7D8;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.11s, border 0.13s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #AAC7D8;
}

/* GEOMETRIC FONTS (for headings and buttons) */
h1, h2, h3, h4, h5, h6, .cta, .mobile-nav a {
  font-family: 'Lora', Cambria, serif;
  font-variant: small-caps;
  letter-spacing: 0.01em;
}

/* TESTIMONIAL SECTION CONTRAST */
.testimonial-card {
  background: #fff;
  color: #233242;
  border-left: 8px solid #AAC7D8;
}

/* Z-INDEX HIERARCHY */
header { z-index: 200; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 600; }
.cookie-modal { z-index: 1001; }

/* ACCESSIBILITY FOCUS STATES */
a:focus, .cta:focus, button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #AAC7D8;
  outline-offset: 2px;
}

/* VISUAL HIERARCHY */
.section h2:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: #AAC7D8;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
}

/* REMOVE DOUBLE MARGIN */
.section:last-of-type {
  margin-bottom: 0;
}

/* PRINT OPTIMIZATION */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section, .feature-grid > div, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; border: 1px solid #AAC7D8; }
}

/* END OF STYLE.CSS */
