/* ================= GLOBAL RESET & NORMALIZATION ================= */
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;
  min-height: 100vh;
  background: #FAF3E6;
  color: #332d22;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: #21425D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EBBC7E;
}

/* ================= 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, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #21425D;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 900;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

p, li, ul, ol, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #595447;
}
strong {
  color: #21425D;
  font-weight: 700;
}

/* ================= UTILITY CLASSES ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(33,66,93, 0.05), 0 1.5px 12px rgba(235,188,126,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F5F7FB;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(33,66,93,0.05);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(33,66,93,0.10);
}

.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: #F9F6F2;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(33,66,93,0.06);
  color: #2C3847;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: #21425D;
}
.testimonial-card strong {
  color: #EBBC7E;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(33,66,93,0.15);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 12px;
  background: #F7EDF6;
  border-radius: 16px;
}

/* ================= HEADER & NAVBAR =================  */
header {
  background: #FAF3E6;
  width: 100%;
  padding: 16px 0;
  box-shadow: 0 1px 6px rgba(33,66,93,0.03);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 52px;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #21425D;
  position: relative;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #E1F1FF;
  color: #595447;
}

/* ============= MOBILE BURGER MENU ============= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 600;
  background: #21425D;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(33,66,93,0.10);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #EBBC7E;
  color: #21425D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9f4;
  box-shadow: 0 2px 24px rgba(33,66,93,0.11);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.52,0.01,0.33,1), box-shadow 0.25s;
  z-index: 999;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 24px rgba(33,66,93,0.18);
}
.mobile-menu-close {
  margin: 18px 0 18px 18px;
  background: none;
  color: #EBBC7E;
  border: none;
  font-size: 2rem;
  font-family: inherit;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #21425D;
  background: transparent;
  border-radius: 10px;
  padding: 10px 0;
  transition: background 0.13s;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #EBBC7E;
  color: #fff;
}

/* ================= HERO SECTION ================= */
.hero {
  background: linear-gradient(120deg, #F8F4F6 60%, #E3FDFD 100%);
  border-radius: 32px;
  margin-top: 20px;
  margin-bottom: 60px;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 16px rgba(33,66,93,0.05);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #21425D;
  text-shadow: 0 1px 7px rgba(235,188,126,0.08);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #525047;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  font-size: 1.19rem;
  background: #21425D;
  color: #fff;
  border-radius: 32px;
  padding: 13px 38px;
  margin-top: 10px;
  font-weight: 700;
  border: none;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 9px rgba(33,66,93,0.06);
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #EBBC7E;
  color: #21425D;
  box-shadow: 0 6px 20px rgba(33,66,93,0.14);
}

/* =========== FEATURES, ABOUT, CATEGORIES, ARTICLES =========== */
.features, .about, .principales-categorias, .privacy, .contact-info, .faq, .articles {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(33,66,93,0.04);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.features ul,
.articles ul,
.principales-categorias ul,
.contact-info ul,
.faq ul,
.privacy ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features li, .about li, .articles li, .privacy li, .faq li {
  font-size: 1.08rem;
  background: #F7F7FB;
  padding: 12px 18px;
  border-radius: 12px;
}
.principales-categorias ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}
.principales-categorias a {
  background: #F5F8FC;
  color: #21425D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  border-radius: 24px;
  padding: 9px 24px;
  margin-bottom: 4px;
  border: 1px solid #E7E7EA;
  transition: background 0.17s, color 0.17s;
  margin-right: 12px;
}
.principales-categorias a:hover, .principales-categorias a:focus {
  background: #EBBC7E;
  color: #fff;
}
.articles a {
  color: #21425D;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.14s;
}
.articles a:hover {
  color: #EBBC7E;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F1F9F7;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(33,66,93,0.03);
}
.testimonials .testimonial-card {
  background: #fff;
  color: #21425D;
  border-left: 5px solid #EBBC7E;
  margin-bottom: 24px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-width: 210px;
}
.testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}

/* ================== CONTACT INFO ================== */
.contact-info ul {
  gap: 16px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.contact-info img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* ===================== FOOTER ======================= */
footer {
  width: 100%;
  background: #F7FDFE;
  margin-top: 40px;
  padding: 36px 0 16px 0;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -3px 18px rgba(33,66,93,0.04);
  font-size: 1.01rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .brand-info {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #21425D;
  font-weight: 600;
}
footer .brand-info img {
  height: 38px;
  margin-right: 10px;
}
footer .contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6A6761;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
}
footer .contact-details img {
  width: 18px;
  height: 18px;
}
.footer-menu {
  display: flex;
  gap: 14px;
  font-size: 0.99rem;
  flex-wrap: wrap;
  color: #B09866;
  margin-top: 10px;
}
.footer-menu a {
  color: #9F8660;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #EA8A37;
}

/* =================== FAQ =================== */
.faq strong {
  color: #21425D;
}

/* ================= BUTTONS ================= */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #EBBC7E;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 9px rgba(33,66,93,0.04);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
button:hover, button:focus {
  background: #21425D;
  color: #fff;
}

/* ======================== COOKIE CONSENT BANNER ======================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff9f4;
  border-top: 2px solid #EBBC7E;
  box-shadow: 0 -2px 18px rgba(33,66,93,0.10);
  z-index: 2001;
  padding: 28px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  animation: bannerIn 0.8s cubic-bezier(0.49,0,0.45,1);
}
@keyframes bannerIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 22px;
  background: #EBBC7E;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.16s;
  border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #21425D;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #21425D;
  border: 1.5px solid #EBBC7E;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #F0EDE7;
  color: #21425D;
}

/* =============== COOKIE MODAL =================== */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(33,66,93,0.18);
  z-index: 2203;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.38s linear;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 26px;
  border-radius: 22px;
  box-shadow: 0 3px 28px rgba(33,66,93,0.15);
  max-width: 96vw;
  width: 400px;
  z-index: 2204;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popupModalIn 0.43s cubic-bezier(0.44,0,0.56,1);
}
@keyframes popupModalIn {
  from { transform: scale(0.8); opacity:0; } to { transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  color: #21425D;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #595447;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #EBBC7E;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #EBBC7E;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ================= DREAMY SOFT EFFECT ================= */
.section, .hero, .features, .about, .contact-info, .faq, .privacy, .testimonials, .articles {
  box-shadow: 0 3px 18px rgba(234,188,126,0.09), 0 0.5px 7px rgba(33,66,93,0.03);
  border-radius: 20px;
}

/* ============ SPACING and FLEX CONTAINERS (Pattern Enforced) ============ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =========== RESPONSIVENESS =========== */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .hero, .section, .features, .about, .testimonials, .privacy, .articles, .contact-info, .faq {
    padding: 24px 6px;
  }
}

@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero, .section { padding: 22px 4px; }
  header .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  nav { gap: 10px; }
  .cta-btn { font-size: 1.05rem; padding: 10px 24px; }
}

@media (max-width: 768px) {
  .section, .features, .about, .testimonials, .privacy, .articles, .contact-info, .faq {
    margin-bottom: 36px;
    padding: 18px 5px;
    border-radius: 14px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card {
    min-width: 100%;
    padding: 18px 11px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.01rem;
    padding: 10px 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    font-size: .95rem;
  }
  .footer-menu { flex-wrap: wrap; font-size: .87rem; }
  .cookie-modal { width: 97vw; max-width: 97vw; padding: 16px 7px; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1rem; }
  .hero { padding: 10px 3px; }
  .card, .testimonial-card { padding: 10px 6px; }
  .section { padding: 6px 3px; margin-bottom: 16px; }
  button, .cta-btn { font-size: 0.91rem; padding: 9px 12px; }
}

/* ============== MICRO-INTERACTIONS & TRANSITIONS ============== */
.cta-btn, .card, nav a, .principal-categorias a, .testimonial-card, button {
  transition: background 0.17s, color 0.18s, box-shadow 0.17s, transform 0.13s;
}
.cta-btn:active, .card:active, nav a:active, .principal-categorias a:active, button:active {
  transform: translateY(2px) scale(0.98);
}

/* ============ MODAL z-index ADJUSTMENTS ============ */
.cookie-banner { z-index: 2001; }
.cookie-modal-backdrop { z-index: 2203; }
.cookie-modal { z-index: 2204; position: relative; }
.mobile-menu { z-index: 999; }
.mobile-menu-toggle { z-index: 1003; }

/* ============== ACCESSIBILITY ============== */
:focus {
  outline: 2.5px solid #EBBC7E;
  outline-offset: 2px;
}

/* "soft_pastel" COLOR PALETTE INSPIRED BACKGROUNDS */
body, .cookie-banner, .mobile-menu, .hero, .section, .features, .about, .truth, .testimonials, .articles {
  background: #FAF3E6;
}
.card, .testimonial-card, .footer, .footer-menu {
  background: #fff;
}

/* ============== END CSS ============== */
