/* =========================================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  min-height: 100vh;
  color: #183153;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* =========================================================
   Base Typography
   ========================================================= */
:root {
  --color-primary: #183153;
  --color-secondary: #38A39C;
  --color-accent: #F6F8F9;
  --color-dark: #131B26;
  --color-white: #fff;
  --color-grey: #dbe1e7;
  --color-midgrey: #b7c2d2;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --box-shadow: 0 2px 12px rgba(24,49,83,0.07);
  --border-radius: 12px;
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

html {
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-primary);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-primary);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  line-height: 1.7;
}
strong { font-weight: 600; }

/* Hierarchy of spacing */
ul, ol {
  margin-left: 1.5em;
}
li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
}

.content-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.text-section, .legal-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
}

.feature-grid > div {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1 1 280px;
  min-width: 260px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 22px rgba(24,49,83,0.14);
}
.feature-grid img {
  width: 36px;
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1 1 260px;
  min-width: 200px;
  margin-bottom: 20px;
  padding: 30px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow var(--transition);
}
.testimonial-card p {
  font-style: italic;
  color: var(--color-dark);
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}
.testimonial-card img[alt*="estrella"],
.testimonial-card img[alt*="Estrella"],
.testimonial-card img[alt*="5 estrellas"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.testimonial-card > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.reviews-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  padding: 24px 18px;
}
.reviews-summary img {
  width: 22px;
  margin-right: 2px;
}
.reviews-summary > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-section h2 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.contact-information {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-information img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.contact-footer {
  margin-top: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  color: var(--color-primary);
}

.legal {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-midgrey);
  text-align: center;
}

/* =========================================================
   Header & Nav
   ========================================================= */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-grey);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header .btn-primary {
  margin-left: 16px;
}
header img {
  width: 138px;
  min-width: 110px;
  display: block;
  margin-right: 18px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  padding: 12px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-block;
  text-align: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 2px 8px rgba(24,49,83,0.07);
  margin-top: 12px;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border: 1px solid var(--color-secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #217e7c;
}
.btn-secondary {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Cookie banner buttons */
.cookie-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-right: 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn.accept:hover {
  background: #217e7c;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.reject:hover {
  background: var(--color-accent);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.settings:hover {
  background: var(--color-grey);
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--color-accent);
  padding: 36px 0 16px 0;
  border-top: 1px solid var(--color-grey);
  margin-top: 68px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  font-family: var(--font-display);
  font-size: 0.99rem;
  color: var(--color-primary);
  opacity: 0.87;
  transition: color 0.18s;
}
footer nav a:hover { color: var(--color-secondary); }
footer img {
  width: 60px;
  margin-bottom: 16px;
}

/* =========================================================
   Responsive & Flex Layouts
   ========================================================= */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
  .content-wrapper {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.05rem; }
  .section {
    padding: 26px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 0;
    gap: 24px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .container {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }
}

/* =========================================================
   Mobile Navigation
   ========================================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 14px;
  z-index: 102;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { color: var(--color-secondary); }

@media (max-width: 900px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-accent);
  box-shadow: 0 0 44px rgba(24,49,83,0.12);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 30px 0 0;
  background: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 18px;
  width: 50px;
  height: 50px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: var(--color-midgrey);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 38px 32px;
  width: 85vw;
  max-width: 390px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  padding: 15px;
  border-radius: 9px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
  outline: none;
}

/* Slide background overlay when menu is open */
.mobile-menu-bg {
  display: none;
}
.mobile-menu.active ~ .mobile-menu-bg {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(24,49,83,0.12);
  pointer-events: auto;
}

/* =========================================================
   Cookie Consent Banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 24px 18px;
  background: var(--color-white);
  border-top: 1.5px solid var(--color-grey);
  box-shadow: 0 -2px 15px rgba(24,49,83,.055);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0 12px 0 0;
  max-width: 420px;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 10px;
  }
  .cookie-banner p {
    max-width: 92vw;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 350;
  background: rgba(24,49,83,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 7px 30px rgba(24,49,83,0.14);
  padding: 36px 26px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-switch label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-switch input[type="checkbox"]:disabled ~ span {
  opacity: 0.6;
}

/* Simple Toggle Switch */
.cookie-switch input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}
.cookie-switch span {
  display: inline-block;
  width: 34px;
  height: 20px;
  background: var(--color-grey);
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  vertical-align: middle;
}
.cookie-switch input:checked + span {
  background: var(--color-secondary);
}
.cookie-switch span:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-switch input:checked + span:before {
  left: 17px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  line-height: 1;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 18px;
}

/* =========================================================
   Helper Classes & Utility Styles
   ========================================================= */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* List items with icon */
ul li img, ol li img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: -3px;
}

/* Links */
a { color: var(--color-secondary); transition: color 0.18s; }
a:hover, a:focus { color: #217e7c; text-decoration: underline; }

/* =========================================================
   Microinteractions & Effects
   ========================================================= */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s, border-color 0.22s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 26px rgba(24,49,83,0.16);
  transform: translateY(-2px) scale(1.017);
}
.btn-primary, .btn-secondary {
  transition: background 0.15s, color 0.18s, transform 0.12s;
}
.btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  transform: scale(1.025);
}

.testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:active {
  transform: scale(0.99);
  background: var(--color-accent);
}

/* =========================================================
   Miscellaneous
   ========================================================= */
::-webkit-scrollbar {
  width: 7px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-midgrey);
  border-radius: 8px;
}

/* Accessibility: high contrast for reviews/testimonials on light bg */
.testimonial-card, .reviews-summary {
  color: #14213a;
  background: #fff;
}

/* END OF MINIMALIST STYLE.CSS */
