/* 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  background: #fff;
  color: #222;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #222;
  background: none;
  text-decoration: none;
  transition: color 0.2s;
}

/* COLORS & FONTS (BRAND + Monochrome) */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #D35400;
  --color-accent: #F6F8FA;
  --color-black: #181818;
  --color-dark: #222;
  --color-mid: #666;
  --color-light: #f5f5f5;
  --color-white: #fff;
  --color-border: #E0E0E0;
  --color-shadow: rgba(44,62,80,0.08);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-black);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem; /* 22px */
  line-height: 1.25;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li {
  font-size: 1rem;
  color: var(--color-mid);
  margin-bottom: 12px;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}
ul, ol {
  margin-left: 1.25em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* FLEX LAYOUT PATTERNS */
.card-container,
.card-grid,
.feature-grid,
.team-grid,
.course-overview-grid,
.course-list-grid,
.differentiators-grid,
.feature-list,
.article-preview-grid,
.testimonial-slider,
.testimonial-list,
.client-logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(44,62,80,0.12);
  transform: translateY(-4px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD PATTERNS */
.card, .course-card, .team-bio-card,
.feature-card, .differentiator-card,
.article-card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 24px 22px 24px;
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover,
.course-card:hover,
.feature-card:hover,
.differentiator-card:hover,
.article-card:hover,
.team-bio-card:hover {
  box-shadow: 0 10px 36px rgba(44,62,80,0.13);
  transform: translateY(-8px) scale(1.015);
}
/* Course cards (wide in grid)
 */
.course-overview-grid, .course-list-grid {
  gap: 24px 24px;
}

/* BUTTONS & LINK STYLING */
.cta-btn,
button,
input[type=submit] {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 13px 34px;
  background: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.15s;
  margin-top: 6px;
  margin-bottom: 6px;
  display: inline-block;
  letter-spacing: 0.025em;
}
.cta-btn:hover,
button:hover,
input[type=submit]:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 8px 24px 0 rgba(44,62,80,0.14);
  transform: translateY(-2px) scale(1.01);
}
.main-nav .cta-btn {
  margin-left: 12px;
}
.footer-nav a {
  color: var(--color-mid);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 1rem;
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover {
  color: var(--color-primary);
  background: var(--color-accent);
}
nav a:not(.cta-btn):hover {
  color: var(--color-secondary);
}
.mobile-nav a {
  display: block;
  font-size: 1.25rem;
  padding: 16px 14px;
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.article-card a {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  margin-top: 6px;
  transition: color 0.18s;
}
.article-card a:hover {
  color: var(--color-secondary);
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(44,62,80,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 99;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px 0;
  gap: 18px;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 4px 8px;
  color: var(--color-dark);
  border-radius: 4px;
  font-weight: 500;
  transition: color 0.18s, background 0.14s;
}
.main-nav a.active, .main-nav a:focus {
  color: var(--color-secondary);
}
button.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-primary);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.17s;
  z-index: 121;
}
button.mobile-menu-toggle:hover {
  background: var(--color-accent);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,34,34,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 120;
  transform: translateX(-100vw);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity 0.34s, transform 0.32s cubic-bezier(.52,.01,.26,.99);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 48px 0 0 0;
  width: 100%;
  background: transparent;
  gap: 2px;
  z-index: 122;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 130;
  filter: drop-shadow(0 2px 5px rgba(34, 34, 34, 0.2));
  transition: color 0.19s;
}
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero-section {
  background: linear-gradient(136deg, #fff 72%, #F6F8FA 100%);
  padding: 60px 0 48px 0;
  margin-bottom: 56px;
}
.hero-section h1 {
  color: var(--color-primary);
}
.hero-section .cta-btn {
  margin-top: 18px;
}

/* LISTS & VALUES */
.core-values-list,
.values-list,
.benefits-list,
.key-methodology-points,
.expected-outcomes-list,
.impact-statistics ul {
  padding-left: 20px;
  margin: 8px 0 8px 0;
}
.core-values-list li, .values-list li,
.benefits-list li, .key-methodology-points li,
.expected-outcomes-list li, .impact-statistics ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-mid);
  position: relative;
  padding-left: 12px;
}
.core-values-list li::before, .values-list li::before {
  content: '\2022';
  color: var(--color-secondary);
  font-weight: bold;
  display: inline-block;
  width: 12px; margin-left: -12px;
}

/**** FEATURES, COURSES, CARDS ****/
.feature-card > img,
.differentiator-card > img {
  height: 54px;
  width: 54px;
  margin-bottom: 10px;
  object-fit: contain;
  border-radius: 9px;
}
.feature-card h3,
.differentiator-card h3 {
  margin: 0 0 4px 0;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* TEAM CARDS */
.team-bio-card {
  border-left: 5px solid var(--color-primary);
}

/* TESTIMONIALS */
.testimonial-slider,
.testimonial-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 16px;
}
.testimonial-details {
  font-size: 1rem;
  color: var(--color-mid);
  display: flex;
  gap: 6px;
  align-items: center;
}
.testimonial-details .name {
  color: var(--color-primary);
  font-weight: 600;
}
.testimonial-details .stars {
  color: #D35400;
  margin-left: 8px;
  font-size: 1rem;
}

/* STATS, STRIP */
.stats-section, .impact-statistics, .client-logos-strip {
  margin-top: 16px;
}
.client-logos-strip {
  display: flex;
  gap: 34px;
  align-items: center;
}
.client-logos-strip img {
  height: 42px;
  width: auto;
  opacity: 0.70;
  filter: grayscale(1);
  transition: opacity 0.18s, filter 0.19s;
}
.client-logos-strip img:hover {
  opacity: 1;
  filter: grayscale(0.3);
}

/* LEGAL/TEXT SECTIONS */
.legal-section, .thank-you-section {
  background: var(--color-accent);
  border-radius: 12px;
}
.legal-section h1, .legal-section h2 {
  color: var(--color-primary);
}

/* FOOTER */
footer {
  background: var(--color-black);
  color: var(--color-light);
  font-size: 1rem;
  padding: 0;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 42px 20px 28px 20px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 28px 38px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
  filter: grayscale(1);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact p {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  object-fit: contain;
  filter: grayscale(1);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.87;
  filter: grayscale(1) brightness(1.1);
  transition: opacity 0.2s, filter 0.19s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(120deg, var(--color-white) 75%, #F1F2F4 100%);
  border-radius: 18px;
  box-shadow: 0 4px 14px var(--color-shadow);
  text-align: center;
  margin: 40px 0 0 0;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  color: var(--color-secondary);
}

/* MAP/CONTACT */
.contact-info-panel p, .location-map p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.location-map img {
  width: 38px; height: 38px;
  filter: grayscale(1) brightness(1.08);
}

/* TIMELINE ON METODOLOGIA */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 3px solid var(--color-secondary);
  padding-left: 12px;
  margin: 16px 0 24px 0;
}
.timeline li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 100%;
  background: var(--color-secondary);
}

/* CATEGORIES FILTER (BLOG) */
.categories-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--color-black);
}
.categories-filter a {
  padding: 4px 12px;
  border-radius: 12px;
  color: var(--color-primary);
  background: var(--color-accent);
  font-size: 1rem;
  transition: background 0.19s, color 0.18s;
}
.categories-filter a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ARTICLE PREVIEW */
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-card h3 {
  color: var(--color-primary);
}

/* SPACING ENFORCEMENT */
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}
/* Minimum 20px between all cards/sections */
.card, .course-card, .team-bio-card, .feature-card, .differentiator-card, .testimonial-card {
  margin-bottom: 20px;
}

/************************************
  RESPONSIVE DESIGN (Mobile-First)
*************************************/
@media (max-width: 1024px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .footer-wrapper {
    padding: 32px 8px 22px 8px;
  }
h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 12px;
  }
  .card-container, .card-grid, .feature-grid, .team-grid, .course-overview-grid, .course-list-grid, .differentiators-grid, .feature-list, .article-preview-grid, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .client-logos-strip {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 26px 8px 26px 8px;
    margin-bottom: 38px;
  }
  h1, h2, h3 { text-align: left; }
  .hero-section {
    padding: 34px 0 28px 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 480px) {
  .card, .course-card, .team-bio-card, .feature-card, .differentiator-card, .article-card {
    max-width: 98vw;
    min-width: 0;
    padding: 16px 7px 16px 12px;
  }
  .hero-section {
    padding: 14px 0 9px 0;
  }
  .footer-logo img {
    height: 38px;
  }
}

/************************************
  MICRO-INTERACTIONS & TRANSITIONS
*************************************/
*, *:before, *:after {
  transition-property: background, border-color, opacity, box-shadow, color, transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(.52,0,.34,1.43);
}

/************************************
  COOKIE CONSENT BANNER & MODAL
*************************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-black);
  color: var(--color-accent);
  padding: 22px 16px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  z-index: 9999;
  box-shadow: 0 -3px 20px var(--color-shadow);
  justify-content: space-between;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(44px);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-message {
  flex: 1 1 220px;
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  margin-right: 3px;
  transition: background 0.19s, color 0.18s;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.cookie-btn.cookie-reject {
  background: var(--color-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-btn.cookie-settings {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-btn.cookie-settings:hover {
  background: #B84300;
}
.cookie-banner-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #bbb;
  cursor: pointer;
}
.cookie-banner-close:hover {
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 6px 16px 6px;
  }
}

/* Cookie Modal Popup */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,34,34,0.61);
  z-index: 10000;
  display: none;
}
.cookie-modal-backdrop.active {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 420px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(44,62,80,0.27);
  z-index: 10001;
  padding: 34px 22px 16px 22px;
  transform: translate(-50%,-48%) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.26s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category-label {
  font-weight: 500;
  color: var(--color-primary);
  flex: 1 1 120px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 14px;
  background: #ddd;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: var(--color-primary);
}
.cookie-toggle:disabled {
  background: #bbb;
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-black);
  position: absolute;
  top: 9px;
  right: 18px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--color-secondary);
}
/* Accessibility: Focus outline */
.cta-btn:focus,
button:focus,
input[type=button]:focus,
input[type=submit]:focus,
a.cta-btn:focus,
main a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  z-index: 5;
}

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