/* CSS RESET & BASE TYPOGRAPHY */
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-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F9FAFB;
  scroll-behavior: smooth;
}
body {
  color: #222;
  background: #F9FAFB;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
}

/* FONT IMPORTS */
@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, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1E5B73;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  color: #27B698;
  text-shadow: 1px 2px 0 #fff,  4px 3px 0 #A3D8D0;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  color: #1E5B73;
}
h3 {
  font-size: 1.17rem;
  color: #27B698;
}
h4 {
  font-size: 1.03rem;
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #313144;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: #1E5B73;
}

/* LINKS & BUTTONS */
a {
  color: #1E5B73;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27B698;
}
.cta-primary {
  background: #27B698;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: 28px;
  padding: 14px 38px;
  margin-top: 20px;
  display: inline-block;
  box-shadow: 0 3px 18px 0 rgba(39,182,152,0.11);
  cursor: pointer;
  transition: background 0.2s, transform 0.16s, box-shadow 0.16s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-primary:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(30,91,115,0.08);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s;
  z-index: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1E5B73;
  color: #fff;
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  box-shadow: 0 6px 24px 0 rgba(39,182,152,0.16);
}
.cta-primary:hover:after, .cta-primary:focus:after {
  width: 120%;
  height: 400%;
}


/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 18px 0 rgba(30,91,115,0.06);
}

/* FLEXBOX MANDATORY LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 14px 0 rgba(30,91,115,0.10);
  transition: box-shadow 0.16s, transform 0.2s;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 320px;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(39,182,152,0.14);
  transform: translateY(-4px) rotate(-1.5deg) scale(1.03);
}
.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: #EAFDF8;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(30,91,115,0.07);
  color: #222;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.2s, transform 0.16s;
  position: relative;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(39,182,152,0.14);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.03rem;
  color: #1E5B73;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #666;
  font-style: italic;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Custom feature grid as flex for .features-grid  */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  justify-content: flex-start;
  padding: 0;
}
.features-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(39,182,152,0.08);
  padding: 28px 22px 20px 22px;
  min-width: 180px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.features-grid li img {
  width: 38px;
  height: 38px;
  background: #E5F8F3;
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 2px 6px 0 rgba(39,182,152,0.11);
  margin-bottom: 8px;
  transition: transform 0.18s;
}
.features-grid li:hover {
  box-shadow: 0 8px 34px rgba(39,182,152,0.13);
  transform: rotate(-1deg) scale(1.05);
}
.features-grid li:hover img {
  transform: scale(1.08) rotate(-5deg);
}
.features-grid li h3 {
  margin-bottom: 8px;
  color: #27B698;
}
.features-grid li p {
  font-size: 0.96rem;
  color: #37474f;
  margin-bottom: 0;
}

/* CUSTOM PRODUCT SECTION GRID USING FLEXBOX */
.product-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.product-category-grid .text-section {
  background: #F9FAFB;
  border-radius: 18px;
  box-shadow: 0 1px 4px 0 rgba(30,91,115,0.03);
  flex: 1 1 210px;
  padding: 26px 18px;
  max-width: 300px;
  min-width: 185px;
}
.product-category-grid .text-section h2 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #1E5B73;
}
.product-category-grid .text-section li {
  padding-left: 16px;
  margin-bottom: 7px;
  color: #222;
  font-size: 0.97rem;
  position: relative;
}
.product-category-grid ul {
  list-style: disc inside;
  padding-left: 8px;
  margin-bottom: 0;
}

/* SERVICES (OFERTA) & ARTICLE/POST LISTS */
.services-list, .tip-list, .how-to-guides, .blog-post-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list li, .tip-list li, .how-to-guides li, .blog-post-list li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px 0 rgba(30,91,115,0.07);
  padding: 24px 22px 18px 22px;
  min-width: 200px;
  flex: 1 1 240px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.13s;
}
.services-list li:hover, .tip-list li:hover, .how-to-guides li:hover, .blog-post-list li:hover {
  box-shadow: 0 8px 21px 0 rgba(39,182,152,0.11);
  transform: scale(1.02) rotate(-1deg);
}
.services-list li h2, 
.tip-list li h3, 
.how-to-guides li h3, 
.blog-post-list li h3 {
  font-size: 1.13rem;
  color: #27B698;
  font-family: 'Montserrat', Arial, sans-serif;
}
.services-list li p,
.tip-list li p,
.how-to-guides li p,
.blog-post-list li p {
  font-size: 0.98rem;
}
.blog-post-list li span {
  font-size: 0.92rem;
  color: #1E5B73;
  margin-top: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

.blog-categories {
  margin-top: 32px;
  background: #EAFDF8;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 1px 3px 0 rgba(30,91,115,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.blog-categories li {
  background: #fff;
  border-radius: 16px;
  padding: 8px 18px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27B698;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #F1F8FB;
  border-radius: 18px;
  box-shadow: 0 1px 4px 0 rgba(30,91,115,0.03);
  padding: 18px 18px;
  margin: 16px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.map-placeholder img {
  width: 38px;
  height: 38px;
}

/* FOOTER & HEADER */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #27B698;
  box-shadow: 0 2px 12px 0 rgba(39,182,152,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding-top: 0;
  padding-bottom: 0;
  gap: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 18px;
  border-radius: 24px;
  color: #1E5B73;
  transition: background 0.18s, color 0.15s, box-shadow 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #EAFDF8;
  color: #27B698;
}
header nav .cta-primary {
  margin: 0 0 0 16px;
  font-size: 1.04rem;
  padding: 9px 27px;
  box-shadow: none;
}
header .container > a img {
  height: 44px;
  width: auto;
}

footer {
  background: #27B698;
  padding: 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 32px 20px 28px 20px;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025rem;
  padding: 3px 0;
  letter-spacing: 0.5px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F9FAFB;
  text-decoration: underline;
}
footer .footer-contact {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer .footer-contact p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F9FAFB;
}
footer .footer-contact img {
  width: 22px;
  height: 22px;
}
footer .container > a img {
  height: 38px;
}

/* UTILITY */
ul {
  list-style: disc inside;
}
.text-section ul {
  list-style: square inside;
  padding-left: 10px;
}
.text-section li {
  margin-bottom: 6px;
  color: #22a88b;
}
.text-section h2 {
  font-size: 1.18rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #1E5B73;
}
.text-section p {
  font-size: 1rem;
  margin-bottom: 10px;
}
.text-section a {
  color: #27B698;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.16s;
}
.text-section a:hover {
  color: #1E5B73;
}

/* HIDE NAV on MOBILE, SHOW HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #27B698;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  height: 48px;
  width: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px 0 rgba(39,182,152,0.11);
  transition: background 0.15s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1E5B73;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1E5B73;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4,1.84,.48,.81);
  box-shadow: 1px 0 16px rgba(30,91,115,.2);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 24px 30px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 11;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #27B698;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 50px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.37rem;
  padding: 10px 0 10px 0;
  border-radius: 20px;
  transition: background 0.15s, color 0.14s;
  z-index: 10;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #27B698;
  color: #fff;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3100;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 -2px 16px 0 rgba(39,182,152,0.16);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 34px 16px 26px 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  color: #1E5B73;
  transition: transform 0.4s cubic-bezier(.33,1.8,.52,.85), opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-message {
  flex: 1 1 260px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, transform 0.16s;
  margin: 0;
  min-width: 124px;
}
.cookie-btn.accept {
  background: #27B698;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1E5B73;
}
.cookie-btn.reject {
  background: #F5F6EA;
  color: #27B698;
  border: 2px solid #27B698;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #1E5B73;
  color: #fff;
  border-color: #1E5B73;
}
.cookie-btn.settings {
  background: #fff;
  color: #222;
  border: 2px solid #27B698;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EAFDF8;
  color: #27B698;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,91,115,0.20);
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 60px 0 rgba(39,182,152,0.17);
  min-width: 300px;
  max-width: 90vw;
  width: 420px;
  padding: 32px 27px 28px 27px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  color: #1E5B73;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #27B698;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-modal label, .cookie-modal .category-label {
  font-size: 1rem;
  color: #1E5B73;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"], .cookie-modal input[type="radio"] {
  accent-color: #27B698;
  margin-right: 5px;
}
.cookie-modal button {
  align-self: flex-end;
  padding: 10px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #27B698;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #1E5B73;
}

/* ANIMATION FOR ENERGETIC EFFECTS */
@keyframes bounceIn {
  0% { transform: scale(0.85) translateY(24px); opacity: 0; }
  70% { transform: scale(1.05) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cta-primary, .cta-primary:after {
  animation: bounceIn 0.6s cubic-bezier(.27,1.32,.89,.93) backwards;
}
.card, .testimonial-card, .features-grid li, .services-list li, .tip-list li, .how-to-guides li, .blog-post-list li {
  animation: bounceIn 0.85s cubic-bezier(.27,1.32,.89,.93) backwards;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container {
    max-width: 99vw;
    padding-left: 10px; padding-right: 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .features-grid, .product-category-grid, .services-list, .tip-list, .how-to-guides, .blog-post-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px; padding-right: 6px;
  }
  header .container {
    height: 64px;
  }
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .section {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-contact, footer nav, footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .features-grid, .product-category-grid, .services-list, .tip-list, .how-to-guides, .blog-post-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .product-category-grid .text-section, .features-grid li, .services-list li, .card {
    max-width: 100%;
    min-width: 0;
  }
  .section {
    padding: 24px 0;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
  }
  .blog-categories ul {
    gap: 8px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.13rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 3vw 14px 3vw;
  }
  .cookie-modal {
    width: 96vw; min-width: unset; padding: 12vw 3vw 9vw 3vw;
  }
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, button:focus, .cta-primary:focus, input:focus, .cookie-btn:focus {
  outline: 2px solid #27B698 !important;
  outline-offset: 2px;
  z-index: 2;
}

/* PLAYFUL SHAPES: DYNAMIC DECORATIONS */
.section:before {
  content: '';
  position: absolute;
  left: -28px; top: -18px;
  width: 58px; height: 58px;
  background: #EAFDF8;
  z-index: 0;
  border-radius: 50% 40% 64% 56% / 53% 60% 41% 60%;
  box-shadow: 0 4px 14px 0 rgba(30,91,115,0.08);
  opacity: 0.32;
  pointer-events: none;
}
.section {
  position: relative;
  overflow: visible;
}
.section:after {
  content: '';
  position: absolute;
  right: -22px; bottom: -18px;
  width: 44px; height: 44px;
  background: #F5F6EA;
  border-radius: 61% 39% 60% 40% / 35% 65% 35% 65%;
  box-shadow: 0 2px 7px 0 rgba(39,182,152,0.07);
  opacity: 0.23;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 700px) {
  .section:before, .section:after {
    display: none;
  }
}

/* ENSURING PROPER Z-INDEX LAYERING */
.mobile-menu,
.mobile-menu.open { z-index: 999; }
.cookie-banner { z-index: 3100; }
.cookie-modal-overlay { z-index: 4200; }
header { z-index: 20; }

/* END CSS */
