/* --- 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  line-height: 1.6;
  background: #F4F2ED;
  color: #233238;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: #265147;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover,
a:focus {
  color: #8EBF6B;
  outline: none;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #265147;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, address, .text-section {
  color: #233238;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* --- CONTAINER LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}


/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #D5DFE4;
  box-shadow: 0 2px 8px rgba(38, 81, 71, 0.06);
  padding: 0;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}
.logo {
  height: 60px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #233238;
  font-size: 1rem;
  padding: 7px 5px;
  border-radius: 4px;
  transition: background 0.16s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E9F5F2;
  color: #265147;
}
.main-nav .btn-primary {
  margin-left: 16px;
}

/* Mobile nav toggle button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #265147;
  background: transparent;
  border: none;
  margin-left: 16px;
  transition: color 0.2s;
  z-index: 1052;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #8EBF6B;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,81,71,0.98);
  z-index: 9998;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transition: transform 0.4s cubic-bezier(.45,1.2,.33,1);
  transform: translateX(100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #F4F2ED;
  align-self: flex-end;
  margin: 24px 32px 8px 0;
  background: transparent;
  border: none;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 32px 0 0 32px;
}
.mobile-nav a {
  color: #F4F2ED;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 0;
  border-radius: 3px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #8EBF6B;
  color: #265147;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  header .container {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav .btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
    min-height: 56px;
  }
  .logo {
    height: 48px;
  }
  .logo img {
    height: 40px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: #E9F5F2;
  border-bottom: 1px solid #D5DFE4;
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
  display: flex;
}
.hero .container {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #265147;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #233238;
}
@media (max-width: 1024px) {
  .hero {
    padding: 42px 0 30px 0;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 32px 0 20px 0;
    margin-bottom: 40px;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
}

/* --- SECTION STYLES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(38,81,71,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 600px) {
  .section {
    padding: 22px 6px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
}

/* --- FEATURE GRIDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #F7FAF8;
  border: 1px solid #D5DFE4;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(38,81,71,0.08);
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 350px;
  padding: 32px 20px 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px rgba(38,81,71,0.12);
  border-color: #8EBF6B;
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 9px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-grid > div {
    padding: 20px 10px 16px 10px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: unset;
    max-width: unset;
    border-radius: 9px;
    align-items: flex-start;
  }
}

/* --- FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #D5DFE4;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(38,81,71,0.04);
  padding: 28px 18px;
  flex: 1 1 250px;
  min-width: 210px;
  max-width: 380px;
  transition: box-shadow 0.17s, border-color 0.15s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(38,81,71,0.12);
  border-color: #8EBF6B;
}
.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: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- BUTTONS --- */
.btn-primary {
  background: #265147;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 30px;
  font-size: 1.09rem;
  border-radius: 26px;
  border: none;
  outline: none;
  box-shadow: 0 2px 9px rgba(38,81,71,0.06);
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.20s, box-shadow 0.20s, color 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #8EBF6B;
  color: #265147 !important;
  box-shadow: 0 4px 18px rgba(38,81,71,0.11);
}
.btn-secondary {
  background: #8EBF6B;
  color: #265147 !important;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.18s;
  margin-left: 8px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #265147;
  color: #fff !important;
}
.btn-tertiary {
  background: transparent;
  color: #265147 !important;
  border: 1px solid #8EBF6B;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  padding: 10px 20px;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.btn-tertiary:hover,
.btn-tertiary:focus {
  background: #8EBF6B;
  color: #fff !important;
  border-color: #265147;
}

/* --- LISTS / FAQS --- */
ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
ol {
  margin-bottom: 16px;
  padding-left: 28px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
  color: #233238;
}
ul li::before {
  content: '✔';
  color: #8EBF6B;
  margin-right: 8px;
  font-weight: 600;
  font-size: 1rem;
}
ul li strong, ol li strong {
  font-weight: 700;
  color: #265147;
}
.faq-accordion > div {
  margin-bottom: 20px;
  background: #F7FAF8;
  border: 1px solid #D5DFE4;
  border-radius: 12px;
  padding: 16px 18px;
}
.faq-accordion strong {
  color: #265147;
  display: block;
  margin-bottom: 7px;
}
.faq-accordion p {
  margin-bottom: 0;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 3px 20px rgba(38,81,71,0.07);
  border: 1px solid #D5DFE4;
  border-radius: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.2s, border 0.15s;
}
.testimonial-card p {
  color: #233238;
  font-size: 1.1rem;
  margin-bottom: 0;
  flex: 1 1 240px;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #265147;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(38,81,71,0.18);
  border-color: #8EBF6B;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
    border-radius: 9px;
  }
}

/* --- FOOTER --- */
footer {
  background: #265147;
  color: #F4F2ED;
  padding: 36px 0 17px 0;
  border-top: 1px solid #D5DFE4;
  margin-top: 60px;
}
footer .container {
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
footer nav a {
  color: #F4F2ED;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: text-decoration 0.2s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  text-decoration: underline;
  color: #8EBF6B;
}
.footer-contact {
  font-size: 1rem;
  color: #C9E4C3;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.footer-credit {
  font-size: 0.97rem;
  color: #C9E4C3;
}
@media (max-width: 600px) {
  footer {
    padding: 26px 0 9px 0;
  }
  footer .container {
    gap: 12px;
  }
  .footer-contact {
    font-size: 0.98rem;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 0;
  }
}

/* --- ADDRESS BLOCK --- */
address {
  font-style: normal;
  color: #233238;
  margin-bottom: 18px;
  line-height: 1.8;
}

/* --- MISC: CARDS, SHADOWS, SPACING --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.card {
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section:not(.hero) + .section {
  margin-top: 40px;
}

/* --- ANIMATIONS & TRANSITIONS --- */
.section, .card, .feature-grid > div, .testimonial-card, .faq-accordion > div, .btn-primary, .btn-secondary, .btn-tertiary {
  transition: box-shadow 0.18s, background 0.19s, border 0.15s, color 0.18s;
}

/* --- RESPONSIVE DEFAULTS --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  html {
    font-size: 97%;
  }
  .container {
    max-width: 100vw;
    padding: 0 4vw;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 95%;
  }
  .section {
    padding: 10px 2vw;
    margin-bottom: 22px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  color: #233238;
  border-top: 2px solid #8EBF6B;
  box-shadow: 0 -6px 24px rgba(38,81,71,0.07);
  padding: 23px 20px 17px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  animation: cookieFadeIn 0.6s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  flex: 2 1 230px;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-tertiary {
  margin-top: 0;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 15px;
  min-width: 90px;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 7px 13px 7px;
    min-height: 0;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-banner-actions {
    flex-direction: row;
    gap: 9px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,81,71,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 16px 54px rgba(38,81,71,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPop 0.35s cubic-bezier(.64,-0.07,.6,1.26);
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.89); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 23px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #265147;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8EBF6B;
  width: 22px; height: 22px;
}
.cookie-category label {
  font-size: 1.06rem;
  color: #265147;
}
.cookie-category .always-enabled {
  color: #8EBF6B;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 5px;
}

/* --- MISC (IMAGES IN TEXT) --- */
.text-section img {
  height: 23px;
  width: 23px;
  margin-right: 7px;
  vertical-align: text-bottom;
}
.text-image-section img {
  box-shadow: 0 1px 7px rgba(38,81,71,0.03);
}

/* --- UTILITIES --- */
.text-center {
  text-align: center;
}
.align-center {
  justify-content: center;
  align-items: center;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.hide { display: none !important; }

/* --- SCROLLBAR (optional, for modern touch) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #E9F5F2;
}
::-webkit-scrollbar-thumb {
  background: #8EBF6B;
  border-radius: 10px;
}

@media (max-width: 499px) {
  body {
    font-size: 15px;
  }
  .btn-primary, .btn-secondary, .btn-tertiary {
    font-size: 0.96rem;
    padding: 9px 8vw;
  }
}

/* --- FOCUS VISIBLE FOR ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid #8EBF6B;
  outline-offset: 2px;
}

/* --- PRINT STYLES (minimal, for legal pages) --- */
@media print {
  header, footer, .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .card, .feature-grid > div, .testimonial-card { box-shadow: none; border-color: #bbb; }
}
