/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #244F47;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #244F47;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8DA07B;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* BRAND TYPOGRAPHY */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #244F47;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.3;
  color: #244F47;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #244F47;
  margin-bottom: 12px;
}

p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #244F47;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
blockquote {
  font-style: italic;
  color: #244F47;
  margin: 0 0 10px 0;
  opacity: 0.96;
}
strong, b {
  font-weight: 700;
}

/* GENERAL LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 760px;
}

/* FLEXBOX PATTERNS */
.card-container, .feature-list, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-list, .feature-grid {
  gap: 30px 24px;
  margin-top: 10px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(36,79,71,0.05);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(36,79,71,0.10);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F2EAD7;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(36,79,71,0.08);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
}
.testimonial-user {
  color: #244F47;
  font-weight: 500;
  opacity: 0.82;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #F2EAD7;
  position: sticky;
  top: 0;
  z-index: 49;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  min-height: 72px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.main-nav a {
  font-size: 1rem;
  padding: 6px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #244F47;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover {
  background: #F2EAD7;
}
.cta-primary {
  margin-left: 28px;
  background: #244F47;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(36,79,71,0.04);
  transition: background 0.18s, box-shadow 0.15s, color 0.18s;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  border: none;
  display: inline-block;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #8DA07B;
  color: #244F47;
  box-shadow: 0 6px 20px rgba(36,79,71,0.09);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #244F47;
  cursor: pointer;
  margin-left: 18px;
  z-index: 101;
  line-height: 1;
}

/* MOBILE NAVIGATION DRAWER */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 16px rgba(36,79,71,0.09);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.17,.67,.83,.67);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding-top: 26px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(.13,.72,.48,.94), opacity 0.16s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #244F47;
  cursor: pointer;
  align-self: flex-end;
  margin: 0 22px 12px 0;
  z-index: 1060;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 20px 40px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 14px 0;
  border-radius: 8px;
  color: #244F47;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2EAD7;
}

/* HERO SECTION */
.hero-section {
  background: #F2EAD7;
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  max-width: 660px;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: #244F47;
  letter-spacing: 0.01em;
}
.hero-section p {
  font-size: 1.13rem;
  color: #244F47;
  margin-bottom: 16px;
}

/* FEATURE LISTS / GRIDS */
.feature-grid li, .feature-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36,79,71,0.04);
  padding: 22px 16px 18px 16px;
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.17s;
  margin-bottom: 20px;
}
.feature-grid li img, .feature-list li img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  opacity: 0.92;
}
.feature-grid li:hover, .feature-list li:hover {
  box-shadow: 0 8px 32px rgba(36,79,71,0.09);
}
.feature-grid h3, .feature-list h3 {
  margin-bottom: 7px;
  font-size: 1.11rem;
}

/* FOOTER */
footer {
  background: #244F47;
  color: #fff;
  padding: 38px 0 30px 0;
  border-top: 5px solid #8DA07B;
  font-size: 1rem;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  margin-right: 32px;
}
.footer-logo img {
  width: 66px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}
.footer-nav a {
  color: #F2EAD7;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #8DA07B;
  opacity: 1;
}
.footer-contact {
  color: #F2EAD7;
  font-size: 1rem;
  opacity: 0.94;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact img {
  width: 17px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.78;
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F2EAD7;
  color: #244F47;
  box-shadow: 0 -4px 24px rgba(36,79,71,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 22px 22px 22px;
  z-index: 99;
  transition: transform 0.3s, opacity 0.2s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
  color: #244F47;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 4px;
}
.cookie-btn {
  font-family: 'Roboto', Arial, sans-serif;
  background: #244F47;
  color: #fff;
  padding: 9px 22px;
  margin: 0;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px rgba(36,79,71,0.02);
  cursor: pointer;
}
.cookie-btn.settings {
  background: transparent;
  color: #244F47;
  border: 1px solid #244F47;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8DA07B;
  color: #244F47;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #244F47;
  color: #fff;
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(36,79,71,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal__dialog {
  background: #fff;
  padding: 40px 28px 32px 28px;
  border-radius: 18px;
  max-width: 380px;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(36,79,71,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h2 {
  color: #244F47;
  margin-bottom: 10px;
}
.cookie-modal__categories {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #244F47;
}
.cookie-category input[type="checkbox"] {
  accent-color: #244F47;
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  opacity: 0.7;
}
.cookie-modal__actions {
  margin-top: 6px;
  display: flex;
  gap: 14px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #8DA07B;
  cursor: pointer;
  opacity: 0.77;
  z-index: 2010;
}

/* INTERACTIVE ELEMENTS & BUTTONS */
button, .button, .cta-primary, .cookie-btn {
  transition: background 0.20s, color 0.18s, box-shadow 0.15s;
}
button:active, .cta-primary:active {
  box-shadow: 0 0 0 2px #8DA07B inset;
}

/* CARDS & BLOCKS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TABLES (FOR LEGAL/PRIVACY TEXT IF APPEARS) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  margin-bottom: 22px;
  font-size: 1rem;
}
th, td {
  padding: 10px 12px;
  border: 1px solid #F2EAD7;
  text-align: left;
}
th {
  background: #F2EAD7;
  font-weight: 600;
}

/* MARGINS/SPACING CONSISTENCY */
section:not(:last-child) {
  margin-bottom: 60px;
}
li:not(:last-child) {
  margin-bottom: 11px;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 8px;
  background: #F2EAD7;
}
::-webkit-scrollbar-thumb {
  background: #244F47;
  border-radius: 4px;
}

/* MICROLIGHT TRANSITIONS FOR LINKS */
a, .cta-primary, .button, .cookie-btn {
  transition: background 0.15s, color 0.14s, box-shadow 0.13s;
}

/* ANIMATIONS */
@keyframes slideInMenu {
  from {transform: translateX(100%); opacity: 0;}
  to   {transform: translateX(0); opacity: 1;}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to   {opacity: 1; transform: translateY(0);}
}
.hero-section .content-wrapper > * {
  animation: fadeInUp 0.7s cubic-bezier(.34,.7,.32,1) both;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 97.5%;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 58px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    margin-left: auto;
    font-size: 1.05rem;
    padding: 10px 20px;
  }
  .hero-section {
    padding: 38px 0 32px 0;
    margin-bottom: 28px;
  }
  .hero-section h1 {
    font-size: 1.45rem;
  }
  .feature-grid, .feature-list, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .feature-list li {
    max-width: 100%;
    min-width: unset;
    padding: 18px 13px 13px 13px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 10px;
    font-size: 1rem;
  }
  .footer-logo img {
    width: 48px;
  }
  .footer-contact {
    font-size: 0.96rem;
  }
  .section {
    padding: 24px 10px;
    margin-bottom: 34px;
  }
  .text-section {
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .container {
    max-width: 99vw;
    padding: 0 3vw;
  }
  .footer-contact {
    max-width: 99vw;
    font-size: 0.92rem;
    gap: 6px;
  }
}
