/* ---- 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 {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #f9f9f7;
  color: #21282b;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #265A42;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #f94f14;
}
button, input, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
ul {
  list-style: none;
}

/* ---- BRAND FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #265A42;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(44,221,128, 0.12);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #183725;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1fa48b;
  font-weight: bold;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #265A42;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232b23;
  margin-bottom: 0.5em;
}
strong {
  font-weight: 700;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(127, 250, 166, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  align-self: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #e8f5e1;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(44,221,128, 0.08);
  padding: 32px 22px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover,
.card:focus {
  box-shadow: 0 10px 48px rgba(44,221,128, 0.28);
  transform: translateY(-3px) scale(1.015);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #fff;
  border: 3px solid #E8F5E1;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(7,33,105,0.04);
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card:hover {
  border-color: #12d37c;
  box-shadow: 0 4px 32px rgba(31, 164, 139, 0.18);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1b2320;
}
.testimonial-card strong {
  color: #1f6846;
}

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

/* ---- HEADER ---- */
header {
  background: #265A42;
  padding: 0;
  box-shadow: 0 2px 14px rgba(12, 52, 80, 0.07);
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 16px 20px 16px 20px;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 22px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 7px 8px;
  letter-spacing: 0.5px;
  position: relative;
}
header nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: #12d37c;
  transition: width 0.24s;
  border-radius: 2px;
  margin-top: 2.5px;
}
header nav a:hover::after,
header nav a:focus::after {
  width: 100%;
}
.btn-primary {
  background: #1fa48b;
  color: #fff;
  border-radius: 23px;
  padding: 13px 32px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(69, 226, 140, 0.15);
  cursor: pointer;
  border: none;
  margin-left: auto;
  transition: background 0.2s, transform 0.22s, box-shadow 0.22s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #f94f14;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(249,79,20,0.20);
}
.btn-secondary {
  background: #fff;
  color: #1fa48b;
  border: 2px solid #1fa48b;
  border-radius: 23px;
  padding: 12px 26px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(31, 164, 139, 0.03);
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1fa48b;
  color: #fff;
  border-color: #12d37c;
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #265A42;
  font-size: 2.3rem;
  line-height: 1;
  border-radius: 40px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: 14px;
  cursor: pointer;
  border: 3px solid #e8f5e1;
  box-shadow: 0 2px 12px rgba(44,221,128,0.12);
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  border-color: #1fa48b;
  color: #f94f14;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #265A42;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.8,0,.24,1);
  z-index: 900;
  padding-top: 44px;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: transparent;
  font-size: 2rem;
  position: absolute;
  top: 22px; right: 32px;
  border-radius: 28px;
  border: 2px solid #e8f5e1;
  padding: 5px 16px;
  cursor: pointer;
  transition: border 0.15s, color 0.15s;
  z-index: 920;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f94f14;
  border-color: #12d37c;
  background: #fff2e5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 72px 0 0 0;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 7px 0;
  transition: color .18s, border .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #1fa48b;
}

/* ---- MAIN SECTIONS and LISTS ---- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
ul li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #265A42;
  background: #e8f5e1;
  padding: 11px 20px 11px 14px;
  border-radius: 12px;
  transition: box-shadow .17s;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  box-shadow: 0 1px 8px rgba(44,221,128,0.05);
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 13px;
}

/* ---- BLOG POSTS (galeria/blog lists) ---- */
.blog-post-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.blog-post-list .text-section {
  flex: 1 1 280px;
  background: #e8f5e1;
  border-radius: 16px;
  padding: 23px 18px;
  box-shadow: 0 3px 18px rgba(44,221,128,0.07);
  min-width: 260px;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-post-list .text-section:hover {
  box-shadow: 0 8px 36px rgba(31, 164, 139, 0.15);
  transform: translateY(-2px) scale(1.01);
}
.blog-post-list .text-section a {
  color: #f94f14;
  text-decoration: underline;
  font-weight: 700;
  margin-top: 8px;
  font-size: 1rem;
}
.blog-post-list .text-section a:hover {
  color: #1fa48b;
}

/* ---- FOOTER ---- */
footer {
  background: #183725;
  color: #fff;
  padding: 36px 0 16px 0;
  margin-top: 40px;
  box-shadow: 0 -2px 16px rgba(44,221,128,0.09);
}
footer .container {
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #e8f5e1;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #1fa48b;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: #e8f5e1;
  align-items: center;
  margin-bottom: 8px;
}
.footer-contact p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 5px;
}
footer small {
  display: block;
  color: #e8f5e1;
  opacity: 0.64;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-top: 11px;
}

/* ---- COOKIES BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffcea;
  color: #183725;
  padding: 20px 22px;
  box-shadow: 0 -4px 36px rgba(44,221,128,0.17);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  z-index: 950;
  gap: 16px;
  transition: transform 0.3s;
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 250px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-consent-banner button {
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.16s;
}
.cookie-consent-accept {
  background: #1fa48b;
  color: #fff;
}
.cookie-consent-accept:hover,
.cookie-consent-accept:focus {
  background: #f94f14;
}
.cookie-consent-reject {
  background: #fff;
  color: #1fa48b;
  border: 2px solid #1fa48b;
}
.cookie-consent-reject:hover,
.cookie-consent-reject:focus {
  background: #f94f14;
  color: #fff;
  border-color: #f94f14;
}
.cookie-consent-settings {
  background: #e8f5e1;
  color: #265A42;
  border: 2px solid #265A42;
}
.cookie-consent-settings:hover,
.cookie-consent-settings:focus {
  background: #265A42;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,54,33,0.62);
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s, visibility 0.24s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #183725;
  border-radius: 19px;
  padding: 36px 27px 27px 27px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 16px 64px rgba(31,164,139,0.24);
  z-index: 980;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #1fa48b;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #1fa48b;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 11px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px; right: 15px;
  background: #fff;
  border: 2px solid #265A42;
  border-radius: 16px;
  color: #265A42;
  font-size: 1.2rem;
  padding: 1px 11px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #265A42;
  color: #fff;
  border-color: #1fa48b;
}

/* ---- VIBRANT EFFECTS / ENERGETIC ELEMENTS ---- */
.section, .content-wrapper, .text-section, .card, .testimonial-card, .blog-post-list .text-section {
  transition: box-shadow .24s, transform .18s, border-color .18s;
}
.card, .testimonial-card, .blog-post-list .text-section {
  box-shadow: 0 2px 14px rgba(249,79,20,0.07), 0 1.5px 7px rgba(31,164,139,0.07);
}
.card:hover, .testimonial-card:hover, .blog-post-list .text-section:hover {
  box-shadow: 0 6px 38px rgba(255,135,22,0.21), 0 7px 26px rgba(31,164,139,0.16);
}

/* ---- INTERACTIVE ELEMENTS ---- */
button, a.btn-primary, a.btn-secondary {
  cursor: pointer;
  outline: none;
}
button:active,
a.btn-primary:active,
a.btn-secondary:active {
  transform: scale(0.96);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .container {
    max-width: 992px;
    padding: 0 16px;
  }
  .blog-post-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .container {
    padding: 0 7px;
  }
  header .container {
    flex-direction: row;
    gap: 16px;
    padding: 13px 7px 13px 7px;
  }
  header nav {
    display: none;
  }
  .btn-primary, .btn-secondary {
    padding: 11px 16px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact,
  footer nav {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .section, section {
    padding: 22px 7px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
  .testimonial-card,
  .card {
    padding: 16px 10px;
    border-radius: 12px;
  }
  .card-container, .content-grid {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .mobile-nav {
    margin-top: 56px;
    padding-left: 18px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.36rem;
    margin-bottom: 13px;
  }
  .card, .testimonial-card {
    padding: 9px 4px;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 8px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 7px;
  }
  .cookie-modal {
    padding: 25px 9px 9px 9px;
    font-size: 0.98rem;
  }
}

/* ---- ELECTRIC ACCENTS & VIBRANT COLORS ---- */
:root {
  --color-vibrant-green: #12d37c;
  --color-electric-orange: #f94f14;
  --color-dense-green: #265A42;
  --color-soft-green: #e8f5e1;
  --color-bright-turquoise: #1fa48b;
  --color-accent-bg: #fffcea;
}
body {
  background: #f7faf7;
}
.section {
  border: 2.5px solid var(--color-soft-green);
  box-shadow: 0 6px 32px rgba(44,221,128, 0.10);
}
.btn-primary {
  background: var(--color-bright-turquoise);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-electric-orange);
}
.btn-secondary {
  border-color: var(--color-bright-turquoise);
  color: var(--color-bright-turquoise);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-bright-turquoise);
  color: #fff;
}
.testimonial-card {
  background: #fff;
  border: 2px solid var(--color-soft-green);
  color: #1b2320;
}
.testimonial-card strong {
  color: #1fa48b;
}
ul li {
  background: var(--color-soft-green);
  color: var(--color-dense-green);
}
ul li:hover {
  background: #fff;
  box-shadow: 0 8px 34px rgba(31,164,139,0.11);
}

/* --- UTILITIES for SPACING and HIERARCHY --- */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }

/* --- Hide visually but keep accessible --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---- FOCUS VISIBLE ---- */
:focus-visible {
  outline: 3px solid #1fa48b;
  outline-offset: 2px;
  z-index: 999;
}

/* ---- OVERRIDE FOR PRINT ---- */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu {
    display: none !important;
  }
  section, .container {
    box-shadow: none !important;
    background: none !important;
  }
}

/* ---- Z-INDEX layering ---- */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { z-index: 999 !important; }

/* ---- PREVENT OVERLAPPING ---- */
.card, .testimonial-card, .section, .text-section, .content-wrapper, ul li {
  margin-bottom: 0px;
}

/* ---- MANDATORY SPACING BETWEEN CARDS/SECTIONS ---- */
.card-container, .content-grid, .text-image-section,
.feature-item, .testimonial-card, .section {
  gap: 20px;
}
.card, .testimonial-card, .blog-post-list .text-section {
  margin-bottom: 20px;
}
