/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #222;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #18426A;
  transition: color 0.2s;
  text-decoration: underline;
}
a:focus, a:hover {
  color: #11705a;
  outline: none;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #18426A;
  margin-bottom: 0.75em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
h4 {
  font-size: 1.2rem;
  font-weight: 500;
}
p, blockquote, dl, dt, dd {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1.2em;
}
strong {
  font-weight: bold;
}
blockquote {
  font-family: 'Montserrat', serif;
  font-style: italic;
  font-size: 1.16rem;
  padding-left: 1em;
  border-left: 4px solid #18426A;
  color: #33396a;
  background: #F5F6FA;
  margin-bottom: 1em;
}
cite {
  font-size: 0.98rem;
  color: #11705a;
  font-style: normal;
  display: block;
}
/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.main {
  flex: 1 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 2px 18px 0 rgba(24,66,106, 0.09);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #ececec;
  transition: box-shadow 0.25s, border-color 0.18s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 32px 0 rgba(24,66,106, 0.18);
  border-color: #17A589;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(24,66,106, 0.13);
  border: 1px solid #e0e3ec;
  min-width: 230px;
  flex: 1 1 270px;
}
.testimonial-card span {
  font-size: 1.3rem;
  color: #18426A;
  letter-spacing: 0.12em;
  margin-top: 0.3em;
}
.features ul, .differentiators ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li, .differentiators ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(24,66,106, 0.07);
  border: 1px solid #ececec;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s, border 0.18s;
}
.features ul li:hover, .differentiators ul li:hover {
  box-shadow: 0 5px 18px 0 rgba(24,66,106, 0.16);
  border-color: #17A589;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
details summary {
  cursor: pointer;
  font-weight: bold;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #18426A;
  padding: 8px 0;
  outline: none;
  transition: color 0.2s;
}
details[open] summary {
  color: #11705a;
}
details p {
  padding-left: 16px;
}
dl {
  margin-bottom: 0;
}
dt {
  font-weight: 600;
  color: #18426A;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 12px;
  margin-left: 0;
}
/* HERO SECTIONS */
.hero {
  background: #fff;
  padding: 70px 0 50px 0;
  margin-bottom: 32px;
  box-shadow: 0 2px 24px 0 rgba(24,66,106, 0.04);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
/* CTA */
.cta, .contact-cta {
  background: #18426A;
  color: #fff;
  border-radius: 14px;
  padding: 46px 28px 40px 28px;
  margin-bottom: 60px;
  box-shadow: 0 2px 15px 0 rgba(24,66,106, 0.06);
}
.cta .content-wrapper,
.contact-cta .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.cta p,
.contact-cta p {
  color: #fff;
}
/****** BUTTONS & LINKS ******/
.cta-btn, .mini-cta, button {
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #18426A;
  border: none;
  border-radius: 28px;
  padding: 13px 36px;
  box-shadow: none;
  margin-top: 6px;
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}
.cta-btn:focus, .cta-btn:hover, .mini-cta:focus, .mini-cta:hover, button:focus, button:hover {
  background: #11705a;
  color: #fff;
  outline: none;
  box-shadow: 0 1px 8px rgba(24,66,106,0.16);
}
.mini-cta {
  padding: 0.55em 1.4em;
  background: #17A589;
  color: #fff;
  font-size: 0.98rem;
  margin-top: 0.7em;
  border-radius: 22px;
}
.mini-cta:hover {
  background: #18426A;
  color: #fff;
}
/******** FOOTER ********/
footer {
  background: #18426a;
  color: #fff;
  padding: 44px 0 28px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 70px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  opacity: 0.98;
  transition: opacity .18s;
  text-decoration: underline;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: #17A589;
  text-decoration: none;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.98rem;
  color: #e5eaf1;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-brand span {
  font-size: 0.97rem;
}
/********* NAVIGATION *********/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(24,66,106, 0.055);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 22px;
  width: 100%;
}
header nav a img {
  height: 38px;
  width: auto;
}
header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav ul li a {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  color: #18426A;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 6px 12px;
  border-radius: 9px;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #17A589;
  background: #F5F6FA;
  outline: none;
}
header .cta-btn {
  background: #17A589;
  font-weight: 700;
  font-size: 1.01rem;
  padding: 10px 24px;
  border-radius: 24px;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #11705a;
  color: #fff;
}
/******** MOBILE MENU ********/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 18px;
  background: #18426A;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 3px 24px rgba(24,66,106, 0.12);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #11705a;
}
.mobile-menu {
  display: flex; /* Always flex for accessibility */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 92vw;
  height: 100vh;
  background: #18426A;
  color: #fff;
  padding: 44px 32px 22px 24px;
  transform: translateX(105%);
  transition: transform .36s cubic-bezier(.77,.03,0,1);
  z-index: 200;
  box-shadow: -6px 0 32px rgba(24,66,106,0.18);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 213;
  cursor: pointer;
  padding: 2px 14px;
  border-radius: 8px;
  transition: background 0.17s, color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff2;
  color: #17A589;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 50px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.16s, background 0.16s;
  padding: 12px 2px;
  border-radius: 6px;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #17A589;
  background: #fff1;
  outline: none;
}
/********* RESPONSIVE LAYOUTS *********/
@media (max-width: 1100px) {
  .container {
    padding: 0 10px;
  }
  .features ul, .differentiators ul {
    gap: 16px;
  }
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features ul, .differentiators ul {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card, .service-card {
    padding: 28px 14px;
  }
  .testimonial-card {
    padding: 15px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  header nav ul {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 36px 0 30px 0;
    margin-bottom: 26px;
  }
  .text-image-section, .features ul, .differentiators ul {
    flex-direction: column;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card, .service-card {
    min-width: 0;
    width: 100%;
    padding: 18px 8px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 13px 6px;
  }
  .cta, .contact-cta {
    padding: 30px 8px 28px 8px;
  }
  footer {
    padding: 30px 0 17px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}
/********* FORM ELEMENTS *********/
input[type="text"], input[type="email"], textarea {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #bfc7d0;
  border-radius: 9px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  color: #18426A;
  background: #fafcff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #17A589;
  outline: none;
}
/********* Legal & Thank you *********/
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(24,66,106,.07);
  padding: 40px 18px;
  margin-bottom: 56px;
}
.thank-you {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(24,66,106,0.066);
  padding: 48px 18px 41px 18px;
  margin-bottom: 48px;
}
/********* COOKIE CONSENT BANNER *********/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #f5f6fa;
  color: #222;
  box-shadow: 0 -2px 18px 0 rgba(24,66,106,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  padding: 22px 32px 23px 32px;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  border-top: 2px solid #18426A;
  animation: fadeInUp .5s ease;
}
@keyframes fadeInUp {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #18426A;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 28px;
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .16s;
}
.cookie-btn--secondary {
  background: #17A589;
}
.cookie-btn--settings {
  background: #fff;
  color: #18426A;
  border: 1px solid #18426A;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #11705a;
  color: #fff;
}
.cookie-btn--settings:hover {
  background: #18426A;
  color: #fff;
}
/********* COOKIE MODAL *********/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,66,106, 0.51);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 400px;
  width: calc(100vw - 28px);
  padding: 34px 24px 20px 24px;
  box-shadow: 0 4px 44px 0 rgba(24,66,106,0.14);
  font-family: 'Roboto', serif;
  z-index: 20403;
  animation: modalPopIn .32s cubic-bezier(.54,.21,0,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.93); opacity: 0.6; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', serif;
  font-size: 1.32rem;
  color: #18426A;
  margin-bottom: 12px;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-modal .category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #17A589;
  width: 19px;
  height: 19px;
}
.cookie-modal .category-item.essential label {
  font-weight: 600;
  color: #17A589;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #18426A;
  font-size: 1.4rem;
  position: absolute;
  right: 15px;
  top: 14px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #11705a;
}
/* Hide modal by default */
.cookie-modal-backdrop[aria-hidden="true"] {
  display: none;
}
/***** Spacing consistency utilities *****/
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-12 { gap: 12px; }
.gap-18 { gap: 18px; }
.gap-24 { gap: 24px; }
/***** Utility classes *****/
.text-center { text-align: center; }
.text-right { text-align: right; }
.hide { display: none !important; }
/***** Elegant micro-interaction (hover for cards) *****/
.card, .service-card, .testimonial-card, .features ul li {
  transition: box-shadow 0.23s, border-color 0.18s;
}
.card:focus-within, .card:hover,
.service-card:focus-within, .service-card:hover,
.testimonial-card:focus-within, .testimonial-card:hover,
.features ul li:focus-within, .features ul li:hover {
  box-shadow: 0 1px 15px rgba(24,66,106, 0.12);
  border-color: #17A589;
}
/***** Visual hierarchy & typography scale (all) *****/
h1 { font-size: 2.5rem; }
@media (max-width: 600px) { h1 { font-size: 1.65rem; } }
h2 { font-size: 2rem; }
@media (max-width: 600px) { h2 { font-size: 1.22rem;} }
h3 { font-size: 1.16rem; }
/***** Accessibility - focus ring ******/
a, button, .cta-btn, .mini-cta, .cookie-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .mini-cta:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #17A589;
  outline-offset: 2px;
}
/***** FAQ input search styling ******/
input[type="text"][placeholder*="pregunta"] {
  border: 1.5px solid #18426A;
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  width: 100%;
  background: #fff;
}
input[type="text"][placeholder*="pregunta"]:focus {
  border-color: #17A589;
}
/***** OL/UL padding tight on mobile *****/
@media (max-width: 640px) {
  ul, ol {
    margin-left: 1em;
    margin-bottom: 0.8em;
  }
}
/***** Animations for testimonial stars *****/
.testimonial-card span {
  animation: popStars 0.85s cubic-bezier(0.23,1.05,0.53,1.09) both;
  animation-delay: 0.12s;
}
@keyframes popStars {
  0% { opacity: 0; transform: scale(0.5); }
  72% { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

/****** END - STYLES ******/
