/* 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, menu, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #23344A 0%, #4262a0 100%) no-repeat fixed;
  color: #23344A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #23344A;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* TYPOGRAPHY */
h1, .hero h1, .about-us h1, .services h1, .privacy-policy h1, .gdpr-policy h1, .terms-of-use h1, .thank-you h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: #23344A;
  letter-spacing: -.02em;
}
h2, .section h2, .about-preview h2, .features h2, .testimonials-preview h2, .team h2, .process h2, .cta-section h2, .success-stories h2, .blog-intro h2, .recent-posts h2, .course-details h2, .learning-process h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
p, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
}
.section, .about-preview, .courses-preview, .testimonials-preview, .cta-section, .about-us, .approach, .team, .services, .privacy-policy, .gdpr-policy, .terms-of-use, .thank-you, .cookie-policy, .blog-intro, .recent-posts, .testimonials, .success-stories, .learning-process, .methodology, .method-benefits, .process, .faq, .contact, .course-details {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 24px 0 rgba(35,52,74,.08), 0 1.5px 3px rgba(35,52,74,0.05);
}
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(35,52,74,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 20px 14px 20px;
  font-size: 1rem;
}
.main-nav > a {
  color: #23344A;
  font-weight: 500;
  transition: color .2s, background .2s;
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: #FFD166;
  color: #23344A;
}
.cta-btn {
  background: #23344A;
  color: #FFD166;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 28px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(35,52,74,.10);
  outline: none;
  transition: background .25s, color .25s, transform .15s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #FFD166;
  color: #23344A;
  transform: translateY(-2px) scale(1.04);
}

/* HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #FFD166;
  color: #23344A;
  font-size: 1.8rem;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  margin: 8px 12px 8px 0;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,52,74,.10);
  transition: background .2s;
  position: relative;
  z-index: 1001;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #23344A;
  color: #FFD166;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #23344A;
  color: #fff;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.6,0,.4,1), opacity 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1200;
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: #FFD166;
  color: #23344A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 6px 12px;
  position: absolute;
  top: 22px; right: 22px;
  cursor: pointer;
  z-index: 1500;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0 0 36px;
}
.mobile-nav a {
  color: #FFD166;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin: 0;
  padding: 7px 0;
  border-radius: 8px;
  display: block;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD166;
  color: #23344A;
}

/* HERO SECTION (Index) */
.hero {
  background: linear-gradient(120deg, #23344A 62%, #FFD166 100%);
  color: #fff;
  min-height: 400px;
  display: flex;
  align-items: center;
  border-radius: 0 0 36px 36px;
  margin-bottom: 48px;
  box-shadow: 0 4px 32px rgba(35,52,74,.09);
}
.hero .container {
  padding-top: 42px;
  padding-bottom: 42px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.17rem;
  color: #fff;
  margin-bottom: 22px;
  max-width: 700px;
}
.hero .cta-btn {
  background: #FFD166;
  color: #23344A;
  box-shadow: 0 4px 16px rgba(35,52,74,.16);
}
.hero .cta-btn:hover {
  background: #fff;
  color: #23344A;
}

/* FEATURES (index) and .feature-grid */
.features .feature-grid, .about-preview ul, .courses-preview ul, .team ul, .services ul, .course-details ul, .approach ul, .process ul, .method-benefits ul, .faq ul, .learning-process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features .feature-grid li, .about-preview ul li, .courses-preview ul li, .team ul li, .services ul li, .course-details ul li, .approach ul li, .process ul li, .method-benefits ul li, .faq ul li, .learning-process ol li {
  background: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(35,52,74,.05);
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  padding: 24px 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .15s, transform .15s;
}
.features .feature-grid li:hover {
  box-shadow: 0 6px 32px rgba(35,52,74,.12);
  transform: translateY(-4px) scale(1.03);
}
.features .feature-grid img {
  height: 32px;
  width: 32px;
  margin-bottom: 6px;
}
.features .feature-grid h3 {
  color: #23344A;
}

/* ABOUT-PREVIEW, COURSES-PREVIEW, TESTIMONIALS-PREVIEW, CTA-SECTION, etc. */
.about-preview, .courses-preview, .testimonials-preview, .cta-section {
  background: linear-gradient(98deg, #fff 75%, #FFD166 100%);
  box-shadow: 0 2px 18px 0 rgba(35,52,74,0.07);
}
.about-preview ul li, .courses-preview ul li {
  margin-bottom: 2px;
  font-size: 1.04rem;
}
.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.cta-section .cta-btn {
  background: #23344A;
  color: #FFD166;
}

/* TESTIMONIALS */
.testimonials-preview .testimonial-slider, .testimonials .content-wrapper, .success-stories .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  color: #23344A;
  border-radius: 18px;
  box-shadow: 0 2px 20px rgba(35,52,74,.075);
  padding: 28px 26px 22px 26px;
  min-width: 240px;
  min-height: 166px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow .15s, transform .17s;
  font-size: 1.02rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px 0 rgba(35,52,74,0.13);
  transform: translateY(-5px) scale(1.04);
}
.testimonial-card strong {
  font-weight: 600;
  margin-bottom: 2px;
  color: #23344A;
}
.star-rating {
  color: #FFD166;
  font-size: 1.13em;
  letter-spacing: .09em;
}

/* BLOG SECTION */
.blog-intro .category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.blog-intro .category-tags span {
  background: #FFD166;
  color: #23344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 6px;
  padding: 5px 14px;
  margin-bottom: 5px;
  transition: background .22s;
}
.headline-articles h2 {
  color: #23344A;
}
.editorial-alert {
  background: #23344A;
  color: #FFD166;
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 8px;
  font-weight: 600;
}
.recent-posts .article-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.recent-posts .article-teasers article {
  flex: 1 1 270px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(35,52,74,.04);
  padding: 18px;
  margin-bottom: 10px;
  min-width: 240px;
  transition: box-shadow .15s, transform .16s;
}
.recent-posts .article-teasers article:hover {
  box-shadow: 0 6px 20px 0 rgba(35,52,74,0.10);
  transform: translateY(-2px) scale(1.02);
}
.share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin-top: 8px;
}
.share-buttons a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 1px 6px 0 rgba(35,52,74,.11);
  transition: box-shadow .19s;
}
.share-buttons a:hover {
  box-shadow: 0 5px 20px 0 rgba(35,52,74,.15);
}

/* CARDS GENERIC (for Card Containers) */
.card-container {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(35,52,74,.07);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 24px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .13s, transform .13s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(35,52,74,.15);
  transform: translateY(-2px) scale(1.015);
}

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

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

/******* CONTACT DETAILS, MAP, SUPPORT LINKS *****/
.contact-details, .contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 22px;
  margin-bottom: 20px;
}
.contact-details div, .contact-footer > * {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  font-size: 1.01rem;
}
.map-embed {
  padding: 18px 0 10px 0;
}
.support-links {
  margin-top: 16px;
  font-size: 1rem;
}
.support-links a {
  color: #FFD166;
  font-weight: 600;
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #23344A;
  color: #FFD166;
  padding: 40px 0 0 0;
  border-radius: 18px 18px 0 0;
  min-height: 220px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 15px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
}
.footer-nav a {
  color: #FFD166;
  font-weight: 500;
  font-size: .97rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background .19s, color .17s;
}
.footer-nav a:hover {
  background: #FFD166;
  color: #23344A;
}
.social-media {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.social-media a {
  background: #FFD166;
  border-radius: 50%;
  padding: 7px;
  transition: background .2s, transform .17s;
  display: flex;
  align-items: center;
}
.social-media a:hover {
  background: #fff3c2;
  transform: scale(1.07);
}
footer img[alt*="Habla con Confianza"] {
  max-height: 44px;
  margin-bottom: 12px;
}
footer p {
  color: #FFD166;
}

/*********** COOKIE CONSENT BANNER ******/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #23344A;
  color: #FFD166;
  box-shadow: 0 -4px 24px 0 rgba(35,52,74,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  padding: 24px 20px 14px 28px;
  z-index: 2000;
  font-size: 0.98rem;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 20px;
  font-weight: 600;
  font-size: 0.99rem;
  border-radius: 8px;
  border: none;
  margin-right: 0;
  outline: none;
  cursor: pointer;
  background: #FFD166;
  color: #23344A;
  box-shadow: 0 1px 7px 0 rgba(35,52,74,0.07);
  transition: background .18s, color .18s;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #fff;
  color: #23344A;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: #23344A;
  border: 1px solid #FFD166;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #FFD166;
  color: #23344A;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,52,74,0.8);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px 0 rgba(35,52,74,.16);
  padding: 36px 26px 24px 26px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #23344A;
  animation: modalAppear .37s cubic-bezier(.5,.25,.4,1);
}
@keyframes modalAppear {
  0% { transform: translateY(50px) scale(.92); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23344A;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #FFD166;
  width: 18px;
  height: 18px;
  margin: 0 6px 0 0;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal button {
  background: #FFD166;
  color: #23344A;
  border: none;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background .18s, color .16s;
}
.cookie-modal button.close-modal {
  background: #eee;
  color: #23344A;
}
.cookie-modal button:hover {
  background: #23344A;
  color: #FFD166;
}

/******* UTILITY CLASSES ******/
.text-center {
  text-align: center;
}
.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-16 { padding-top: 16px !important; }
.pb-20 { padding-bottom: 20px !important; }

/******* RESPONSIVE *********/
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width: 960px) {
  .main-nav { gap: 14px; font-size: 0.98rem; }
}
@media (max-width: 800px) {
  .main-nav > a { padding: 5px 10px; }
  .hero h1 { font-size: 2.05rem; }
}
@media (max-width: 768px) {
  .section, .about-preview, .courses-preview, .testimonials-preview, .cta-section, .about-us, .approach, .team, .services, .privacy-policy, .gdpr-policy, .terms-of-use, .thank-you, .cookie-policy, .blog-intro, .recent-posts, .testimonials, .success-stories, .learning-process, .methodology, .method-benefits, .process, .faq, .contact, .course-details {
    padding: 22px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .features .feature-grid, .about-preview ul, .courses-preview ul, .team ul, .services ul, .course-details ul, .approach ul, .process ul, .method-benefits ul, .faq ul, .learning-process ol,
  .testimonial-slider, .recent-posts .article-teasers, .share-buttons, .social-media, .contact-details, .contact-footer {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  .hero .container { padding: 28px 8px; }
  footer {
    padding: 24px 0 0 0;
    border-radius: 14px 14px 0 0;
  }
  .cookie-consent-banner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 8px 12px 12px;
  }
  .cookie-consent-banner .cookie-buttons {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 1.37rem; }
  h2 { font-size: 1.05rem; }
  .hero { min-height: 220px; border-radius: 0 0 22px 22px; padding: 0; }
  .testimonial-card, .card {
    padding: 18px 10px 15px 12px;
    min-width: 0;
  }
  .about-preview, .courses-preview, .testimonials-preview, .cta-section { border-radius: 12px; }
}

/******* FOCUS VISIBLE FOR ACCESSIBILITY ********/
a:focus, button:focus, .cta-btn:focus, .cookie-modal button:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFD166;
  outline-offset: 2px;
  z-index: 2;
}

/******* OTHER MICRO-INTERACTIONS & ANIMATIONS ********/
.cta-btn, .main-nav > a, .mobile-nav a, .card, .feature-grid li, .testimonial-card, .recent-posts .article-teasers article, .blog-intro .category-tags span {
  transition: box-shadow .17s, background .23s, color .21s, transform .11s;
}

/******* END *****/
