/* Design tokens (from Figma) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-dark: #232323;
  --color-light: #F5F6FA;
  --color-primary: #7c8fd6;
  --color-deep: #121a35;
  --color-ink: #3b3556;
  --color-border: #d8d6e7;
  --color-muted: #b0acc2;
  --color-cont-dark: #333;
  --color-cont-light-green: #a8e6cf;
  --color-cont-light-grey: #f4f4f4;
  --color-cont-white: #fff;
  --color-cont-lilac: #c8a2c8;
  --color-cont-deep: #0f1a3f;

  /* Typography tokens requested */
  --type-display: 'Transducer Extended', 'Transducer', 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --type-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --container: 1200px;
  --radius: 8px;
  --radius-sm: 5px;

  --font-sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: Transducer, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--color-dark);
  background: var(--color-light);
  font: 400 16px/1.5 var(--font-sans);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f2f2f2;
  border-bottom: 1px solid #e1e1e6;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}
.logo { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.nav-link { color: #6d6d6d; text-decoration: none; font-size: 16px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-link,
.nav-link:link,
.nav-link:visited { transition: color 200ms ease, opacity 200ms ease; }
.nav-item { position: relative; display: flex; align-items: center; gap: 6px; height: 100%; }
.dropdown-toggle { background: transparent; border: none; padding: 6px 0; cursor: pointer; font: inherit; color: #6d6d6d; display: inline-flex; align-items: center; gap: 8px; }
.dropdown-toggle.only-icon { padding: 6px; border: 1px solid transparent; border-radius: 6px; }
.dropdown-toggle .chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.nav-item.dropdown.open .dropdown-toggle .chevron { transform: rotate(225deg) translateY(-1px); }
.dropdown-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.12);
  border-radius: 10px;
  padding: 12px;
  display: none;
  z-index: 12;
  gap: 6px;
}
.nav-item.dropdown.open .dropdown-menu { display: grid; }
@media (hover: hover) {
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown:focus-within .dropdown-menu,
  .nav-item.dropdown .dropdown-menu:hover { display: grid; }
}
.dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #2d2d2d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.dropdown-item:hover,
.dropdown-item:focus { background: #f1f3fb; color: #121a35; }
.dropdown-item:focus-visible { outline: 3px solid rgba(121, 147, 211, 0.3); outline-offset: 2px; }



/* Animated underline */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 220ms cubic-bezier(.2,.9,.2,1);
}
.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
  outline: none;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #d9d9e8;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: #b9b9d8;
  box-shadow: 0 0 0 4px rgba(124,143,214,0.12);
  outline: none;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #2d2d2d;
  position: relative;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.site-header.menu-open .nav-toggle-icon {
  background-color: transparent;
}
.site-header.menu-open .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}
.site-header.menu-open .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-toggle:focus-visible .nav-toggle-icon {
  background-color: transparent;
}
.page-nosotros .nav-link[href="nosotros.html"] {
  color: var(--color-primary);
  font-weight: 600;
}
.page-nosotros .nav-link[href="nosotros.html"]::after { width: 100%; }
.page-soluciones .dropdown-toggle,
.page-operacion .dropdown-toggle,
.page-consultoria .dropdown-toggle,
.page-continuidad .dropdown-toggle,
.page-entrenamiento .dropdown-toggle {
  color: var(--color-primary);
  font-weight: 600;
}
.page-soluciones .dropdown-toggle .chevron,
.page-operacion .dropdown-toggle .chevron,
.page-consultoria .dropdown-toggle .chevron,
.page-continuidad .dropdown-toggle .chevron,
.page-entrenamiento .dropdown-toggle .chevron { border-color: var(--color-primary); }
.page-soluciones .nav-link.nav-link-parent[href="soluciones.html"],
.page-consultoria .nav-link.nav-link-parent[href="soluciones.html"],
.page-operacion .nav-link.nav-link-parent[href="soluciones.html"],
.page-continuidad .nav-link.nav-link-parent[href="soluciones.html"],
.page-entrenamiento .nav-link.nav-link-parent[href="soluciones.html"] {
  color: var(--color-primary);
  font-weight: 600;
}
.page-soluciones .nav-link.nav-link-parent[href="soluciones.html"]::after,
.page-consultoria .nav-link.nav-link-parent[href="soluciones.html"]::after,
.page-operacion .nav-link.nav-link-parent[href="soluciones.html"]::after,
.page-continuidad .nav-link.nav-link-parent[href="soluciones.html"]::after,
.page-entrenamiento .nav-link.nav-link-parent[href="soluciones.html"]::after {
  width: 100%;
}

/* Accessible focus visible */
.nav-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(121,147,211,0.12);
  border-radius: 4px;
}
.nav-toggle { display: none; }
body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 500;
  text-decoration: none;
}
.btn.primary { background: var(--color-primary); color: var(--color-light); border-color: var(--color-primary); transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.btn.primary:hover,
.btn.primary:focus {
  background: color-mix(in srgb, var(--color-primary) 86%, #ffffff 14%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17,24,58,0.08);
}
.btn.outline { background: var(--color-light); color: var(--color-dark); border-color: var(--color-dark); }
.btn.sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero {
  background: #F5F6FA;
  border-bottom: 1px solid #e1e1e6;
}
.hero-inner {
  text-align: center;
  padding: 96px 0 64px;
}
.hero-title {
  font: 400 48px/1.1 var(--font-display);
  color: #2d2d2d;
  margin: 0 auto 16px;
  max-width: 960px;
  letter-spacing: -0.01em;
}
.hero-line { display: block; }
.hero-title .text-dark { color: #2d2d2d; }
.hero-title .accent { color: #7c8fd6; }
.lead {
  font-size: 16px;
  max-width: 640px;
  margin: 12px auto 0;
  color: #3f3f3f;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero .btn { padding: 12px 22px; }
.hero .btn.primary {
  background: #7c8fd6;
  border-color: #7c8fd6;
}
.hero .btn.primary:hover,
.hero .btn.primary:focus {
  background: color-mix(in srgb, #7c8fd6 88%, #ffffff 12%);
}
.hero .btn.outline {
  background: transparent;
  color: #4a4a4a;
  border-color: #a4a4a4;
}
.hero .btn.outline:hover,
.hero .btn.outline:focus {
  border-color: #7c8fd6;
  color: #2d2d2d;
}

/* Clients */
.clients {
  background: white;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  white-space: nowrap;
}
.clients:before, .clients:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 100%;
  top: 0;
  z-index: 2;
}
.clients:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}
.clients:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}
@media (max-width: 720px) {
  .clients:before,
  .clients:after {
    width: 80px;
  }
}

.clients-inner { text-align: center; }
.eyebrow { font-size: 14px; letter-spacing: 1px; color: var(--color-dark); margin: 8px 0 20px; }

.clients .logos:hover .logos-slide {
  animation-play-state: paused;
}
.logos {
  display: flex;
  align-items: center;
}
.logos-slide {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-inline: 20px;
  animation: 22s slide infinite linear;
  will-change: transform;
}
.logos-slide img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Section base */
.section { padding: 72px 0; }
.section.dark { background: var(--color-deep); color: var(--color-light); }
.section-title { font: 600 36px/1.2 var(--font-sans); text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; font-size: 18px; max-width: 860px; margin: 0 auto 32px; }

.section.section-values {
  background: #151432;
  color: #f5f6ff;
  padding: 86px 0;
}
.section-values .section-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
}
.section-values .section-sub {
  color: #cfd2e1;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 48px;
}

/* Value cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.card {
  background: #1d1b36;
  border: 1px solid #2a2846;
  border-radius: 8px;
  padding: 28px 24px;
  min-height: 280px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  justify-items: start;
  text-align: left;
  gap: 10px;
}
.card-illu {
  display: block;
  height: 140px;
  width: auto;
  margin: 0 auto 10px;
  justify-self: center;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #f5f6ff;
}
.card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #d8daea;
}

/* Video */
.video { background: var(--color-ink); color: var(--color-light); }
.video-inner { text-align: center; }
.video-frame { max-width: 800px; margin: 24px auto 0; border-radius: var(--radius-sm); background: var(--color-muted); position: relative; display: grid; place-items: center; border: 1px solid #fff; }
.video-frame .play { width: 64px; height: 64px; }

/* Responsive embed wrapper for iframes (16:9) */
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 8px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Testimonials */
.section-testimonials {
  background: #F5F6FA;
}
.section-testimonials .testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.section-testimonials .section-title.align-left,
.section-testimonials .section-sub.align-left { text-align: left; margin-left: 0; margin-right: 0; }
.section-testimonials .section-sub.align-left { max-width: 640px; margin-bottom: 0; color: #4a4a4a; }
.section-testimonials .score-card {
  background: #111827;
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 14px 40px rgba(14, 24, 58, 0.16);
  border: 1px solid rgba(255,255,255,0.08);
}
.section-testimonials .score-value { display: block; font: 600 22px/1 var(--font-sans); margin-bottom: 6px; }
.section-testimonials .score-label { display: block; font-size: 13px; color: #d5d8e7; }
.section-testimonials .testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.section-testimonials .testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #e6e9f5;
  box-shadow: 0 20px 50px rgba(14, 24, 58, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.section-testimonials .testimonial-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}
.section-testimonials .testimonial-avatar { width: 64px; height: 64px; border-radius: 0; overflow: hidden; }
.section-testimonials .testimonial-avatar img { width: 100%; height: 100%; object-fit: contain; }
.section-testimonials .testimonial-name { margin: 0; font-size: 16px; font-weight: 600; color: #111827; }
.section-testimonials .testimonial-role { margin: 2px 0 0; font-size: 14px; color: #55607a; }
.section-testimonials .testimonial-quote {
  margin: 0;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.65;
}
.section-testimonials .testimonial-cite {
  display: block;
  margin: 8px 0 12px;
  font-style: italic;
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}
.section-testimonials .testimonial-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.section-testimonials .tag {
  background: #eef1ff;
  color: #38406a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2px;
}

/* Footer */
.site-footer {
  background: #1f1f1f;
  color: #f6f6f6;
  padding: 56px 0 0;
  border-top: 4px solid #5d569c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  grid-template-areas: "nav legal social logo";
  gap: 48px;
  align-items: start;
  padding-bottom: 16px;
}

.site-footer h4 {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.site-footer a {
  color: #d3d3d3;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}
.page-soluciones .footer-nav a[href="soluciones.html"] {
  color: #6c8de5;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  margin-bottom: 0;
}

.social-icons img {
  height: 20px;
  width: auto;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.social-icons a:hover img,
.social-icons a:focus img {
  opacity: 1;
}
.footer-legal a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid #8a8a8a;
  margin: 0 0 20px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: #f6f6f6;
  opacity: 0.8;
  text-align: left;
}

.footer-nav { grid-area: nav; }
.footer-legal { grid-area: legal; }
.footer-social { grid-area: social; }
.footer-logo {
  grid-area: logo;
  justify-self: end;
  align-self: end;
}

.footer-logo .logo {
  height: 40px;
  width: auto;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "nav logo"
      "legal logo"
      "social logo";
    gap: 16px 12px;
    text-align: left;
    align-items: start;
  }

  .footer-logo {
    justify-self: end;
    align-self: start;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .copyright {
    text-align: left;
  }
}


/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-testimonials .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-testimonials .testimonials-header { flex-direction: column; }
  .logos-slide { animation-duration: 18s; gap: 32px; padding-inline: 16px; }
  .logos-slide img { height: 42px; }
  
}

@media (max-width: 900px) {
  .header-inner { height: 64px; }
  .nav { 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fdfdff;
    border-bottom: 1px solid #e1e1e6;
    box-shadow: 0 18px 46px rgba(16, 24, 40, 0.12);
    padding: 6px 0 10px;
    flex-direction: column;
    align-items: stretch;
    display: none;
    z-index: 12;
    gap: 0;
  }
  .site-header.menu-open .nav { display: flex; }
  .nav-link { 
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e1e3ec;
    border-left: 0;
    border-right: 0;
    color: #1f1f1f;
    font-weight: 600;
    border-radius: 0;
  }
  .nav > *:first-child .nav-link { border-top: 0; }
  .nav-link::after { display: none; }
  .nav-item.dropdown {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    border-left: 0;
    border-right: 0;
    gap: 0;
  }
  .nav-link.nav-link-parent {
    border-top: 0;
  }
  .dropdown-toggle {
    width: auto;
    min-width: 54px;
    justify-content: center;
    border: 1px solid #e1e3ec;
    border-left: 0;
    border-radius: 0;
    padding: 14px 12px;
    background: #fff;
    color: #1f1f1f;
  }
  .dropdown-toggle.only-icon { padding: 0 12px; }
  .dropdown-toggle .chevron { width: 10px; height: 10px; }
  .dropdown-menu {
    position: static;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    display: none;
    gap: 0;
    width: 100%;
  }
  .nav-item.dropdown.open .dropdown-menu { display: grid; }
  .dropdown-item {
    padding: 14px 18px;
    border-radius: 0;
    border: 1px solid #e1e3ec;
    border-left: 0;
    border-right: 0;
    background: #fff;
    font-weight: 600;
    color: #1f1f1f;
  }
  .dropdown-item:hover,
  .dropdown-item:focus {
    background: #f6f7fb;
  }
  .btn.primary.sm {
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 0;
    border: 1px solid #e1e3ec;
    margin: 6px 0 0;
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .section-testimonials .testimonial-grid { grid-template-columns: 1fr; }
  .section-testimonials .score-card { width: 100%; }
  .clients { padding: 32px 0; }
  .logos-slide { animation-duration: 14s; gap: 24px; padding-inline: 12px; }
  .logos-slide img { height: 36px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
}

/* Nosotros page specific styles */
.page-nosotros { background: #F5F6FA; color: var(--color-dark); }
.hero-nosotros { background: transparent; border-bottom: none; }
.hero-nosotros .hero-inner { padding: 88px 0 32px; }
.hero-nosotros .hero-title {
  font-family: 'Transducer Extended', 'Transducer', 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--color-dark);
  text-align: center;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 auto 14px;
  max-width: 1120px;
}
.hero-nosotros .hero-title .accent { color: #6c8de5; display: inline; }
.hero-nosotros .lead {
  color: #3b3b3b;
  text-align: center;
  font-family: var(--type-ui);
  font-size: 16px;
  line-height: 1.5;
  max-width: 880px;
  margin: 0 auto;
}
.kpi-section { padding: 18px 0 20px; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; align-items: center; }
.kpi { background: #fff; border-radius: 8px; padding: 28px 36px; text-align: center; box-shadow: 0 6px 18px rgba(20,20,40,0.06); border: 1px solid #e8e8ee; }
.kpi-value { font-family: var(--type-display); font-size: 60px; color: var(--color-primary); text-align: center; font-weight: 600; line-height: normal; margin-bottom: 8px; }
.kpi-value-dark { color: #232323; }
.kpi-label { color: #666; font-size: 14px; margin: 0; }

.section-mision { padding: 56px 0 52px; }
.mission-vision { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: stretch; }
.mv-card {
  background: #fff;
  padding: 32px 32px 28px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16,16,32,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mv-card h3 { margin: 0 0 14px; font-size: 20px; color: #2c2c2c; font-family: var(--type-ui); font-weight: 700; }
.mv-card p { margin: 0; color: #3f3f3f; line-height: 1.55; font-size: 13px; }

.section-trayectoria { padding: 64px 0 52px; }
.section-trayectoria .container { max-width: 960px; }
.section-trayectoria .section-title { font-size: 28px; font-weight: 700; margin-bottom: 28px; font-family: var(--type-ui); }
.timeline { margin-top: 12px; border-left: 2px solid #d6d9e3; padding-left: 28px; }
.timeline-item { position: relative; margin-bottom: 28px; display: flex; gap: 18px; }
.timeline-dot { position: absolute; left: -37px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #7c8fd6; box-shadow: 0 0 0 6px rgba(124,143,214,0.18); }
.timeline-content h4 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; color: #2c2c2c; font-family: var(--type-ui); font-weight: 700; }
.timeline-content p { margin: 0; color: #4a4a4a; line-height: 1.55; }

.leaders-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--color-deep);
  color: #fff;
}
.leaders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.leaders-nav {
  display: flex;
  gap: 12px;
}
.leader-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 150ms ease;
}
.leader-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.leader-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
}
.leader-nav-btn svg {
  width: 20px;
  height: 20px;
}
.leaders-carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.leaders-grid {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.leader-card {
  background: rgba(255,255,255,0.06);
  padding: 22px;
  border-radius: var(--radius);
  text-align: left;
  color: #fff;
  width: calc(100% / 4 - 18px); /* 4 cards, 24px gap. 24*3/4 = 18 */
  flex-shrink: 0;
}
.leader-card > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; }
.leader-card h4 { margin: 6px 0 4px; font-size: 16px; }
.leader-card .role { margin: 0; color: #cbd4f0; font-size: 13px; }
.leader-desc { margin: 10px 0 0; color: #f2f2f7; font-size: 13px; line-height: 1.5; }

.leader-social {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}
.leader-social img {
  height: 20px;
  width: auto;
  opacity: 0.8;
  transition: opacity 180ms ease;
}
.leader-social a:hover img {
  opacity: 1;
}


@media (max-width: 1200px) {
  .leader-card {
    width: calc(100% / 3 - 16px); /* 3 cards, 24px gap. 24*2/3 = 16 */
  }
}

@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .leaders-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .leader-card {
    width: calc(100% / 2 - 12px); /* 2 cards, 24px gap. 24*1/2 = 12 */
  }
}

@media (max-width: 680px) {
  .hero-nosotros .hero-title { font-size: 32px; }
  .leader-card {
    width: 100%; /* 1 card */
  }
}

.page-soluciones { background: var(--color-light); min-height: 100%; }
.page-soluciones .hero-soluciones { background: transparent; padding: 56px 0 10px; border-bottom: none; }
.page-soluciones .section { padding-top: 28px; }
.hero-title-sol { font-family: var(--type-display); font-size: 44px; font-weight: 400; line-height: 1.05; color: var(--color-dark); text-align: center; margin: 18px auto 8px; max-width: 1120px; }
.hero-title-sol .accent { color: var(--color-primary); }
.hero-sub { font-family: var(--type-ui); color: var(--color-dark); font-size: 16px; text-align: center; max-width: 900px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.page-soluciones { background: var(--color-light); min-height: 100%; }
.page-soluciones .hero-soluciones { background: transparent; padding: 56px 0 28px; border-bottom: none; }
.hero-title-sol { font-family: var(--type-display); font-size: 44px; font-weight: 400; line-height: 1.05; color: var(--color-dark); text-align: center; margin: 18px auto 28px; max-width: 1120px; }
.hero-title-sol .accent { color: var(--color-primary); }
.hero-sub { font-family: var(--type-ui); color: var(--color-dark); font-size: 16px; text-align: center; max-width: 900px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 2px; }

/* Consultoría specific layout */
.page-consultoria { background: #F5F6FA; }
.hero-consultoria { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 70px 0 24px; text-align: center; border-bottom: none; }
.hero-consultoria .eyebrow.small { font-size: 14px; color: #555; margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.hero-title-consultoria { font-family: var(--type-display); font-size: 60px; font-weight: 400; line-height: 1.05; margin: 0 auto 18px; color: #1f1f1f; }
.hero-title-consultoria .title-plain { display: inline-block; margin-right: 10px; }
.hero-title-consultoria .title-accent { color: #6f6cb3; display: inline-block; font-family: var(--type-display); }
  .hero-desc { max-width: 820px; margin: 0 auto; color: #4b4b4b; font-family: var(--type-ui); font-size: 14px; margin-top: 0; line-height: 1.55; }

.consultoria-main { padding: 38px 0 44px; }
.consultoria-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.consult-left-title { font-family: var(--type-ui); font-size: 15px; color: #1f1f1f; margin: 0 0 10px; }
.tech-list { display: flex; flex-direction: column; gap: 10px; }
.tech-item { text-align: left; padding: 12px 16px; border-radius: 8px; border: 1px solid #e1e3ec; background: #FFFFFF; font-family: var(--type-ui); color: #1f1f1f; box-shadow: none; cursor: default; transition: none; }

.testimonial-card { background: #fff; border-radius: 10px; box-shadow: 0 14px 36px rgba(17,24,58,0.12); padding: 22px 24px; border: 1px solid #e8eaf2; }
.testimonial-inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.testimonial-logo { height: 36px; width: auto; }
.testimonial-quote { margin: 0; color: #2c2c2c; font-size: 15px; font-family: var(--type-ui); line-height: 1.55; }
.testimonial-author { margin: 0; color: #5b5b5b; font-size: 13px; font-weight: 600; }

.is-this-for-you { padding: 30px 0 56px; }
.for-you-list { margin-top: 12px; max-width: 820px; margin: 12px auto; padding-left: 20px; color: #555; list-style: none; }
.for-you-list li { margin: 14px 0; line-height: 1.8; position: relative; padding-left: 24px; }
.for-you-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 12px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cta-band { background: #0e1b3a; color: #fff; padding: 64px 0; text-align: center; margin-top: 8px; }
  .cta-inner { max-width: 980px; margin: 0 auto; display: grid; gap: 12px; justify-items: center; }
  .cta-title { font-family: var(--type-ui); font-size: 28px; margin: 0; font-weight: 700; }
  .cta-sub { margin: 0; color: rgba(255,255,255,0.9); }
  .cta-band .btn.primary { background: #6e8bd6; border-color: #6e8bd6; padding: 8px 18px; margin-top: 14px; border-radius: 8px; font-size: 14px; min-width: 0; width: auto; display: inline-block; }

/* Operación page styles (match consultoría layout) */
.page-operacion { background: #F5F6FA; }
.hero-operacion { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 80px 0 24px; text-align: center; border-bottom: none; }
.hero-operacion .eyebrow.small { font-size: 14px; color: #555; margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.hero-title-operacion { font-family: var(--type-display); font-size: 60px; font-weight: 400; line-height: 1.05; margin: 0 auto 18px; color: #1f1f1f; }
.hero-title-operacion .title-accent { color: #6f6cb3; }
.hero-desc { max-width: 820px; margin: 0 auto; color: #4b4b4b; font-family: var(--type-ui); font-size: 14px; margin-top: 0; line-height: 1.55; }

.operacion-main { padding: 38px 0 44px; }
.operacion-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.oper-left-title, .oper-left .oper-left-title { font-family: var(--type-ui); font-size: 15px; color: #1f1f1f; margin: 0 0 10px; }
.oper-list { display: flex; flex-direction: column; gap: 10px; }
.oper-item { text-align: left; padding: 12px 16px; border-radius: 8px; border: 1px solid #e1e3ec; background: #FFFFFF; font-family: var(--type-ui); color: #1f1f1f; box-shadow: none; cursor: default; transition: none; }

.oper-right { display: flex; flex-direction: column; gap: 18px; }
/* Desktop: show image and expert card side-by-side so both are visible */
@media (min-width: 1100px) {
  .oper-right { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
  .oper-image { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: 10px; box-shadow: 0 12px 30px rgba(17,24,58,0.12); border: 1px solid #e8eaf2; }
}
/* Mobile / narrow: keep image compact and stacked above card */
.oper-image { width: 100%; border-radius: 10px; box-shadow: 0 12px 30px rgba(17,24,58,0.12); object-fit: cover; height: 320px; border: 1px solid #e8eaf2; }
.expert-card { background: #fff; border-radius: 10px; padding: 22px 24px; box-shadow: 0 14px 36px rgba(17,24,58,0.12); border: 1px solid #e8eaf2; }
.expert-title { margin: 0 0 8px; font-family: var(--type-ui); font-size: 22px; color: #1f1f1f; font-weight: 700; }
.expert-desc { margin: 0 0 12px; color: #4b4b4b; font-family: var(--type-ui); line-height: 1.55; }
.model-box { background: #f0f6ff; border-left: 4px solid #cfe0ff; padding: 12px 14px; border-radius: 6px; }
.model-box .model-desc { margin: 8px 0 0; font-size: 14px; color: #4b5563; }

@media (max-width: 1024px) {
  .operacion-grid { grid-template-columns: 1fr; }
  .hero-title-operacion { font-size: 42px; }
}

/* Continuidad Page Specific Styles */
.page-continuidad { background: #F5F6FA; color: var(--color-dark); }
.hero-continuidad { text-align: center; padding: 70px 0 24px; border-bottom: none; background: transparent; }
.hero-cont-inner { display: grid; gap: 10px; justify-items: center; }
.hero-title-cont { font-family: 'Transducer Extended', 'Transducer', 'DM Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 60px; font-weight: 400; line-height: 1.05; margin: 0 0 12px; color: #232323; }
.hero-title-cont .accent-cont { color: #86e9af; }
.hero-subtitle { font-family: var(--type-ui); color: #4a4a4a; font-size: 15px; line-height: 1.6; max-width: 720px; margin: 0 auto; }

.cont-main { padding: 36px 0 40px; }
.cont-grid { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.pilares-title { margin: 0 0 12px; font-family: var(--type-ui); font-size: 15px; font-weight: 700; color: #444; }
.pilar-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 14px 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.04); margin-bottom: 10px; }
.pilar-card h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #3a3a3a; font-family: var(--type-ui); }
.pilar-card p { margin: 0; font-size: 13px; line-height: 1.4; color: #4a4a4a; }

.caso-exito-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 18px 18px 16px; box-shadow: 0 10px 26px rgba(0,0,0,0.06); display: grid; gap: 8px; margin-top: 30px; }
.caso-eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.6px; color: #555; text-transform: uppercase; }
.caso-title { margin: 0; font-size: 18px; font-weight: 700; font-family: var(--type-ui); color: #1f1f1f; }
.caso-desc { margin: 0; font-size: 13px; line-height: 1.5; color: #444; }
.logo-previsora { height: 34px; width: auto; justify-self: end; }

.cont-modelos { text-align: center; padding: 2px 0 44px; display: grid; gap: 12px; justify-items: center; }
.cont-modelos h2 { margin: 0; font-size: 20px; font-family: var(--type-ui); font-weight: 700; color: #333; }
.cont-modelos .helper { margin: 0 0 12px; font-size: 13px; color: #666; }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 360px)); gap: 40px 48px; justify-content: center; }
.model-card { background: #fafbff; border: 1px solid #dfe3f3; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.05); padding: 22px; display: grid; gap: 12px; position: relative; width: 100%; max-width: 380px; transition: box-shadow 180ms ease, border-color 180ms ease; text-align: left; cursor: default; }
.model-card:hover { box-shadow: 0 18px 46px rgba(0,0,0,0.08); border-color: #cfd5eb; }
.model-card .chip { position: absolute; top: 10px; right: 12px; background: linear-gradient(120deg, #86e9af33, #7c8fd611); color: #2f5d33; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-align: left; }
.model-card .meta { display: flex; align-items: center; gap: 12px; }
.model-card .icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(84,104,201,0.08); border: 1px solid rgba(84,104,201,0.22); display: grid; place-items: center; color: #5468c9; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.model-card h4 { margin: 0; font-size: 18px; font-family: var(--type-ui); color: #1f1f1f; font-weight: 700; }
.model-card p { margin: 0; font-size: 13px; color: #4b4b4b; line-height: 1.5; }
.model-card .metric { margin: 0; font-size: 13px; color: #2f5d33; font-weight: 600; text-align: left; }
.model-card .bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.model-card .bullets li { position: relative; padding-left: 18px; font-size: 13px; color: #444; line-height: 1.45; }
.model-card .bullets li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #86e9af; font-weight: 700; }
.model-card .link-inline { justify-self: end; font-size: 12px; color: #3f4b8a; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.model-card .link-inline:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .hero-continuidad { padding: 56px 0 20px; }
  .hero-title-cont { font-size: 38px; line-height: 1.08; }
  .hero-subtitle { font-size: 14px; max-width: 90%; }
  .cont-grid { grid-template-columns: 1fr; gap: 18px; }
  .caso-exito-card { margin-top: 0; }
  .cont-modelos { padding: 12px 0 32px; }
  .model-grid { grid-template-columns: 1fr; justify-content: center; }
  .model-card { max-width: 100%; }
}

.cta-band { background: #0e1635; color: #fff; padding: 48px 0; text-align: center; margin-top: 12px; }
  .cta-inner { max-width: 980px; margin: 0 auto; display: grid; gap: 10px; justify-items: center; }
  .cta-title { font-family: var(--type-ui); font-size: 22px; margin: 0; font-weight: 700; }
  .cta-sub { margin: 0; color: rgba(255,255,255,0.9); font-size: 13px; max-width: 520px; }
  .cta-band .btn.primary { background: #6e8bd6; border-color: #6e8bd6; padding: 10px 18px; margin-top: 12px; border-radius: 8px; font-size: 14px; min-width: 0; width: auto; display: inline-block; }

/* Footer adjustments for consultoria layout */
.page-consultoria .site-footer {
  background: #1f1f1f;
  padding-top: 56px;
  border-top: 4px solid #5d569c;
}
.page-consultoria .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.page-consultoria .iso { height: 60px; justify-self: end; }

@media (max-width: 1024px) {
  .consultoria-grid { grid-template-columns: 1fr; }
  .hero-title-consultoria { font-size: 40px; }
  .cta-inner { padding: 0 20px; }
}
.service-card { background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(20,20,40,0.06); overflow: hidden; display: flex; flex-direction: column; }
.service-topbar { height: 8px; width: 100%; }
.topbar-purple { background: #7166B0; }
.topbar-lavender { background: #629AD8; }
.topbar-green { background: #86e9af; }
.topbar-ochre { background: #e39e68; }
.service-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.service-body h3 { margin: 0; font-family: var(--type-display); font-size: 24px; color: var(--color-dark); font-weight: 500; }
.service-body p { margin: 0; color: #1e1e1e; font-family: var(--type-ui); font-size: 14px; line-height: 1.4; }
.service-body .btn { width: max-content; margin-top: 6px; }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-title-sol { font-size: 36px; }
}

/* Entrenamiento Page Specific Styles */
.page-entrenamiento { background: #F5F6FA; color: var(--color-dark); }
.hero-entrenamiento { text-align: center; padding: 70px 0 40px; }
.hero-entrenamiento .eyebrow-sub { font-size: 15px; color: #6c6c6c; margin-bottom: 12px; letter-spacing: 0.4px; }
.hero-title-entrenamiento { font: 400 46px/1.08 var(--type-display); margin: 0 0 10px; letter-spacing: -0.01em; }
.hero-title-entrenamiento .text-dark { color: #2f2f2f; }
.hero-title-entrenamiento .text-accent { color: #c49d55; }
.lead-entrenamiento { max-width: 560px; margin: 8px auto 0; font-size: 13px; color: #555; line-height: 1.55; }

.section-entrenamiento { padding: 32px 0 46px; background-color: #F5F6FA; }
.entrenamiento-grid { display: grid; grid-template-columns: 4fr 5fr; gap: 24px; }
.formacion-col { display: flex; flex-direction: column; gap: 6px; }
.col-title { font: 600 16px/1.2 var(--type-ui); margin: 0 0 6px; color: #3a3a3a; }
.areas-grid { display: grid; gap: 12px; }
.area-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid #e1e3ea;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.05);
}
.area-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.area-icon .icon-img { width: 22px; height: 22px; object-fit: contain; display: block; }
.area-icon.gold { background: #f5e5c8; }
.area-icon.lilac { background: #ebe8ff; }
.area-icon.green { background: #e4f5ec; }
.area-body h3 { margin: 0 0 6px; font-size: 15px; color: #252525; font-weight: 700; }
.area-body p { margin: 0; font-size: 13px; color: #4a4a4a; line-height: 1.5; }

.quienes-card { background: #fff; padding: 22px; border-radius: 10px; border: 1px solid #e1e3ea; box-shadow: 0 12px 26px rgba(0,0,0,0.05); height: 100%; }
.formacion-col .quienes-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.quienes-card h2 { font: 600 20px/1.2 var(--type-ui); margin: 0 0 14px; color: #2f2f2f; }
.persona-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.quienes-card .persona-list {
  display: block;
}

.persona-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
}

.persona-item:not(:last-child) {
  border-bottom: 1px solid #e8eaf2;
}

.persona-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: #D9D8E9; /* requested background */
  flex-shrink: 0;
}
.persona-avatar svg,
.persona-avatar img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  fill: #333; /* icon color */
}
.persona-item.blue .persona-avatar,
.persona-item.navy .persona-avatar,
.persona-item.purple .persona-avatar,
.persona-item.gray .persona-avatar {
  background-color: #D9D8E9; /* enforce requested background for variants */
} 

.persona-role {
  font-weight: 700;
  font-size: 16px;
  color: #2f2f2f;
  margin: 0 0 8px;
}

.persona-desc {
  margin: 0;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
}

.section-metodologia { padding: 44px 0 60px; background: #F5F6FA; }
.section-metodologia .container {
  max-width: 920px;
  text-align: center;
}
.section-metodologia .section-title { font-size: 28px; font-weight: 700; color: #2f2f2f; margin: 0 auto 10px; text-align: center; }
.section-metodologia .section-sub { font-size: 14px; color: #545454; margin: 0 auto 24px; max-width: 760px; text-align: center; }
.metodologia-lista.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; text-align: left; }
.metodologia-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e8f1;
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  text-align: center;
}
.metodologia-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.metodologia-icon .icon-img {
  width: 28px;
  height: 28px;
}
.metodologia-icon.gold { background-color: #f5e5c8; }
.metodologia-icon.lilac { background-color: #ebe8ff; }
.metodologia-icon.green { background-color: #e4f5ec; }

.metodologia-card h4 { margin: 0 0 8px; font-size: 16px; color: #2f2f2f; font-weight: 700; }
.metodologia-card p { margin: 0; color: #4a4a4a; font-size: 13px; line-height: 1.5; }
.step-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e6eefc;
  color: #375bb3;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}



@media (max-width: 1024px) {
  .entrenamiento-grid { grid-template-columns: 1fr; }
  .metodologia-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-entrenamiento { padding: 52px 0 28px; }
  .hero-title-entrenamiento { font-size: 34px; }
  .lead-entrenamiento { max-width: 92%; }
  .persona-grid { grid-template-columns: 1fr; }
  .icon-circle { width: 40px; height: 40px; }
}

/* Privacy Policy Page */
body.page-privacy {
  background: #F5F6FA;
  color: #1f1f1f;
}
.privacy-main {
  padding: 80px 0 120px;
}
.privacy-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.privacy-title {
  font: 400 52px/1.05 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #1f1f1f;
}
.privacy-meta {
  margin: 0 0 28px;
  color: #7a7a7a;
  font-size: 16px;
}
/* Highlight mail and phone links on privacy/terms pages */
.page-privacy a[href^="mailto:"],
.page-privacy a[href^="tel:"] {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 160ms ease, opacity 160ms ease;
}
.page-privacy a[href^="mailto:"]:hover,
.page-privacy a[href^="tel:"]:hover,
.page-privacy a[href^="mailto:"]:focus,
.page-privacy a[href^="tel:"]:focus {
  color: color-mix(in srgb, var(--color-primary) 86%, #000000 14%);
  opacity: 0.95;
}
.page-privacy a:focus-visible {
  box-shadow: 0 0 0 4px rgba(124,143,214,0.12);
  border-radius: 4px;
}
.privacy-intro {
  margin: 0 0 40px;
  color: #353535;
  font-size: 16px;
  max-width: 960px;
}
.privacy-section {
  margin-top: 40px;
}
.privacy-section h2 {
  margin: 0 0 14px;
  font: 700 26px/1.2 var(--type-ui);
  letter-spacing: -0.01em;
  color: #242424;
}
.privacy-section p {
  margin: 0 0 14px;
  color: #363636;
  max-width: 960px;
}
.privacy-list {
  margin: 0;
  padding-left: 20px;
  color: #363636;
}
.privacy-list li {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .privacy-main { padding: 64px 0 96px; }
  .privacy-title { font-size: 40px; line-height: 1.08; }
  .privacy-section h2 { font-size: 22px; }
}

/* == Page Hero (Unified for subpages) == */
.page-hero {
  text-align: center;
  padding: 70px 0 40px;
}
.page-hero--consultoria,
.page-hero--operacion {
  background-color: #F5F6FA;
}
.page-hero--continuidad,
.page-hero--entrenamiento {
  background-color: #F5F6FA;
}
.page-hero__eyebrow {
  font-size: 15px;
  color: #6c6c6c;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.page-hero__title {
  font-family: 'Transducer Extended', 'Transducer', var(--font-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.08;
  margin: 0 auto 18px;
  letter-spacing: -0.01em;
  color: #1e1e1e;
  max-width: 960px;
}
.page-hero__title .text-accent {
  color: #6f6cb3; /* consultoria/operacion accent */
}
.page-operacion .page-hero__title .text-accent { color: #629AD8; }
.page-entrenamiento .page-hero__title .text-accent { color: #E39E68; }
.page-continuidad .page-hero__title .text-accent { color: #86E9AF; }

.page-hero__description {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* == Icon Card (Unified) == */
.icon-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e1e3ea;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.05);
}

.icon-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.icon-card__icon .icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Colors for icons */
.icon-card__icon--gold { background: #f5e5c8; }
.icon-card__icon--lilac { background: #ebe8ff; }
.icon-card__icon--green { background: #e4f5ec; }

.icon-card__body h4,
.icon-card__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #252525;
  font-weight: 700;
}

.icon-card__body p {
  margin: 0;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.5;
}

/* Contact Page */
.page-contacto { background: #F5F6FA; color: #1f1f1f; }
.contacto-hero { padding: 90px 0 120px; background: #F5F6FA; }
.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: start;
}
.contacto-copy { max-width: 640px; }
.contacto-title {
  font-family: 'Transducer Extended', 'Transducer', var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 18px;
  /*font: 400 42px/1.08 var(--type-display);*/
  letter-spacing: -0.01em;
  color: #2d2d2d;
}
.contacto-title .accent {
  color: #6f7fc1;
  display: block;
}
.contacto-sub {
  margin: 0 0 26px;
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.6;
  max-width: 520px;
}
.contacto-data p {
  margin: 0 0 12px;
  color: #333;
  font-size: 15px;
}
.contacto-data a {
  /* Make contact links clearly clickable */
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 160ms ease, opacity 160ms ease;
}
.contacto-data a:hover,
.contacto-data a:focus {
  color: color-mix(in srgb, var(--color-primary) 86%, #000000 14%);
  opacity: 0.95;
}
.contacto-data a:focus-visible {
  box-shadow: 0 0 0 4px rgba(124,143,214,0.12);
  border-radius: 4px;
}
.contacto-card {
  background: #ffffff;
  border: 1px solid #e5e7f0;
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 46px rgba(12, 22, 58, 0.12);
}
.contacto-form {
  display: grid;
  gap: 16px;
}
.form-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #4a4a4a;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: #f5f6fb;
  font: 400 14px/1.4 var(--font-sans);
  color: #1f1f1f;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #a9b6e5;
  background: #f8f9ff;
  box-shadow: 0 0 0 3px rgba(108, 141, 229, 0.2);
}
.btn.full { width: 100%; text-align: center; }

@media (max-width: 1024px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
  .contacto-card { max-width: 620px; }
}

@media (max-width: 640px) {
  .contacto-hero { padding: 64px 0 100px; }
  .contacto-title { font-size: 32px; line-height: 1.1; }
  .contacto-card { padding: 24px 20px; }
}
 
 / *   L a n g u a g e   S w i t c h e r   * /  
 . l a n g - s w i t c h e r   {  
     d i s p l a y :   f l e x ;  
     a l i g n - i t e m s :   c e n t e r ;  
     g a p :   4 p x ;  
     m a r g i n - l e f t :   1 2 p x ;  
 }  
 . l a n g - b t n   {  
     b a c k g r o u n d :   n o n e ;  
     b o r d e r :   n o n e ;  
     f o n t - f a m i l y :   v a r ( - - f o n t - s a n s ) ;  
     f o n t - w e i g h t :   5 0 0 ;  
     f o n t - s i z e :   1 4 p x ;  
     c o l o r :   # 6 d 6 d 6 d ;  
     c u r s o r :   p o i n t e r ;  
     p a d d i n g :   4 p x ;  
     t r a n s i t i o n :   c o l o r   0 . 2 s ;  
 }  
 . l a n g - b t n : h o v e r ,   . l a n g - b t n . a c t i v e   {  
     c o l o r :   v a r ( - - c o l o r - p r i m a r y ) ;  
     f o n t - w e i g h t :   7 0 0 ;  
 }  
 . l a n g - s e p   {  
     c o l o r :   # d 8 d 6 e 7 ;  
     f o n t - s i z e :   1 3 p x ;  
 }  
 @ m e d i a   ( m a x - w i d t h :   9 0 0 p x )   {  
         . l a n g - s w i t c h e r   {  
                 m a r g i n :   1 2 p x   1 6 p x ;   / *   M a t c h   n a v   p a d d i n g   * /  
                 j u s t i f y - c o n t e n t :   f l e x - s t a r t ;  
         }  
 }  
 
/* Fixed Language Switcher Styles */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #e1e3ec;
  height: 32px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #6d6d6d;
  padding: 4px;
  transition: all 200ms ease;
  line-height: 1;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.lang-btn.active {
  color: var(--color-primary);
  font-weight: 700;
}

.lang-sep {
  color: #d8d6e7;
  font-size: 14px;
  user-select: none;
}

/* Mobile Language Switcher */
@media (max-width: 900px) {
  .lang-switcher {
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 0;
    border-top: 1px solid #e1e3ec;
    justify-content: center;
    gap: 12px;
    background: #fdfdff;
    order: 10;
  }

  .lang-btn {
    font-size: 16px;
    padding: 8px 16px;
    border: 1px solid #e1e3ec;
    border-radius: 6px;
    background: white;
    min-width: 60px;
  }
  
  .lang-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
  }
  
  .lang-sep {
    display: none;
  }
}
