/* AquaMadrid Limpio Scandinavian Clean CSS - style.css */

/* === CSS RESET & BASE === */
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 {
  scroll-behavior: smooth;
}

body {
  background: #F6FAFC;
  color: #223346;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #115E83;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #25A7C0;
}

ul, ol {
  list-style: none;
}
strong {
  font-weight: bold;
  color: #115E83;
}

/* === TYPOGRAPHY (SCANDINAVIAN) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #115E83;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
  color: #223346;
}
blockquote {
  font-style: italic;
  color: #115E83;
  margin-bottom: 10px;
  background: #EAF6FB;
  padding: 12px 20px;
  border-left: 4px solid #25A7C0;
  border-radius: 6px 0 0 6px;
}

/* === WRAPPERS & LAYOUT === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(22,51,68,0.08);
  border-radius: 18px;
}

/* --- List/Feature: flex patterns --- */
.card-container, .features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  box-shadow: 0 2px 6px rgba(17,94,131,0.06);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6FAFC;
  padding: 24px 20px;
  border-radius: 10px;
}
.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;
  background: #EAF6FB;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(17,94,131,0.05);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(17,94,131,0.06);
  position: relative;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  position: relative;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #115E83;
  letter-spacing: 0;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.12s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #EAF6FB;
  color: #25A7C0;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #115E83;
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(17,94,131,0.08);
  transition: background 0.18s, color 0.15s, box-shadow 0.23s;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #25A7C0;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,167,192,0.12);
}

/* === MOBILE MENU STYLES === */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 950px) {
  header .container nav,
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #115E83;
    font-size: 2.2rem;
    padding: 8px;
    position: absolute;
    right: 28px;
    top: 26px;
    z-index: 1101;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.14s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #EAF6FB;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
    box-shadow: 0 3px 16px rgba(17,94,131,0.14);
    opacity: 0.99;
    padding: 36px 0 0 0;
  }
  .mobile-menu.active {
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  }
  .mobile-menu-close {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #115E83;
    position: absolute;
    top: 18px;
    right: 28px;
    z-index: 2100;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s;
    width: 38px;
    height: 38px;
  }
  .mobile-menu-close:active, .mobile-menu-close:focus {
    background: #EAF6FB;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin-top: 54px;
    padding-left: 30px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #115E83;
    font-size: 1.18rem;
    font-weight: 500;
    padding: 12px 0;
    border-radius: 10px;
    transition: background 0.18s, color 0.2s;
  }
  .mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
    background: #EAF6FB;
    color: #25A7C0;
    padding-left: 10px;
  }
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(110deg, #EAF6FB 55%, #fff 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 32px rgba(17,94,131,0.08);
  padding: 60px 0 35px 0;
  margin-bottom: 40px;
  min-height: 250px;
}
.hero .container .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2, .hero p {
  color: #115E83;
  margin-bottom: 10px;
  max-width: 720px;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* === FLEX LAYOUTS FOR MAIN CONTENT === */
ul, .content-wrapper > ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #1d2935;
}
ul li img {
  width: 32px;
  height: 32px;
}

/* === CARDS, TESTIMONIALS, CTAs === */
.testimonial-card {
  background: #EAF6FB;
  color: #115E83;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(17,94,131,0.08);
  margin-bottom: 20px;
  max-width: 600px;
  width: 100%;
  padding-right: 32px;
  position: relative;
  font-size: 1.07rem;
}
.testimonial-card p {
  margin: 0 0 0 2px;
  font-size: 1.02rem;
  color: #1d2935;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 1px solid #EAF6FB;
  padding: 36px 0 24px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 16px rgba(17,94,131,0.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-size: 0.97rem;
  color: #115E83;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #25A7C0;
  text-decoration: underline;
}
footer p, footer address {
  color: #223346;
  font-size: 0.97rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
footer img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}
footer .container > a img {
  width: 58px;
  height: 58px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #115E83;
  color: #fff;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 1rem;
  box-shadow: 0 -2px 24px rgba(17,94,131,0.14);
  flex-wrap: wrap;
  gap: 18px;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
}
.cookie-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  cursor: pointer;
  padding: 9px 24px;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.16s, color 0.16s;
  outline: none;
}
.cookie-banner .cookie-accept {
  background: #25A7C0;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #fff;
  color: #115E83;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #115E83;
  border: 1.5px solid #EAF6FB;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #EAF6FB;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  padding: 9px 6px;
  font-size: 1rem;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #25A7C0;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,94,131,0.26);
  z-index: 22000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal {
  background: #fff;
  color: #223346;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(17,94,131,0.15);
  max-width: 410px;
  width: 94%;
  padding: 38px 30px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInCookieModal 0.4s both;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  color: #115E83;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-list label {
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 10px;
}
.cookie-modal-list input[type="checkbox"]:not([disabled]) {
  accent-color: #25A7C0;
}
.cookie-modal-list input[type="checkbox"][disabled] {
  accent-color: #BFDDE0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.32rem;
  color: #115E83;
  cursor: pointer;
  border-radius: 9px;
  padding: 2px 8px;
  transition: background 0.1s;
  z-index: 11;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #EAF6FB;
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .footer .container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 20px 0;
    min-height: 130px;
    border-radius: 0 0 21px 21px;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 44px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container,
  .content-grid,
  .features {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    padding-right: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  header .container > a img,
  footer .container > a img {
    width: 48px;
    height: 48px;
  }
}

/* === MICRO-INTERACTIONS & ANIMATIONS === */
.cta-btn, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: filter 0.14s, box-shadow 0.17s, background 0.19s, color 0.12s;
}
.cta-btn:active, .cookie-banner button:active {
  filter: brightness(0.94);
}
.testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 3px 24px rgba(17,94,131,0.12);
  transform: translateY(-3px) scale(1.018);
}
ul li img {
  transition: transform 0.17s;
}
ul li:hover img {
  transform: scale(1.09) rotate(-6deg);
}

/* === MISC ELEMENTS === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  gap: 13px;
}
.text-section h2 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

/* === UTILITY CLASSES FOR SPACING === */
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

/* === SCANDINAVIAN ACCENT LINES === */
hr {
  border: none;
  border-top: 2px solid #EAF6FB;
  margin: 36px 0;
}

/* === AUTOFILL OVERRIDES FOR FORMS (if needed in future) === */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #EAF6FB inset !important;
  box-shadow: 0 0 0 1000px #EAF6FB inset !important;
  -webkit-text-fill-color: #223346 !important;
}

/* === BUTTONS (plain inline links) === */
button, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
}

/* === FOCUS VISIBLE ENHANCEMENT === */
a:focus, button:focus {
  outline: 2px solid #25A7C0;
  outline-offset: 2px;
  z-index: 3;
  position: relative;
}


/*
==== HOVER TABLE CARD / CTA / LINK INTERACTIONS
*/
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 24px rgba(37,167,192,0.11);
  transform: translateY(-1.5px) scale(1.012);
  transition: box-shadow 0.19s, transform 0.19s;
}
a[href^="#"]:hover:after,
a[href^="#"]:focus:after {
  content: url("data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6h8M8 2l2 4-2 4' stroke='%23115E83' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  margin-left: 4px;
  vertical-align: middle;
  transition: margin-left 0.13s;
}

/* === PRINT MINIMAL STYLE === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, body, .container { background: #fff !important; color: #222 !important; }
}
